Dwarf2 FDE CIE offset
Richard Henderson
rth@redhat.com
Sun Dec 9 16:54:00 GMT 2001
On Sat, Dec 08, 2001 at 06:34:59PM +1030, Alan Modra wrote:
> Worse, you'd need to edit the eh_frame section in the linker...
Actually, Jakub has a patch in progress to do this and other
optimizations. E.g. combining identical CIEs. The main point
of this patch is creating a Phdr entry for a sorted index into
.eh_frame, which can be used to improve gcc's behaviour wrt
shared libraries.
> What happens when the eh_frame format changes (again)?
Err, this part of the eh_frame format never changed.
> ELF gives us 64k sections per object file. If that's not enough, it
> would be almost trivial to modify the linker to handle more, using
> 0xffff for shnum in the external program header to mean "lots", and
> poke the real count somewhere.
See the recent gabi changes to support 2**32 sections.
r~
More information about the Gcc-bugs
mailing list