gcc/libstdc++-v3/config
Kyrylo Tkachov 0e0cefc62e [aarch64][libstdc++] Use __ARM_BIG_ENDIAN instead of __AARCH64EB__ in opt_random.h
As has been spotted at https://gcc.gnu.org/ml/gcc-patches/2017-12/msg01289.html
we check the __AARCH64EB__ macro for aarch64 big-endian
detection in config/cpu/aarch64/opt/ext/opt_random.h.
That works just fine with GCC but the standardised ACLE[1] macro
for that purpose is __ARM_BIG_ENDIAN so there is a possibility
that non-GCC compilers that include this header are not aware
of this predefine.

So this patch changes the use of __AARCH64EB__ to
the more portable __ARM_BIG_ENDIAN.

Tested on aarch64-none-elf and aarch64_be-none-elf.

Preapproved by Jeff at https://gcc.gnu.org/ml/gcc-patches/2017-12/msg01326.html

	* config/cpu/aarch64/opt/ext/opt_random.h (__VEXT): Check
	__ARM_BIG_ENDIAN instead of __AARCH64EB__.

From-SVN: r255857
2017-12-20 10:28:13 +00:00
..
abi baseline_symbols.txt: Update. 2017-11-30 00:53:16 +00:00
allocator Add AddressSanitizer annotations to std::vector 2017-07-21 17:05:10 +01:00
cpu [aarch64][libstdc++] Use __ARM_BIG_ENDIAN instead of __AARCH64EB__ in opt_random.h 2017-12-20 10:28:13 +00:00
io Fix -Wunused warnings in libstdc++ headers 2017-12-04 23:07:39 +00:00
locale Avoid -Wattribute-alias warnings for long double compat symbols 2017-10-24 14:18:59 +01:00
os re PR bootstrap/69506 (check-in 232454 seems to cause problems with cygwin builds) 2017-05-02 15:04:39 +00:00