Why is .eh_frame in the data segment?

Richard Henderson rth@redhat.com
Fri Jan 30 00:12:00 GMT 2004

On Thu, Jan 29, 2004 at 06:36:29PM -0500, Daniel Jacobowitz wrote:
> I see that, from the very beginning of the current src repository, .eh_frame
> has been placed after .data.  But no relocations are generated against it
> (normally at least?)

It used to always get relocs.  It still can on some targets.

I've been thinking that it'd be nicer to just let the linker
place it correctly as an orphan section.  That does need 
something special for --gc-sections, but....


More information about the Binutils mailing list