[PATCH] prevent warnings from -shared-libgcc on mips-irix

Olivier Hainque hainque@adacore.com
Thu Jun 5 16:59:00 GMT 2008


Hi Richard,

Thanks for your super prompt feedback.

Richard Sandiford wrote:
> Thanks for the patch. It's nice to see someone is still trying to use
> GCC mainline and IRIX ld.

 :-)

> I'd prefer to add:
> 
>         .hidden __gcc_init
>         .hidden __gcc_fini
> 
> to irix-crti.asm.  We require GAS now, so there should no be
> compatibility problem.

 Certainly fine with me.

> Why doesn't the normal hiding of __dso_handle work?  (Or is the
> problem that IRIX ignores visiblity for input ET_RELs?  I really
> hope it's not that. ;))

 Humm, our config.log reads

  configure:20653: checking linker for .hidden support
  configure:20704: result: no

 Not yet sure how this was determined. Checking further ...




More information about the Gcc-patches mailing list