From 95310504d3daf8b40f01609dc136b612eabdfc6d Mon Sep 17 00:00:00 2001 From: drow Date: Wed, 11 Jul 2001 21:49:40 +0000 Subject: [PATCH] Don't duplicate tm-linux.h --- gdb/ChangeLog | 6 ++++++ gdb/config/mips/tm-linux.h | 24 ++++-------------------- 2 files changed, 10 insertions(+), 20 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c219e4547f..819520a559 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2001-07-11 Daniel Jacobowitz + * 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 + * MAINTAINERS: List myself for MIPS/Linux port. diff --git a/gdb/config/mips/tm-linux.h b/gdb/config/mips/tm-linux.h index 54725fda32..ff32ff33ed 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 - . 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); -- 2.11.0