From: Jakub Jelinek Date: Fri, 8 Mar 2013 17:16:45 +0000 (+0100) Subject: gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against libasan_preinit.o. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6384c29bfc15a772d876f5e26b68808560cf0ac3;p=gcc.git gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against libasan_preinit.o. * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against libasan_preinit.o. From-SVN: r196554 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 762bc08792f..c8593218276 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-03-08 Jakub Jelinek + + * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against + libasan_preinit.o. + 2013-03-08 Marek Polacek Jakub Jelinek diff --git a/gcc/config/gnu-user.h b/gcc/config/gnu-user.h index 6c26163b223..bcdf0e6cc5a 100644 --- a/gcc/config/gnu-user.h +++ b/gcc/config/gnu-user.h @@ -109,8 +109,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see LD_STATIC_OPTION " --whole-archive -lasan --no-whole-archive " \ LD_DYNAMIC_OPTION "}}%{!static-libasan:-lasan}" #undef LIBTSAN_EARLY_SPEC -#define LIBTSAN_EARLY_SPEC "%{!shared:libasan_preinit%O%s} " \ - "%{static-libtsan:%{!shared:" \ +#define LIBTSAN_EARLY_SPEC "%{static-libtsan:%{!shared:" \ LD_STATIC_OPTION " --whole-archive -ltsan --no-whole-archive " \ LD_DYNAMIC_OPTION "}}%{!static-libtsan:-ltsan}" #endif