aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mips.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-01-27 22:45:58 +0000
committerAlexandre Oliva <aoliva@redhat.com>2003-01-27 22:45:58 +0000
commit1de5b6a1a2f2222ab1250588164e4e63c98ec8a0 (patch)
tree9e02d6860c0455eb803e1e2c26f13cb02f95431c /gas/config/tc-mips.c
parenta94dd1fda23661238cac626d1adc7a11c55364b3 (diff)
downloadgdb-1de5b6a1a2f2222ab1250588164e4e63c98ec8a0.zip
gdb-1de5b6a1a2f2222ab1250588164e4e63c98ec8a0.tar.gz
gdb-1de5b6a1a2f2222ab1250588164e4e63c98ec8a0.tar.bz2
* configure.in (em): Set to irix on all Irix systems.
* configure: Rebuilt. * config/te-irix.h: New file. * config/tc-mips.c (mips_dwarf2_format): Use TE_IRIX to decide whether to use Irix-specific 64-bit format.
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r--gas/config/tc-mips.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 2d5440e..446f95f 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -14788,7 +14788,13 @@ enum dwarf2_format
mips_dwarf2_format ()
{
if (mips_abi == N64_ABI)
- return dwarf2_format_64bit_irix;
+ {
+#ifdef TE_IRIX
+ return dwarf2_format_64bit_irix;
+#else
+ return dwarf2_format_64bit;
+#endif
+ }
else
return dwarf2_format_32bit;
}