diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-06-19 20:20:52 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-06-19 20:21:04 -0700 |
commit | 406b4ada55b2957c10fedaeaada801e77912d976 (patch) | |
tree | e53f5b5356ec93296df94c593b8d6617681c1e49 /ld/ChangeLog | |
parent | 7e3941ac0619431d51a9643e20cb0e0720502101 (diff) | |
download | fsf-binutils-gdb-406b4ada55b2957c10fedaeaada801e77912d976.zip fsf-binutils-gdb-406b4ada55b2957c10fedaeaada801e77912d976.tar.gz fsf-binutils-gdb-406b4ada55b2957c10fedaeaada801e77912d976.tar.bz2 |
x86: Count PLT for GOTOFF relocation against IFUNC symbol
Since GOTOFF relocations against IFUNC symbols must go through PLT,
set PLT reference count to 1 for GOTOFF relocation.
bfd/
PR ld/27998
* elfxx-x86.c (elf_x86_allocate_dynrelocs): Count PLT for GOTOFF
relocation against IFUNC symbols.
(_bfd_x86_elf_adjust_dynamic_symbol): Likewise.
ld/
PR ld/27998
* testsuite/ld-i386/i386.exp: Run PR ld/27998 tests.
* testsuite/ld-i386/pr27998a.d: New file.
* testsuite/ld-i386/pr27998a.s: Likewise.
* testsuite/ld-i386/pr27998b.d: Likewise.
* testsuite/ld-i386/pr27998b.s: Likewise.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 36f8d4b..dc08ec9 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,14 @@ 2021-06-19 H.J. Lu <hongjiu.lu@intel.com> + PR ld/27998 + * testsuite/ld-i386/i386.exp: Run PR ld/27998 tests. + * testsuite/ld-i386/pr27998a.d: New file. + * testsuite/ld-i386/pr27998a.s: Likewise. + * testsuite/ld-i386/pr27998b.d: Likewise. + * testsuite/ld-i386/pr27998b.s: Likewise. + +2021-06-19 H.J. Lu <hongjiu.lu@intel.com> + * testsuite/ld-x86-64/textrel-1.err: New file. * testsuite/ld-x86-64/textrel-1a.s: Likewise. * testsuite/ld-x86-64/textrel-1b.s: Likewise. |