diff options
author | Ian Lance Taylor <iant@google.com> | 2008-03-19 21:41:38 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-03-19 21:41:38 +0000 |
commit | 96a2b4e4bf67a7430e7ddd06a1d0730a49e6b07e (patch) | |
tree | 071317d44af235c3687bd900897968735303ebf2 /gold/testsuite/tls_test.cc | |
parent | 49a834f99faef9fd60532e6601c33bbeac27142b (diff) | |
download | gdb-96a2b4e4bf67a7430e7ddd06a1d0730a49e6b07e.zip gdb-96a2b4e4bf67a7430e7ddd06a1d0730a49e6b07e.tar.gz gdb-96a2b4e4bf67a7430e7ddd06a1d0730a49e6b07e.tar.bz2 |
Make sure the start and size of the TLS segment are aligned.
Diffstat (limited to 'gold/testsuite/tls_test.cc')
-rw-r--r-- | gold/testsuite/tls_test.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gold/testsuite/tls_test.cc b/gold/testsuite/tls_test.cc index 4a701da..418d0ea 100644 --- a/gold/testsuite/tls_test.cc +++ b/gold/testsuite/tls_test.cc @@ -60,6 +60,13 @@ __thread int v1; static __thread int v2; + +// We don't use these pointers, but putting them in tests alignment on +// a 64-bit target. +__thread char* p1; +char dummy; +__thread char* p2 = &dummy; + __thread int v3 = 3; static __thread int v4 = 4; __thread int v5; |