From 62efcea51f1a26f7c2cf4ef1d2b77da1d2025b14 Mon Sep 17 00:00:00 2001 From: jakub Date: Fri, 8 Mar 2013 17:16:45 +0000 Subject: [PATCH] * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against libasan_preinit.o. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196554 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/gnu-user.h | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) 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 -- 2.11.4.GIT