|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug ld/24905] X86 PCREL relocation against hidden symbol defined in linker scripts fails |
Date: | Fri, 16 Aug 2019 21:27:19 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24905 --- Comment #2 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 <address@hidden>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=81e8046dc0daaf56fb10b11931fc77600a4b5920 commit 81e8046dc0daaf56fb10b11931fc77600a4b5920 Author: H.J. Lu <address@hidden> Date: Fri Aug 16 14:25:15 2019 -0700 x86-64: Move PIC check for PC-relative relocations back commit 83924b3846361f2f76f9a6e7b5afa01c0eebbd4f Author: H.J. Lu <address@hidden> Date: Tue Feb 5 18:45:23 2019 -0800 x86-64: Restore PIC check for PCREL reloc against protected symbol moved PIC check for PC-relative relocations to elf_x86_64_check_relocs. Since linker defined symbols may not be processed at the time, we need to move the check back to elf_x86_64_relocate_section. bfd/ PR ld/24905 * elf64-x86-64.c (elf_x86_64_check_relocs): Move PIC check for PC-relative relocations back to ... (elf_x86_64_relocate_section): Here. ld/ PR ld/24905 * testsuite/ld-x86-64/pr24905-x32.d: New file. * testsuite/ld-x86-64/pr24905.d: Likewise. * testsuite/ld-x86-64/pr24905.s: Likewise. * testsuite/ld-x86-64/pr24905.t: Likewise. * testsuite/ld-x86-64/x86-64.exp: Run pr24905 and pr24905-x32. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |