diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-10-28 15:17:06 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-11-25 15:25:13 +0000 |
commit | a23246987ec0a8b307a9a171193464b74a7cb416 (patch) | |
tree | 002cd8437ed8fa9b5218716f5553f2e3a17e6f23 /elf/dl-support.c | |
parent | 36d457074f389740b45afc4f9c6d124046f8352b (diff) | |
download | glibc-a23246987ec0a8b307a9a171193464b74a7cb416.tar.gz glibc-a23246987ec0a8b307a9a171193464b74a7cb416.tar.xz glibc-a23246987ec0a8b307a9a171193464b74a7cb416.zip |
elf: Pass the fd to note processing
To handle GNU property notes on aarch64 some segments need to be mmaped again, so the fd of the loaded ELF module is needed. When the fd is not available (kernel loaded modules), then -1 is passed. The fd is passed to both _dl_process_pt_gnu_property and _dl_process_pt_note for consistency. Target specific note processing functions are updated accordingly.
Diffstat (limited to 'elf/dl-support.c')
0 files changed, 0 insertions, 0 deletions