https://sourceware.org/bugzilla/show_bug.cgi?id=21782
--- Comment #7 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=661b504df9bfb8d7c5d669091720e1dc0079c05e commit 661b504df9bfb8d7c5d669091720e1dc0079c05e Author: H.J. Lu <hjl.to...@gmail.com> Date: Thu Jul 8 13:49:17 2021 -0700 x86-64: Disallow PC reloc against weak undefined symbols in PIE Disallow PC relocations against weak undefined symbols in PIE since they can lead to non-zero address at run-time. bfd/ PR ld/21782 * elf64-x86-64.c (elf_x86_64_relocate_section): Disallow PC relocations against weak undefined symbols in PIE. ld/ PR ld/21782 * testsuite/ld-x86-64/pie3.d: Expect linker error. -- You are receiving this mail because: You are on the CC list for the bug.