varasm.c (get_variable_section): Don't return lcomm_section for asan_protect_global...
authorJakub Jelinek <jakub@redhat.com>
Tue, 11 Dec 2012 12:06:07 +0000 (13:06 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 11 Dec 2012 12:06:07 +0000 (13:06 +0100)
commita8a6fd74c4ed085c47a69842e77d55aa817a919a
tree491a5fed91156bbc060b9acbd315e3c8d7a79b70
parentc699deeb3ea44bbc646dc0ec3186160cd126386b
varasm.c (get_variable_section): Don't return lcomm_section for asan_protect_global decls.

* varasm.c (get_variable_section): Don't return lcomm_section
for asan_protect_global decls.
* asan.c (asan_protect_global): Only avoid public common variables.
Don't call get_variable_section here.

From-SVN: r194393
gcc/ChangeLog
gcc/asan.c
gcc/varasm.c