aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gold/ChangeLog4
-rw-r--r--gold/testsuite/script_test_9.t9
2 files changed, 13 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index d25fb59..9ec596c 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-02 Cary Coutant <ccoutant@google.com>
+
+ * testsuite/script_test_9.t: Add TLS segment.
+
2011-03-02 Simon Baldwin <simonb@google.com>
* configure.ac: Add check for gnu_indirect_function support in
diff --git a/gold/testsuite/script_test_9.t b/gold/testsuite/script_test_9.t
index 58cc350..df055ba 100644
--- a/gold/testsuite/script_test_9.t
+++ b/gold/testsuite/script_test_9.t
@@ -2,6 +2,7 @@ PHDRS
{
text PT_LOAD FLAGS(5);
data PT_LOAD FLAGS(6);
+ tls PT_TLS;
}
SECTIONS
@@ -15,4 +16,12 @@ SECTIONS
.data :
{
} :data
+ .tdata :
+ {
+ *(.tdata*)
+ } :data :tls
+ .tbss :
+ {
+ *(.tbss*)
+ } :data :tls
}