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: libffi: unwind info for sparc


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


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