summaryrefslogtreecommitdiffstats
path: root/linker/linker.c
diff options
context:
space:
mode:
Diffstat (limited to 'linker/linker.c')
-rw-r--r--linker/linker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linker/linker.c b/linker/linker.c
index d26272c..1dd1d09 100644
--- a/linker/linker.c
+++ b/linker/linker.c
@@ -1727,7 +1727,7 @@ static int soinfo_link_image(soinfo *si, unsigned wr_offset)
if(phdr->p_type == PT_ARM_EXIDX) {
/* exidx entries (used for stack unwinding) are 8 bytes each.
*/
- si->ARM_exidx = (unsigned *)phdr->p_vaddr;
+ si->ARM_exidx = (unsigned *)(base + phdr->p_vaddr);
si->ARM_exidx_count = phdr->p_memsz / 8;
}
#endif