diff options
| author | Chong Yidong | 2010-01-28 12:33:28 -0500 |
|---|---|---|
| committer | Chong Yidong | 2010-01-28 12:33:28 -0500 |
| commit | ca0eb7088c5df970df1528ecdaba3b146ef6de7c (patch) | |
| tree | 14bddbc2baecef346398d9688e7ee0bd1aa621ab /src/m | |
| parent | c02f8fe2f1761e6d432fe5716959ce3b27feaff2 (diff) | |
| download | emacs-ca0eb7088c5df970df1528ecdaba3b146ef6de7c.tar.gz emacs-ca0eb7088c5df970df1528ecdaba3b146ef6de7c.zip | |
Fixes for NetBSD (Bug#4629, Bug#2072).
* m/mips.h: Remove DATA_START. Suggested by Dan Nicolaescu.
* m/alpha.h: Don't define DATA_START on NetBSD (Bug#4629).
Diffstat (limited to 'src/m')
| -rw-r--r-- | src/m/alpha.h | 2 | ||||
| -rw-r--r-- | src/m/mips.h | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h index 26cdb807452..5abf8bba726 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h | |||
| @@ -95,7 +95,7 @@ NOTE-END | |||
| 95 | 95 | ||
| 96 | #undef UNEXEC | 96 | #undef UNEXEC |
| 97 | #define UNEXEC unexelf.o | 97 | #define UNEXEC unexelf.o |
| 98 | #ifndef GNU_LINUX | 98 | #if !defined(GNU_LINUX) && !defined(__NetBSD__) |
| 99 | #define DATA_START 0x140000000 | 99 | #define DATA_START 0x140000000 |
| 100 | #endif | 100 | #endif |
| 101 | 101 | ||
diff --git a/src/m/mips.h b/src/m/mips.h index 2b47dba25fa..7a84b6596c8 100644 --- a/src/m/mips.h +++ b/src/m/mips.h | |||
| @@ -50,10 +50,6 @@ NOTE-END */ | |||
| 50 | 50 | ||
| 51 | #define TEXT_START 0x00400000 | 51 | #define TEXT_START 0x00400000 |
| 52 | 52 | ||
| 53 | #ifndef GNU_LINUX | ||
| 54 | #define DATA_START 0x10000000 | ||
| 55 | #endif | ||
| 56 | |||
| 57 | 53 | ||
| 58 | #if 0 /* These definitions were advantageous when not using | 54 | #if 0 /* These definitions were advantageous when not using |
| 59 | USE_LSB_TAG. With that, they get ignored but cause errors. */ | 55 | USE_LSB_TAG. With that, they get ignored but cause errors. */ |