aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/mmap.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2022-10-20 12:18:26 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-10-27 14:46:51 +0100
commit1d7fa3f736b795e4e2b953ebc3bd89a8e55471f2 (patch)
treee4a17cbfb5e6876d4d4b422b3e891d8989c00734 /sysdeps/unix/sysv/linux/mmap.c
parent1378a26b726e5ff117f22a925cef5f9e5111a13e (diff)
downloadglibc-1d7fa3f736b795e4e2b953ebc3bd89a8e55471f2.tar
glibc-1d7fa3f736b795e4e2b953ebc3bd89a8e55471f2.tar.gz
glibc-1d7fa3f736b795e4e2b953ebc3bd89a8e55471f2.tar.bz2
glibc-1d7fa3f736b795e4e2b953ebc3bd89a8e55471f2.zip
aarch64: morello: add purecap start code
Written in C so the self relocation code in crt1.o is easier to maintain. The purecap ELF entry is special: passes separate argc, argv, envp, auxv in registers instead of on the stack. For each module there will be separate RW and RX capabilities that cover the writable and all load segments respectively. The relative reloc processing code is prepared for such separate capabilities. The static link detection (for self relocation) is not ideal, it relies on relocations that don't work in PIC, so it is ifdefed out for Scrt1.o. (Currently adrp of undefined weak symbol is not fixed up by the linker to be 0 so we use movz to detect the presence of __rela_dyn_start.)
Diffstat (limited to 'sysdeps/unix/sysv/linux/mmap.c')
0 files changed, 0 insertions, 0 deletions