aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sh
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-04-27 20:48:25 +0000
committerMark Kettenis <kettenis@gnu.org>2005-04-27 20:48:25 +0000
commitccf00f21795678e609af3faa0437cc216f039907 (patch)
tree188469d0c8fbcceaff9c555c8ea106f72c252775 /gdb/config/sh
parent4ec242d7be3f7d2fdd3f3e4927fcb0b895fb7dd2 (diff)
downloadgdb-ccf00f21795678e609af3faa0437cc216f039907.zip
gdb-ccf00f21795678e609af3faa0437cc216f039907.tar.gz
gdb-ccf00f21795678e609af3faa0437cc216f039907.tar.bz2
* sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): Remove function.
(sh_gdbarch_init): Remove redundant prototype. * sh-linux-tdep.c: New file. * config/sh/tm-linux.h (sh_linux_svr4_fetch_link_map_offsets): Remove prototype. (SVR4_FETCH_LINK_MAP_OFFSETS): Remove define. * config/sh/linux.mt (TDEPFILES): Add sh64-tdep.o, remove solib-legacy.o. * Makefile.in (sh-linux-tdep.o): New.
Diffstat (limited to 'gdb/config/sh')
-rw-r--r--gdb/config/sh/linux.mt6
-rw-r--r--gdb/config/sh/tm-linux.h4
2 files changed, 4 insertions, 6 deletions
diff --git a/gdb/config/sh/linux.mt b/gdb/config/sh/linux.mt
index 629d49b..4f6e926 100644
--- a/gdb/config/sh/linux.mt
+++ b/gdb/config/sh/linux.mt
@@ -1,5 +1,7 @@
-# Target: Renesas Super-H running GNU/Linux
-TDEPFILES= sh-tdep.o monitor.o sh3-rom.o remote-e7000.o ser-e7kpc.o dsrec.o solib.o solib-svr4.o solib-legacy.o symfile-mem.o
+# Target: GNU/Linux Super-H
+TDEPFILES= sh-tdep.o sh64-tdep.o sh-linux-tdep.o \
+ monitor.o sh3-rom.o remote-e7000.o ser-e7kpc.o dsrec.o \
+ solib.o solib-svr4.o symfile-mem.o
DEPRECATED_TM_FILE= tm-linux.h
SIM_OBS = remote-sim.o
diff --git a/gdb/config/sh/tm-linux.h b/gdb/config/sh/tm-linux.h
index 0117d81..797041d 100644
--- a/gdb/config/sh/tm-linux.h
+++ b/gdb/config/sh/tm-linux.h
@@ -26,7 +26,3 @@
/* Pull in sh-target defs */
#include "sh/tm-sh.h"
-/* Use target_specific function to define link map offsets. */
-extern struct link_map_offsets *sh_linux_svr4_fetch_link_map_offsets (void);
-#define SVR4_FETCH_LINK_MAP_OFFSETS() sh_linux_svr4_fetch_link_map_offsets ()
-