diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-09-17 11:37:15 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-09-17 11:37:15 +0000 |
commit | e0d25441adc62fc6bdef1019b25ce218427a8b5f (patch) | |
tree | 2501af8378884a39f1e79217a4314d44f79d0aba /src/m | |
parent | 2992a95547d757e32cdb1ed755bbe7bc42c24721 (diff) | |
download | emacs-e0d25441adc62fc6bdef1019b25ce218427a8b5f.tar.gz |
(DATA_SEG_BITS) [__linux__]: Define for GCC
versions >= 2.95.
Diffstat (limited to 'src/m')
-rw-r--r-- | src/m/macppc.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/m/macppc.h b/src/m/macppc.h index ea7f7b248d0..a3a5dc3da20 100644 --- a/src/m/macppc.h +++ b/src/m/macppc.h @@ -1,5 +1,5 @@ /* machine description file For the powerpc Macintosh. - Copyright (C) 1994 Free Software Foundation, Inc. + Copyright (C) 1994, 2001 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -97,3 +97,8 @@ Boston, MA 02111-1307, USA. */ #define LINKER $(CC) -nostdlib #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 +#define DATA_SEG_BITS 0x10000000 +#endif |