diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2003-01-27 22:45:58 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2003-01-27 22:45:58 +0000 |
commit | 1de5b6a1a2f2222ab1250588164e4e63c98ec8a0 (patch) | |
tree | 9e02d6860c0455eb803e1e2c26f13cb02f95431c /gas | |
parent | a94dd1fda23661238cac626d1adc7a11c55364b3 (diff) | |
download | gdb-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')
-rw-r--r-- | gas/ChangeLog | 8 | ||||
-rw-r--r-- | gas/config/tc-mips.c | 8 | ||||
-rw-r--r-- | gas/config/te-irix.h | 31 | ||||
-rwxr-xr-x | gas/configure | 6 | ||||
-rw-r--r-- | gas/configure.in | 6 |
5 files changed, 52 insertions, 7 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 10870be..f216d86 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,11 @@ +2003-01-27 Alexandre Oliva <aoliva@redhat.com> + + * 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. + 2003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com> * config/tc-s390.c (s390_elf_cons): Avoid designated initializers. 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 diff --git a/gas/configure b/gas/configure index 71b1142..a4d0681 100755 --- a/gas/configure +++ b/gas/configure @@ -2515,9 +2515,9 @@ EOF mips-*-osf*) fmt=ecoff endian=little ;; mips-*-ecoff*) fmt=ecoff ;; mips-*-pe*) fmt=coff endian=little em=pe ;; - mips-*-irix6*) fmt=elf ;; - mips-*-irix5*) fmt=elf ;; - mips-*-irix*) fmt=ecoff ;; + mips-*-irix6*) fmt=elf em=irix ;; + mips-*-irix5*) fmt=elf em=irix ;; + mips-*-irix*) fmt=ecoff em=irix ;; mips-*-lnews*) fmt=ecoff em=lnews ;; mips-*-riscos*) fmt=ecoff ;; mips*-*-linux*) fmt=elf em=tmips ;; diff --git a/gas/configure.in b/gas/configure.in index 8f0d531..da336f8 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -361,9 +361,9 @@ changequote([,])dnl mips-*-osf*) fmt=ecoff endian=little ;; mips-*-ecoff*) fmt=ecoff ;; mips-*-pe*) fmt=coff endian=little em=pe ;; - mips-*-irix6*) fmt=elf ;; - mips-*-irix5*) fmt=elf ;; - mips-*-irix*) fmt=ecoff ;; + mips-*-irix6*) fmt=elf em=irix ;; + mips-*-irix5*) fmt=elf em=irix ;; + mips-*-irix*) fmt=ecoff em=irix ;; mips-*-lnews*) fmt=ecoff em=lnews ;; mips-*-riscos*) fmt=ecoff ;; mips*-*-linux*) fmt=elf em=tmips ;; |