This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA/patch] TI COFF0 and COFF1 support for eveyone
- From: Nick Clifton <nickc at redhat dot com>
- To: "Svein E. Seldal" <Svein dot Seldal at solidas dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 03 Jun 2003 15:09:24 +0100
- Subject: Re: [RFA/patch] TI COFF0 and COFF1 support for eveyone
- References: <3ED6B341.8050207@solidas.com>
Hi Svein,
> The tic4x target is able to read, in addition to the standard coff2,
> the coff0 and coff1 fileformats -- both little and big-endian
> versions. For this to work you will need the coff swap tables for that
> specific coff format and some small function. All of this is
> implemented in the tic4x target already (and duplicated in tic54x).
>
> Are there any interest in exporting/moving this code? Because, I can
> surely export it to another, more global file, if there are interests
> in having this support.
I do not know of other COFF ports that do this, but I see no reason
not to move into coffcode.h in case other ports want it.
> bfd/ChangeLog:
> 2003-05-30 Svein E. Seldal <Svein.Seldal@solidas.com>
>
> * coff-tic4x.c: Remove the ticoff0_bad_format_hook() the
> ticoff1_bad_format_hook() functions. Remove the ticoff0_swap_table
> and the ticoff1_swap_table.
> * coff-tic54x.c: Ditto
> * coffcode.h: Added the ticoff0_bad_format_hook(),
> ticoff1_bad_format_hook(), ticoff0_swap_table and
> ticoff1_swap_table.
Approved - please apply. And if you want to, please remove the
TI-specific bits and allow the functions to be generic. (Well generic
to COFF, but you know what I mean).
Cheers
Nick