diff options
author | Fangrui Song <maskray@google.com> | 2022-06-16 11:48:15 -0700 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2022-06-16 11:48:15 -0700 |
commit | 4ef05df5ef70ed8e71c3b9236645b8c601a0b4b4 (patch) | |
tree | 79920aa55791a261e9d4663a2ce30819ec3f66f9 /sysdeps/x86 | |
parent | e89913d0aa36597e5824baec870dfcec525fab1a (diff) | |
download | glibc-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