PATCH: Fix "FAIL: objcopy (simple copy)" for tic54x-coff

Nick Clifton nickc@redhat.com
Tue Feb 22 18:45:00 GMT 2005


Hi Alan, Hi H.J.

>>	* coffcode.h (coff_write_relocs): Clear the r_reserved field
>>	if COFF_REL_HAS_R_RESERVED is defined before swapping out
>>	relocation.

> This should really be done by defining a coff_SWAP_reloc_out function
> for these targets. 

I agree with Alan - why not define the SWAP_OUT_RELOC_EXTRA macro for 
the tic54x-coff port and have that write out zeros for the r_reserved 
field ?

Cheers
   Nick



More information about the Binutils mailing list