Weak symbol support on powerpc-ibm-aix22.214.171.124 (binutils 2.15)
Mon Jul 26 15:54:00 GMT 2004
> Are weak symbols unsupported on AIX 5.2 or is this a gas/bfd bug?
It is a bug...
> .csect .data[RW]
> .globl g
> g: .long 0
> .weak w
> w: .long 0
Please try the attached patch and let me know how you get on with it.
2004-07-26 Nick Clifton <email@example.com>
* config/obj-coff.c (coff_frob_symbol): Skip weak symbols when
setting punt before calling SA_SET_SYM_ENDNDX for XCOFF format.
* config/tc-ppc.c (ppc_frob_symbol): Treat weak symbols like
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Binutils