[ASan] Revert commit related to TTC-5 (PR sanitizer/81697). 30/173030/1
authorDenis Khalikov <d.khalikov@partner.samsung.com>
Mon, 19 Mar 2018 06:08:53 +0000 (09:08 +0300)
committerDenis Khalikov <d.khalikov@partner.samsung.com>
Mon, 19 Mar 2018 08:27:50 +0000 (11:27 +0300)
commit9ff70bf70b4eeddc8cc162151e3f95c4d8f9c79e
tree005b3b363f1a4401336f415c465c5d924ef5b399
parent4e6e73964ab812c0d342bd36fa3b09b290c8fb76
[ASan] Revert commit related to TTC-5 (PR sanitizer/81697).

We might have a strange situation with ASan and TLS,
when TLS_index struct should be defined as
.word   .LANCHOR0(tlsldm),
but patch for TTC-5 assumes that is no ANCHOR sections
with ASan at all. So, in this specific case we pass TLS_index
struct with wrong alignment to __tls_get_addr () function
which cause a SEGV.

Next commit fix sanitizer/81697 with patch from upstream.

Change-Id: I9ee35ade027d246870bf57387f40217226efb7cc
gcc/testsuite/g++.dg/asan/global-alignment.C [deleted file]
gcc/varasm.c