PATCH: Reverse SUPPORTS_INIT_PRIORITY Change to iris6.h
Jason Merrill
jason@redhat.com
Fri Feb 2 08:57:00 GMT 2001
>>>>> "Mark" == Mark Mitchell <mark@codesourcery.com> writes:
>>>>> "Jason" == Jason Merrill <jason@redhat.com> writes:
Jason> It should. If the MIPS port uses it to mean something
Jason> else, it should be fixed.
> It's not the MIPS port.
> /* -fgnu-linker specifies use of the GNU linker for initializations.
> (Or, more generally, a linker that handles initializations.)
> -fno-gnu-linker says that collect2 will be used. */
> #ifdef USE_COLLECT2
> int flag_gnu_linker = 0;
> #else
> int flag_gnu_linker = 1;
> #endif
> This is really the linker_supports_init_fini flag.
Well, kind of. It's actually only checked for targets that don't define
ASM_OUTPUT_CONSTRUCTOR; what it really means is "linker supports GNU ld
vector-building stabs". Which should not be set for the IRIX linker.
Jason
More information about the Gcc-patches
mailing list