Skip to content
Snippets Groups Projects
Commit ac3e1ab3 authored by Simon McVittie's avatar Simon McVittie
Browse files

process_pt_dynamic: Log if we see a DT_REL section


We relocate DT_REL entries in a DT_JMPREL section, and DT_RELA entries
either in a DT_JMPREL or DT_RELA section, so for symmetry it seems
like we should maybe be willing to relocate DT_REL entries in a
DT_REL section? For now, log it so we know whether it even happens.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent d9f8ff8d
No related branches found
No related tags found
1 merge request!311Build capsule-capture-libs from a bundled copy of libcapsule
...@@ -733,6 +733,12 @@ process_pt_dynamic (void *start, ...@@ -733,6 +733,12 @@ process_pt_dynamic (void *start,
break; break;
} }
case DT_REL:
// TODO: Does this only appear in a DT_JMPREL dynamic section
// in practice?
DEBUG( DEBUG_ELF, "Ignoring DT_REL dynamic section entry tag (bug?)" );
break;
default: default:
DEBUG( DEBUG_ELF, "Ignoring unknown dynamic section entry tag %d (0x%x)", DEBUG( DEBUG_ELF, "Ignoring unknown dynamic section entry tag %d (0x%x)",
(int) entry->d_tag, (unsigned) entry->d_tag ); (int) entry->d_tag, (unsigned) entry->d_tag );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment