This is the mail archive of the binutils@sources.redhat.com 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] Fix strip bug with SHF_MERGE sections


On Sun, Dec 09, 2001 at 11:01:14AM -0800, Richard Henderson wrote:
> On Sun, Dec 09, 2001 at 12:39:36PM +0100, Jakub Jelinek wrote:
> > I agree that it can be copied unconditionally, just SEC_MERGE needs to be
> > cleared if the input section was not SEC_MERGE (flags can change e.g.
> > because of section rename options).
> 
> Err.. I don't understand.  Why would a rename change flags?

--rename-section OLDNAME=NEWNAME[,FLAGS]

But currently merge nor strings is not accepted as flags there anyway, so it
doesn't matter (and if it is ever accepted, parse_flags and other routines
would need to be changed to propagate new entity size anyway).
So I'll leave just osection->entsize = isection->entsize;, ok?

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]