aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mips.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-05-07 05:10:45 +0000
committerAlexandre Oliva <aoliva@redhat.com>2003-05-07 05:10:45 +0000
commitcac012d6d394027fe11ea4f08b2e92f38db9326b (patch)
tree926099b535faa284ec1639418e04ee5881868a97 /gas/config/tc-mips.c
parentaa701218b758e960355dd24e5494b22d49a2f3a0 (diff)
downloadgdb-cac012d6d394027fe11ea4f08b2e92f38db9326b.zip
gdb-cac012d6d394027fe11ea4f08b2e92f38db9326b.tar.gz
gdb-cac012d6d394027fe11ea4f08b2e92f38db9326b.tar.bz2
* configure.in (MIPS_DEFAULT_ABI): AC_DEFINE.
* config/tc-mips.c (mips_after_parse_args): Set mips_abi to it. * config.in, configure: Rebuilt.
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r--gas/config/tc-mips.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 1c5602f..5d95366 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -11225,6 +11225,9 @@ mips_after_parse_args ()
g_switch_value = 0;
}
+ if (mips_abi == NO_ABI)
+ mips_abi = MIPS_DEFAULT_ABI;
+
/* The following code determines the architecture and register size.
Similar code was added to GCC 3.3 (see override_options() in
config/mips/mips.c). The GAS and GCC code should be kept in sync