[ARM] Use __ARM_ARCH and __ARM_FEATURE_LDREX instead of __ARM_ARCH__
authorChristophe Lyon <christophe.lyon@linaro.org>
Thu, 21 Jun 2018 11:05:36 +0000 (11:05 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Thu, 21 Jun 2018 11:05:36 +0000 (13:05 +0200)
commit9b2e34ef6d56fae077b175d73d6f7440af8eba25
tree078e50444aca70b367b54be4b7f3a51c4c824f79
parentd1b0dd54ab096ebd088025215230c968ec6ac4f8
[ARM] Use __ARM_ARCH and __ARM_FEATURE_LDREX instead of __ARM_ARCH__

2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>

libatomic/
* config/arm/arm-config.h (__ARM_ARCH__): Remove definitions, use
__ARM_ARCH instead. Use __ARM_FEATURE_LDREX to define HAVE_STREX
and HAVE_STREXBHD

libgcc/
* config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
__ARM_ARCH and __ARM_FEATURE_CLZ instead.
(HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
* config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
__ARM_ARCH__.
* config/arm/ieee754-sf.S: Likewise.
* config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.

From-SVN: r261841
libatomic/ChangeLog
libatomic/config/arm/arm-config.h
libgcc/ChangeLog
libgcc/config/arm/ieee754-df.S
libgcc/config/arm/ieee754-sf.S
libgcc/config/arm/lib1funcs.S
libgcc/config/arm/libunwind.S