From 04099157691ec6ff25d8d32e30b04eec89dcf94b Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Tue, 24 Mar 2020 17:04:26 +0000 Subject: [PATCH] Define __BIG_ENDIAN__ 2020-03-24 John David Anglin PR lto/94249 * config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Define __BIG_ENDIAN__. --- gcc/ChangeLog | 5 +++++ gcc/config/pa/pa.h | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ca017bedb1b..81d90c3127e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2020-03-24 John David Anglin + + PR lto/94249 + * config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Define __BIG_ENDIAN__. + 2020-03-24 Tobias Burnus PR libgomp/81689 diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 8800191a9a8..b3eb81d7b37 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -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) \ -- 2.30.2