Skip to content
Snippets Groups Projects
Commit 8a21a84d authored by Vivek Das Mohapatra's avatar Vivek Das Mohapatra
Browse files

Fix ElfW(Dyn).d_un.d_ptr vs ElfW(Rel).r_offset conflation in addr()

Yubin Ruan <ablacktshirt@gmail.com> spotted that I was conflating
the base-relative address offset in ElfW(Rel) and ElfW(Rela) addresses
from DT_REL and DT_RELA sections with the absolute addresses from
ElfW(Dyn) pointer entries.

This fixes a long-standing TODO about removing the hack in addr()
where there was guesswork about whether the address being was
base-relative or absolute.
parent 136efbec
No related branches found
No related tags found
1 merge request!311Build capsule-capture-libs from a bundled copy of libcapsule
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment