From: Mark Kettenis Date: Wed, 7 Apr 2004 00:15:12 +0000 (+0000) Subject: * config/sparc/linux.mt (TDEPFILES): Remove solib-legacy.o. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11d5789c7f6a1bbc422682803cf26e42c448a61e;p=binutils-gdb.git * config/sparc/linux.mt (TDEPFILES): Remove solib-legacy.o. * config/sparc/linux64.mt (TDEPFILES): Likewise. * config/sparc/sol2.mt (TDEPFILES): Add solib.o and solib-svr4.o. * config/sparc/sol2.mh (NATDEPFILES): Remove solib.o, solib-svr4.o and solib-legacy.o. * config/sparc/sol2-64.mt (TDEPFILES): Add solib.o and solib-svr4.o. * config/sparc/tm-sol2.h: Update copyright year. Include "solib.h". --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 276b7dbb92a..7cc00a8d693 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,15 @@ 2004-04-07 Mark Kettenis + * config/sparc/linux.mt (TDEPFILES): Remove solib-legacy.o. + * config/sparc/linux64.mt (TDEPFILES): Likewise. + * config/sparc/sol2.mt (TDEPFILES): Add solib.o and solib-svr4.o. + * config/sparc/sol2.mh (NATDEPFILES): Remove solib.o, solib-svr4.o + and solib-legacy.o. + * config/sparc/sol2-64.mt (TDEPFILES): Add solib.o and + solib-svr4.o. + * config/sparc/tm-sol2.h: Update copyright year. Include + "solib.h". + * sparc-sol2-tdep.c: Update copyright year. Include "solib-svr4.h". (sparc32_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets. diff --git a/gdb/config/sparc/linux.mt b/gdb/config/sparc/linux.mt index e053f302c4f..442983bcf18 100644 --- a/gdb/config/sparc/linux.mt +++ b/gdb/config/sparc/linux.mt @@ -1,4 +1,4 @@ # Target: GNU/Linux SPARC TDEPFILES= sparc-tdep.o sparc-sol2-tdep.o sparc-linux-tdep.o \ - solib.o solib-svr4.o solib-legacy.o + solib.o solib-svr4.o TM_FILE= tm-linux.h diff --git a/gdb/config/sparc/linux64.mt b/gdb/config/sparc/linux64.mt index 4121314318b..ba7c22e6184 100644 --- a/gdb/config/sparc/linux64.mt +++ b/gdb/config/sparc/linux64.mt @@ -1,5 +1,5 @@ # Target: GNU/Linux UltraSPARC TDEPFILES= sparc64-tdep.o sparc64-sol2-tdep.o sparc64-linux-tdep.o \ sparc-tdep.o sparc-sol2-tdep.o sparc-linux-tdep.o \ - solib.o solib-svr4.o solib-legacy.o + solib.o solib-svr4.o TM_FILE= tm-linux.h diff --git a/gdb/config/sparc/sol2-64.mt b/gdb/config/sparc/sol2-64.mt index 92f848929fe..ec92e1fb019 100644 --- a/gdb/config/sparc/sol2-64.mt +++ b/gdb/config/sparc/sol2-64.mt @@ -1,3 +1,4 @@ # Target: Solaris UltraSPARC -TDEPFILES= sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o sparc-sol2-tdep.o +TDEPFILES= sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o sparc-sol2-tdep.o \ + solib.o solib-svr4.o TM_FILE= tm-sol2.h diff --git a/gdb/config/sparc/sol2.mh b/gdb/config/sparc/sol2.mh index 735b9ee8096..44a06018e19 100644 --- a/gdb/config/sparc/sol2.mh +++ b/gdb/config/sparc/sol2.mh @@ -2,5 +2,4 @@ NAT_FILE= nm-sol2.h NATDEPFILES= sparc-sol2-nat.o \ corelow.o core-regset.o fork-child.o gcore.o \ - procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o \ - solib.o solib-svr4.o solib-legacy.o + procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o diff --git a/gdb/config/sparc/sol2.mt b/gdb/config/sparc/sol2.mt index 4037956317c..11fd4b8260a 100644 --- a/gdb/config/sparc/sol2.mt +++ b/gdb/config/sparc/sol2.mt @@ -1,3 +1,3 @@ # Target: Solaris SPARC -TDEPFILES= sparc-tdep.o sparc-sol2-tdep.o +TDEPFILES= sparc-tdep.o sparc-sol2-tdep.o solib.o solib-svr4.o TM_FILE= tm-sol2.h diff --git a/gdb/config/sparc/tm-sol2.h b/gdb/config/sparc/tm-sol2.h index d111c1a7768..37dc285da90 100644 --- a/gdb/config/sparc/tm-sol2.h +++ b/gdb/config/sparc/tm-sol2.h @@ -1,6 +1,6 @@ /* Target-dependent definitions for Solaris SPARC. - Copyright 2003 Free Software Foundation, Inc. + Copyright 2003, 2004 Free Software Foundation, Inc. This file is part of GDB. @@ -23,6 +23,9 @@ #define GDB_MULTI_ARCH GDB_MULTI_ARCH_TM +/* Shared library support. */ +#include "solib.h" + /* The Sun compilers (Sun ONE Studio, Forte Developer, Sun WorkShop, SunPRO) compiler puts out 0 instead of the address in N_SO stabs. Starting with SunPRO 3.0, the compiler does this for N_FUN stabs