aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love2000-09-08 09:25:16 +0000
committerDave Love2000-09-08 09:25:16 +0000
commit6b7d4ae4d19324a0e25735d8a055c3be8a262036 (patch)
tree25a505f712228e645bcadeb5ab8317a1490f491b /src
parentcf69b13e0576696e4e1f91dfaca38e9fd47ca404 (diff)
downloademacs-6b7d4ae4d19324a0e25735d8a055c3be8a262036.tar.gz
emacs-6b7d4ae4d19324a0e25735d8a055c3be8a262036.zip
(SHT_MIPS_DEBUG, HDRR) [__mips__]: Really confine last change to __NetBSD__.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/unexelf.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f5414f09e7b..5e9690bd845 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12000-09-08 Dave Love <fx@gnu.org>
2
3 * unexelf.c (SHT_MIPS_DEBUG, HDRR) [__mips__]: Really confine last
4 change to __NetBSD__.
5
12000-09-08 Kenichi Handa <handa@etl.go.jp> 62000-09-08 Kenichi Handa <handa@etl.go.jp>
2 7
3 * search.c (compile_pattern): Check the multibyteness of cached 8 * search.c (compile_pattern): Check the multibyteness of cached
diff --git a/src/unexelf.c b/src/unexelf.c
index 7e298239a71..1c534a6f2e2 100644
--- a/src/unexelf.c
+++ b/src/unexelf.c
@@ -406,6 +406,7 @@ Filesz Memsz Flags Align
406 406
407#ifndef emacs 407#ifndef emacs
408#define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1) 408#define fatal(a, b, c) fprintf (stderr, a, b, c), exit (1)
409#include <string.h>
409#else 410#else
410#include <config.h> 411#include <config.h>
411extern void fatal (char *, ...); 412extern void fatal (char *, ...);
@@ -415,7 +416,6 @@ extern void fatal (char *, ...);
415#include <stdio.h> 416#include <stdio.h>
416#include <sys/stat.h> 417#include <sys/stat.h>
417#include <memory.h> 418#include <memory.h>
418#include <string.h>
419#include <errno.h> 419#include <errno.h>
420#include <unistd.h> 420#include <unistd.h>
421#include <fcntl.h> 421#include <fcntl.h>
@@ -499,12 +499,12 @@ typedef struct {
499# define HDRR struct ecoff_symhdr 499# define HDRR struct ecoff_symhdr
500# define pHDRR HDRR * 500# define pHDRR HDRR *
501# endif /* __alpha__ */ 501# endif /* __alpha__ */
502#endif /* __NetBSD__ */
503 502
504#ifdef __mips__ /* was in pkgsrc patches for 20.7 */ 503#ifdef __mips__ /* was in pkgsrc patches for 20.7 */
505# define SHT_MIPS_DEBUG DT_MIPS_FLAGS 504# define SHT_MIPS_DEBUG DT_MIPS_FLAGS
506# define HDRR struct Elf_Shdr 505# define HDRR struct Elf_Shdr
507#endif /* __mips__ */ 506#endif /* __mips__ */
507#endif /* __NetBSD__ */
508 508
509#ifdef __OpenBSD__ 509#ifdef __OpenBSD__
510# include <sys/exec_elf.h> 510# include <sys/exec_elf.h>