arm: remove error in CPP_SPEC when -mlittle-endian and -mbig-endian are used together
commit4a322345cab10879162a2ddf659fb0f873ba0182
authorChristophe Lyon <christophe.lyon@linaro.org>
Sun, 16 May 2021 13:48:21 +0000 (16 13:48 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Sun, 16 May 2021 13:48:21 +0000 (16 13:48 +0000)
treef6b776ef719ee3a0ba3648cf43ce0f121546a3f1
parentf1146b50e8af87dc9da25cf6d8633e91dac07e1a
arm: remove error in CPP_SPEC when -mlittle-endian and -mbig-endian are used together

arm.h has had this error message since 1997, but it is no longer
needed since option parsing has been improved: -mXXX-endian is handled
via arm.opt and updates the BIG_END mask. So, the last
instance of -mXXX-endian on the command line wins.

Tested on many arm* configurations, with no impact on the testsuite results.

2021-05-16  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/
* config/arm/arm.h (CPP_SPEC): Remove error message about
-mlittle-endian/-mbig-endian conflict.
gcc/config/arm/arm.h