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 ca017be..81d90c3 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 8800191..b3eb81d 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)                                    \