summaryrefslogtreecommitdiff
path: root/sim/m32r
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-15 02:55:08 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-15 03:05:05 -0400
commit8406bb5944940a8830b37b97584dda3208a3d07d (patch)
tree9fed3d4c5c3ca932b0fc4955a965bf38ea3dd447 /sim/m32r
parentb19839da382a4755e91d0a943b6d89d13fd74972 (diff)
downloadbinutils-gdb-8406bb5944940a8830b37b97584dda3208a3d07d.tar.gz
sim: dv-sockser: push module init prototype down
Pull out the duplicated dv_sockser_install prototype from the tconfig.in files and put it in the one place it gets used -- sim-module.c. This is still arguably incorrect, but it's better than the status quo where the tconfig.in has to include header files and duplicate the dv-sockser func. The tconfig header is meant to be simple and contain a target defines.
Diffstat (limited to 'sim/m32r')
-rw-r--r--sim/m32r/ChangeLog4
-rw-r--r--sim/m32r/tconfig.in6
2 files changed, 4 insertions, 6 deletions
diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog
index 98f3a8cb6cc..ee4d6898ba2 100644
--- a/sim/m32r/ChangeLog
+++ b/sim/m32r/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-15 Mike Frysinger <vapier@gentoo.org>
+
+ * tconfig.in [HAVE_DV_SOCKSER]: Delete.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_RUN_OBJS): Delete.
diff --git a/sim/m32r/tconfig.in b/sim/m32r/tconfig.in
index 1d159bc5e11..a5c55d5fa32 100644
--- a/sim/m32r/tconfig.in
+++ b/sim/m32r/tconfig.in
@@ -16,12 +16,6 @@
/* For MSPR support. FIXME: revisit. */
#define WITH_DEVICES 1
-/* FIXME: Revisit. */
-#ifdef HAVE_DV_SOCKSER
-MODULE_INSTALL_FN dv_sockser_install;
-#define MODULE_LIST dv_sockser_install,
-#endif
-
#if 0
/* Enable watchpoints. */
#define WITH_WATCHPOINTS 1