aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2001-07-11 21:49:41 +0000
committerDaniel Jacobowitz <drow@false.org>2001-07-11 21:49:41 +0000
commite64c07175c3dab9f5ccb75f90bb3c12bb6aa8ddd (patch)
tree07eb009c3b8c2fc935997af86a0976628a9db79f
parent6c8e04b5332e744f772c4ce6a7b74daee8e0ec5a (diff)
downloadgdb-e64c07175c3dab9f5ccb75f90bb3c12bb6aa8ddd.zip
gdb-e64c07175c3dab9f5ccb75f90bb3c12bb6aa8ddd.tar.gz
gdb-e64c07175c3dab9f5ccb75f90bb3c12bb6aa8ddd.tar.bz2
Don't duplicate tm-linux.h
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/config/mips/tm-linux.h24
2 files changed, 10 insertions, 20 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c219e45..819520a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2001-07-11 Daniel Jacobowitz <drow@mvista.com>
+ * config/mips/tm-linux.h: Include "tm-linux.h" instead of copying
+ from it. Move definitions of REALTIME_LO and REALTIME_HI above
+ include.
+
+2001-07-11 Daniel Jacobowitz <drow@mvista.com>
+
* MAINTAINERS: List myself for MIPS/Linux
port.
diff --git a/gdb/config/mips/tm-linux.h b/gdb/config/mips/tm-linux.h
index 54725fd..ff32ff3 100644
--- a/gdb/config/mips/tm-linux.h
+++ b/gdb/config/mips/tm-linux.h
@@ -30,34 +30,18 @@
#undef SKIP_TRAMPOLINE_CODE
#undef IGNORE_HELPER_CALL
-/* FIXME: Do not include "tm-linux.h", because we do not want the host's
- <signal.h>. Instead, copy the non-signal bits for now. */
-
-/* We need this file for the SOLIB_TRAMPOLINE stuff. */
-
-#include "tm-sysv4.h"
-
-/* We define SVR4_SHARED_LIBS unconditionally, on the assumption that
- link.h is available on all linux platforms. For I386 and SH3/4,
- we hard-code the information rather than use link.h anyway (for
- the benefit of cross-debugging). We may move to doing that for
- other architectures as well. */
+/* Linux/MIPS has __SIGRTMAX == 127. */
-#define SVR4_SHARED_LIBS
-#include "solib.h" /* Support for shared libraries. */
+#define REALTIME_LO 32
+#define REALTIME_HI 128
-/* End from "tm-linux.h". */
+#include "tm-linux.h"
/* There's an E_MIPS_ABI_O32 flag in e_flags, but we don't use it - in
fact, using it may violate the o32 ABI. */
#define MIPS_DEFAULT_ABI MIPS_ABI_O32
-/* Linux/MIPS has __SIGRTMAX == 127. */
-
-#define REALTIME_LO 32
-#define REALTIME_HI 128
-
/* Use target_specific function to define link map offsets. */
extern struct link_map_offsets *mips_linux_svr4_fetch_link_map_offsets (void);