Patchwork [6/10] AArch64 Port

login
register
mail settings
Submitter Marcus Shawcroft
Date Oct. 23, 2012, 9:42 a.m.
Message ID <50866699.2040809@arm.com>
Download mbox | patch
Permalink /patch/193407/
State New
Headers show

Comments

Marcus Shawcroft - Oct. 23, 2012, 9:42 a.m.
This patch adjusts the libatomic configury for AArch64.

Proposed ChangeLog:

         * configure.tgt: Mark libatomic unsupported.
Jeff Law - Oct. 23, 2012, 3:14 p.m.
On 10/23/2012 03:42 AM, Marcus Shawcroft wrote:
>
> This patch adjusts the libatomic configury for AArch64.
>
> Proposed ChangeLog:
>
>          * configure.tgt: Mark libatomic unsupported.
This is good.  Please install.  Presumably at some point in the not too 
distant future, aarch support will be added to libatomic?

jeff
Marcus Shawcroft - Oct. 23, 2012, 5:17 p.m.
On 23/10/12 16:14, Jeff Law wrote:
> On 10/23/2012 03:42 AM, Marcus Shawcroft wrote:
>>
>> This patch adjusts the libatomic configury for AArch64.
>>
>> Proposed ChangeLog:
>>
>>           * configure.tgt: Mark libatomic unsupported.
> This is good.  Please install.  Presumably at some point in the not too
> distant future, aarch support will be added to libatomic?
>
> jeff
>
>

We have support for atomic optab coming real soon now at which point I 
think we can simply revert this patch.

/Marcus

Patch

diff --git a/libatomic/configure.tgt b/libatomic/configure.tgt
index 847ac41ebed81efff601fcb966d76f35d228dda2..0caa0f42ff99766d1020acd8d966509d0f3447ce 100644
--- a/libatomic/configure.tgt
+++ b/libatomic/configure.tgt
@@ -95,6 +95,11 @@  fi
 
 # Other system configury
 case "${target}" in
+  aarch64*)
+	# This is currently not supported in AArch64.
+	UNSUPPORTED=1
+	;;
+
   arm*-*-linux*)
 	# OS support for atomic primitives.
 	config_path="${config_path} linux/arm posix"