[Bug ld/22909] Expand --warn-shared-textrel support to all executables, not only PIC objects
https://sourceware.org/bugzilla/show_bug.cgi?id=22909 --- Comment #7 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a6dbf402de65fe66f4ec99b56527dfd00d077cb6 commit a6dbf402de65fe66f4ec99b56527dfd00d077cb6 Author: H.J. Lu Date: Wed May 27 04:53:54 2020 -0700 ld: Add --warn-textrel and obsolete --warn-shared-textrel --warn-shared-textrel and -z text apply to both shared object and PIE. Add --warn-textrel and obsolete --warn-shared-textrel. Consolidate --warn-textrel and -z text/notext/textoff implementation. bfd/ PR ld/22909 * elflink.c (bfd_elf_final_link): Use bfd_link_textrel_check. Check bfd_link_dll when issue a DT_TEXTREL warning. * elfxx-x86.c (maybe_set_textrel): Likewise. (_bfd_x86_elf_size_dynamic_sections): Likewise. include/ PR ld/22909 * bfdlink.h (textrel_check_method): New enum. (bfd_link_textrel_check): New. (bfd_link_info): Replace warn_shared_textrel and error_textrel with textrel_check. ld/ PR ld/22909 * NEWS: Mention --warn-textrel. * ld.texi: Update -z text/notext/textoff. Add --warn-textrel. Remove --warn-shared-textrel. * ldlex.h (option_values): Rename OPTION_WARN_SHARED_TEXTREL to OPTION_WARN_TEXTREL. * lexsup.c (ld_options): Add --warn-textrel. Obsolete --warn-shared-textrel. (parse_args): Updated. (elf_shlib_list_options): Check link_info.textrel_check. * emultempl/elf.em: Updated. * testsuite/ld-elf/pr19539.d: Replace -z notext with --warn-textrel. Expect a warning. * testsuite/ld-i386/warn1.d: Update expected warning. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/22909] Expand --warn-shared-textrel support to all executables, not only PIC objects
https://sourceware.org/bugzilla/show_bug.cgi?id=22909 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #8 from H.J. Lu --- Fixed for 2.35. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/20824] enable warn-shared-textrel by default
https://sourceware.org/bugzilla/show_bug.cgi?id=20824 Bug 20824 depends on bug 22909, which changed state. Bug 22909 Summary: Expand --warn-shared-textrel support to all executables, not only PIC objects https://sourceware.org/bugzilla/show_bug.cgi?id=22909 What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug.
Issue 21874 in oss-fuzz: binutils:fuzz_readelf: Null-dereference READ in get_num_dynamic_syms
Updates: Labels: -restrict-view-commit Comment #3 on issue 21874 by sheriffbot: binutils:fuzz_readelf: Null-dereference READ in get_num_dynamic_syms https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21874#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.
[Bug ld/22909] Expand --warn-shared-textrel support to all executables, not only PIC objects
https://sourceware.org/bugzilla/show_bug.cgi?id=22909 --- Comment #9 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Hans-Peter Nilsson : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2a37823bfe57d43f6c43a48a00237ba169599c3c commit 2a37823bfe57d43f6c43a48a00237ba169599c3c Author: Hans-Peter Nilsson Date: Wed May 27 23:14:45 2020 +0200 PR ld/22909 amendment; don't xfail ld-elf/pr19539.d for cris*-*-*. Noticed by my autotester covering cris-axis-linux-gnu: ... Running /src/ld/testsuite/ld-elf/elf.exp ... XPASS: ld-elf/pr19539 ... This was apparently as intended, so I'm just adjusting the xfail. PR ld/22909 * testsuite/ld-elf/pr19539.d: Don't xfail for cris*-*-*. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gas/26001] PDP11 gas confuses register names and symbols
https://sourceware.org/bugzilla/show_bug.cgi?id=26001 --- Comment #2 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Stephen Casner : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1c912705af057b0d30ea51af46d8a00014a84034 commit 1c912705af057b0d30ea51af46d8a00014a84034 Author: Stephen Casner Date: Wed May 27 18:40:38 2020 -0700 Fix PR gas/26001 (pdp11-*-*) PR gas/26001 * gas/config/tc-pdp11.c (parse_reg): Distinguish register names from symbols that begin with a register name. * gas/testsuite/gas/pdp11/pdp11.exp: Add test of such symbols. * gas/testsuite/gas/pdp11/pr26001.s: Likewise. * gas/testsuite/gas/pdp11/pr26001.d: Likewise. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gas/26001] PDP11 gas confuses register names and symbols
https://sourceware.org/bugzilla/show_bug.cgi?id=26001 Stephen Casner changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Stephen Casner --- Fix and test implemented. -- You are receiving this mail because: You are on the CC list for the bug.