diff options
author | Fangrui Song <maskray@google.com> | 2021-11-16 13:03:57 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2022-01-10 05:05:22 -0800 |
commit | 67609c9c701ea8a679d80e3352266b058b184f4b (patch) | |
tree | 84aedaaf28d6bfcc5d559d8b7236dd17693bb404 /gdb/symfile-debug.c | |
parent | 1b244ed9d3f4dc3df364bcd65332985ab03de302 (diff) | |
download | gdb-67609c9c701ea8a679d80e3352266b058b184f4b.zip gdb-67609c9c701ea8a679d80e3352266b058b184f4b.tar.gz gdb-67609c9c701ea8a679d80e3352266b058b184f4b.tar.bz2 |
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.
(cherry picked from commit a7fd11862703e45d2774981a4888bc127d473b06)
Diffstat (limited to 'gdb/symfile-debug.c')
0 files changed, 0 insertions, 0 deletions