[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/20244] ld fails to handle "op $imm, address@hidden"
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/20244] ld fails to handle "op $imm, address@hidden" |
Date: |
Tue, 14 Jun 2016 23:02:16 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20244
--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The binutils-2_26-branch branch has been updated by H.J. Lu
<address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3cac3e2e8b3c2d70467ac14c07f78bf3088c2e42
commit 3cac3e2e8b3c2d70467ac14c07f78bf3088c2e42
Author: H.J. Lu <address@hidden>
Date: Mon Jun 13 09:27:12 2016 -0700
Add the GOT base for GOT32 relocs against IFUNC
Add the GOT base for R_386_GOT32/R_386_GOT32X relocations against IFUNC
symbols if there is no base register and disallow them for PIC.
bfd/
PR ld/20244
* elf32-i386.c (elf_i386_relocate_section): Add the .got.plt
section address for R_386_GOT32/R_386_GOT32X relocations against
IFUNC symbols if there is no base register and return error for
PIC.
* elf32-i386.c (elf_i386_relocate_section): Simplify IFUNC
GOT32 adjustment for static executables.
ld/
PR ld/20244
* testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
pr20244-2c and pr20244-2d.
* testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
* testsuite/ld-i386/pr20244-2.s: New file.
* testsuite/ld-i386/pr20244-2a.d: Likewise.
* testsuite/ld-i386/pr20244-2b.d: Likewise.
* testsuite/ld-i386/pr20244-2c.d: Likewise.
* testsuite/ld-i386/pr20244-2d.d: Likewise.
* testsuite/ld-i386/pr20244-3a.c: Likewise.
* testsuite/ld-i386/pr20244-3b.S: Likewise.
* testsuite/ld-i386/pr20244-3c.S: Likewise.
* testsuite/ld-i386/pr20244-3d.S: Likewise.
Add 2 i386 tests to call IFUNC functions via GOT
ld/
* testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
* testsuite/ld-i386/ifunc-1a.c: New file.
* testsuite/ld-i386/ifunc-1b.S: Likewise.
* testsuite/ld-i386/ifunc-1c.S: Likewise.
* testsuite/ld-i386/ifunc-1d.S: Likewise.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/20244] New: ld fails to handle "op $imm, address@hidden", hjl.tools at gmail dot com, 2016/06/11
- [Bug ld/20244] ld fails to handle "op $imm, address@hidden", cvs-commit at gcc dot gnu.org, 2016/06/12
- [Bug ld/20244] ld fails to handle "op $imm, address@hidden", hjl.tools at gmail dot com, 2016/06/12
- [Bug ld/20244] ld fails to handle "op $imm, address@hidden", cvs-commit at gcc dot gnu.org, 2016/06/13
- [Bug ld/20244] ld fails to handle "op $imm, address@hidden", cvs-commit at gcc dot gnu.org, 2016/06/14
- [Bug ld/20244] ld fails to handle "op $imm, address@hidden",
cvs-commit at gcc dot gnu.org <=
- [Bug ld/20244] ld fails to handle "op $imm, address@hidden", hjl.tools at gmail dot com, 2016/06/14