This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/patch] TI COFF0 and COFF1 support for eveyone


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]