[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/19600] Parsing address@hidden forgets the offset
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug gas/19600] Parsing address@hidden forgets the offset |
Date: |
Fri, 20 May 2016 13:02:19 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19600
--- Comment #5 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=4e21640f674499048157fa62f08b16f6039f78f6
commit 4e21640f674499048157fa62f08b16f6039f78f6
Author: H.J. Lu <address@hidden>
Date: Fri May 20 06:01:28 2016 -0700
Preserve addend for R_386_GOT32 and R_X86_64_GOT32
We should preserve addend for R_386_GOT32 and R_X86_64_GOT32 as in
"movl address@hidden + 4, %eax" and "movq address@hidden + 4, %rax".
PR gas/19600
* config/tc-i386.c (md_apply_fix): Preserve addend for
BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
* testsuite/gas/i386/addend.d: New file.
* testsuite/gas/i386/addend.s: Likewise.
* testsuite/gas/i386/x86-64-addend.d: Likewise.
* testsuite/gas/i386/x86-64-addend.s: Likewise.
* testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
* testsuite/gas/i386/reloc32.d: Updated.
--
You are receiving this mail because:
You are on the CC list for the bug.