From: Gerd Moellmann Date: Wed, 19 Sep 2001 08:35:09 +0000 (+0000) Subject: (DATA_SEG_BITS): Also define for GCC 3. X-Git-Tag: emacs-pretest-21.0.106~71 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=881aa09cb5756384b8bc8bf40883a754849f17e5;p=emacs.git (DATA_SEG_BITS): Also define for GCC 3. --- 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