aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2011-03-02 21:59:36 +0000
committerCary Coutant <ccoutant@google.com>2011-03-02 21:59:36 +0000
commit89243142dcfe316508ec8449a36412f3d510156c (patch)
treeb00baacfe32dc4f3e7de16f4d814d64647bd8000
parent2d5657570debccd1a3294aca26175dd6a7289c14 (diff)
downloadgdb-89243142dcfe316508ec8449a36412f3d510156c.zip
gdb-89243142dcfe316508ec8449a36412f3d510156c.tar.gz
gdb-89243142dcfe316508ec8449a36412f3d510156c.tar.bz2
* testsuite/script_test_9.t: Add TLS segment.
-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
}