From: H.J. Lu Date: Wed, 12 Dec 2012 13:45:37 +0000 (+0000) Subject: Add bootstrap-asan.mk X-Git-Tag: cgen-snapshot-20130101~141 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f7adb5a6c563a1111e869da758433aa0e0f280d;p=external%2Fbinutils.git Add bootstrap-asan.mk * bootstrap-asan.mk: New file. --- diff --git a/config/ChangeLog b/config/ChangeLog index 56dc9b3..ed6fc87 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2012-11-28 H.J. Lu + + * bootstrap-asan.mk: New file. + 2012-11-04 Thomas Schwinge * dfp.m4 (enable_decimal_float): Enable for i?86*-*-gnu*. diff --git a/config/bootstrap-asan.mk b/config/bootstrap-asan.mk new file mode 100644 index 0000000..d37a9da --- /dev/null +++ b/config/bootstrap-asan.mk @@ -0,0 +1,6 @@ +# This option enables -fsanitize=address for stage2 and stage3. + +STAGE2_CFLAGS += -fsanitize=address +STAGE3_CFLAGS += -fsanitize=address +POSTSTAGE1_LDFLAGS += -fsanitize=address -static-libasan \ + -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/.libs