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 19353: Fix internal error when applying TLSDESC relocations with no TLS segment


I've committed this patch to fix a gold crash, first noticed on
Aarch64, but a similar problem exists on i386 and x86_64.

-cary

2016-01-11  Cary Coutant  <ccoutant@gmail.com>

gold/
        PR gold/19353
        * aarch64.cc (Target_aarch64::relocate_tls): Don't insist that
        we have a TLS segment for GD-to-IE optimization.
        * i386.cc (Target_i386::tls_gd_to_ie): Remove tls_segment parameter.
        Adjust all calls.
        (Target_i386::tls_desc_gd_to_ie): Likewise.
        (Target_i386::relocate_tls): Don't insist that we have a TLS segment
        for TLSDESC GD-to-IE optimizations.
        * x86_64.cc (Target_x86_64::tls_gd_to_ie): Remove tls_segment parameter.
        Adjust all calls.
        (Target_x86_64::tls_desc_gd_to_ie): Likewise.
        (Target_x86_64::relocate_tls): Don't insist that we have a TLS segment
        for TLSDESC GD-to-IE optimizations.

Attachment: pr19353.patch
Description: Binary data


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