* hppa-tdep.c (read_unwind_info): Use "text_offset" for linker

stub unwind descriptors too.
This commit is contained in:
Jeff Law 1994-11-08 06:06:35 +00:00
parent bfaef242b5
commit 73a250722a
1 changed files with 1 additions and 0 deletions

View File

@ -446,6 +446,7 @@ read_unwind_info (objfile)
Stuff away the stub type into "reserved" fields. */
ui->table[index].region_start = bfd_get_32 (objfile->obfd,
(bfd_byte *) buf);
ui->table[index].region_start += text_offset;
buf += 4;
ui->table[index].stub_type = bfd_get_8 (objfile->obfd,
(bfd_byte *) buf);