diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-10-28 15:17:06 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-12-11 15:45:37 +0000 |
commit | c00452d7757a300931ee186d043c43b48eeb0875 (patch) | |
tree | 5107070cbfbdd9f3ceb17038986a90e2f4824d0d /elf/ifuncdep2pic.c | |
parent | 38a3836011f3fe3290a94ab136dcb5f3c5c9f4e2 (diff) | |
download | glibc-c00452d7757a300931ee186d043c43b48eeb0875.tar.gz glibc-c00452d7757a300931ee186d043c43b48eeb0875.tar.xz glibc-c00452d7757a300931ee186d043c43b48eeb0875.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. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'elf/ifuncdep2pic.c')
0 files changed, 0 insertions, 0 deletions