From: Andrew Cagney <ac131313@ges.redhat.com>
To: gdb-patches@sources.redhat.com
Subject: [patch/in] Delete MIPS_DEFAULT_ABI
Date: Mon, 19 Aug 2002 17:45:00 -0000 [thread overview]
Message-ID: <3D61911A.5040108@ges.redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 150 bytes --]
FYI,
For Linux and NetBSD, defining this has no effect. For IRIX it stops
GDB defaulting to o32.
I'll commit, assuming testing goes ok ...
Andrew
[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 3343 bytes --]
2002-08-19 Andrew Cagney <cagney@redhat.com>
* config/mips/tm-nbsd.h (MIPS_DEFAULT_ABI): Delete.
* config/mips/tm-linux.h (MIPS_DEFAULT_ABI): Delete.
* config/mips/tm-irix5.h (MIPS_DEFAULT_ABI): Delete.
* config/mips/tm-irix6.h (MIPS_DEFAULT_ABI): Delete.
* mips-tdep.c (mips_gdbarch_init) [MIPS_DEFAULT_ABI]: Delete code.
Index: mips-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-tdep.c,v
retrieving revision 1.108
diff -u -r1.108 mips-tdep.c
--- mips-tdep.c 19 Aug 2002 23:22:17 -0000 1.108
+++ mips-tdep.c 20 Aug 2002 00:42:38 -0000
@@ -5509,11 +5509,6 @@
}
}
-#ifdef MIPS_DEFAULT_ABI
- if (mips_abi == MIPS_ABI_UNKNOWN)
- mips_abi = MIPS_DEFAULT_ABI;
-#endif
-
if (mips_abi == MIPS_ABI_UNKNOWN)
mips_abi = MIPS_ABI_O32;
Index: config/mips/tm-irix5.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-irix5.h,v
retrieving revision 1.7
diff -u -r1.7 tm-irix5.h
--- config/mips/tm-irix5.h 11 Jun 2002 17:51:56 -0000 1.7
+++ config/mips/tm-irix5.h 20 Aug 2002 00:42:39 -0000
@@ -48,9 +48,6 @@
: ((N) >= 70 && (N) <= 89) ? builtin_type_uint32 \
: builtin_type_int)
-/* Force N32 ABI as the default. */
-#define MIPS_DEFAULT_ABI MIPS_ABI_N32
-
#endif /* N32 */
Index: config/mips/tm-irix6.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-irix6.h,v
retrieving revision 1.4
diff -u -r1.4 tm-irix6.h
--- config/mips/tm-irix6.h 1 Aug 2002 19:57:41 -0000 1.4
+++ config/mips/tm-irix6.h 20 Aug 2002 00:42:39 -0000
@@ -88,10 +88,6 @@
((N) - FP0_REGNUM) * sizeof(double) : \
32 * sizeof(double) + ((N) - 32) * MIPS_REGSIZE)
-/* Force N32 ABI as the default. */
-#define MIPS_DEFAULT_ABI MIPS_ABI_N32
-
-
/* The signal handler trampoline is called _sigtramp. */
#undef IN_SIGTRAMP
#define IN_SIGTRAMP(pc, name) ((name) && STREQ ("_sigtramp", name))
Index: config/mips/tm-linux.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-linux.h,v
retrieving revision 1.5
diff -u -r1.5 tm-linux.h
--- config/mips/tm-linux.h 19 Aug 2002 14:24:56 -0000 1.5
+++ config/mips/tm-linux.h 20 Aug 2002 00:42:39 -0000
@@ -40,11 +40,6 @@
#include "config/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
-
/* Use target_specific function to define link map offsets. */
extern struct link_map_offsets *mips_linux_svr4_fetch_link_map_offsets (void);
Index: config/mips/tm-nbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/mips/tm-nbsd.h,v
retrieving revision 1.1
diff -u -r1.1 tm-nbsd.h
--- config/mips/tm-nbsd.h 21 May 2002 15:58:41 -0000 1.1
+++ config/mips/tm-nbsd.h 20 Aug 2002 00:42:39 -0000
@@ -28,11 +28,6 @@
#include "mips/tm-mips.h"
#include "solib.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
-
/* We don't want to inherit tm-mips.h's shared library trampoline code. */
#undef IN_SOLIB_CALL_TRAMPOLINE
#undef IN_SOLIB_RETURN_TRAMPOLINE
next reply other threads:[~2002-08-20 0:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-19 17:45 Andrew Cagney [this message]
2002-08-19 19:01 ` Daniel Jacobowitz
2002-08-20 6:20 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D61911A.5040108@ges.redhat.com \
--to=ac131313@ges.redhat.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox