Add module base to main executable's ARM_exidx.
BUG:6697872 Change-Id: I448f4b86397307086231776da38a7af334a75fe5
This commit is contained in:
@@ -1727,7 +1727,7 @@ static int soinfo_link_image(soinfo *si, unsigned wr_offset)
|
|||||||
if(phdr->p_type == PT_ARM_EXIDX) {
|
if(phdr->p_type == PT_ARM_EXIDX) {
|
||||||
/* exidx entries (used for stack unwinding) are 8 bytes each.
|
/* 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;
|
si->ARM_exidx_count = phdr->p_memsz / 8;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user