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 <h...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4e21640f674499048157fa62f08b16f6039f78f6

commit 4e21640f674499048157fa62f08b16f6039f78f6
Author: H.J. Lu <hjl.to...@gmail.com>
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 $foo@GOT + 4, %eax" and "movq $foo@GOT + 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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to