This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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: Dwarf2 FDE CIE offset


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~


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