OSDN Git Service

2008-08-14 Cary Coutant <ccoutant@google.com>
authorccoutant <ccoutant>
Fri, 15 Aug 2008 04:57:46 +0000 (04:57 +0000)
committerccoutant <ccoutant>
Fri, 15 Aug 2008 04:57:46 +0000 (04:57 +0000)
commit83b3ac74ff2da9b9409624386aa779430b740d71
tree653d89d684ea660a2765f11dd745a9e98e4f4bf3
parent9d5cd7a5988220b048bc9548976c851b82a4fb3f
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