Define __BIG_ENDIAN__
authorJohn David Anglin <danglin@gcc.gnu.org>
Tue, 24 Mar 2020 17:04:26 +0000 (17:04 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Tue, 24 Mar 2020 17:04:26 +0000 (17:04 +0000)
2020-03-24  John David Anglin  <danglin@gcc.gnu.org>

PR lto/94249
* config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Define __BIG_ENDIAN__.

gcc/ChangeLog
gcc/config/pa/pa.h

index ca017bedb1b4791d41501adc572df215991bcee4..81d90c3127ef2019d67b4885ab6d7f3dc042e0d2 100644 (file)
@@ -1,3 +1,8 @@
+2020-03-24  John David Anglin  <danglin@gcc.gnu.org>
+
+       PR lto/94249
+       * config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Define __BIG_ENDIAN__.
+
 2020-03-24  Tobias Burnus  <tobias@codesourcery.com>
 
        PR libgomp/81689
index 8800191a9a86c516973333d53965da3789f719a4..b3eb81d7b37480377e413a33921a3a28537f139e 100644 (file)
@@ -171,6 +171,7 @@ do {                                                                \
      builtin_assert("machine=hppa");                           \
      builtin_define("__hppa");                                 \
      builtin_define("__hppa__");                               \
+     builtin_define("__BIG_ENDIAN__");                         \
      if (TARGET_PA_20)                                         \
        builtin_define("_PA_RISC2_0");                          \
      else if (TARGET_PA_11)                                    \