This is the mail archive of the
mailing list for the binutils project.
Re: [patch] Add split DWARF (Fission) support to objcopy/strip
On Mon, May 07, 2012 at 11:01:25AM -0700, Cary Coutant wrote:
> > OK, except
> >> - ?/* Core files do not need to be relocated. ?*/
> >> - ?if (bfd_get_format (obfd) == bfd_core)
> >> + ?/* Core files and DWO files do not need to be relocated. ?*/
> >> + ?if (bfd_get_format (obfd) == bfd_core || strip_symbols == STRIP_NONDWO)
> > Do DWO sections have relocs? ?If not then this would seem to be
> > redundant given the changes to is_strip_section.
> They do have a few relocations that we left in to facilitate testing
> when the .dwo sections are left in the .o file (i.e., when objcopy
> isn't run after assembly). We'll probably remove those, but until then
> I want to strip them when running objcopy.
OK then. I just wanted to ensure this wasn't an oversight.
Australia Development Lab, IBM