aboutsummaryrefslogtreecommitdiff
path: root/gold/ChangeLog
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2015-01-28 15:39:08 -0800
committerCary Coutant <ccoutant@google.com>2015-01-28 15:39:08 -0800
commit65d9213705654383804ab8af707975f0721c4a6d (patch)
tree6340936c9adba6e6e27066c0c3230d95a09bd5ae /gold/ChangeLog
parent37a3056ad4d02a5295e0288d630dea377907a60c (diff)
downloadgdb-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 'gold/ChangeLog')
-rw-r--r--gold/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 946504a..2944b51 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,10 @@
+2015-01-28 Cary Coutant <ccoutant@google.com>
+
+ * 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.
+
2015-01-25 Cary Coutant <ccoutant@google.com>
* output.cc (Output_segment::set_section_addresses): Fix calculation