This is the mail archive of the binutils@sourceware.org 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: [rfc] new bfd hook: additional link map text


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.


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