gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against libasan_preinit.o.
authorJakub Jelinek <jakub@redhat.com>
Fri, 8 Mar 2013 17:16:45 +0000 (18:16 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 8 Mar 2013 17:16:45 +0000 (18:16 +0100)
* config/gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against
libasan_preinit.o.

From-SVN: r196554

gcc/ChangeLog
gcc/config/gnu-user.h

index 762bc08792f3b392c3a17567a732055fe243e251..c8593218276c03585cab208defb816bcb88d3e56 100644 (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>
 
index 6c26163b2238284b08ffccfee4127461cebec053..bcdf0e6cc5a735612f731648424fa530be94e4d0 100644 (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