Re: [asan] Fix asan -fsection-anchors handling

2013-01-07 Thread Dodji Seketeli
Jakub Jelinek writes: > 2012-12-21 Jakub Jelinek > > * varasm.c (output_constant_def_contents): For asan_protect_global > protected strings, adjust DECL_ALIGN if needed, before testing for > anchored symbols. > (place_block_symbol): Adjust size for asan protected STRING

Re: [asan] Fix asan -fsection-anchors handling

2012-12-21 Thread Peter Bergner
On Fri, 2012-12-21 at 15:15 +0100, Jakub Jelinek wrote: > Hi! > > Peter reported on IRC that many asan tests are failing on ppc, apparently > lots of that is related to -fsection-anchors decls and STRING_CSTs, which > weren't considered before. > > This patch attempts to fix all the issues I saw

[asan] Fix asan -fsection-anchors handling

2012-12-21 Thread Jakub Jelinek
Hi! Peter reported on IRC that many asan tests are failing on ppc, apparently lots of that is related to -fsection-anchors decls and STRING_CSTs, which weren't considered before. This patch attempts to fix all the issues I saw on the few testcases. Bootstrapped/regtested on x86_64-linux and i686-