This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gold commit] PR gold/18106: Fix support for i386 TLS GD-to-IE optimization


There are two cases to support, one with an SIB-form (6-byte) LEA,
the other with a 5-byte LEA and a NOP after the call __tls_get_addr.
Gold did not yet support the second case. This patch adds that
support.

Tested on i386 by HJ.

2015-03-22  Cary Coutant  <cary@google.com>

gold/
        PR gold/18106
        * i386.cc (Target_i386::Relocate::tls_gd_to_ie): Fix support for
        non-SIB form of lea, with nop after the call.

Attachment: pr18106-tls.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]