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
This commit is contained in:
Jakub Jelinek 2013-03-08 18:16:45 +01:00 committed by Jakub Jelinek
parent 19831b0870
commit 6384c29bfc
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-03-08 Jakub Jelinek <jakub@redhat.com>
* config/gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against
libasan_preinit.o.
2013-03-08 Marek Polacek <polacek@redhat.com>
Jakub Jelinek <jakub@redhat.com>

View File

@ -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