diff options
author | mycroft <mycroft> | 2000-02-18 23:55:14 +0000 |
---|---|---|
committer | mycroft <mycroft> | 2000-02-18 23:55:14 +0000 |
commit | c3316ebddd2d24e90d685a1a45393647c251f701 (patch) | |
tree | 8161503bc2a09df2ad6b5c35976c43e03c890ea9 /editors | |
parent | 89a578b7ef4de425e93939d793e7b68e0ae60eff (diff) | |
download | pkgsrc-c3316ebddd2d24e90d685a1a45393647c251f701.tar.gz |
Make this work on MIPS again.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/emacs/patches/patch-ay | 13 | ||||
-rw-r--r-- | editors/emacs/patches/patch-az | 10 |
2 files changed, 12 insertions, 11 deletions
diff --git a/editors/emacs/patches/patch-ay b/editors/emacs/patches/patch-ay index 4773b50ff37..1679e80d01e 100644 --- a/editors/emacs/patches/patch-ay +++ b/editors/emacs/patches/patch-ay @@ -1,18 +1,19 @@ -$NetBSD: patch-ay,v 1.2 1999/02/04 14:54:25 frueauf Exp $ +$NetBSD: patch-ay,v 1.3 2000/02/18 23:55:14 mycroft Exp $ ---- src/m/pmax.h.orig Sun Sep 7 07:23:09 1997 -+++ src/m/pmax.h Thu Feb 4 12:44:04 1999 -@@ -31,8 +31,8 @@ +--- src/m/pmax.h.orig Sun Sep 7 01:23:09 1997 ++++ src/m/pmax.h Fri Feb 18 18:45:03 2000 +@@ -30,9 +30,8 @@ + #if defined (__NetBSD__) || defined (__OpenBSD__) #undef START_FILES #undef RUN_TIME_REMAP - #define START_FILES pre-crt0.o /usr/lib/crt0.o +-#define START_FILES pre-crt0.o /usr/lib/crt0.o -#define CANNOT_DUMP #undef UNEXEC +#define UNEXEC unexelf.o #endif /* NetBSD || OpenBSD */ /* Supposedly the following will overcome a kernel bug. */ -@@ -51,7 +51,9 @@ +@@ -51,7 +50,9 @@ #endif /* Override what mips.h says about this. */ diff --git a/editors/emacs/patches/patch-az b/editors/emacs/patches/patch-az index 7c4ca88fa92..f708b4df3d7 100644 --- a/editors/emacs/patches/patch-az +++ b/editors/emacs/patches/patch-az @@ -1,7 +1,7 @@ -$NetBSD: patch-az,v 1.6 1999/12/28 14:09:14 tron Exp $ +$NetBSD: patch-az,v 1.7 2000/02/18 23:55:15 mycroft Exp $ ---- src/unexelf.c.orig Fri Dec 17 15:48:53 1999 -+++ src/unexelf.c Fri Dec 17 15:55:21 1999 +--- src/unexelf.c.orig Fri Dec 3 04:09:21 1999 ++++ src/unexelf.c Fri Feb 18 18:23:34 2000 @@ -478,6 +478,13 @@ # endif # include <sys/exec_elf.h> @@ -110,7 +110,7 @@ $NetBSD: patch-az,v 1.6 1999/12/28 14:09:14 tron Exp $ if (n < 0) fatal ("Couldn't find segment next to .bss in %s\n", old_name, 0); -+#ifdef HAVE_MIPS_SBSS ++#ifdef HAVE_MIPS_SBSSxxx + bss_phdr_index = n; +#endif + @@ -122,7 +122,7 @@ $NetBSD: patch-az,v 1.6 1999/12/28 14:09:14 tron Exp $ NEW_SECTION_H (nn).sh_addralign = OLD_SECTION_H (nn).sh_addralign; NEW_SECTION_H (nn).sh_size = 0; + -+#ifdef HAVE_MIPS_SBSS ++#ifdef HAVE_MIPS_SBSSxxx + /* On ELF mips, the new data section replaces both .sbss and .bss + (we have, after all, written to them.). Adding new_data2_size + to the sh_addr and sh_offset of sbss puts sbss at the end of |