iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition to use flag_gnu_linker.
authorJeffrey Oldham <oldham@codesourcery.com>
Mon, 29 Jan 2001 19:36:52 +0000 (19:36 +0000)
committerJeffrey D. Oldham <oldham@gcc.gnu.org>
Mon, 29 Jan 2001 19:36:52 +0000 (19:36 +0000)
2001-01-29  Jeffrey Oldham  <oldham@codesourcery.com>

* config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition
to use flag_gnu_linker.

From-SVN: r39335

gcc/ChangeLog
gcc/config/mips/iris6.h

index f3efe7a..969ed8d 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-29  Jeffrey Oldham  <oldham@codesourcery.com>
+
+       * config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition
+       to use flag_gnu_linker.
+
 2001-01-29  Neil Booth  <neil@daikokuya.demon.co.uk>
 
         * cpplib.c (T_BAD_DIRECTIVE): Remove.
index b7a6f8f..cd1616a 100644 (file)
@@ -207,7 +207,7 @@ Boston, MA 02111-1307, USA.  */
 
 /* Irix assembler does not support the init_priority C++ attribute.  */
 #undef SUPPORTS_INIT_PRIORITY
-#define SUPPORTS_INIT_PRIORITY 0
+#define SUPPORTS_INIT_PRIORITY (!flag_gnu_linker)
 
 #define POPSECTION_ASM_OP      "\t.popsection"