about summary refs log tree commit diff
path: root/elf/tst-dlopen-tlsmodid-pie.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2022-01-04 05:47:21 -0800
committerH.J. Lu <hjl.tools@gmail.com>2022-04-26 10:16:11 -0700
commit60196d2ef2850f222c7c93818ccb4d9cdbd77276 (patch)
tree2e2d678662bc8bcd7aa9075505dd8c792cdde348 /elf/tst-dlopen-tlsmodid-pie.c
parente895cff59aa562cad83fa0fdd187bfe4b45312d5 (diff)
downloadglibc-60196d2ef2850f222c7c93818ccb4d9cdbd77276.tar.gz
glibc-60196d2ef2850f222c7c93818ccb4d9cdbd77276.tar.xz
glibc-60196d2ef2850f222c7c93818ccb4d9cdbd77276.zip
elf: Properly handle zero DT_RELA/DT_REL values
With DT_RELR, there may be no relocations in DT_RELA/DT_REL and their
entry values are zero.  Don't relocate DT_RELA/DT_REL and update the
combined relocation start address if their entry values are zero.
Diffstat (limited to 'elf/tst-dlopen-tlsmodid-pie.c')
0 files changed, 0 insertions, 0 deletions