bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/17482] -melf32_x86_64 IE->LE transition error


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/17482] -melf32_x86_64 IE->LE transition error
Date: Fri, 07 Nov 2014 20:32:28 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17482

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, binutils-2_25-branch has been updated
       via  cf115d606eea814d659588953cbaa5b0b16e234c (commit)
      from  35cd712bccbb56c7705eb9cd7372b725da6152b4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

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

commit cf115d606eea814d659588953cbaa5b0b16e234c
Author: H.J. Lu <address@hidden>
Date:   Fri Nov 7 12:22:53 2014 -0800

    X32: Add REX prefix to encode R_X86_64_GOTTPOFF

    Structions with R_X86_64_GOTTPOFF relocation must be encoded with REX
    prefix even if it isn't required by destination register.  Otherwise
    linker can't safely perform IE -> LE optimization.

    bfd/

        PR ld/17482
        * elf64-x86-64.c (elf_x86_64_relocate_section): Update comments
        for IE->LE transition.

    gas/

        PR ld/17482
        * config/tc-i386.c (output_insn): Add a dummy REX_OPCODE prefix
        for structions with R_X86_64_GOTTPOFF relocation for x32 if needed.

    gas/testsuite/

        PR ld/17482
        * gas/i386/ilp32/x32-tls.d: New file.
        * gas/i386/ilp32/x32-tls.s: Likewise.

    ld/testsuite/

        PR ld/17482
        * ld-x86-64/tlsie4.dd: Updated.

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                          |    9 +++++++++
 bfd/elf64-x86-64.c                     |   22 ++++++++++++++++------
 gas/ChangeLog                          |    9 +++++++++
 gas/config/tc-i386.c                   |    9 +++++++++
 gas/testsuite/ChangeLog                |    9 +++++++++
 gas/testsuite/gas/i386/ilp32/x32-tls.d |   13 +++++++++++++
 gas/testsuite/gas/i386/ilp32/x32-tls.s |   13 +++++++++++++
 ld/testsuite/ChangeLog                 |    8 ++++++++
 ld/testsuite/ld-x86-64/tlsie4.dd       |    4 ++--
 9 files changed, 88 insertions(+), 8 deletions(-)
 create mode 100644 gas/testsuite/gas/i386/ilp32/x32-tls.d
 create mode 100644 gas/testsuite/gas/i386/ilp32/x32-tls.s

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]