X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Funexelf.c;h=66d889cfecfd9c19eb0a139a42d589ab85f36575;hb=112b4eb6a71cd613a534b4246b4cc024ed9bf22e;hp=54c48e107b7899c48e4b9b5fb286f83693f53fba;hpb=b10ee70be2e0ce31599b05e9d58f83fc92141de0;p=chise%2Fxemacs-chise.git- diff --git a/src/unexelf.c b/src/unexelf.c index 54c48e1..66d889c 100644 --- a/src/unexelf.c +++ b/src/unexelf.c @@ -471,36 +471,6 @@ typedef struct { #define hdrNil ((pHDRR)0) #endif -#ifdef __NetBSD__ -/* - * NetBSD does not have normal-looking user-land ELF support. - */ -# ifdef __alpha__ -# define ELFSIZE 64 -# else -# define ELFSIZE 32 -# endif -# include - -# define PT_LOAD Elf_pt_load -# define SHT_SYMTAB Elf_sht_symtab -# define SHT_DYNSYM Elf_sht_dynsym -# define SHT_NULL Elf_sht_null -# define SHT_NOBITS Elf_sht_nobits -# define SHT_REL Elf_sht_rel -# define SHT_RELA Elf_sht_rela - -# define SHN_UNDEF Elf_eshn_undefined -# define SHN_ABS Elf_eshn_absolute -# define SHN_COMMON Elf_eshn_common - -# ifdef __alpha__ -# include -# define HDRR struct ecoff_symhdr -# define pHDRR HDRR * -# endif -#endif /* __NetBSD__ */ - #ifdef __OpenBSD__ # include #endif