Mercurial > emacs
comparison src/m/macppc.h @ 39341:3c7fb43900bd
(DATA_SEG_BITS): Also define for GCC 3.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 19 Sep 2001 08:35:09 +0000 |
parents | ac26c99a7a0c |
children | 11c635084cb7 |
comparison
equal
deleted
inserted
replaced
39340:7f02532fa213 | 39341:3c7fb43900bd |
---|---|
96 #ifdef LINUX | 96 #ifdef LINUX |
97 #define LINKER $(CC) -nostdlib | 97 #define LINKER $(CC) -nostdlib |
98 #define LD_SWITCH_MACHINE -Xlinker -m -Xlinker elf32ppc | 98 #define LD_SWITCH_MACHINE -Xlinker -m -Xlinker elf32ppc |
99 #endif | 99 #endif |
100 | 100 |
101 /* GCC 2.95 on GNU/Linux PPC changed the load address to 0x10000000. */ | 101 /* GCC 2.95 and newer on GNU/Linux PPC changed the load address to |
102 #if defined(__linux__) && __GNUC__ == 2 && __GNUC_MINOR__ >= 95 | 102 0x10000000. */ |
103 #if defined __linux__ | |
104 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) | |
103 #define DATA_SEG_BITS 0x10000000 | 105 #define DATA_SEG_BITS 0x10000000 |
104 #endif | 106 #endif |
107 #endif |