[Bug ld/26314] Linking LTO objects with conflicting symbol definitions from static and shared libraries fails
https://sourceware.org/bugzilla/show_bug.cgi?id=26314 --- Comment #7 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1e3b96fd6cf0c7d018083994ad951ccf92aba582 commit 1e3b96fd6cf0c7d018083994ad951ccf92aba582 Author: Alan Modra Date: Fri Sep 4 13:54:21 2020 +0930 Allow plugin syms to mark as-needed shared libs needed We must tell LTO about symbols in all shared libraries loaded. That means we can't load extra shared libraries after LTO recompilation, at least, not those that affect the set of symbols that LTO cares about, the IR symbols. This change will likely result in complaints about --as-needed libraries being loaded unnecessarily, but being correct is more important than being optimal. One of the PR15146 tests regresses, and while that could be hidden by disabling the missing dso message by making it conditional on h->root.non_ir_ref_regular, that would just be sweeping a problem under the rug. bfd/ PR 15146 PR 26314 PR 26530 * elflink.c (elf_link_add_object_symbols): Do set def_regular and ref_regular for IR symbols. Don't clear dynsym, allowing IR symbols to load --as-needed shared libraries, but prevent IR symbols from becoming dynamic. ld/ * testsuite/ld-plugin/lto.exp: Don't run pr15146 tests. * testsuite/ld-plugin/pr15146.d: Delete. * testsuite/ld-plugin/pr15146a.c: Delete. * testsuite/ld-plugin/pr15146b.c: Delete. * testsuite/ld-plugin/pr15146c.c: Delete. * testsuite/ld-plugin/pr15146d.c: Delete. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/15146] Reference from dummy plugin symbol isn't removed
https://sourceware.org/bugzilla/show_bug.cgi?id=15146 --- Comment #6 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1e3b96fd6cf0c7d018083994ad951ccf92aba582 commit 1e3b96fd6cf0c7d018083994ad951ccf92aba582 Author: Alan Modra Date: Fri Sep 4 13:54:21 2020 +0930 Allow plugin syms to mark as-needed shared libs needed We must tell LTO about symbols in all shared libraries loaded. That means we can't load extra shared libraries after LTO recompilation, at least, not those that affect the set of symbols that LTO cares about, the IR symbols. This change will likely result in complaints about --as-needed libraries being loaded unnecessarily, but being correct is more important than being optimal. One of the PR15146 tests regresses, and while that could be hidden by disabling the missing dso message by making it conditional on h->root.non_ir_ref_regular, that would just be sweeping a problem under the rug. bfd/ PR 15146 PR 26314 PR 26530 * elflink.c (elf_link_add_object_symbols): Do set def_regular and ref_regular for IR symbols. Don't clear dynsym, allowing IR symbols to load --as-needed shared libraries, but prevent IR symbols from becoming dynamic. ld/ * testsuite/ld-plugin/lto.exp: Don't run pr15146 tests. * testsuite/ld-plugin/pr15146.d: Delete. * testsuite/ld-plugin/pr15146a.c: Delete. * testsuite/ld-plugin/pr15146b.c: Delete. * testsuite/ld-plugin/pr15146c.c: Delete. * testsuite/ld-plugin/pr15146d.c: Delete. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/26530] Inconsistency in between bfd and gold about -Wl,--as-needed
https://sourceware.org/bugzilla/show_bug.cgi?id=26530 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1e3b96fd6cf0c7d018083994ad951ccf92aba582 commit 1e3b96fd6cf0c7d018083994ad951ccf92aba582 Author: Alan Modra Date: Fri Sep 4 13:54:21 2020 +0930 Allow plugin syms to mark as-needed shared libs needed We must tell LTO about symbols in all shared libraries loaded. That means we can't load extra shared libraries after LTO recompilation, at least, not those that affect the set of symbols that LTO cares about, the IR symbols. This change will likely result in complaints about --as-needed libraries being loaded unnecessarily, but being correct is more important than being optimal. One of the PR15146 tests regresses, and while that could be hidden by disabling the missing dso message by making it conditional on h->root.non_ir_ref_regular, that would just be sweeping a problem under the rug. bfd/ PR 15146 PR 26314 PR 26530 * elflink.c (elf_link_add_object_symbols): Do set def_regular and ref_regular for IR symbols. Don't clear dynsym, allowing IR symbols to load --as-needed shared libraries, but prevent IR symbols from becoming dynamic. ld/ * testsuite/ld-plugin/lto.exp: Don't run pr15146 tests. * testsuite/ld-plugin/pr15146.d: Delete. * testsuite/ld-plugin/pr15146a.c: Delete. * testsuite/ld-plugin/pr15146b.c: Delete. * testsuite/ld-plugin/pr15146c.c: Delete. * testsuite/ld-plugin/pr15146d.c: Delete. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/26530] Inconsistency in between bfd and gold about -Wl,--as-needed
https://sourceware.org/bugzilla/show_bug.cgi?id=26530 Alan Modra changed: What|Removed |Added Assignee|hjl.tools at gmail dot com |amodra at gmail dot com Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #5 from Alan Modra --- Fixed. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/15146] Reference from dummy plugin symbol isn't removed
https://sourceware.org/bugzilla/show_bug.cgi?id=15146 Alan Modra changed: What|Removed |Added Resolution|FIXED |WONTFIX -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/26574] A heap buffer overflow in bfd_getl_signed_32
https://sourceware.org/bugzilla/show_bug.cgi?id=26574 Alan Modra changed: What|Removed |Added Last reconfirmed||2020-09-04 Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at sourceware dot org |amodra at gmail dot com Ever confirmed|0 |1 -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/26574] A heap buffer overflow in bfd_getl_signed_32
https://sourceware.org/bugzilla/show_bug.cgi?id=26574 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8642dafaef21aa6747cec01df1977e9c52eb4679 commit 8642dafaef21aa6747cec01df1977e9c52eb4679 Author: Alan Modra Date: Fri Sep 4 19:19:18 2020 +0930 PR26574, heap buffer overflow in _bfd_elf_slurp_secondary_reloc_section A horribly fuzzed object with section headers inside the ELF header. Disallow that, and crazy reloc sizes. PR 26574 * elfcode.h (elf_object_p): Sanity check section header offset. * elf.c (_bfd_elf_slurp_secondary_reloc_section): Sanity check sh_entsize. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/26574] A heap buffer overflow in bfd_getl_signed_32
https://sourceware.org/bugzilla/show_bug.cgi?id=26574 Alan Modra changed: What|Removed |Added Target Milestone|--- |2.36 Resolution|--- |FIXED Status|ASSIGNED|RESOLVED --- Comment #2 from Alan Modra --- Fixed -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gas/23465] wrongly scale non-8-bit x86 displacements
https://sourceware.org/bugzilla/show_bug.cgi?id=23465 Florian Weimer changed: What|Removed |Added CC||fweimer at redhat dot com See Also||https://bugzilla.redhat.com ||/show_bug.cgi?id=1869401 Flags||security- -- You are receiving this mail because: You are on the CC list for the bug.
Issue 24638 in oss-fuzz: binutils:fuzz_bfd: Stack-buffer-overflow in bfd_getl32
Updates: Labels: -restrict-view-commit Comment #3 on issue 24638 by sheriffbot: binutils:fuzz_bfd: Stack-buffer-overflow in bfd_getl32 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24638#c3 This bug has been fixed for 30 days. It has been opened to the public. - Your friendly Sheriffbot -- You received this message because: 1. You were specifically CC'd on the issue You may adjust your notification preferences at: https://bugs.chromium.org/hosting/settings Reply to this email to add a comment.