OSDN Git Service

2008-08-14 Cary Coutant <ccoutant@google.com>
authorCary Coutant <ccoutant@google.com>
Fri, 15 Aug 2008 04:57:46 +0000 (04:57 +0000)
committerCary Coutant <ccoutant@google.com>
Fri, 15 Aug 2008 04:57:46 +0000 (04:57 +0000)
commit57f0c80648751ca6f2c20c8d5b320bb810658826
treec9391b6265fe31858034df901459820ceb59323f
parente10a361efceed13d3452554c009a1c12caea4396
2008-08-14  Cary Coutant  <ccoutant@google.com>

* x86_64.cc (Target_x86_64::Relocate::relocat_tls):
Use addend for DTPOFF32, DTPOFF64, and TPOFF32 relocs.
* testsuite/tls_test.cc (struct int128): 128-bit struct
for testing TLS relocs with non-zero addend.
(v12): New TLS variable.
(t12): New test.
(t_last): Add check for v12.
* testsuite/tls_test.h (t12): New function.
* testsuite/tls_test_main.cc (thread_routine): Call new test.
gold/ChangeLog
gold/testsuite/tls_test.cc
gold/testsuite/tls_test.h
gold/testsuite/tls_test_main.cc
gold/x86_64.cc