FW: Remaining Itanium exception, static linking patches
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Tue Mar 26 11:39:00 GMT 2002
On Saturday 23 March 2002 03:13, Boehm, Hans wrote:
> Index: libjava/include/dwarf2-signal.h
> ===================================================================
> RCS file: /cvs/gcc/gcc/libjava/include/dwarf2-signal.h,v
> retrieving revision 1.3
> diff -u -r1.3 dwarf2-signal.h
> --- dwarf2-signal.h 2001/05/29 17:50:50 1.3
> +++ dwarf2-signal.h 2002/03/23 01:42:50
> @@ -41,7 +41,22 @@
> _sc->sc_pc += 4; \
> } \
> while (0)
> +
> +#elif defined(__ia64__)
> +
> +#define MAKE_THROW_FRAME(_exception) \
> +do \
> +{ \
> + /* IA-64 either leaves PC pointing at a faulting instruction or the \
> + following instruction, depending on the signal. SEGV always does \
> + the former, so we adjust the saved PC to point to the following \
> + instruction; this is what the handler in libgcc expects. */
> \
> + struct sigcontext *_sc = (struct sigcontext *)_p; \
> + _sc->sc_ip++; /* fprintf (stderr, "%p si:%p sc:%p\n",
> _sc->sc_ip, si, _p); */ \
> +} \
> +while (0)
> #else
> +#error
What is this #error good for? It breaks bootstrap on powerpc-linux-gnu.
Franz.
More information about the Gcc
mailing list