summaryrefslogtreecommitdiff
path: root/libatomic
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@arm.com>2012-12-04 15:14:47 +0000
committerMarcus Shawcroft <mshawcroft@gcc.gnu.org>2012-12-04 15:14:47 +0000
commit408d29950d6de8a9d583477b6901c7d7aaae45d5 (patch)
tree9b0e1cbdef79a3ff25eb7c8ec104ed1d0540f8ee /libatomic
parent665c56c62a1a121aecd9666abeb9527dd1bdeb64 (diff)
downloadgcc-408d29950d6de8a9d583477b6901c7d7aaae45d5.tar.gz
libatomic: Detect and build for ARM architecture armv8-a.
2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com> * config/arm/arm-config.h (__ARM_ARCH_8A__): New. From-SVN: r194150
Diffstat (limited to 'libatomic')
-rw-r--r--libatomic/ChangeLog4
-rw-r--r--libatomic/config/arm/arm-config.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/libatomic/ChangeLog b/libatomic/ChangeLog
index 449fed2eaf7..d451f9ca0cb 100644
--- a/libatomic/ChangeLog
+++ b/libatomic/ChangeLog
@@ -1,3 +1,7 @@
+2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
+
+ * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
+
2012-11-21 Matthias Klose <doko@ubuntu.com>
* configure.tgt (i[3456]86): Handle -mx32 like -m64.
diff --git a/libatomic/config/arm/arm-config.h b/libatomic/config/arm/arm-config.h
index b94a372c1d8..b99c82eb94b 100644
--- a/libatomic/config/arm/arm-config.h
+++ b/libatomic/config/arm/arm-config.h
@@ -57,6 +57,10 @@
# define __ARM_ARCH__ 7
#endif
+#if defined(__ARM_ARCH_8A__)
+# define __ARM_ARCH__ 8
+#endif
+
#ifndef __ARM_ARCH__
#error Unable to determine architecture.
#endif