diff options
author | Fangrui Song <maskray@google.com> | 2022-06-15 18:42:03 -0700 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2022-06-15 18:42:03 -0700 |
commit | 57919813e732dff2c6cfd1c95056cbc265058bc2 (patch) | |
tree | 5b354599bdf496f4fd7b360e019c103d20c616da /sysdeps/aarch64 | |
parent | 89a25c6f64746732b87eaf433af0964b564d4a92 (diff) | |
download | glibc-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/aarch64')
0 files changed, 0 insertions, 0 deletions