OSDN Git Service

* dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Feb 2005 15:40:07 +0000 (15:40 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Feb 2005 15:40:07 +0000 (15:40 +0000)
ELFSIZE in terms of ARCH_ELFSIZE (back-ported from gc7.0alpha1).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95582 138bc75d-0d04-0410-961f-82ee72b054a4

boehm-gc/ChangeLog
boehm-gc/dyn_load.c

index 2194ad5..cb49b3a 100644 (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>
 
        PR libgcj/19823
index dfe0a3c..c5139aa 100644 (file)
 #   define l_name      lm_name
 #endif
 
+#if defined(NETBSD)
+#   include <machine/elf_machdep.h>
+#   define ELFSIZE ARCH_ELFSIZE
+#endif
+
 #if defined(LINUX) && defined(__ELF__) || defined(SCO_ELF) || \
     (defined(FREEBSD) && defined(__ELF__)) || defined(DGUX) || \
     (defined(NETBSD) && defined(__ELF__)) || defined(HURD)