[patch] Add split DWARF (Fission) support to objcopy/strip
Alan Modra
amodra@gmail.com
Tue May 8 13:44:00 GMT 2012
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.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list