* Makefile.in (i386nbsd-tdep.o): Add $(solib_svr4_h) to
dependency list. * i386nbsd-tdep.c (i386nbsdelf_init_abi): Set solib_svr4_fetch_link_map_offsets to nbsd_ilp32_solib_svr4_fetch_link_map_offsets. * config/i386/nbsd.mt (TDEPFILES): Add solib.o and solib-svr4.o. * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o. * config/i386/nbsdelf.mh (NATDEPFILES): Remove solib.o, solib-svr4.o, and solib-legacy.o. * config/i386/tm-nbsd.h: Include solib.h.
This commit is contained in:
parent
704a27c461
commit
7d400e7763
7 changed files with 22 additions and 6 deletions
|
@ -1,3 +1,16 @@
|
|||
2002-09-02 Jason Thorpe <thorpej@wasabisystems.com>
|
||||
|
||||
* Makefile.in (i386nbsd-tdep.o): Add $(solib_svr4_h) to
|
||||
dependency list.
|
||||
* i386nbsd-tdep.c (i386nbsdelf_init_abi): Set
|
||||
solib_svr4_fetch_link_map_offsets to
|
||||
nbsd_ilp32_solib_svr4_fetch_link_map_offsets.
|
||||
* config/i386/nbsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
|
||||
* config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
|
||||
* config/i386/nbsdelf.mh (NATDEPFILES): Remove solib.o,
|
||||
solib-svr4.o, and solib-legacy.o.
|
||||
* config/i386/tm-nbsd.h: Include solib.h.
|
||||
|
||||
2002-09-02 Jason Thorpe <thorpej@wasabisystems.com>
|
||||
|
||||
* configure.tgt (i[3456]86-*-netbsdelf*): Merge with...
|
||||
|
|
|
@ -1756,7 +1756,7 @@ i386ly-tdep.o: i386ly-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \
|
|||
# OBSOLETE i386mach-nat.o: i386mach-nat.c
|
||||
i386nbsd-tdep.o: i386nbsd-tdep.c $(defs_h) $(gdbtypes_h) $(gdbcore_h) \
|
||||
$(regcache_h) $(arch_utils_h) $(i386_tdep_h) $(i387_tdep_h) \
|
||||
$(nbsd_tdep_h)
|
||||
$(nbsd_tdep_h) $(solib_svr4_h)
|
||||
i386obsd-nat.o: i386obsd-nat.c $(defs_h)
|
||||
i386v-nat.o: i386v-nat.c $(defs_h) $(frame_h) $(inferior_h) $(language_h) \
|
||||
$(gdbcore_h) $(gdb_stat_h) $(floatformat_h) $(target_h)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Target: Intel 386 running NetBSD
|
||||
TDEPFILES= i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o corelow.o \
|
||||
nbsd-tdep.o
|
||||
nbsd-tdep.o solib.o solib-svr4.o
|
||||
TM_FILE= tm-nbsd.h
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
# Host: Intel 386 running NetBSD
|
||||
NATDEPFILES= fork-child.o infptrace.o inftarg.o i386bsd-nat.o \
|
||||
solib.o solib-sunos.o
|
||||
NATDEPFILES= fork-child.o infptrace.o inftarg.o i386bsd-nat.o solib-sunos.o
|
||||
|
||||
XM_FILE= xm-nbsd.h
|
||||
NAT_FILE= nm-nbsdaout.h
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
# Host: Intel 386 running NetBSD
|
||||
NATDEPFILES= fork-child.o infptrace.o inftarg.o i386bsd-nat.o \
|
||||
solib.o solib-svr4.o solib-legacy.o
|
||||
NATDEPFILES= fork-child.o infptrace.o inftarg.o i386bsd-nat.o
|
||||
XM_FILE= xm-nbsd.h
|
||||
NAT_FILE= nm-nbsd.h
|
||||
|
|
|
@ -22,5 +22,6 @@
|
|||
#define TM_NBSD_H
|
||||
|
||||
#include "i386/tm-i386.h"
|
||||
#include "solib.h"
|
||||
|
||||
#endif /* TM_NBSD_H */
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#include "i387-tdep.h"
|
||||
#include "nbsd-tdep.h"
|
||||
|
||||
#include "solib-svr4.h"
|
||||
|
||||
/* Map a GDB register number to an offset in the reg structure. */
|
||||
static int regmap[] =
|
||||
{
|
||||
|
@ -275,6 +277,8 @@ i386nbsdelf_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
|
|||
/* NetBSD ELF uses SVR4-style shared libraries. */
|
||||
set_gdbarch_in_solib_call_trampoline (gdbarch,
|
||||
generic_in_solib_call_trampoline);
|
||||
set_solib_svr4_fetch_link_map_offsets (gdbarch,
|
||||
nbsd_ilp32_solib_svr4_fetch_link_map_offsets);
|
||||
|
||||
/* NetBSD ELF uses -fpcc-struct-return by default. */
|
||||
tdep->struct_return = pcc_struct_return;
|
||||
|
|
Loading…
Add table
Reference in a new issue