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]

EH and powerpc



Hello,

I'm trying to use a crosscompilation version of egcs for powerpc.
This works fine, but it uses sjsl exceptions (which adds runtime
overhead).

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

It seems that the definition of INCOMING_RETURN_ADDR_RTX is missing.
(in gcc/defaults.h :

/* If we have a definition of INCOMING_RETURN_ADDR_RTX, assume that
   the rest of the DWARF 2 frame unwind support is also provided.  */
#if !defined (DWARF2_UNWIND_INFO) && defined (INCOMING_RETURN_ADDR_RTX)
#define DWARF2_UNWIND_INFO 1
#endif
)


DWARF2_UNWIND_INFO is not set anywhere in gcc/config/rs6000
as INCOMING_RETURN_ADDR_RTX.

This results in '__throw' and other stuff not being included in
libgcc.a

(oh yes, this is with egcs-980302)

Greetings,

Jeroen Dobbelaere


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