diff options
author | Cary Coutant <ccoutant@google.com> | 2015-01-28 15:39:08 -0800 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2015-01-28 15:39:08 -0800 |
commit | 65d9213705654383804ab8af707975f0721c4a6d (patch) | |
tree | 6340936c9adba6e6e27066c0c3230d95a09bd5ae /gdb/linux-tdep.h | |
parent | 37a3056ad4d02a5295e0288d630dea377907a60c (diff) | |
download | gdb-65d9213705654383804ab8af707975f0721c4a6d.zip gdb-65d9213705654383804ab8af707975f0721c4a6d.tar.gz gdb-65d9213705654383804ab8af707975f0721c4a6d.tar.bz2 |
Allow undefined references to TLS symbols.
When --warn-unresolved-symbols is used, gold tries to create a dynamic relocation
for it, and gives an internal error if the TLS segment has not already been
created. This patch allows the IE-to-LE optimization for an undefined symbol
when building an executable, which suppresses the dynamic relocation, and
relaxes the requirement to have a TLS segment when applying a relocation for
an undefined symbol.
2015-01-28 Cary Coutant <ccoutant@google.com>
gold/
* x86_64.cc (Target_x86_64::Scan::global): Allow IE-to-LE optimization
for undef TLS symbols.
(Target_x86_64::Relocate::relocate_tls): Likewise.
(Target_x86_64::Relocate::tls_ie_to_le): Likewise.
Diffstat (limited to 'gdb/linux-tdep.h')
0 files changed, 0 insertions, 0 deletions