diff options
| author | Andreas Schwab | 2005-04-23 15:58:32 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2005-04-23 15:58:32 +0000 |
| commit | 919fab71f82020b7108d44e83030c185e771b38b (patch) | |
| tree | 729ebec59da350efd14e13578c56b41d64652d42 /src | |
| parent | 1c70f4735c0d3a07036d4f7620d0cbd3220873ec (diff) | |
| download | emacs-919fab71f82020b7108d44e83030c185e771b38b.tar.gz emacs-919fab71f82020b7108d44e83030c185e771b38b.zip | |
(LD_SWITCH_MACHINE) [LINUX]: Don't define.
(START_FILES, LIB_STANDARD) [LINUX && _ARCH_PPC64]: Override to
use lib64 instead of lib.
(_LP64) [_ARCH_PPC64]: Define if not defined.
Diffstat (limited to 'src')
| -rw-r--r-- | src/m/macppc.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/m/macppc.h b/src/m/macppc.h index 21ba90ad101..c068fca32a9 100644 --- a/src/m/macppc.h +++ b/src/m/macppc.h | |||
| @@ -86,11 +86,16 @@ Boston, MA 02111-1307, USA. */ | |||
| 86 | 86 | ||
| 87 | #ifdef LINUX | 87 | #ifdef LINUX |
| 88 | #define LINKER $(CC) -nostdlib | 88 | #define LINKER $(CC) -nostdlib |
| 89 | #define LD_SWITCH_MACHINE -Xlinker -m -Xlinker elf32ppc | ||
| 90 | /* s/gnu-linux.h defines this to `-z nocombreloc' which does not work here | 89 | /* s/gnu-linux.h defines this to `-z nocombreloc' which does not work here |
| 91 | because prefix-args is not used. */ | 90 | because prefix-args is not used. */ |
| 92 | #undef LD_SWITCH_SYSTEM_TEMACS | 91 | #undef LD_SWITCH_SYSTEM_TEMACS |
| 93 | #define LD_SWITCH_MACHINE_TEMACS -Xlinker -znocombreloc | 92 | #define LD_SWITCH_MACHINE_TEMACS -Xlinker -znocombreloc |
| 93 | #ifdef _ARCH_PPC64 | ||
| 94 | #undef START_FILES | ||
| 95 | #define START_FILES pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o | ||
| 96 | #undef LIB_STANDARD | ||
| 97 | #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib64/crtn.o | ||
| 98 | #endif | ||
| 94 | #endif | 99 | #endif |
| 95 | 100 | ||
| 96 | #if 0 /* This breaks things on PPC GNU/Linux ecept for Yellowdog, | 101 | #if 0 /* This breaks things on PPC GNU/Linux ecept for Yellowdog, |
| @@ -105,5 +110,11 @@ Boston, MA 02111-1307, USA. */ | |||
| 105 | #endif | 110 | #endif |
| 106 | #endif /* 0 */ | 111 | #endif /* 0 */ |
| 107 | 112 | ||
| 113 | #ifdef _ARCH_PPC64 | ||
| 114 | #ifndef _LP64 | ||
| 115 | #define _LP64 | ||
| 116 | #endif | ||
| 117 | #endif | ||
| 118 | |||
| 108 | /* arch-tag: 41913e4e-e7d1-4023-aadb-210cc31712ed | 119 | /* arch-tag: 41913e4e-e7d1-4023-aadb-210cc31712ed |
| 109 | (do not change this comment) */ | 120 | (do not change this comment) */ |