dyn_load.c: On NetBSD...

* dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
	ELFSIZE in terms of ARCH_ELFSIZE (back-ported from gc7.0alpha1).

From-SVN: r95582
This commit is contained in:
Richard Earnshaw 2005-02-26 15:40:07 +00:00 committed by Richard Earnshaw
parent 56dea94bcf
commit 7bcf4240fd
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-02-26 Richard Earnshaw <rearnsha@arm.com>
* dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
ELFSIZE in terms of ARCH_ELFSIZE (back-ported from gc7.0alpha1).
2005-02-15 Bryce McKinlay <mckinlay@redhat.com> 2005-02-15 Bryce McKinlay <mckinlay@redhat.com>
PR libgcj/19823 PR libgcj/19823

View File

@ -80,6 +80,11 @@
# define l_name lm_name # define l_name lm_name
#endif #endif
#if defined(NETBSD)
# include <machine/elf_machdep.h>
# define ELFSIZE ARCH_ELFSIZE
#endif
#if defined(LINUX) && defined(__ELF__) || defined(SCO_ELF) || \ #if defined(LINUX) && defined(__ELF__) || defined(SCO_ELF) || \
(defined(FREEBSD) && defined(__ELF__)) || defined(DGUX) || \ (defined(FREEBSD) && defined(__ELF__)) || defined(DGUX) || \
(defined(NETBSD) && defined(__ELF__)) || defined(HURD) (defined(NETBSD) && defined(__ELF__)) || defined(HURD)