* configure.in (em): Set to irix on all Irix systems.
authorAlexandre Oliva <aoliva@redhat.com>
Mon, 27 Jan 2003 22:45:58 +0000 (22:45 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Mon, 27 Jan 2003 22:45:58 +0000 (22:45 +0000)
* 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.

gas/ChangeLog
gas/config/tc-mips.c
gas/config/te-irix.h [new file with mode: 0644]
gas/configure
gas/configure.in

index 10870bea8d36739d23d84a906012ae8077d42740..f216d868bc666365f116c85c9907a5ddd44c2078 100644 (file)
@@ -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.
index 2d5440ef85f292a70b991a092afdfc28ffd97bf5..446f95f4e6b34749a4517f95ff0c7af0dc5a2ffe 100644 (file)
@@ -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 (file)
index 0000000..49fa261
--- /dev/null
@@ -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
index 71b1142b0f723357c0fc8c3c29cd92e233f9878c..a4d0681b67ecc0d53692df6cc4bf71021c5d2fa7 100755 (executable)
@@ -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 ;;
index 8f0d53114aa62ecead74bc1fa6b2b4e34bfab6ae..da336f85f55d3b9fb3057895db406c48db5d8c77 100644 (file)
@@ -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 ;;
This page took 0.04471 seconds and 4 git commands to generate.