diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2022-01-04 05:47:21 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2022-04-26 10:16:11 -0700 |
commit | 60196d2ef2850f222c7c93818ccb4d9cdbd77276 (patch) | |
tree | 2e2d678662bc8bcd7aa9075505dd8c792cdde348 /elf/reldep9mod1.c | |
parent | e895cff59aa562cad83fa0fdd187bfe4b45312d5 (diff) | |
download | glibc-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/reldep9mod1.c')
0 files changed, 0 insertions, 0 deletions