summaryrefslogtreecommitdiff
path: root/gdb/config/sparc
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-04-07 00:15:12 +0000
committerMark Kettenis <kettenis@gnu.org>2004-04-07 00:15:12 +0000
commitd325db7c578e44d61e6f04b19340ec25f45674f2 (patch)
treebb2a4b4099ca0c14b54e6b0aa454013757945120 /gdb/config/sparc
parentba2768129f94eb7070311f17c34206f6acb29daf (diff)
downloadgdb-d325db7c578e44d61e6f04b19340ec25f45674f2.tar.gz
* 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".
Diffstat (limited to 'gdb/config/sparc')
-rw-r--r--gdb/config/sparc/linux.mt2
-rw-r--r--gdb/config/sparc/linux64.mt2
-rw-r--r--gdb/config/sparc/sol2-64.mt3
-rw-r--r--gdb/config/sparc/sol2.mh3
-rw-r--r--gdb/config/sparc/sol2.mt2
-rw-r--r--gdb/config/sparc/tm-sol2.h5
6 files changed, 10 insertions, 7 deletions
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