aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386/nm-fbsd.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-02-22 16:20:22 +0000
committerMark Kettenis <kettenis@gnu.org>2004-02-22 16:20:22 +0000
commit7e654c3761e35773bcebb368865360855d24c73a (patch)
treeb1d541c4a2b7115f6e3455f7144b2c5bfbc62575 /gdb/config/i386/nm-fbsd.h
parent3224a7064a4879973dc26fcf338d5cdb2543feb0 (diff)
downloadgdb-7e654c3761e35773bcebb368865360855d24c73a.zip
gdb-7e654c3761e35773bcebb368865360855d24c73a.tar.gz
gdb-7e654c3761e35773bcebb368865360855d24c73a.tar.bz2
* amd64fbsd-tdep.c: Include "solib-svr4.h".
(amd64fbsd_init_abi): Set link map offsets. * amd64nbsd-tdep.c: Include "slib-svr4.h". (amd64nbsd_init_abi): Set link map offsets. * amd64obsd-tdep.c: Include "solib-svr4.h". (amd64obsd_init_abi): Set link map offsets. * i386fbsd-tdep.c: Include "solib-svr4.h". (i386fbsd_init_abi): Set link map offsets. * i386nbsd-tdep.c: Include "solib-svr4.h". (i386nbsdelf_init_abi): Set link map offsets. * Makefile.in (amd64fbsd-tdep.o, amd64nbsd-tdep.o) (amd64obsd-tdep.o, i386fbsd-tdep.o): Update dependencies. * config/i386/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o, solib-legacy.o and core-aout.o. Reformat. * config/i386/fbsd64.mh (NATDEPFILES): Remove solib.o, solib-svr4.o, solib-legacy.o. Reformat. * config/i386/nbsdaout.mh (NATDEPFILES): Add solib.o. Reformat. * config/i386/nbsdelf.mh: Reformat. * config/i386/nbsd64.mh (NATDEPFILES): Remove solib.o, solib-svr4.o, solib-legacy.o and corelow.o. * config/i386/obsd.mh, config/i386/obsdaout.mh: Reformat. * config/i386/obsd64.mh (NATDEPFILES): Remove solib.o, solib-svr4.o, solib-legacy.o and corelow.o. Reformat. * config/i386/fbsd.mt (TDEPFILES): Add solib.o, solib-svr4.o. * config/i386/fbsd64.mt (TDEPFILES): Add solib.o, solib-svr4.o. (TM_FILE): Set to tm-fbsd.h. * config/i386/nbsd.mt (TDEPFILES): Reformat. * config/i386/nbsd64.mt (TDEPFILES): Add corelow.o, solib.o and solib-svr4.o. * config/i386/obsd.mt (TDEPFILES): Add corelow.o, solib.o and solib-svr4.o. (TM_FILE): Set to nm-nbsd.h. * config/i386/nm-fbsd.h: Update copyright year. Tweak comments. Simplify shared library support. Don't include "elf/common.h". (SVR4_SHARED_LIBS): Don't define. * config/i386/nm-fbsd64.h: Update copyright year. Don't include "solib.h". * config/i386/nm-nbsd.h, config/i386/nm-nbsdaout.h, config/i386/nm-obsd.h: Update copyright year. Tweak comments. * config/i386/tm-fbsd.h: Update copyright tear. Tweak comments. Don't include "i386/tm-i386.h". Include "solib.h". * config/i386/tm-nbsd.h: Update copyright year. Tweak comments. Don't include "i386/tm-i386.h". * config/i386/xm-i386.h: Update copyright year. Tweak comments. * config/i386/xm-nbsd.h: Update copyright year. Tweak comments. Include "i386/xm-i386.h". (HOST_LONG_DOUBLE_FORMAT): Remove.
Diffstat (limited to 'gdb/config/i386/nm-fbsd.h')
-rw-r--r--gdb/config/i386/nm-fbsd.h23
1 files changed, 6 insertions, 17 deletions
diff --git a/gdb/config/i386/nm-fbsd.h b/gdb/config/i386/nm-fbsd.h
index e47e9ef..314e3a0 100644
--- a/gdb/config/i386/nm-fbsd.h
+++ b/gdb/config/i386/nm-fbsd.h
@@ -1,5 +1,6 @@
/* Native-dependent definitions for FreeBSD/i386.
- Copyright 1986, 1987, 1989, 1992, 1994, 1996, 1997, 2000, 2001
+
+ Copyright 1986, 1987, 1989, 1992, 1994, 1996, 1997, 2000, 2001, 2004
Free Software Foundation, Inc.
This file is part of GDB.
@@ -87,20 +88,10 @@ extern CORE_ADDR register_u_addr (CORE_ADDR blockend, int regno);
/* Shared library support. */
-/* The FreeBSD <link.h> uses the same condition to distinguish ELF
- from a.out. ELF implies SVR4 shared libraries. */
-#if (defined (FREEBSD_ELF) || defined (__ELF__)) && !defined (FREEBSD_AOUT)
-#define SVR4_SHARED_LIBS
-#endif
-
-#include "solib.h" /* Support for shared libraries. */
-#ifdef SVR4_SHARED_LIBS
-#include "elf/common.h" /* Additional ELF shared library info. */
-#endif
-
-#ifndef SVR4_SHARED_LIBS
+#include "solib.h"
-/* Make structure definitions match up with those expected in `solib.c'. */
+/* Make structure definitions match up with those expected in
+ `solib-sunos.c'. */
#define link_object sod
#define lo_name sod_name
@@ -154,6 +145,4 @@ extern CORE_ADDR register_u_addr (CORE_ADDR blockend, int regno);
#define ld_un d_un
#define ld_2 d_sdt
-#endif /* !SVR4_SHARED_LIBS */
-
-#endif /* NM_FBSD_H */
+#endif /* nm-fbsd.h */