[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/32459] New: objdump -R: dump SHT_RELR relocations?
From: |
i at maskray dot me |
Subject: |
[Bug binutils/32459] New: objdump -R: dump SHT_RELR relocations? |
Date: |
Sat, 14 Dec 2024 06:25:03 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32459
Bug ID: 32459
Summary: objdump -R: dump SHT_RELR relocations?
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
readelf -r dumps RELR relocations while objdump -R doesn't. Should objdump -R
dump RELR as well?
% readelf -W -r a
Relocation section '.rela.dyn' at offset 0x588 contains 5 entries:
Offset Info Type Symbol's Value
Symbol's Name + Addend
0000000000003fc0 0000000100000006 R_X86_64_GLOB_DAT 0000000000000000
__libc_start_main@GLIBC_2.34 + 0
0000000000003fc8 0000000300000006 R_X86_64_GLOB_DAT 0000000000000000
_ITM_deregisterTMCloneTable + 0
0000000000003fd0 0000000500000006 R_X86_64_GLOB_DAT 0000000000000000
__gmon_start__ + 0
0000000000003fd8 0000000600000006 R_X86_64_GLOB_DAT 0000000000000000
_ITM_registerTMCloneTable + 0
0000000000003fe0 0000000700000006 R_X86_64_GLOB_DAT 0000000000000000
__cxa_finalize@GLIBC_2.2.5 + 0
Relocation section '.rela.plt' at offset 0x600 contains 2 entries:
Offset Info Type Symbol's Value
Symbol's Name + Addend
0000000000004000 0000000200000007 R_X86_64_JUMP_SLOT 0000000000000000
__errno_location@GLIBC_2.2.5 + 0
0000000000004008 0000000400000007 R_X86_64_JUMP_SLOT 0000000000000000
printf@GLIBC_2.2.5 + 0
Relocation section '.relr.dyn' at offset 0x630 contains 3 entries which
relocate 4 locations:
Index: Entry Address Symbolic Address
0000: 0000000000003da0 0000000000003da0 .init_array
0001: 0000000000000003 0000000000003da8 .fini_array
0002: 0000000000030001 0000000000004018 __dso_handle
0000000000004020 xxx
% objdump -R a
a: file format elf64-x86-64
DYNAMIC RELOCATION RECORDS
OFFSET TYPE VALUE
0000000000003fc0 R_X86_64_GLOB_DAT __libc_start_main@GLIBC_2.34
0000000000003fc8 R_X86_64_GLOB_DAT _ITM_deregisterTMCloneTable@Base
0000000000003fd0 R_X86_64_GLOB_DAT __gmon_start__@Base
0000000000003fd8 R_X86_64_GLOB_DAT _ITM_registerTMCloneTable@Base
0000000000003fe0 R_X86_64_GLOB_DAT __cxa_finalize@GLIBC_2.2.5
0000000000004000 R_X86_64_JUMP_SLOT __errno_location@GLIBC_2.2.5
0000000000004008 R_X86_64_JUMP_SLOT printf@GLIBC_2.2.5
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/32459] New: objdump -R: dump SHT_RELR relocations?,
i at maskray dot me <=