]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ChangeLog
re PR sanitizer/55374 ([asan] -static-libasan -static-libstdc++ doesn't work)
authorJakub Jelinek <jakub@redhat.com>
Tue, 5 Feb 2013 15:55:31 +0000 (16:55 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 5 Feb 2013 15:55:31 +0000 (16:55 +0100)
commita74db9bd86ae6801699307541fa2d4d65b3cc3b5
tree100757cceba7527450ccfa949a2cd497d340f97a
parent11f1e3ab239b3a45b085ca5eb1327f1254fb6205
re PR sanitizer/55374 ([asan] -static-libasan -static-libstdc++ doesn't work)

PR sanitizer/55374
* config/gnu-user.h (LIBTSAN_EARLY_SPEC): Define.
(STATIC_LIBTSAN_LIBS): Likewise.
* gcc.c (ADD_STATIC_LIBTSAN_LIBS, LIBTSAN_EARLY_SPEC): Define.
(LIBTSAN_SPEC): Add ADD_STATIC_LIBTSAN_LIBS, if LIBTSAN_EARLY_SPEC
is defined, don't add anything else beyond that.
(SANITIZER_EARLY_SPEC, SANITIZER_SPEC): Define.
(LINK_COMMAND_SPEC): Use them.

From-SVN: r195761
gcc/ChangeLog
gcc/config/gnu-user.h
gcc/gcc.c