[Bug binutils/32741] New: readelf -r -D doesn't dump DT_RELR relocations
https://sourceware.org/bugzilla/show_bug.cgi?id=32741 Bug ID: 32741 Summary: readelf -r -D doesn't dump DT_RELR relocations Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com CC: i at maskray dot me Target Milestone: --- [hjl@gnu-tgl-3 pr32459]$ readelf -r x.so Relocation section '.rela.dyn' at offset 0x1078 contains 2 entries: Offset Info Type Sym. ValueSym. Name + Addend 3008 00010001 R_X86_64_64 data1 + 0 3018 00010001 R_X86_64_64 data1 + 0 Relocation section '.rela.plt' at offset 0x10a8 contains 1 entry: Offset Info Type Sym. ValueSym. Name + Addend 3000 00020007 R_X86_64_JUMP_SLO func1 + 1e0 Relocation section '.relr.dyn' at offset 0x10c0 contains 2 entries which relocate 3 locations: Index: EntryAddress Symbolic Address : 2fe0 2fe0 .got 0001: 0141 3010 .bar + 0x8 3020 .foo + 0x8 [hjl@gnu-tgl-3 pr32459]$ readelf -r -D x.so 'RELA' relocation section at offset 0x1078 contains 48 bytes: Offset Info Type Sym. ValueSym. Name + Addend 3008 00010001 R_X86_64_64 data1 + 0 3018 00010001 R_X86_64_64 data1 + 0 'RELR' relocation section at offset 0x10c0 contains 16 bytes: 'PLT' relocation section at offset 0x10a8 contains 24 bytes: Offset Info Type Sym. ValueSym. Name + Addend 3000 00020007 R_X86_64_JUMP_SLO func1 + 1e0 [hjl@gnu-tgl-3 pr32459]$ -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/32741] readelf -r -D doesn't dump DT_RELR relocations
https://sourceware.org/bugzilla/show_bug.cgi?id=32741 H.J. Lu changed: What|Removed |Added Version|unspecified |2.44 -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/32459] objdump -R: dump SHT_RELR relocations?
https://sourceware.org/bugzilla/show_bug.cgi?id=32459 H.J. Lu changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED|REOPENED --- Comment #8 from H.J. Lu --- Reopen -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/32459] objdump -R: dump SHT_RELR relocations?
https://sourceware.org/bugzilla/show_bug.cgi?id=32459 H.J. Lu changed: What|Removed |Added Assignee|nickc at redhat dot com|hjl.tools at gmail dot com Status|REOPENED|NEW --- Comment #9 from H.J. Lu --- Created attachment 15975 --> https://sourceware.org/bugzilla/attachment.cgi?id=15975&action=edit A patch [hjl@gnu-tgl-3 pr32459]$ readelf -r x.so Relocation section '.rela.dyn' at offset 0x1078 contains 2 entries: Offset Info Type Sym. ValueSym. Name + Addend 3008 00010001 R_X86_64_64 data1 + 0 3018 00010001 R_X86_64_64 data1 + 0 Relocation section '.rela.plt' at offset 0x10a8 contains 1 entry: Offset Info Type Sym. ValueSym. Name + Addend 3000 00020007 R_X86_64_JUMP_SLO func1 + 1e0 Relocation section '.relr.dyn' at offset 0x10c0 contains 2 entries which relocate 3 locations: Index: EntryAddress Symbolic Address : 2fe0 2fe0 .got 0001: 0141 3010 .bar + 0x8 3020 .foo + 0x8 [hjl@gnu-tgl-3 pr32459]$ ./objdump -R x.so x.so: file format elf64-x86-64 DYNAMIC RELOCATION RECORDS OFFSET TYPE VALUE 3008 R_X86_64_64 data1 3018 R_X86_64_64 data1 3000 R_X86_64_JUMP_SLOT func1+0x01e0 2fe0 R_X86_64_RELATIVE *ABS* 3010 R_X86_64_RELATIVE *ABS* 3020 R_X86_64_RELATIVE *ABS* [hjl@gnu-tgl-3 pr32459]$ -- You are receiving this mail because: You are on the CC list for the bug.
[Bug libctf/32044] [libctf, build] ctf-spec.texi:809: warning: @xref should not appear on @multitable line
https://sourceware.org/bugzilla/show_bug.cgi?id=32044 --- Comment #2 from Sourceware Commits --- The master branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f40b59b91240886003b679ff4a3fd51b6b60696a commit f40b59b91240886003b679ff4a3fd51b6b60696a Author: Tom de Vries Date: Tue Feb 25 08:29:19 2025 +0100 [libctf] Fix warning: @xref should not appear on @multitable line When building gdb, I run into: ... ctf-spec.texi:809: warning: @xref should not appear on @multitable line ... The line in question is: ... @multitable {Kind} {@code{CTF_K_VOLATILE}} {Indicates a type that cannot be represented in CTF, or that} {@xref{Pointers typedefs and cvr-quals}} ... which defines a prototype row with 4 columns. However, the table only has 3 colums: ... @headitem Kind @tab Macro @tab Purpose ... Fix the warning by removing the item in the prototype row representing a fourth column. Tested on aarch64-linux. PR libctf/32044 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32044 -- You are receiving this mail because: You are on the CC list for the bug.
[Bug libctf/32044] [libctf, build] ctf-spec.texi:809: warning: @xref should not appear on @multitable line
https://sourceware.org/bugzilla/show_bug.cgi?id=32044 Tom de Vries changed: What|Removed |Added Target Milestone|--- |2.45 --- Comment #3 from Tom de Vries --- Fixed. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug libctf/32044] [libctf, build] ctf-spec.texi:809: warning: @xref should not appear on @multitable line
https://sourceware.org/bugzilla/show_bug.cgi?id=32044 Tom de Vries changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Tom de Vries --- And fixed. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/32459] objdump -R: dump SHT_RELR relocations?
https://sourceware.org/bugzilla/show_bug.cgi?id=32459 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/32459] objdump -R: dump SHT_RELR relocations?
https://sourceware.org/bugzilla/show_bug.cgi?id=32459 H.J. Lu changed: What|Removed |Added Version|unspecified |2.44 -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/32459] objdump -R: dump SHT_RELR relocations?
https://sourceware.org/bugzilla/show_bug.cgi?id=32459 --- Comment #5 from Sourceware Commits --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c619e92beb0784775552abe64d9a886a8cdc7236 commit c619e92beb0784775552abe64d9a886a8cdc7236 Author: Nick Clifton Date: Mon Feb 24 13:44:45 2025 + objdump: Inform users if RELR relocs are present in a file when using the -r or -R options and no regular relocs are present. PR 32459 -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/32459] objdump -R: dump SHT_RELR relocations?
https://sourceware.org/bugzilla/show_bug.cgi?id=32459 --- Comment #6 from Nick Clifton --- OK, so I have checked in a simplified version of the patch which only issues an information message when RELR relocs are present and other relocs are not. It also does not change the behaviour when using -r and dynamic relocs are present, or vice versa. -- You are receiving this mail because: You are on the CC list for the bug.
Re: Issue 398060144: binutils:fuzz_as: Heap-use-after-free in obj_elf_attach_to_group
Replying to this email means your email address will be shared with the team that works on this product. https://issues.oss-fuzz.com/issues/398060144 Changed status: New → Verified assignee: → cl...@appspot.gserviceaccount.com verifier: → cl...@appspot.gserviceaccount.com 87...@developer.gserviceaccount.com added comment #2: ClusterFuzz testcase 4713848585650176 is verified as fixed in https://oss-fuzz.com/revisions?job=libfuzzer_asan_binutils&range=202502230649:202502240615 If this is incorrect, please file a bug on https://github.com/google/oss-fuzz/issues/new ___ Reference Info: 398060144 binutils:fuzz_as: Heap-use-after-free in obj_elf_attach_to_group component: Public Trackers > 1362134 > OSS Fuzz status: Verified reporter: 87...@developer.gserviceaccount.com assignee: cl...@appspot.gserviceaccount.com verifier: cl...@appspot.gserviceaccount.com cc: am...@gmail.com, bug-binutils@gnu.org, da...@adalogics.com, and 2 more collaborators: co...@oss-fuzz.com type: Vulnerability access level: Limited visibility priority: P2 severity: S2 hotlist: Reproducible, Stability-LibFuzzer, Stability-Memory-AddressSanitizer retention: Component default Disclosure: May 23, 2025 Project: binutils Reported: Feb 22, 2025 Generated by Google IssueTracker notification system. You're receiving this email because you are subscribed to updates on Google IssueTracker issue 398060144 Unsubscribe from this issue.
[Bug binutils/32459] objdump -R: dump SHT_RELR relocations?
https://sourceware.org/bugzilla/show_bug.cgi?id=32459 Nick Clifton changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #7 from Nick Clifton --- fixed -- You are receiving this mail because: You are on the CC list for the bug.
Re: Issue 398060144: binutils:fuzz_as: Heap-use-after-free in obj_elf_attach_to_group
Replying to this email means your email address will be shared with the team that works on this product. https://issues.oss-fuzz.com/issues/398060144 Changed access level: Limited visibility → Default access pe...@google.com added comment #3: This bug has been fixed. It has been opened to the public. ___ Reference Info: 398060144 binutils:fuzz_as: Heap-use-after-free in obj_elf_attach_to_group component: Public Trackers > 1362134 > OSS Fuzz status: Verified reporter: 87...@developer.gserviceaccount.com assignee: cl...@appspot.gserviceaccount.com verifier: cl...@appspot.gserviceaccount.com cc: am...@gmail.com, bug-binutils@gnu.org, da...@adalogics.com, and 2 more collaborators: co...@oss-fuzz.com type: Vulnerability access level: Default access priority: P2 severity: S2 hotlist: ClusterFuzz-Verified, Reproducible, Stability-LibFuzzer, Stability-Memory-AddressSanitizer retention: Component default Disclosure: May 23, 2025 Project: binutils Reported: Feb 22, 2025 Generated by Google IssueTracker notification system. You're receiving this email because you are subscribed to updates on Google IssueTracker issue 398060144 Unsubscribe from this issue.