This is the mail archive of the binutils@sources.redhat.com 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] Add --only-keep-debug-and-symbols option to objcopy


On Fri, Jan 09, 2004 at 02:37:31PM +0100, Jakub Jelinek wrote:
> Hi!
> 
> Following patch on top of Nick's patch from yesterday adds
> --only-keep-debug-and-symbols option which does something similar
> to eu-strip -f foo.debug foo with the foo.debug file.
> Particularly, it keeps debugging sections (like --only-keep-debug),
> but also .symtab/.strtab.  Allocated sections are changed into
> SHT_NOBITS sections, so that the symbols don't have to be converted
> into SHN_ABS symbols.
> Ok to commit?

Is there any advantage to using --only-keep-debug after this?  i.e.
should we just change the behaviour of --only-keep-debug instead?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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