Newbie: How to support new processor architecture
Ian Lance Taylor
ian@airs.com
Mon May 13 09:38:00 GMT 2002
Stefan Heinzmann <stefan_heinzmann@yahoo.com> writes:
> > The COFF format will not support weak symbols. Either switch to ELF
> > or abandon using weak symbols.
>
> But, if I do an objdump on the output file from gas, it shows that some
> symbols are declared weak. Since gas output is already COFF, I assumed
> that COFF supported weak symbols -- at least the information makes it
> into the COFF file somehow. What else is needed?
Yes, the GNU tools do generally support weak symbols in COFF as an
extension to standard COFF. The storage class is set to C_WEAKEXT
which is 127.
I do not know why it is not working for you.
Ian
More information about the Binutils
mailing list