This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH: Revise iris6.h to use !flag_gnu_linker


I patched gcc/config/mips/iris6.h to indicate that the default Irix6.5
linker does not support the C++ `init_priority' attribute.  Jason
Merrill suggested I use "!flag_gnu_linker" for the associated macro.

2001-01-29  Jeffrey Oldham  <oldham@codesourcery.com>

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

Tested on       mips-sgi-irix6.5.
Approved by	Mark Mitchell (mark@codesourcery.com)

Thanks,
Jeffrey D. Oldham
oldham@codesourcery.com
Index: iris6.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/mips/iris6.h,v
retrieving revision 1.26
diff -c -p -r1.26 iris6.h
*** iris6.h	2001/01/15 03:33:56	1.26
--- iris6.h	2001/01/18 00:48:09
*************** Boston, MA 02111-1307, USA.  */
*** 207,213 ****
  
  /* Irix assembler does not support the init_priority C++ attribute.  */
  #undef SUPPORTS_INIT_PRIORITY
! #define SUPPORTS_INIT_PRIORITY 0
  
  #define POPSECTION_ASM_OP	"\t.popsection"
  
--- 207,213 ----
  
  /* Irix assembler does not support the init_priority C++ attribute.  */
  #undef SUPPORTS_INIT_PRIORITY
! #define SUPPORTS_INIT_PRIORITY (!flag_gnu_linker)
  
  #define POPSECTION_ASM_OP	"\t.popsection"
  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]