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: [PATCH] New option --print-gc-sections


On Wed, Apr 05, 2006 at 05:59:34PM +0200, Eric Botcazou wrote:
> > > That's precisely what find_address_in_section does, isn't it?  Here 'pc'
> > > is already an offset.
> >
> > I'm thinking of "addr2line -e some_exe -j .data 0 4 8 12 16".
> > .data might start at 0x123456789abcdef0 and the user wants to minimize
> > typing.  ie. make --section work on both executables and relocatable
> > object files.
> 
> But that will work out of box, won't it?

Yes, sorry.  Brain already asleep.  Patch OK.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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