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] |
The attached patch adds a safety check when stripping a symbol specified on the command line: if the symbol is involved in a relocation, it should not be stripped. Tested on i586-none-vxworks. OK? -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.
Attachment:
dont-strip.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |