summaryrefslogtreecommitdiffstats
path: root/libdwfl/relocate.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2014-12-19 15:40:16 +0100
committerMark Wielaard <[email protected]>2014-12-19 18:07:38 +0100
commit32b6c6aa608d64529e863684d3d7ec3f49afe7fa (patch)
tree8a7a3cae8b2ed54e0844dc52dc3be556bdd574e2 /libdwfl/relocate.c
parent898ed261444cdd817c2d9b3656209a291eb5e807 (diff)
libdwfl: Remove p_align sanity check from elf_from_memory.
In commit f15bcd "elf_from_remote_memory should use pagesize, not p_align" we already relaxed the p_align sanity check to allow alignment of the segment against the pagesize since that is what the glibc dynamic linker actually does. But on some architectures the kernel inserts a vdso with a completely bogus p_align for some PT_LOAD segments. So just drop the whole sanity check and allow anything since we won't use p_align, but always already use pagesize anyway. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libdwfl/relocate.c')
0 files changed, 0 insertions, 0 deletions