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 Phil Edwards * objcopy.c (filter_symbols): Explicitly stripping a symbol used in relocations is an error. binutils/testsuite/ 2007-04-23 Nathan Froyd Phil Edwards * binutils-all/objcopy.exp: Add test for stripping a symbol used in a relocation.