[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/21168] ld should allow "lea address@hidden, %ecx"
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/21168] ld should allow "lea address@hidden, %ecx" |
Date: |
Wed, 15 Feb 2017 20:09:11 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=21168
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The binutils-2_28-branch branch has been updated by H.J. Lu
<address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=531ecb8262358e5432556fc4a8374194406ff81b
commit 531ecb8262358e5432556fc4a8374194406ff81b
Author: H.J. Lu <address@hidden>
Date: Wed Feb 15 11:39:30 2017 -0800
i386: Allow "lea address@hidden, %reg" in PIC
"lea address@hidden, %reg" is OK in PIC since it only loads the GOT offset
into register, which can be used later with a GOT base register to
get the value in the GOT entry.
(cherry picked from commit 2a5684011edabf5804abb9e11253a9747587b284)
bfd/
PR ld/21168
* elf32-i386.c (elf_i386_relocate_section): Allow
"lea address@hidden, %reg" in PIC.
ld/
PR ld/21168
* testsuite/ld-i386/i386.exp: Run pr21168.
* testsuite/ld-i386/pr21168a.c: New file.
* testsuite/ld-i386/pr21168b.S: Likewise.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/21168] New: ld should allow "lea address@hidden, %ecx", hjl.tools at gmail dot com, 2017/02/15
- [Bug ld/21168] ld should allow "lea address@hidden, %ecx", bugs at moronic dot technology, 2017/02/15
- [Bug ld/21168] ld should allow "lea address@hidden, %ecx", cvs-commit at gcc dot gnu.org, 2017/02/15
- [Bug ld/21168] ld should allow "lea address@hidden, %ecx",
cvs-commit at gcc dot gnu.org <=
- [Bug ld/21168] ld should allow "lea address@hidden, %ecx", hjl.tools at gmail dot com, 2017/02/15
- [Bug ld/21168] ld should allow "lea address@hidden, %ecx", cvs-commit at gcc dot gnu.org, 2017/02/15
- [Bug ld/21168] ld should allow "lea address@hidden, %ecx", hjl.tools at gmail dot com, 2017/02/15
- [Bug ld/21168] ld should allow "lea address@hidden, %ecx", bugs at moronic dot technology, 2017/02/17
- [Bug ld/21168] ld should allow "lea address@hidden, %ecx", hjl.tools at gmail dot com, 2017/02/17