diff options
| author | Gerd Moellmann | 2001-09-17 11:37:15 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-09-17 11:37:15 +0000 |
| commit | 274704f74ae4b452bfc1a65c9850d4c98e0dcad5 (patch) | |
| tree | cbf078e8ca0baab6548bd09a421680f3194283ab /src | |
| parent | dfe78cc58397903c0aba5a566a9aacbdd071fb56 (diff) | |
| download | emacs-274704f74ae4b452bfc1a65c9850d4c98e0dcad5.tar.gz emacs-274704f74ae4b452bfc1a65c9850d4c98e0dcad5.zip | |
(DATA_SEG_BITS) [__linux__]: Define for GCC
versions >= 2.95.
Diffstat (limited to 'src')
| -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 @@ | |||
| 1 | /* machine description file For the powerpc Macintosh. | 1 | /* machine description file For the powerpc Macintosh. |
| 2 | Copyright (C) 1994 Free Software Foundation, Inc. | 2 | Copyright (C) 1994, 2001 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -97,3 +97,8 @@ Boston, MA 02111-1307, USA. */ | |||
| 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 | |||
| 101 | /* GCC 2.95 on GNU/Linux PPC changed the load address to 0x10000000. */ | ||
| 102 | #if defined(__linux__) && __GNUC__ == 2 && __GNUC_MINOR__ >= 95 | ||
| 103 | #define DATA_SEG_BITS 0x10000000 | ||
| 104 | #endif | ||