From 881aa09cb5756384b8bc8bf40883a754849f17e5 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 19 Sep 2001 08:35:09 +0000 Subject: [PATCH] (DATA_SEG_BITS): Also define for GCC 3. --- src/m/macppc.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/m/macppc.h b/src/m/macppc.h index a3a5dc3da20..595ff8a1881 100644 --- a/src/m/macppc.h +++ b/src/m/macppc.h @@ -98,7 +98,10 @@ Boston, MA 02111-1307, USA. */ #define LD_SWITCH_MACHINE -Xlinker -m -Xlinker elf32ppc #endif -/* GCC 2.95 on GNU/Linux PPC changed the load address to 0x10000000. */ -#if defined(__linux__) && __GNUC__ == 2 && __GNUC_MINOR__ >= 95 +/* GCC 2.95 and newer on GNU/Linux PPC changed the load address to + 0x10000000. */ +#if defined __linux__ +#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) #define DATA_SEG_BITS 0x10000000 #endif +#endif -- 2.39.2