[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 22:53:14 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20244
--- Comment #4 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=9983f9d2d44dc6380671006f1d1cdea00587ccd6
commit 9983f9d2d44dc6380671006f1d1cdea00587ccd6
Author: H.J. Lu <address@hidden>
Date: Sat Jun 11 20:44:24 2016 -0700
Subtract GOT base only with a base register
When relocating R_386_GOT32 in "op $0, address@hidden", we shouldn't
subtract
GOT base without a base register and we should disallow it without a
base register for PIC.
bfd/
PR ld/20244
* elf32-i386.c (elf_i386_relocate_section): When relocating
R_386_GOT32, return error without a base register for PIC and
subtract the .got.plt section address only with a base register.
ld/
PR ld/20244
* testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
* testsuite/ld-i386/pr20244-1.s: New file.
* testsuite/ld-i386/pr20244-1a.d: Likewise.
* testsuite/ld-i386/pr20244-1b.d: Likewise.
* testsuite/ld-i386/pr20244-1c.d: 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 <=
- [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", hjl.tools at gmail dot com, 2016/06/14