[gold patch] Fix test case that fails with static libc
Cary Coutant
ccoutant@google.com
Wed Mar 2 18:49:00 GMT 2011
Here's another script test case that fails when linked with a static
libc that contains TLS data.
-cary
* testsuite/script_test_9.t: Add TLS segment.
Index: testsuite/script_test_9.t
===================================================================
RCS file: /cvs/src/src/gold/testsuite/script_test_9.t,v
retrieving revision 1.1
diff -u -p -r1.1 script_test_9.t
--- testsuite/script_test_9.t 19 May 2010 17:49:19 -0000 1.1
+++ testsuite/script_test_9.t 2 Mar 2011 18:46:53 -0000
@@ -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
}
More information about the Binutils
mailing list