--- gcc/config/ns32k/pc532.h 2018/04/24 18:10:24 1.1 +++ gcc/config/ns32k/pc532.h 2018/04/24 18:14:52 1.1.1.2 @@ -35,6 +35,11 @@ the Free Software Foundation, 675 Mass A #undef PCC_STATIC_STRUCT_RETURN +/* There's a bug in the setjmp implementation that strikes + if the caller of setjmp doesn't have a frame pointer. */ +#undef FRAME_POINTER_REQUIRED +#define FRAME_POINTER_REQUIRED current_function_calls_setjmp + /* 32-bit alignment for efficiency */ #undef POINTER_BOUNDARY #define POINTER_BOUNDARY 32 @@ -54,7 +59,7 @@ the Free Software Foundation, 675 Mass A /* Maybe someone needs to know which processor we're running on */ #undef CPP_PREDEFINES -#define CPP_PREDEFINES "-Dns32000 -Dns32532 -Dpc532 -Dunix" +#define CPP_PREDEFINES "-Dns32000 -Dns32532 -Dpc532 -Dunix -Asystem(unix) -Acpu(ns32k) -Amachine(ns32k)" /* Use pc relative addressing whenever possible, it's more efficient than absolute (ns32k.c)