PATCH: Add updelfhdr

H.J. Lu hjl.tools@gmail.com
Mon Jan 4 14:57:00 GMT 2010


On Mon, Jan 4, 2010 at 6:47 AM, Tristan Gingold <gingold@adacore.com> wrote:
>>
>> Well, we do have 2 ELF specific programs in binutils: readelf and gold.
>>
>> I only want to update ELF header, nothing else.  objcopy basically will
>> rewrite the whole ELF file. Sometimes it fails, especially when the input isn't
>> generated by the GNU linker. updelfhdr doesn't have such a problem.
>
> Well, that's a point or a bug ;-)
>

Sometimes that won't get things done :-). That is one reason why I wrote
updelfhdr. It works on all ELF input files no matter who generated them.

I will include it in my Linux binutils if it won't be in the FSF binutils.

Thanks.


-- 
H.J.



More information about the Binutils mailing list