This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [rfc] new bfd hook: additional link map text
- From: DJ Delorie <dj at redhat dot com>
- To: Alan Modra <amodra at gmail dot com>
- Cc: gingold at adacore dot com, binutils at sourceware dot org
- Date: Tue, 6 May 2014 23:13:36 -0400
- Subject: Re: [rfc] new bfd hook: additional link map text
- Authentication-results: sourceware.org; auth=none
- References: <201404110214 dot s3B2E2IQ016910 at greed dot delorie dot com> <15F27C34-BFCC-4A1D-A705-C3AEB0464BF2 at adacore dot com> <201404222055 dot s3MKt75Y011634 at greed dot delorie dot com> <201405061515 dot s46FFnQk025221 at greed dot delorie dot com> <20140507030239 dot GY16139 at bubble dot grove dot modra dot org>
> I think the idea is good. I'm assuming the previous patch won't be
> going in, nor the debug printfs. :) The place to declare
Nope :-)
> rx_additional_link_map_text is in a new bfd/elf32-rx.h file, included
> by both ld/emultempl/rxelf.em and bfd/elf32-rx.c, assuming the latter
> is where you'll define the function.
Makes sense. I don't see any clear rule about what goes in
include/*.h vs bfd/*.h though - and there are some files in include/
which #include headers in bfd/ too :-P