This is the mail archive of the gcc@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]

Re: EH and powerpc


	Is there a way to use the powerpc as target without sjsl exceptions 
	(but still with exceptions) ?

As you have already figured out, there is no alternative to sjlj until someone
adds DWARF2 frame unwind support to the powerpc port.  So far this has been 
done for the mips, sparc, i386, and m68k port.  I don't know if there is
an explanation anywhere of how to do this, but you can look at the existing
supported ports for clues.  In particular, look at the FUNCTION_PROLOGUE,
FUNCTION_EPILOGUE macros, and the prologue/epilogue named patterns in the md
file, and see the support for RTX_FRAME_RELATED_P and dwarf2out_do_frame in
them.  See also the DWARF_* macros in the tm.h file.

Jim


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