diff options
author | Matthew Gingell <gingell@adacore.com> | 2005-07-04 15:30:55 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2005-07-04 15:30:55 +0200 |
commit | 55d4360971f63338880e7587d2f2acb156a52042 (patch) | |
tree | 2c094488339c0f12b29162859cfd932a80bce812 /gcc/ada/tracebak.c | |
parent | ef82b92b135d7125da8ca1590c097d07e9adef82 (diff) | |
download | gcc-55d4360971f63338880e7587d2f2acb156a52042.zip gcc-55d4360971f63338880e7587d2f2acb156a52042.tar.gz gcc-55d4360971f63338880e7587d2f2acb156a52042.tar.bz2 |
tracebak.c: Enable tracebacks on ia64 platforms
2005-07-04 Matthew Gingell <gingell@adacore.com>
* tracebak.c: Enable tracebacks on ia64 platforms
From-SVN: r101594
Diffstat (limited to 'gcc/ada/tracebak.c')
-rw-r--r-- | gcc/ada/tracebak.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ada/tracebak.c b/gcc/ada/tracebak.c index 958694a..4289e17 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 /*---------------------------------------------------------------------* |