aboutsummaryrefslogtreecommitdiff
path: root/gas/config
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
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')
-rw-r--r--gas/config/tc-mips.c8
-rw-r--r--gas/config/te-irix.h31
2 files changed, 38 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;
}
diff --git a/gas/config/te-irix.h b/gas/config/te-irix.h
new file mode 100644
index 0000000..49fa261
--- /dev/null
+++ b/gas/config/te-irix.h
@@ -0,0 +1,31 @@
+/* IRIX targets
+ Copyright 2002 Free Software Foundation, Inc.
+
+ This file is part of GAS, the GNU Assembler.
+
+ GAS is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ GAS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GAS; see the file COPYING. If not, write to the Free
+ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA. */
+
+/* This file is te-irix.h and is intended to provide support for
+ IRIX targets. Created by Alexandre Oliva <aoliva@redhat.com>. */
+
+#define TE_IRIX 1
+
+/* these define interfaces */
+#ifdef OBJ_HEADER
+#include OBJ_HEADER
+#else
+#include "obj-format.h"
+#endif