This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] libffi .eh_frame tweaks
- From: Anthony Green <green at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: 28 Apr 2003 16:17:10 -0700
- Subject: Re: [PATCH] libffi .eh_frame tweaks
- References: <20030428105606.GF16629@sunsite.ms.mff.cuni.cz>
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.
AG