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: Stripping empty sections


On Fri, 8 Jul 2005, Alan Modra wrote:
> I'm minded to put an assert in adjust_dynamic_symbol,
> because a zero size sym with a copy reloc just doesn't make sense.
> Either that, or say we don't need a copy reloc.

I'm inclined towards the latter, perhaps with a warning.

> Well, it is in a new section!

Not section-section.  Section in memory!

>  The section moved because previously you
> had an intervening zero size .data section that was located at 2...

Need to make the .di section writable, so it ends up there too.

brgds, H-P


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