This is the mail archive of the gcc-patches@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: [PATCH] libffi .eh_frame tweaks


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



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