Newbie: How to support new processor architecture

Nick Clifton nickc@cambridge.redhat.com
Mon May 13 10:30:00 GMT 2002


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



More information about the Binutils mailing list