This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Treat -ltsan similarly to -lasan during linking (PR sanitizer/55374)


Jakub Jelinek <jakub@redhat.com> writes:


> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
>
> 2013-02-05  Jakub Jelinek  <jakub@redhat.com>
>
> 	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.

It looks OK for me.  Thanks!

-- 
		Dodji


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]