glibc/sysdeps/riscv
Fangrui Song 57919813e7 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>
2022-06-15 18:42:03 -07:00
..
bits
nofpu
nptl
rv32
rv64
rvd
rvf
sys
__longjmp.S
bsd-_setjmp.c
bsd-setjmp.c
configure elf: Replace PI_STATIC_AND_HIDDEN with opposite HIDDEN_VAR_NEEDS_DYNAMIC_RELOC 2022-04-26 09:26:22 -07:00
configure.ac elf: Replace PI_STATIC_AND_HIDDEN with opposite HIDDEN_VAR_NEEDS_DYNAMIC_RELOC 2022-04-26 09:26:22 -07:00
dl-irel.h
dl-machine.h riscv: Change the relocations handled for RTLD_BOOTSTRAP 2022-06-15 18:42:03 -07:00
dl-relocate-ld.h
dl-tls.h
dl-trampoline.S
e_sqrtl.c
fpu_control.h
gccframe.h
Implies
jmpbuf-offsets.h
jmpbuf-unwind.h
ldsodefs.h
libc-tls.c
linkmap.h
machine-gmon.h
Makefile
math-tests-snan-payload.h
math-tests-trap.h
preconfigure RISC-V: Use an autoconf template to produce `preconfigure' 2022-05-13 17:07:23 +01:00
preconfigure.ac RISC-V: Use an autoconf template to produce `preconfigure' 2022-05-13 17:07:23 +01:00
setjmp.S
sfp-machine.h
sotruss-lib.c
stackinfo.h
start.S
tininess.h
tst-audit.h