diff options
author | Gerd Moellmann <[email protected]> | 2001-09-19 08:35:09 +0000 |
---|---|---|
committer | Gerd Moellmann <[email protected]> | 2001-09-19 08:35:09 +0000 |
commit | 881aa09cb5756384b8bc8bf40883a754849f17e5 (patch) | |
tree | 47e94691be1384b74415f8c27be24f56681bac8f | |
parent | c906343388bc6aecb49c768c1074d35a672af585 (diff) |
(DATA_SEG_BITS): Also define for GCC 3.
-rw-r--r-- | src/m/macppc.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/m/macppc.h b/src/m/macppc.h index a3a5dc3da2..595ff8a188 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 |