From 5ab1f49e69f8478b3a867d6e21378b42ee4e5f2e Mon Sep 17 00:00:00 2001 From: wmi Date: Wed, 21 Nov 2012 17:46:00 +0000 Subject: * common.opt: Change faddress-sanitizer to fsanitize=address. * toplev.c (process_options): Likewise. * gcc.c (LINK_COMMAND_SPEC): Likewise. * testsuite/lib/asan-dg.exp (check_effective_target_faddress_sanitizer): Likewise. (asan_init): Likewise. * doc/invoke.texi (-fsanitize=address): Document. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193702 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/gcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/gcc.c') diff --git a/gcc/gcc.c b/gcc/gcc.c index 3d515665f7a..0f8bcea81de 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -696,7 +696,7 @@ proper position among the other output files. */ %{fgnu-tm:%:include(libitm.spec)%(link_itm)}\ %(mflib) " STACK_SPLIT_SPEC "\ %{fprofile-arcs|fprofile-generate*|coverage:-lgcov}\ - %{faddress-sanitizer:" LIBASAN_SPEC "}\ + %{fsanitize=address:" LIBASAN_SPEC "}\ %{!nostdlib:%{!nodefaultlibs:%(link_ssp) %(link_gcc_c_sequence)}}\ %{!nostdlib:%{!nostartfiles:%E}} %{T*} }}}}}}" #endif -- cgit v1.2.1