[PATCH] libffi .eh_frame tweaks

Anthony Green green@redhat.com
Mon Apr 28 23:16:00 GMT 2003

On Mon, 2003-04-28 at 03:56, Jakub Jelinek wrote:
> The following patch makes IA-32 and PPC32 libffi .eh_frame PC-relative if
> -fpic/-fPIC/-mrelocatable, so that ld can create FDE lookup table in
> .eh_frame_hdr section and also makes the .eh_frame section's attributes
> match those emitted by gcc (so that libgcj.so's .eh_frame section can go
> into read-only segment if linker supports that).

Thanks Jakub.  I understand that this can result in huge performance
wins, but I don't understand enough to understand why.  Is it just a
matter of eliminating some relocation processing at startup?

> Ok to commit?

If you haven't yet, I think you should.


More information about the Java-patches mailing list