libffi: unwind info for sparc

Jakub Jelinek jakub@redhat.com
Fri Mar 29 11:30:00 GMT 2002


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



More information about the Java-patches mailing list