1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-21 23:27:39 +01:00

ia64: remove references to an out of scope local

This causes problems with gcc-4.7

Signed-off-by: Joel Brobecker <brobecker@adacore.com>
This commit is contained in:
Arun Sharma 2012-03-26 18:54:53 -07:00
parent 5e59e93d04
commit 49ca8b6a3e

View file

@ -255,6 +255,7 @@ unw_search_ia64_unwind_table (unw_addr_space_t as, unw_word_t ip,
unw_word_t addr, hdr_addr, info_addr, info_end_addr, hdr, *wp;
const struct ia64_table_entry *e = NULL;
unw_word_t handler_offset, segbase = 0;
struct ia64_table_entry ent;
int ret, is_local;
assert ((di->format == UNW_INFO_FORMAT_TABLE
@ -275,8 +276,6 @@ unw_search_ia64_unwind_table (unw_addr_space_t as, unw_word_t ip,
#ifndef UNW_LOCAL_ONLY
else
{
struct ia64_table_entry ent;
segbase = di->u.rti.segbase;
if ((ret = remote_lookup (as, di->u.rti.table_data,
di->u.rti.table_len * sizeof (unw_word_t),