binutils-gdb/include/elf
Fangrui Song a7fd118627 readelf: Support SHT_RELR/DT_RELR for -r
The -r output for SHT_RELR looks like:

Relocation section '.relr.dyn' at offset 0x530 contains 4 entries:
  7 offsets
00000000000028c0
00000000000028c8
0000000000003ad0
0000000000003ad8
0000000000003ae0
0000000000003ae8
0000000000003af0

For --use-dynamic, the header looks like

    'RELR' relocation section at offset 0x530 contains 32 bytes:

include/
    * elf/common.h (DT_ENCODING): Bump to 38.
    * elf/external.h (Elf32_External_Relr): New.
    (Elf64_External_Relr): New.
binutils/
    * readelf.c (enum relocation_type): New.
    (slurp_relr_relocs): New.
    (dump_relocations): Change is_rela to rel_type.
    Dump RELR.
    (dynamic_relocations): Add DT_RELR.
    (process_relocs): Check SHT_RELR and DT_RELR.
    (process_dynamic_section): Store into dynamic_info for
    DT_RELR/DT_RELRENT/DT_RELRSZ.
2021-11-16 13:04:33 -08:00
..
aarch64.h
alpha.h
arc-cpu.def
arc-reloc.def
arc.h
arm.h arm: add armv9-a architecture to -march 2021-11-01 10:51:03 +00:00
avr.h
bfin.h
bpf.h
ChangeLog-0415
ChangeLog-9103
common.h readelf: Support SHT_RELR/DT_RELR for -r 2021-11-16 13:04:33 -08:00
cr16.h
cris.h
crx.h
csky.h
d10v.h
d30v.h
dlx.h
dwarf.h
epiphany.h
external.h readelf: Support SHT_RELR/DT_RELR for -r 2021-11-16 13:04:33 -08:00
fr30.h
frv.h
ft32.h
h8.h
hppa.h
i370.h
i386.h
i860.h
i960.h
ia64.h
internal.h
ip2k.h
iq2000.h
lm32.h
loongarch.h LoongArch bfd support 2021-10-24 21:36:31 +10:30
m32c.h
m32r.h
m68hc11.h
m68k.h
mcore.h
mep.h
metag.h
microblaze.h
mips.h
mmix.h
mn10200.h
mn10300.h
moxie.h
msp430.h
mt.h
nds32.h
nfp.h
nios2.h
or1k.h
pj.h
ppc64.h PowerPC64 @notoc in non-power10 code 2021-11-15 12:20:13 +10:30
ppc.h
pru.h
reloc-macros.h
riscv.h RISC-V: Add PT_RISCV_ATTRIBUTES and add it to PHDR. 2021-07-06 11:34:36 +08:00
rl78.h
rx.h
s12z.h
s390.h
score.h
sh.h
sparc.h
spu.h
tic6x-attrs.h
tic6x.h
tilegx.h
tilepro.h
v850.h
vax.h
visium.h
vxworks.h
wasm32.h
x86-64.h
xc16x.h
xgate.h
xstormy16.h
xtensa.h
z80.h