[PATCH] don't strip symbols involved in relocations
Nick Clifton
nickc@redhat.com
Tue Apr 24 13:35:00 GMT 2007
Hi Nathan,
> binutils/
> 2007-04-23 Nathan Froyd <froydnj@codesourcery.com>
> Phil Edwards <phil@codesourcery.com>
>
> * objcopy.c (filter_symbols): Explicitly stripping a symbol
> used in relocations is an error.
>
> binutils/testsuite/
> 2007-04-23 Nathan Froyd <froydnj@codesourcery.com>
> Phil Edwards <phil@codesourcery.com>
>
> * binutils-all/objcopy.exp: Add test for stripping a symbol
> used in a relocation.
> * binutils-all/needed-reloc.s: New file.
Approved and applied.
Note: I also changed the type of the 'keep' variable to a bfd_boolean in
keeping with the rest of the code in that function. Also I enabled the
test for x86_64 targets (per H.J.'s request) and renamed the test file
to needed-by-reloc.s.
Cheers
Nick
More information about the Binutils
mailing list