Stripping empty sections
Hans-Peter Nilsson
hp@bitrange.com
Fri Jul 8 10:06:00 GMT 2005
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
More information about the Binutils
mailing list