This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libffi: unwind info for sparc
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Jeff Sturm <jsturm at one-point dot com>
- Cc: java-patches at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Fri, 29 Mar 2002 10:53:45 -0500
- Subject: Re: libffi: unwind info for sparc
- References: <Pine.LNX.4.10.10203290919490.4586-100000@mars.deadcafe.org>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Mar 29, 2002 at 09:22:41AM -0500, Jeff Sturm wrote:
> Needed to throw exceptions through ffi_call frames. Tested on
> sparc-sun-solaris2.8. OK?
You should probably use PC relative eh_frame (DW_EH_PE_sdata4)
if assembler supports %r_disp32() so that it doesn't create runtime
relocations. See what gcc creates with -fPIC.
Furthermore, it would be good to include comments (like you can see in -dA
output) so that it is easily readable.
> 2002-03-29 Jeff Sturm <jsturm@one-point.com>
>
> * src/sparc/v8.S: Add unwind info.
> * src/sparc/v9.S: Add unwind info.
>
Jakub