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: Nick Clifton <nickc at cambridge dot redhat dot com>
- To: Stefan Heinzmann <stefan_heinzmann at yahoo dot com>
- Cc: binutils at sources dot redhat dot com
- Date: 13 May 2002 18:30:30 +0100
- Subject: Re: Newbie: How to support new processor architecture
- References: <20020513163227.19587.qmail@web11208.mail.yahoo.com>
Hi Stefan,
> > Yes - you will need to complete a copyright assignment to the FSF.
> > (See the form attached at the end of this email).
>
> Since I don't know yet what all the new files will be, I guess I
> wait with the form until later, ok?
Well you can do this whenever you like, although it does take some
time for the copyright assignment to be processed. The form does not
necessarily require you to specify for exactly which files you will be
assigning copyright. You can just say 'all files for the binutils
project or something like that.
> > 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?
Doh! - ignore me. My brain is obviously not working today. COFF can
handle weak symbols - as a GNU extension - so all that you should need
to do is add code to your BFD files to handle the C_WEAKEXT storage
class. In fact this shopuld be handled by the generic code, so there
should not be anything that you need to do.
Cheers
Nick