summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-08 17:16:45 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-08 17:16:45 +0000
commit62efcea51f1a26f7c2cf4ef1d2b77da1d2025b14 (patch)
tree2f5241221fecc20e098307911875875d18fb3c63
parente8325adaf2ecba02fc373e8e0b67e7ddae092e4b (diff)
downloadgcc-62efcea51f1a26f7c2cf4ef1d2b77da1d2025b14.tar.gz
* 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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/gnu-user.h3
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 <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>
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