diff options
author | Steve Ellcey <sje@cup.hp.com> | 2006-10-09 15:55:38 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2006-10-09 15:55:38 +0000 |
commit | e64f5acfafe9a0e1842716d80e12dd0d2b075435 (patch) | |
tree | 6b262ac07e2b116d237352ff90b639547d322f4a /gcc/unwind-c.c | |
parent | f4935db5d7edf4a64116e7249dea65b6c654743f (diff) | |
download | gcc-e64f5acfafe9a0e1842716d80e12dd0d2b075435.tar.gz |
re PR target/27880 (undefined reference to `_Unwind_GetIPInfo')
PR target/27880
* unwind-c.c (PERSONALITY_FUNCTION): Ifdef use of _Unwind_GetIPInfo.
* configure.ac (HAVE_GETIPINFO): Check for _Unwind_GetIPInfo.
* configure: Regenerate.
* config.in: Regenerate.
From-SVN: r117576
Diffstat (limited to 'gcc/unwind-c.c')
-rw-r--r-- | gcc/unwind-c.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/unwind-c.c b/gcc/unwind-c.c index cf17b6174d2..c8f34acc0ee 100644 --- a/gcc/unwind-c.c +++ b/gcc/unwind-c.c @@ -157,7 +157,11 @@ PERSONALITY_FUNCTION (int version, /* Parse the LSDA header. */ p = parse_lsda_header (context, language_specific_data, &info); +#ifdef HAVE_GETIPINFO ip = _Unwind_GetIPInfo (context, &ip_before_insn); +#else + ip = _Unwind_GetIP (context); +#endif if (! ip_before_insn) --ip; landing_pad = 0; |