[rfc] new bfd hook: additional link map text

Tristan Gingold gingold@adacore.com
Fri Apr 11 07:10:00 GMT 2014


On 11 Apr 2014, at 04:14, DJ Delorie <dj@redhat.com> wrote:

> 
> This is an RFC for a new bfd target hook "additional_link_map_text"
> that's used to give targets a way to add target-specific text to the
> end of the linker's map file (-Map).  This extra text is added at the
> end of the map file, in case there are programs which parse map files
> (where the extra text might confuse the parser, if encountered early).
> 
> Tested with --enable-targets=all although I had to manually fix
> today's AVR reloc patch bug.
> 
> I have a follow-up patch that adds a new feature to the rx target
> which includes link map text, too...
> 
> Comments?

Why not adding a new field in ld_emulation_xfer_struct ?  Looks lighter.

Tristan.



More information about the Binutils mailing list