]> git.ipfire.org Git - thirdparty/glibc.git/commit - sysdeps/aarch64/dl-machine.h
aarch64: Handle fewer relocations for RTLD_BOOTSTRAP
authorFangrui Song <maskray@google.com>
Thu, 16 Jun 2022 02:21:53 +0000 (19:21 -0700)
committerFangrui Song <maskray@google.com>
Thu, 16 Jun 2022 02:21:53 +0000 (19:21 -0700)
commite89913d0aa36597e5824baec870dfcec525fab1a
tree50188068d2988f9599fc3e9efb5199323327f0d4
parent57919813e732dff2c6cfd1c95056cbc265058bc2
aarch64: Handle fewer relocations for RTLD_BOOTSTRAP

The RTLD_BOOTSTRAP branch is used to relocate ld.so itself.  It only
needs to handle RELATIVE, GLOB_DAT, and JUMP_SLOT.
TLSDESC/TLS_DTPMOD/TLS_DTPREL handling can be removed.  Remove
`case AARCH64_R(RELATIVE)` as well as elf_machine_rela has checked it.

Tested on aarch64-linux-gnu.
sysdeps/aarch64/dl-machine.h