From 55d4360971f63338880e7587d2f2acb156a52042 Mon Sep 17 00:00:00 2001 From: Matthew Gingell Date: Mon, 4 Jul 2005 15:30:55 +0200 Subject: [PATCH] tracebak.c: Enable tracebacks on ia64 platforms 2005-07-04 Matthew Gingell * tracebak.c: Enable tracebacks on ia64 platforms From-SVN: r101594 --- gcc/ada/tracebak.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gcc/ada/tracebak.c b/gcc/ada/tracebak.c index 958694a3d5e..4289e17c872 100644 --- a/gcc/ada/tracebak.c +++ b/gcc/ada/tracebak.c @@ -347,6 +347,17 @@ struct layout #define PC_ADJUST -2 /* The minimum size of call instructions on this architecture is 2 bytes */ +/*----------------------------- ia64 ---------------------------------*/ + +#elif defined (__ia64__) + +#define USE_GCC_UNWINDER + +#define PC_ADJUST -16 +/* Every call on ia64 is part of a 128 bit bundle, so an adjustment of + minus 16 bytes from the point of return finds the address of the + previous bundle. */ + #endif /*---------------------------------------------------------------------* -- 2.30.2