This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Newbie: How to support new processor architecture
- From: Ian Lance Taylor <ian at airs dot com>
- To: Stefan Heinzmann <stefan_heinzmann at yahoo dot com>
- Cc: Nick Clifton <nickc at cambridge dot redhat dot com>, binutils <binutils at sources dot redhat dot com>
- Date: 13 May 2002 09:38:24 -0700
- Subject: Re: Newbie: How to support new processor architecture
- References: <20020513163227.19587.qmail@web11208.mail.yahoo.com>
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