about summary refs log tree commit diff
path: root/sysdeps/s390/s390-64/dl-machine.h
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2022-06-15 18:42:03 -0700
committerFangrui Song <maskray@google.com>2022-06-15 18:42:03 -0700
commit57919813e732dff2c6cfd1c95056cbc265058bc2 (patch)
tree5b354599bdf496f4fd7b360e019c103d20c616da /sysdeps/s390/s390-64/dl-machine.h
parent89a25c6f64746732b87eaf433af0964b564d4a92 (diff)
downloadglibc-57919813e732dff2c6cfd1c95056cbc265058bc2.tar.gz
glibc-57919813e732dff2c6cfd1c95056cbc265058bc2.tar.xz
glibc-57919813e732dff2c6cfd1c95056cbc265058bc2.zip
riscv: Change the relocations handled for RTLD_BOOTSTRAP
The RTLD_BOOTSTRAP branch is used to relocate ld.so itself.  It only
needs to handle RELATIVE, GLOB_DAT, and the symbolic relocation type
(R_RISCV_{32,64}).  NONE and IRELATIVE can be removed.

The code relies on ld.so having DT_RELACOUNT so that the RTLD_BOOTSTRAP
branch does not need handle RELATIVE.  Drop this minor size
optimization for clarity.

Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'sysdeps/s390/s390-64/dl-machine.h')
0 files changed, 0 insertions, 0 deletions