diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-03-29 15:24:38 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-10-27 14:46:54 +0100 |
commit | aa3f6a49104d9d55c952bcb73c600321aa367cf5 (patch) | |
tree | 6514a7baf54c969903322cac571458781c9e7d47 /sysdeps/unix/sysv/linux/sigstack.c | |
parent | d6f0d1b3d143282d3e0d1a9e191cdcd4fe04d0cc (diff) | |
download | glibc-aa3f6a49104d9d55c952bcb73c600321aa367cf5.tar glibc-aa3f6a49104d9d55c952bcb73c600321aa367cf5.tar.gz glibc-aa3f6a49104d9d55c952bcb73c600321aa367cf5.tar.bz2 glibc-aa3f6a49104d9d55c952bcb73c600321aa367cf5.zip |
aarch64: morello: dynamic linking support
Add morello specific dl-machine.h.
Add morello dynamic relocation processing support for purecap ABI.
Only support R_AARCH64_NONE, R_AARCH64_ABS64 and R_AARCH64_RELATIVE
dynamic relocs from the lp64 ABI.
RELATIVE and IRELATIVE relocs use a helper function from cheri-rel.h
to construct a capability. Also fixed the IRELATIVE handling for
static linking.
Use new machine routines on morello for load address computation so it
is a valid capability:
void *elf_machine_runtime_dynamic (void)
void elf_machine_rtld_base_setup (struct link_map *map, void *args)
The ld.so load address and RX, RW capabilities are derived from auxv
and the RW ranges are set up based on the ld.so program headers early.
__tls_get_addr should return a bounded pointer instead of fixing it in
_dl_make_tlsdesc_dynamic, this is done in a separate patch.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sigstack.c')
0 files changed, 0 insertions, 0 deletions