diff options
| author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-04-07 18:40:25 +0100 |
|---|---|---|
| committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-10-27 14:46:52 +0100 |
| commit | aec15be8ed6e218532f383dd61398125df061de8 (patch) | |
| tree | 3ee82f450dd6ff1780964b1d0fd03fef7464a92f /malloc/alloc_buffer_alloc_array.c | |
| parent | be30cd722b60dedd532e7a0e73c3ef377cd263d6 (diff) | |
| download | glibc-aec15be8ed6e218532f383dd61398125df061de8.tar.xz glibc-aec15be8ed6e218532f383dd61398125df061de8.zip | |
cheri: elf: elfptr_t fixes for preinit/init/fini array
According to the ELF spec:
"Each element of this array is a pointer to a function to be executed
by the dynamic linker."
"Note that the address of a function need not be the same as a pointer
to a function as defined by the processor supplement."
so these should be accessed via uintptr_t type instead of ElfW(Addr) and
the pointers are derived from the RX pointer of the elf module.
Diffstat (limited to 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions
