[patch] Some SPARC housekeeping work

Eric Botcazou ebotcazou@adacore.com
Sat Dec 5 23:14:00 GMT 2009


Hi,

on the heels of the changes recently made to the GCC unwinder on the SPARC:


2009-11-12  Eric Botcazou  <ebotcazou@adacore.com>
	    Laurent GUERBY  <laurent@guerby.net>

	* config/sparc/linux-unwind.h (sparc64_fallback_frame_state): Tidy.
	Do not schedule an %sp restore.  Compensate for RETURN_ADDR_OFFSET.
	(sparc_fallback_frame_state): Tidy.  Compensate for RETURN_ADDR_OFFSET.


2009-10-11  Jose Ruiz  <ruiz@adacore.com>
	    Eric Botcazou  <ebotcazou@adacore.com>

	PR target/33743
	* config/sparc/sol2.h (MD_UNWIND_SUPPORT): Define.
	* config/sparc/sol2-unwind.h: New file.


libgcj needs to be slightly adjusted.  Built and tested on SPARC/Solaris 9 and 
SPARC/Linux, OK for mainline?

[The testsuite is clean on both platforms, except that all test fails on Linux 
with -findirect-dispatch, a SIGSEGV in _Jv_global_static_constructor.  Does 
that ring a bell to anyone?]


2009-12-05  Eric Botcazou  <ebotcazou@adacore.com>

	* configure.host (sparc*-sun-solaris2.*): New case.
	* include/dwarf2-signal.h (MAKE_THROW_FRAME, SPARC case): Make dummy.
	* include/sparc-signal.h: Do not include ucontext.h.
	(SIGNAL_HANDLER): Rename symbol.
	(FLUSH_REGISTER_WINDOWS): Delete.
	(MAKE_THROW_FRAME): Make dummy.
	(INIT_SEGV): Adjust for above renaming.
	(INIT_FPE): Likewise.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sparc_libjava.diff
Type: text/x-diff
Size: 5572 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20091205/eb43e842/attachment.bin>


More information about the Java-patches mailing list