aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2013-03-08 18:16:45 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2013-03-08 18:16:45 +0100
commit6384c29bfc15a772d876f5e26b68808560cf0ac3 (patch)
tree2f5241221fecc20e098307911875875d18fb3c63
parent19831b0870267179455ca84f5e2f68b9ccb8e83c (diff)
downloadgcc-6384c29bfc15a772d876f5e26b68808560cf0ac3.zip
gcc-6384c29bfc15a772d876f5e26b68808560cf0ac3.tar.gz
gcc-6384c29bfc15a772d876f5e26b68808560cf0ac3.tar.bz2
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
-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 762bc08..c859321 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 6c26163..bcdf0e6 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