https://sourceware.org/bugzilla/show_bug.cgi?id=28597
--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <h...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7c80aab93666727965c2d5d6e17b1338d88293e0 commit 7c80aab93666727965c2d5d6e17b1338d88293e0 Author: H.J. Lu <hjl.to...@gmail.com> Date: Thu Nov 18 07:54:34 2021 -0800 elf/x86: Issue an error on discarded output .plt section Issue an error, instead of crash, on discarded output .plt section. bfd/ PR ld/28597 * elf32-i386.c (elf_i386_finish_dynamic_sections): Issue an error on discarded output .plt section. * elf64-x86-64.c (elf_x86_64_finish_dynamic_sections): Likewise. ld/ PR ld/28597 * testsuite/ld-elf/pr28597.d: New file. * testsuite/ld-elf/pr28597.s: Likewise. * testsuite/ld-elf/pr28597.t: Likewise. -- You are receiving this mail because: You are on the CC list for the bug.