r194984 - in /trunk/gcc: ChangeLog asan.c varasm.c
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Mon Jan 7 17:46:00 GMT 2013
Author: jakub
Date: Mon Jan 7 17:46:30 2013
New Revision: 194984
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194984
Log:
* 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_CSTs if
TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected
normal decls.
(output_object_block): For asan protected decls, emit asan padding
after their contents.
* asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
(asan_finish_file): Test it here instead.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/asan.c
trunk/gcc/varasm.c
More information about the Gcc-cvs
mailing list