about summary refs log tree commit diff
path: root/sysdeps/x86
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2022-06-16 11:48:15 -0700
committerFangrui Song <maskray@google.com>2022-06-16 11:48:15 -0700
commit4ef05df5ef70ed8e71c3b9236645b8c601a0b4b4 (patch)
tree79920aa55791a261e9d4663a2ce30819ec3f66f9 /sysdeps/x86
parente89913d0aa36597e5824baec870dfcec525fab1a (diff)
downloadglibc-4ef05df5ef70ed8e71c3b9236645b8c601a0b4b4.tar.gz
glibc-4ef05df5ef70ed8e71c3b9236645b8c601a0b4b4.tar.xz
glibc-4ef05df5ef70ed8e71c3b9236645b8c601a0b4b4.zip
x86-64: Handle fewer relocation types 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.  RELATIVE has been
handled (by _ELF_DYNAMIC_DO_RELOC due to DT_RELACOUNT, or RELR), so the
switch statement only needs to handle GLOB_DAT and JUMP_SLOT.

We can drop these `#if[n]def RTLD_BOOTSTRAP` and add a large
`# ifndef RTLD_BOOTSTRAP` instead.
Diffstat (limited to 'sysdeps/x86')
0 files changed, 0 insertions, 0 deletions