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]

Re: [PATCH] don't strip symbols involved in relocations


On Mon, Apr 23, 2007 at 08:55:34AM -0700, H. J. Lu wrote:
> There is no entry for
> 
> binutils/testsuite/binutils-all/needed-reloc.s

Argh, yes, of course.

> Does it have to be vsworks specific?

On second look, no, it doesn't.

Revised patch attached, ChangeLog entry below.

-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.

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]