diff options
| author | Ken Raeburn | 1999-10-25 04:50:39 +0000 |
|---|---|---|
| committer | Ken Raeburn | 1999-10-25 04:50:39 +0000 |
| commit | 3a7093d84fa090b8f2458cef0376b81de4bd77ff (patch) | |
| tree | 1ea024128b921ff64edb2e8be15fbe938d93f69b /src | |
| parent | 39dc7e84e2cee4f1bb1e0a28c4bdf54cb54a919c (diff) | |
| download | emacs-3a7093d84fa090b8f2458cef0376b81de4bd77ff.tar.gz emacs-3a7093d84fa090b8f2458cef0376b81de4bd77ff.zip | |
netbsd-elf fixes
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/s/netbsd.h | 12 |
2 files changed, 16 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index fbf1f1aeb99..a4f72ea4a44 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 1999-10-24 Ken Raeburn <raeburn@raeburn.org> | ||
| 2 | |||
| 3 | * s/netbsd.h (HAVE_GETLOADAVG): Define as 1. | ||
| 4 | (UNEXEC, START_FILES, LIB_STANDARD, LIB_GCC): Define ELF versions, | ||
| 5 | if __ELF__ is defined. | ||
| 6 | |||
| 1 | 1999-10-24 Gerd Moellmann <gerd@gnu.org> | 7 | 1999-10-24 Gerd Moellmann <gerd@gnu.org> |
| 2 | 8 | ||
| 3 | * window.c (Fnext_window): Add a QUIT in the loop. | 9 | * window.c (Fnext_window): Add a QUIT in the loop. |
diff --git a/src/s/netbsd.h b/src/s/netbsd.h index 19938051f68..1adb58736c4 100644 --- a/src/s/netbsd.h +++ b/src/s/netbsd.h | |||
| @@ -12,7 +12,7 @@ | |||
| 12 | 12 | ||
| 13 | #undef KERNEL_FILE | 13 | #undef KERNEL_FILE |
| 14 | #undef LDAV_SYMBOL | 14 | #undef LDAV_SYMBOL |
| 15 | #define HAVE_GETLOADAVG | 15 | #define HAVE_GETLOADAVG 1 |
| 16 | 16 | ||
| 17 | #define HAVE_UNION_WAIT | 17 | #define HAVE_UNION_WAIT |
| 18 | 18 | ||
| @@ -57,7 +57,15 @@ | |||
| 57 | #define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data)) | 57 | #define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data)) |
| 58 | #define N_TRELOFF(x) N_RELOFF(x) | 58 | #define N_TRELOFF(x) N_RELOFF(x) |
| 59 | #endif | 59 | #endif |
| 60 | #endif /* not NO_SHARED_LIBS */ | 60 | #endif /* not NO_SHARED_LIBS and not ELF */ |
| 61 | |||
| 62 | #if !defined (NO_SHARED_LIBS) && defined (__ELF__) | ||
| 63 | #define START_FILES pre-crt0.o /usr/lib/crt0.o /usr/lib/crtbegin.o | ||
| 64 | #define UNEXEC unexelf.o | ||
| 65 | #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o | ||
| 66 | #undef LIB_GCC | ||
| 67 | #define LIB_GCC | ||
| 68 | #endif | ||
| 61 | 69 | ||
| 62 | #define HAVE_WAIT_HEADER | 70 | #define HAVE_WAIT_HEADER |
| 63 | #define WAIT_USE_INT | 71 | #define WAIT_USE_INT |