• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révision3f48575af8379567edcc1d6f7fb25c14237cbf30 (tree)
l'heure2014-05-09 01:18:30
Auteurjakub <jakub@138b...>
CommiterTom Tromey

Message de Log

PR sanitizer/56781 lto-plugin/ * Makefile.am (CFLAGS, LDFLAGS): Filter out -fsanitize=address. (liblto_plugin_la_LIBADD, liblto_plugin_la_LDFLAGS, liblto_plugin_la_DEPENDENCIES): Prefer ../libiberty/noasan/libiberty.a over ../libiberty/pic/libiberty.a if the former exists. * Makefile.in: Regenerated. libiberty/ * maint-tool: Also emit rule for noasan/ subdirectory. * configure.ac (NOASANFLAG): Set and substitute. * Makefile.in: Regenerated. (NOASANFLAG): Set. (all, $(TARGETLIB), mostlyclean): Handle noasan subdir like pic subdir. (stamp-noasandir): New goal. * configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209476 138bc75d-0d04-0410-961f-82ee72b054a4

Change Summary

Modification

--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,15 @@
1+2014-04-17 Jakub Jelinek <jakub@redhat.com>
2+
3+ PR sanitizer/56781
4+ * maint-tool: Also emit rule for noasan/ subdirectory.
5+ * configure.ac (NOASANFLAG): Set and substitute.
6+ * Makefile.in: Regenerated.
7+ (NOASANFLAG): Set.
8+ (all, $(TARGETLIB), mostlyclean): Handle noasan subdir like pic
9+ subdir.
10+ (stamp-noasandir): New goal.
11+ * configure: Regenerated.
12+
113 2014-04-01 Richard Biener <rguenther@suse.de>
214
315 * simple-object.c (simple_object_internal_write): Handle
--- a/libiberty/Makefile.in
+++ b/libiberty/Makefile.in
@@ -2,8 +2,8 @@
22 # Originally written by K. Richard Pixley <rich@cygnus.com>.
33 #
44 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
5-# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
6-# Free Software Foundation
5+# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
6+# 2012, 2014 Free Software Foundation
77 #
88 # This file is part of the libiberty library.
99 # Libiberty is free software; you can redistribute it and/or
@@ -62,6 +62,7 @@ MAKEINFO = @MAKEINFO@
6262 PERL = @PERL@
6363
6464 PICFLAG = @PICFLAG@
65+NOASANFLAG = @NOASANFLAG@
6566
6667 MAKEOVERRIDES =
6768
@@ -101,7 +102,7 @@ FLAGS_TO_PASS = \
101102 SUBDIRS = testsuite
102103
103104 # FIXME: add @BUILD_INFO@ once we're sure it works for everyone.
104-all: stamp-picdir $(TARGETLIB) required-list all-subdir
105+all: stamp-picdir stamp-noasandir $(TARGETLIB) required-list all-subdir
105106 @: $(MAKE) ; $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
106107
107108 .PHONY: check installcheck
@@ -241,7 +242,7 @@ INSTALLED_HEADERS = \
241242 $(INCDIR)/timeval-utils.h
242243
243244 $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
244- -rm -f $(TARGETLIB) pic/$(TARGETLIB)
245+ -rm -f $(TARGETLIB) pic/$(TARGETLIB) noasan/$(TARGETLIB)
245246 $(AR) $(AR_FLAGS) $(TARGETLIB) \
246247 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
247248 $(RANLIB) $(TARGETLIB)
@@ -251,6 +252,13 @@ $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
251252 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
252253 $(RANLIB) $(TARGETLIB); \
253254 cd ..; \
255+ else true; fi; \
256+ if [ x"$(NOASANFLAG)" != x ]; then \
257+ cd noasan; \
258+ $(AR) $(AR_FLAGS) $(TARGETLIB) \
259+ $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
260+ $(RANLIB) $(TARGETLIB); \
261+ cd ..; \
254262 else true; fi
255263
256264 $(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
@@ -389,6 +397,12 @@ stamp-picdir:
389397 else true; fi
390398 touch stamp-picdir
391399
400+stamp-noasandir:
401+ if [ x"$(NOASANFLAG)" != x ] && [ ! -d noasan ]; then \
402+ mkdir noasan; \
403+ else true; fi
404+ touch stamp-noasandir
405+
392406 .PHONY: all etags tags ls clean stage1 stage2
393407
394408 etags tags: TAGS etags-subdir
@@ -426,9 +440,9 @@ maint-deps :
426440 # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
427441 # multiple times, hence our explicit recursion with an empty SUBDIRS.
428442 mostlyclean: mostlyclean-subdir
429- -rm -rf *.$(objext) pic core errs \#* *.E a.out
443+ -rm -rf *.$(objext) pic noasan core errs \#* *.E a.out
430444 -rm -f errors dummy config.h stamp-*
431- -rm -f $(CONFIG_H) stamp-picdir
445+ -rm -f $(CONFIG_H) stamp-picdir stamp-noasandir
432446 -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
433447 -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
434448 -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
@@ -485,8 +499,8 @@ maintainer-clean-subdir: config.h
485499 cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
486500 done
487501
488-$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir
489-$(CONFIGURED_OFILES): stamp-picdir
502+$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir stamp-noasandir
503+$(CONFIGURED_OFILES): stamp-picdir stamp-noasandir
490504
491505 # Don't export variables to the environment, in order to not confuse
492506 # configure.
@@ -500,6 +514,9 @@ $(CONFIGURED_OFILES): stamp-picdir
500514 if [ x"$(PICFLAG)" != x ]; then \
501515 $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \
502516 else true; fi
517+ if [ x"$(NOASANFLAG)" != x ]; then \
518+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/_doprnt.c -o noasan/$@; \
519+ else true; fi
503520 $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION)
504521
505522 ./alloca.$(objext): $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
@@ -507,6 +524,9 @@ $(CONFIGURED_OFILES): stamp-picdir
507524 if [ x"$(PICFLAG)" != x ]; then \
508525 $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
509526 else true; fi
527+ if [ x"$(NOASANFLAG)" != x ]; then \
528+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/alloca.c -o noasan/$@; \
529+ else true; fi
510530 $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
511531
512532 ./argv.$(objext): $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h \
@@ -514,6 +534,9 @@ $(CONFIGURED_OFILES): stamp-picdir
514534 if [ x"$(PICFLAG)" != x ]; then \
515535 $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
516536 else true; fi
537+ if [ x"$(NOASANFLAG)" != x ]; then \
538+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/argv.c -o noasan/$@; \
539+ else true; fi
517540 $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
518541
519542 ./asprintf.$(objext): $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \
@@ -521,12 +544,18 @@ $(CONFIGURED_OFILES): stamp-picdir
521544 if [ x"$(PICFLAG)" != x ]; then \
522545 $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
523546 else true; fi
547+ if [ x"$(NOASANFLAG)" != x ]; then \
548+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/asprintf.c -o noasan/$@; \
549+ else true; fi
524550 $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
525551
526552 ./atexit.$(objext): $(srcdir)/atexit.c config.h
527553 if [ x"$(PICFLAG)" != x ]; then \
528554 $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
529555 else true; fi
556+ if [ x"$(NOASANFLAG)" != x ]; then \
557+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/atexit.c -o noasan/$@; \
558+ else true; fi
530559 $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
531560
532561 ./basename.$(objext): $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \
@@ -534,36 +563,54 @@ $(CONFIGURED_OFILES): stamp-picdir
534563 if [ x"$(PICFLAG)" != x ]; then \
535564 $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
536565 else true; fi
566+ if [ x"$(NOASANFLAG)" != x ]; then \
567+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/basename.c -o noasan/$@; \
568+ else true; fi
537569 $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
538570
539571 ./bcmp.$(objext): $(srcdir)/bcmp.c
540572 if [ x"$(PICFLAG)" != x ]; then \
541573 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
542574 else true; fi
575+ if [ x"$(NOASANFLAG)" != x ]; then \
576+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcmp.c -o noasan/$@; \
577+ else true; fi
543578 $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
544579
545580 ./bcopy.$(objext): $(srcdir)/bcopy.c
546581 if [ x"$(PICFLAG)" != x ]; then \
547582 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
548583 else true; fi
584+ if [ x"$(NOASANFLAG)" != x ]; then \
585+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcopy.c -o noasan/$@; \
586+ else true; fi
549587 $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
550588
551589 ./bsearch.$(objext): $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
552590 if [ x"$(PICFLAG)" != x ]; then \
553591 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
554592 else true; fi
593+ if [ x"$(NOASANFLAG)" != x ]; then \
594+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch.c -o noasan/$@; \
595+ else true; fi
555596 $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
556597
557598 ./bzero.$(objext): $(srcdir)/bzero.c
558599 if [ x"$(PICFLAG)" != x ]; then \
559600 $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
560601 else true; fi
602+ if [ x"$(NOASANFLAG)" != x ]; then \
603+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bzero.c -o noasan/$@; \
604+ else true; fi
561605 $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
562606
563607 ./calloc.$(objext): $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
564608 if [ x"$(PICFLAG)" != x ]; then \
565609 $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
566610 else true; fi
611+ if [ x"$(NOASANFLAG)" != x ]; then \
612+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/calloc.c -o noasan/$@; \
613+ else true; fi
567614 $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
568615
569616 ./choose-temp.$(objext): $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
@@ -571,12 +618,18 @@ $(CONFIGURED_OFILES): stamp-picdir
571618 if [ x"$(PICFLAG)" != x ]; then \
572619 $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
573620 else true; fi
621+ if [ x"$(NOASANFLAG)" != x ]; then \
622+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/choose-temp.c -o noasan/$@; \
623+ else true; fi
574624 $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
575625
576626 ./clock.$(objext): $(srcdir)/clock.c config.h
577627 if [ x"$(PICFLAG)" != x ]; then \
578628 $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
579629 else true; fi
630+ if [ x"$(NOASANFLAG)" != x ]; then \
631+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/clock.c -o noasan/$@; \
632+ else true; fi
580633 $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
581634
582635 ./concat.$(objext): $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
@@ -584,12 +637,18 @@ $(CONFIGURED_OFILES): stamp-picdir
584637 if [ x"$(PICFLAG)" != x ]; then \
585638 $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \
586639 else true; fi
640+ if [ x"$(NOASANFLAG)" != x ]; then \
641+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/concat.c -o noasan/$@; \
642+ else true; fi
587643 $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION)
588644
589645 ./copysign.$(objext): $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
590646 if [ x"$(PICFLAG)" != x ]; then \
591647 $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \
592648 else true; fi
649+ if [ x"$(NOASANFLAG)" != x ]; then \
650+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/copysign.c -o noasan/$@; \
651+ else true; fi
593652 $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION)
594653
595654 ./cp-demangle.$(objext): $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
@@ -598,6 +657,9 @@ $(CONFIGURED_OFILES): stamp-picdir
598657 if [ x"$(PICFLAG)" != x ]; then \
599658 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \
600659 else true; fi
660+ if [ x"$(NOASANFLAG)" != x ]; then \
661+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demangle.c -o noasan/$@; \
662+ else true; fi
601663 $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION)
602664
603665 ./cp-demint.$(objext): $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
@@ -606,6 +668,9 @@ $(CONFIGURED_OFILES): stamp-picdir
606668 if [ x"$(PICFLAG)" != x ]; then \
607669 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \
608670 else true; fi
671+ if [ x"$(NOASANFLAG)" != x ]; then \
672+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demint.c -o noasan/$@; \
673+ else true; fi
609674 $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION)
610675
611676 ./cplus-dem.$(objext): $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
@@ -614,6 +679,9 @@ $(CONFIGURED_OFILES): stamp-picdir
614679 if [ x"$(PICFLAG)" != x ]; then \
615680 $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \
616681 else true; fi
682+ if [ x"$(NOASANFLAG)" != x ]; then \
683+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cplus-dem.c -o noasan/$@; \
684+ else true; fi
617685 $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION)
618686
619687 ./crc32.$(objext): $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h \
@@ -621,6 +689,9 @@ $(CONFIGURED_OFILES): stamp-picdir
621689 if [ x"$(PICFLAG)" != x ]; then \
622690 $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \
623691 else true; fi
692+ if [ x"$(NOASANFLAG)" != x ]; then \
693+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/crc32.c -o noasan/$@; \
694+ else true; fi
624695 $(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION)
625696
626697 ./dwarfnames.$(objext): $(srcdir)/dwarfnames.c $(INCDIR)/dwarf2.def \
@@ -628,6 +699,9 @@ $(CONFIGURED_OFILES): stamp-picdir
628699 if [ x"$(PICFLAG)" != x ]; then \
629700 $(COMPILE.c) $(PICFLAG) $(srcdir)/dwarfnames.c -o pic/$@; \
630701 else true; fi
702+ if [ x"$(NOASANFLAG)" != x ]; then \
703+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dwarfnames.c -o noasan/$@; \
704+ else true; fi
631705 $(COMPILE.c) $(srcdir)/dwarfnames.c $(OUTPUT_OPTION)
632706
633707 ./dyn-string.$(objext): $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
@@ -635,6 +709,9 @@ $(CONFIGURED_OFILES): stamp-picdir
635709 if [ x"$(PICFLAG)" != x ]; then \
636710 $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \
637711 else true; fi
712+ if [ x"$(NOASANFLAG)" != x ]; then \
713+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dyn-string.c -o noasan/$@; \
714+ else true; fi
638715 $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION)
639716
640717 ./fdmatch.$(objext): $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \
@@ -642,12 +719,18 @@ $(CONFIGURED_OFILES): stamp-picdir
642719 if [ x"$(PICFLAG)" != x ]; then \
643720 $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \
644721 else true; fi
722+ if [ x"$(NOASANFLAG)" != x ]; then \
723+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fdmatch.c -o noasan/$@; \
724+ else true; fi
645725 $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION)
646726
647727 ./ffs.$(objext): $(srcdir)/ffs.c
648728 if [ x"$(PICFLAG)" != x ]; then \
649729 $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \
650730 else true; fi
731+ if [ x"$(NOASANFLAG)" != x ]; then \
732+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/ffs.c -o noasan/$@; \
733+ else true; fi
651734 $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION)
652735
653736 ./fibheap.$(objext): $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
@@ -655,6 +738,9 @@ $(CONFIGURED_OFILES): stamp-picdir
655738 if [ x"$(PICFLAG)" != x ]; then \
656739 $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \
657740 else true; fi
741+ if [ x"$(NOASANFLAG)" != x ]; then \
742+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fibheap.c -o noasan/$@; \
743+ else true; fi
658744 $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION)
659745
660746 ./filename_cmp.$(objext): $(srcdir)/filename_cmp.c config.h $(INCDIR)/ansidecl.h \
@@ -663,6 +749,9 @@ $(CONFIGURED_OFILES): stamp-picdir
663749 if [ x"$(PICFLAG)" != x ]; then \
664750 $(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \
665751 else true; fi
752+ if [ x"$(NOASANFLAG)" != x ]; then \
753+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filename_cmp.c -o noasan/$@; \
754+ else true; fi
666755 $(COMPILE.c) $(srcdir)/filename_cmp.c $(OUTPUT_OPTION)
667756
668757 ./floatformat.$(objext): $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
@@ -670,6 +759,9 @@ $(CONFIGURED_OFILES): stamp-picdir
670759 if [ x"$(PICFLAG)" != x ]; then \
671760 $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \
672761 else true; fi
762+ if [ x"$(NOASANFLAG)" != x ]; then \
763+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/floatformat.c -o noasan/$@; \
764+ else true; fi
673765 $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION)
674766
675767 ./fnmatch.$(objext): $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
@@ -677,6 +769,9 @@ $(CONFIGURED_OFILES): stamp-picdir
677769 if [ x"$(PICFLAG)" != x ]; then \
678770 $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \
679771 else true; fi
772+ if [ x"$(NOASANFLAG)" != x ]; then \
773+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fnmatch.c -o noasan/$@; \
774+ else true; fi
680775 $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION)
681776
682777 ./fopen_unlocked.$(objext): $(srcdir)/fopen_unlocked.c config.h \
@@ -684,12 +779,18 @@ $(CONFIGURED_OFILES): stamp-picdir
684779 if [ x"$(PICFLAG)" != x ]; then \
685780 $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \
686781 else true; fi
782+ if [ x"$(NOASANFLAG)" != x ]; then \
783+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fopen_unlocked.c -o noasan/$@; \
784+ else true; fi
687785 $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION)
688786
689787 ./getcwd.$(objext): $(srcdir)/getcwd.c config.h
690788 if [ x"$(PICFLAG)" != x ]; then \
691789 $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \
692790 else true; fi
791+ if [ x"$(NOASANFLAG)" != x ]; then \
792+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getcwd.c -o noasan/$@; \
793+ else true; fi
693794 $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
694795
695796 ./getopt.$(objext): $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h \
@@ -697,18 +798,27 @@ $(CONFIGURED_OFILES): stamp-picdir
697798 if [ x"$(PICFLAG)" != x ]; then \
698799 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
699800 else true; fi
801+ if [ x"$(NOASANFLAG)" != x ]; then \
802+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt.c -o noasan/$@; \
803+ else true; fi
700804 $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION)
701805
702806 ./getopt1.$(objext): $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
703807 if [ x"$(PICFLAG)" != x ]; then \
704808 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \
705809 else true; fi
810+ if [ x"$(NOASANFLAG)" != x ]; then \
811+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt1.c -o noasan/$@; \
812+ else true; fi
706813 $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION)
707814
708815 ./getpagesize.$(objext): $(srcdir)/getpagesize.c config.h
709816 if [ x"$(PICFLAG)" != x ]; then \
710817 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \
711818 else true; fi
819+ if [ x"$(NOASANFLAG)" != x ]; then \
820+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpagesize.c -o noasan/$@; \
821+ else true; fi
712822 $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION)
713823
714824 ./getpwd.$(objext): $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
@@ -716,6 +826,9 @@ $(CONFIGURED_OFILES): stamp-picdir
716826 if [ x"$(PICFLAG)" != x ]; then \
717827 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
718828 else true; fi
829+ if [ x"$(NOASANFLAG)" != x ]; then \
830+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpwd.c -o noasan/$@; \
831+ else true; fi
719832 $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
720833
721834 ./getruntime.$(objext): $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
@@ -723,6 +836,9 @@ $(CONFIGURED_OFILES): stamp-picdir
723836 if [ x"$(PICFLAG)" != x ]; then \
724837 $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
725838 else true; fi
839+ if [ x"$(NOASANFLAG)" != x ]; then \
840+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getruntime.c -o noasan/$@; \
841+ else true; fi
726842 $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
727843
728844 ./gettimeofday.$(objext): $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \
@@ -730,6 +846,9 @@ $(CONFIGURED_OFILES): stamp-picdir
730846 if [ x"$(PICFLAG)" != x ]; then \
731847 $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \
732848 else true; fi
849+ if [ x"$(NOASANFLAG)" != x ]; then \
850+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/gettimeofday.c -o noasan/$@; \
851+ else true; fi
733852 $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION)
734853
735854 ./hashtab.$(objext): $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
@@ -737,6 +856,9 @@ $(CONFIGURED_OFILES): stamp-picdir
737856 if [ x"$(PICFLAG)" != x ]; then \
738857 $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
739858 else true; fi
859+ if [ x"$(NOASANFLAG)" != x ]; then \
860+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hashtab.c -o noasan/$@; \
861+ else true; fi
740862 $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
741863
742864 ./hex.$(objext): $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h \
@@ -744,18 +866,27 @@ $(CONFIGURED_OFILES): stamp-picdir
744866 if [ x"$(PICFLAG)" != x ]; then \
745867 $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \
746868 else true; fi
869+ if [ x"$(NOASANFLAG)" != x ]; then \
870+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hex.c -o noasan/$@; \
871+ else true; fi
747872 $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION)
748873
749874 ./index.$(objext): $(srcdir)/index.c
750875 if [ x"$(PICFLAG)" != x ]; then \
751876 $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \
752877 else true; fi
878+ if [ x"$(NOASANFLAG)" != x ]; then \
879+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/index.c -o noasan/$@; \
880+ else true; fi
753881 $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION)
754882
755883 ./insque.$(objext): $(srcdir)/insque.c
756884 if [ x"$(PICFLAG)" != x ]; then \
757885 $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \
758886 else true; fi
887+ if [ x"$(NOASANFLAG)" != x ]; then \
888+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/insque.c -o noasan/$@; \
889+ else true; fi
759890 $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION)
760891
761892 ./lbasename.$(objext): $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \
@@ -764,6 +895,9 @@ $(CONFIGURED_OFILES): stamp-picdir
764895 if [ x"$(PICFLAG)" != x ]; then \
765896 $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \
766897 else true; fi
898+ if [ x"$(NOASANFLAG)" != x ]; then \
899+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lbasename.c -o noasan/$@; \
900+ else true; fi
767901 $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION)
768902
769903 ./lrealpath.$(objext): $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
@@ -771,6 +905,9 @@ $(CONFIGURED_OFILES): stamp-picdir
771905 if [ x"$(PICFLAG)" != x ]; then \
772906 $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \
773907 else true; fi
908+ if [ x"$(NOASANFLAG)" != x ]; then \
909+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lrealpath.c -o noasan/$@; \
910+ else true; fi
774911 $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION)
775912
776913 ./make-relative-prefix.$(objext): $(srcdir)/make-relative-prefix.c config.h \
@@ -778,6 +915,9 @@ $(CONFIGURED_OFILES): stamp-picdir
778915 if [ x"$(PICFLAG)" != x ]; then \
779916 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \
780917 else true; fi
918+ if [ x"$(NOASANFLAG)" != x ]; then \
919+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-relative-prefix.c -o noasan/$@; \
920+ else true; fi
781921 $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION)
782922
783923 ./make-temp-file.$(objext): $(srcdir)/make-temp-file.c config.h \
@@ -785,66 +925,99 @@ $(CONFIGURED_OFILES): stamp-picdir
785925 if [ x"$(PICFLAG)" != x ]; then \
786926 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \
787927 else true; fi
928+ if [ x"$(NOASANFLAG)" != x ]; then \
929+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-temp-file.c -o noasan/$@; \
930+ else true; fi
788931 $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION)
789932
790933 ./md5.$(objext): $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
791934 if [ x"$(PICFLAG)" != x ]; then \
792935 $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \
793936 else true; fi
937+ if [ x"$(NOASANFLAG)" != x ]; then \
938+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/md5.c -o noasan/$@; \
939+ else true; fi
794940 $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION)
795941
796942 ./memchr.$(objext): $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
797943 if [ x"$(PICFLAG)" != x ]; then \
798944 $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \
799945 else true; fi
946+ if [ x"$(NOASANFLAG)" != x ]; then \
947+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memchr.c -o noasan/$@; \
948+ else true; fi
800949 $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION)
801950
802951 ./memcmp.$(objext): $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
803952 if [ x"$(PICFLAG)" != x ]; then \
804953 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \
805954 else true; fi
955+ if [ x"$(NOASANFLAG)" != x ]; then \
956+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcmp.c -o noasan/$@; \
957+ else true; fi
806958 $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION)
807959
808960 ./memcpy.$(objext): $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
809961 if [ x"$(PICFLAG)" != x ]; then \
810962 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \
811963 else true; fi
964+ if [ x"$(NOASANFLAG)" != x ]; then \
965+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcpy.c -o noasan/$@; \
966+ else true; fi
812967 $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
813968
814969 ./memmem.$(objext): $(srcdir)/memmem.c config.h
815970 if [ x"$(PICFLAG)" != x ]; then \
816971 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmem.c -o pic/$@; \
817972 else true; fi
973+ if [ x"$(NOASANFLAG)" != x ]; then \
974+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmem.c -o noasan/$@; \
975+ else true; fi
818976 $(COMPILE.c) $(srcdir)/memmem.c $(OUTPUT_OPTION)
819977
820978 ./memmove.$(objext): $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
821979 if [ x"$(PICFLAG)" != x ]; then \
822980 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \
823981 else true; fi
982+ if [ x"$(NOASANFLAG)" != x ]; then \
983+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmove.c -o noasan/$@; \
984+ else true; fi
824985 $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION)
825986
826987 ./mempcpy.$(objext): $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
827988 if [ x"$(PICFLAG)" != x ]; then \
828989 $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \
829990 else true; fi
991+ if [ x"$(NOASANFLAG)" != x ]; then \
992+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mempcpy.c -o noasan/$@; \
993+ else true; fi
830994 $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION)
831995
832996 ./memset.$(objext): $(srcdir)/memset.c $(INCDIR)/ansidecl.h
833997 if [ x"$(PICFLAG)" != x ]; then \
834998 $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \
835999 else true; fi
1000+ if [ x"$(NOASANFLAG)" != x ]; then \
1001+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memset.c -o noasan/$@; \
1002+ else true; fi
8361003 $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION)
8371004
8381005 ./mkstemps.$(objext): $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h
8391006 if [ x"$(PICFLAG)" != x ]; then \
8401007 $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \
8411008 else true; fi
1009+ if [ x"$(NOASANFLAG)" != x ]; then \
1010+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mkstemps.c -o noasan/$@; \
1011+ else true; fi
8421012 $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION)
8431013
8441014 ./msdos.$(objext): $(srcdir)/msdos.c
8451015 if [ x"$(PICFLAG)" != x ]; then \
8461016 $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \
8471017 else true; fi
1018+ if [ x"$(NOASANFLAG)" != x ]; then \
1019+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/msdos.c -o noasan/$@; \
1020+ else true; fi
8481021 $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION)
8491022
8501023 ./objalloc.$(objext): $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
@@ -852,12 +1025,18 @@ $(CONFIGURED_OFILES): stamp-picdir
8521025 if [ x"$(PICFLAG)" != x ]; then \
8531026 $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \
8541027 else true; fi
1028+ if [ x"$(NOASANFLAG)" != x ]; then \
1029+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/objalloc.c -o noasan/$@; \
1030+ else true; fi
8551031 $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION)
8561032
8571033 ./obstack.$(objext): $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
8581034 if [ x"$(PICFLAG)" != x ]; then \
8591035 $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \
8601036 else true; fi
1037+ if [ x"$(NOASANFLAG)" != x ]; then \
1038+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/obstack.c -o noasan/$@; \
1039+ else true; fi
8611040 $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION)
8621041
8631042 ./partition.$(objext): $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
@@ -865,6 +1044,9 @@ $(CONFIGURED_OFILES): stamp-picdir
8651044 if [ x"$(PICFLAG)" != x ]; then \
8661045 $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \
8671046 else true; fi
1047+ if [ x"$(NOASANFLAG)" != x ]; then \
1048+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/partition.c -o noasan/$@; \
1049+ else true; fi
8681050 $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION)
8691051
8701052 ./pex-common.$(objext): $(srcdir)/pex-common.c config.h $(INCDIR)/ansidecl.h \
@@ -872,6 +1054,9 @@ $(CONFIGURED_OFILES): stamp-picdir
8721054 if [ x"$(PICFLAG)" != x ]; then \
8731055 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-common.c -o pic/$@; \
8741056 else true; fi
1057+ if [ x"$(NOASANFLAG)" != x ]; then \
1058+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-common.c -o noasan/$@; \
1059+ else true; fi
8751060 $(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION)
8761061
8771062 ./pex-djgpp.$(objext): $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
@@ -879,6 +1064,9 @@ $(CONFIGURED_OFILES): stamp-picdir
8791064 if [ x"$(PICFLAG)" != x ]; then \
8801065 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \
8811066 else true; fi
1067+ if [ x"$(NOASANFLAG)" != x ]; then \
1068+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-djgpp.c -o noasan/$@; \
1069+ else true; fi
8821070 $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION)
8831071
8841072 ./pex-msdos.$(objext): $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
@@ -887,6 +1075,9 @@ $(CONFIGURED_OFILES): stamp-picdir
8871075 if [ x"$(PICFLAG)" != x ]; then \
8881076 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \
8891077 else true; fi
1078+ if [ x"$(NOASANFLAG)" != x ]; then \
1079+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-msdos.c -o noasan/$@; \
1080+ else true; fi
8901081 $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION)
8911082
8921083 ./pex-one.$(objext): $(srcdir)/pex-one.c config.h $(INCDIR)/ansidecl.h \
@@ -894,6 +1085,9 @@ $(CONFIGURED_OFILES): stamp-picdir
8941085 if [ x"$(PICFLAG)" != x ]; then \
8951086 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \
8961087 else true; fi
1088+ if [ x"$(NOASANFLAG)" != x ]; then \
1089+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-one.c -o noasan/$@; \
1090+ else true; fi
8971091 $(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION)
8981092
8991093 ./pex-unix.$(objext): $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
@@ -901,6 +1095,9 @@ $(CONFIGURED_OFILES): stamp-picdir
9011095 if [ x"$(PICFLAG)" != x ]; then \
9021096 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \
9031097 else true; fi
1098+ if [ x"$(NOASANFLAG)" != x ]; then \
1099+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-unix.c -o noasan/$@; \
1100+ else true; fi
9041101 $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION)
9051102
9061103 ./pex-win32.$(objext): $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
@@ -908,6 +1105,9 @@ $(CONFIGURED_OFILES): stamp-picdir
9081105 if [ x"$(PICFLAG)" != x ]; then \
9091106 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \
9101107 else true; fi
1108+ if [ x"$(NOASANFLAG)" != x ]; then \
1109+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-win32.c -o noasan/$@; \
1110+ else true; fi
9111111 $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION)
9121112
9131113 ./pexecute.$(objext): $(srcdir)/pexecute.c config.h $(INCDIR)/ansidecl.h \
@@ -915,6 +1115,9 @@ $(CONFIGURED_OFILES): stamp-picdir
9151115 if [ x"$(PICFLAG)" != x ]; then \
9161116 $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \
9171117 else true; fi
1118+ if [ x"$(NOASANFLAG)" != x ]; then \
1119+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pexecute.c -o noasan/$@; \
1120+ else true; fi
9181121 $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION)
9191122
9201123 ./physmem.$(objext): $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
@@ -922,18 +1125,27 @@ $(CONFIGURED_OFILES): stamp-picdir
9221125 if [ x"$(PICFLAG)" != x ]; then \
9231126 $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \
9241127 else true; fi
1128+ if [ x"$(NOASANFLAG)" != x ]; then \
1129+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/physmem.c -o noasan/$@; \
1130+ else true; fi
9251131 $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION)
9261132
9271133 ./putenv.$(objext): $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
9281134 if [ x"$(PICFLAG)" != x ]; then \
9291135 $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \
9301136 else true; fi
1137+ if [ x"$(NOASANFLAG)" != x ]; then \
1138+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/putenv.c -o noasan/$@; \
1139+ else true; fi
9311140 $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION)
9321141
9331142 ./random.$(objext): $(srcdir)/random.c $(INCDIR)/ansidecl.h
9341143 if [ x"$(PICFLAG)" != x ]; then \
9351144 $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \
9361145 else true; fi
1146+ if [ x"$(NOASANFLAG)" != x ]; then \
1147+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/random.c -o noasan/$@; \
1148+ else true; fi
9371149 $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION)
9381150
9391151 ./regex.$(objext): $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h \
@@ -941,18 +1153,27 @@ $(CONFIGURED_OFILES): stamp-picdir
9411153 if [ x"$(PICFLAG)" != x ]; then \
9421154 $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \
9431155 else true; fi
1156+ if [ x"$(NOASANFLAG)" != x ]; then \
1157+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/regex.c -o noasan/$@; \
1158+ else true; fi
9441159 $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION)
9451160
9461161 ./rename.$(objext): $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
9471162 if [ x"$(PICFLAG)" != x ]; then \
9481163 $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \
9491164 else true; fi
1165+ if [ x"$(NOASANFLAG)" != x ]; then \
1166+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rename.c -o noasan/$@; \
1167+ else true; fi
9501168 $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION)
9511169
9521170 ./rindex.$(objext): $(srcdir)/rindex.c
9531171 if [ x"$(PICFLAG)" != x ]; then \
9541172 $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \
9551173 else true; fi
1174+ if [ x"$(NOASANFLAG)" != x ]; then \
1175+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rindex.c -o noasan/$@; \
1176+ else true; fi
9561177 $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION)
9571178
9581179 ./safe-ctype.$(objext): $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
@@ -960,30 +1181,45 @@ $(CONFIGURED_OFILES): stamp-picdir
9601181 if [ x"$(PICFLAG)" != x ]; then \
9611182 $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
9621183 else true; fi
1184+ if [ x"$(NOASANFLAG)" != x ]; then \
1185+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/safe-ctype.c -o noasan/$@; \
1186+ else true; fi
9631187 $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
9641188
9651189 ./setenv.$(objext): $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
9661190 if [ x"$(PICFLAG)" != x ]; then \
9671191 $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
9681192 else true; fi
1193+ if [ x"$(NOASANFLAG)" != x ]; then \
1194+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setenv.c -o noasan/$@; \
1195+ else true; fi
9691196 $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
9701197
9711198 ./setproctitle.$(objext): $(srcdir)/setproctitle.c config.h $(INCDIR)/ansidecl.h
9721199 if [ x"$(PICFLAG)" != x ]; then \
9731200 $(COMPILE.c) $(PICFLAG) $(srcdir)/setproctitle.c -o pic/$@; \
9741201 else true; fi
1202+ if [ x"$(NOASANFLAG)" != x ]; then \
1203+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setproctitle.c -o noasan/$@; \
1204+ else true; fi
9751205 $(COMPILE.c) $(srcdir)/setproctitle.c $(OUTPUT_OPTION)
9761206
9771207 ./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h
9781208 if [ x"$(PICFLAG)" != x ]; then \
9791209 $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \
9801210 else true; fi
1211+ if [ x"$(NOASANFLAG)" != x ]; then \
1212+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sha1.c -o noasan/$@; \
1213+ else true; fi
9811214 $(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION)
9821215
9831216 ./sigsetmask.$(objext): $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
9841217 if [ x"$(PICFLAG)" != x ]; then \
9851218 $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
9861219 else true; fi
1220+ if [ x"$(NOASANFLAG)" != x ]; then \
1221+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sigsetmask.c -o noasan/$@; \
1222+ else true; fi
9871223 $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
9881224
9891225 ./simple-object-coff.$(objext): $(srcdir)/simple-object-coff.c config.h \
@@ -992,6 +1228,9 @@ $(CONFIGURED_OFILES): stamp-picdir
9921228 if [ x"$(PICFLAG)" != x ]; then \
9931229 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-coff.c -o pic/$@; \
9941230 else true; fi
1231+ if [ x"$(NOASANFLAG)" != x ]; then \
1232+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-coff.c -o noasan/$@; \
1233+ else true; fi
9951234 $(COMPILE.c) $(srcdir)/simple-object-coff.c $(OUTPUT_OPTION)
9961235
9971236 ./simple-object-elf.$(objext): $(srcdir)/simple-object-elf.c config.h \
@@ -1000,6 +1239,9 @@ $(CONFIGURED_OFILES): stamp-picdir
10001239 if [ x"$(PICFLAG)" != x ]; then \
10011240 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-elf.c -o pic/$@; \
10021241 else true; fi
1242+ if [ x"$(NOASANFLAG)" != x ]; then \
1243+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-elf.c -o noasan/$@; \
1244+ else true; fi
10031245 $(COMPILE.c) $(srcdir)/simple-object-elf.c $(OUTPUT_OPTION)
10041246
10051247 ./simple-object-mach-o.$(objext): $(srcdir)/simple-object-mach-o.c config.h \
@@ -1008,6 +1250,9 @@ $(CONFIGURED_OFILES): stamp-picdir
10081250 if [ x"$(PICFLAG)" != x ]; then \
10091251 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-mach-o.c -o pic/$@; \
10101252 else true; fi
1253+ if [ x"$(NOASANFLAG)" != x ]; then \
1254+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-mach-o.c -o noasan/$@; \
1255+ else true; fi
10111256 $(COMPILE.c) $(srcdir)/simple-object-mach-o.c $(OUTPUT_OPTION)
10121257
10131258 ./simple-object-xcoff.$(objext): $(srcdir)/simple-object-xcoff.c config.h \
@@ -1016,6 +1261,9 @@ $(CONFIGURED_OFILES): stamp-picdir
10161261 if [ x"$(PICFLAG)" != x ]; then \
10171262 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-xcoff.c -o pic/$@; \
10181263 else true; fi
1264+ if [ x"$(NOASANFLAG)" != x ]; then \
1265+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-xcoff.c -o noasan/$@; \
1266+ else true; fi
10191267 $(COMPILE.c) $(srcdir)/simple-object-xcoff.c $(OUTPUT_OPTION)
10201268
10211269 ./simple-object.$(objext): $(srcdir)/simple-object.c config.h \
@@ -1024,12 +1272,18 @@ $(CONFIGURED_OFILES): stamp-picdir
10241272 if [ x"$(PICFLAG)" != x ]; then \
10251273 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object.c -o pic/$@; \
10261274 else true; fi
1275+ if [ x"$(NOASANFLAG)" != x ]; then \
1276+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object.c -o noasan/$@; \
1277+ else true; fi
10271278 $(COMPILE.c) $(srcdir)/simple-object.c $(OUTPUT_OPTION)
10281279
10291280 ./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
10301281 if [ x"$(PICFLAG)" != x ]; then \
10311282 $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
10321283 else true; fi
1284+ if [ x"$(NOASANFLAG)" != x ]; then \
1285+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/snprintf.c -o noasan/$@; \
1286+ else true; fi
10331287 $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
10341288
10351289 ./sort.$(objext): $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h \
@@ -1037,6 +1291,9 @@ $(CONFIGURED_OFILES): stamp-picdir
10371291 if [ x"$(PICFLAG)" != x ]; then \
10381292 $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
10391293 else true; fi
1294+ if [ x"$(NOASANFLAG)" != x ]; then \
1295+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sort.c -o noasan/$@; \
1296+ else true; fi
10401297 $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
10411298
10421299 ./spaces.$(objext): $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \
@@ -1044,6 +1301,9 @@ $(CONFIGURED_OFILES): stamp-picdir
10441301 if [ x"$(PICFLAG)" != x ]; then \
10451302 $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
10461303 else true; fi
1304+ if [ x"$(NOASANFLAG)" != x ]; then \
1305+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/spaces.c -o noasan/$@; \
1306+ else true; fi
10471307 $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
10481308
10491309 ./splay-tree.$(objext): $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
@@ -1051,42 +1311,63 @@ $(CONFIGURED_OFILES): stamp-picdir
10511311 if [ x"$(PICFLAG)" != x ]; then \
10521312 $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
10531313 else true; fi
1314+ if [ x"$(NOASANFLAG)" != x ]; then \
1315+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/splay-tree.c -o noasan/$@; \
1316+ else true; fi
10541317 $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
10551318
10561319 ./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h $(INCDIR)/ansidecl.h
10571320 if [ x"$(PICFLAG)" != x ]; then \
10581321 $(COMPILE.c) $(PICFLAG) $(srcdir)/stack-limit.c -o pic/$@; \
10591322 else true; fi
1323+ if [ x"$(NOASANFLAG)" != x ]; then \
1324+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stack-limit.c -o noasan/$@; \
1325+ else true; fi
10601326 $(COMPILE.c) $(srcdir)/stack-limit.c $(OUTPUT_OPTION)
10611327
10621328 ./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
10631329 if [ x"$(PICFLAG)" != x ]; then \
10641330 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
10651331 else true; fi
1332+ if [ x"$(NOASANFLAG)" != x ]; then \
1333+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpcpy.c -o noasan/$@; \
1334+ else true; fi
10661335 $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
10671336
10681337 ./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
10691338 if [ x"$(PICFLAG)" != x ]; then \
10701339 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
10711340 else true; fi
1341+ if [ x"$(NOASANFLAG)" != x ]; then \
1342+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpncpy.c -o noasan/$@; \
1343+ else true; fi
10721344 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
10731345
10741346 ./strcasecmp.$(objext): $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
10751347 if [ x"$(PICFLAG)" != x ]; then \
10761348 $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
10771349 else true; fi
1350+ if [ x"$(NOASANFLAG)" != x ]; then \
1351+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strcasecmp.c -o noasan/$@; \
1352+ else true; fi
10781353 $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
10791354
10801355 ./strchr.$(objext): $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
10811356 if [ x"$(PICFLAG)" != x ]; then \
10821357 $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
10831358 else true; fi
1359+ if [ x"$(NOASANFLAG)" != x ]; then \
1360+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strchr.c -o noasan/$@; \
1361+ else true; fi
10841362 $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
10851363
10861364 ./strdup.$(objext): $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
10871365 if [ x"$(PICFLAG)" != x ]; then \
10881366 $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
10891367 else true; fi
1368+ if [ x"$(NOASANFLAG)" != x ]; then \
1369+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strdup.c -o noasan/$@; \
1370+ else true; fi
10901371 $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
10911372
10921373 ./strerror.$(objext): $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
@@ -1094,36 +1375,54 @@ $(CONFIGURED_OFILES): stamp-picdir
10941375 if [ x"$(PICFLAG)" != x ]; then \
10951376 $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
10961377 else true; fi
1378+ if [ x"$(NOASANFLAG)" != x ]; then \
1379+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strerror.c -o noasan/$@; \
1380+ else true; fi
10971381 $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
10981382
10991383 ./strncasecmp.$(objext): $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
11001384 if [ x"$(PICFLAG)" != x ]; then \
11011385 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
11021386 else true; fi
1387+ if [ x"$(NOASANFLAG)" != x ]; then \
1388+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncasecmp.c -o noasan/$@; \
1389+ else true; fi
11031390 $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
11041391
11051392 ./strncmp.$(objext): $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
11061393 if [ x"$(PICFLAG)" != x ]; then \
11071394 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
11081395 else true; fi
1396+ if [ x"$(NOASANFLAG)" != x ]; then \
1397+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncmp.c -o noasan/$@; \
1398+ else true; fi
11091399 $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
11101400
11111401 ./strndup.$(objext): $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
11121402 if [ x"$(PICFLAG)" != x ]; then \
11131403 $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
11141404 else true; fi
1405+ if [ x"$(NOASANFLAG)" != x ]; then \
1406+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strndup.c -o noasan/$@; \
1407+ else true; fi
11151408 $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
11161409
11171410 ./strnlen.$(objext): $(srcdir)/strnlen.c config.h
11181411 if [ x"$(PICFLAG)" != x ]; then \
11191412 $(COMPILE.c) $(PICFLAG) $(srcdir)/strnlen.c -o pic/$@; \
11201413 else true; fi
1414+ if [ x"$(NOASANFLAG)" != x ]; then \
1415+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strnlen.c -o noasan/$@; \
1416+ else true; fi
11211417 $(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION)
11221418
11231419 ./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
11241420 if [ x"$(PICFLAG)" != x ]; then \
11251421 $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
11261422 else true; fi
1423+ if [ x"$(NOASANFLAG)" != x ]; then \
1424+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strrchr.c -o noasan/$@; \
1425+ else true; fi
11271426 $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
11281427
11291428 ./strsignal.$(objext): $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
@@ -1131,12 +1430,18 @@ $(CONFIGURED_OFILES): stamp-picdir
11311430 if [ x"$(PICFLAG)" != x ]; then \
11321431 $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
11331432 else true; fi
1433+ if [ x"$(NOASANFLAG)" != x ]; then \
1434+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strsignal.c -o noasan/$@; \
1435+ else true; fi
11341436 $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
11351437
11361438 ./strstr.$(objext): $(srcdir)/strstr.c
11371439 if [ x"$(PICFLAG)" != x ]; then \
11381440 $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
11391441 else true; fi
1442+ if [ x"$(NOASANFLAG)" != x ]; then \
1443+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strstr.c -o noasan/$@; \
1444+ else true; fi
11401445 $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
11411446
11421447 ./strtod.$(objext): $(srcdir)/strtod.c $(INCDIR)/ansidecl.h \
@@ -1144,12 +1449,18 @@ $(CONFIGURED_OFILES): stamp-picdir
11441449 if [ x"$(PICFLAG)" != x ]; then \
11451450 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
11461451 else true; fi
1452+ if [ x"$(NOASANFLAG)" != x ]; then \
1453+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtod.c -o noasan/$@; \
1454+ else true; fi
11471455 $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
11481456
11491457 ./strtol.$(objext): $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
11501458 if [ x"$(PICFLAG)" != x ]; then \
11511459 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
11521460 else true; fi
1461+ if [ x"$(NOASANFLAG)" != x ]; then \
1462+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtol.c -o noasan/$@; \
1463+ else true; fi
11531464 $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
11541465
11551466 ./strtoul.$(objext): $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
@@ -1157,6 +1468,9 @@ $(CONFIGURED_OFILES): stamp-picdir
11571468 if [ x"$(PICFLAG)" != x ]; then \
11581469 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
11591470 else true; fi
1471+ if [ x"$(NOASANFLAG)" != x ]; then \
1472+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoul.c -o noasan/$@; \
1473+ else true; fi
11601474 $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
11611475
11621476 ./strverscmp.$(objext): $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h \
@@ -1164,6 +1478,9 @@ $(CONFIGURED_OFILES): stamp-picdir
11641478 if [ x"$(PICFLAG)" != x ]; then \
11651479 $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \
11661480 else true; fi
1481+ if [ x"$(NOASANFLAG)" != x ]; then \
1482+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strverscmp.c -o noasan/$@; \
1483+ else true; fi
11671484 $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION)
11681485
11691486 ./timeval-utils.$(objext): $(srcdir)/timeval-utils.c config.h \
@@ -1171,12 +1488,18 @@ $(CONFIGURED_OFILES): stamp-picdir
11711488 if [ x"$(PICFLAG)" != x ]; then \
11721489 $(COMPILE.c) $(PICFLAG) $(srcdir)/timeval-utils.c -o pic/$@; \
11731490 else true; fi
1491+ if [ x"$(NOASANFLAG)" != x ]; then \
1492+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/timeval-utils.c -o noasan/$@; \
1493+ else true; fi
11741494 $(COMPILE.c) $(srcdir)/timeval-utils.c $(OUTPUT_OPTION)
11751495
11761496 ./tmpnam.$(objext): $(srcdir)/tmpnam.c
11771497 if [ x"$(PICFLAG)" != x ]; then \
11781498 $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
11791499 else true; fi
1500+ if [ x"$(NOASANFLAG)" != x ]; then \
1501+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/tmpnam.c -o noasan/$@; \
1502+ else true; fi
11801503 $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
11811504
11821505 ./unlink-if-ordinary.$(objext): $(srcdir)/unlink-if-ordinary.c config.h \
@@ -1184,6 +1507,9 @@ $(CONFIGURED_OFILES): stamp-picdir
11841507 if [ x"$(PICFLAG)" != x ]; then \
11851508 $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
11861509 else true; fi
1510+ if [ x"$(NOASANFLAG)" != x ]; then \
1511+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/unlink-if-ordinary.c -o noasan/$@; \
1512+ else true; fi
11871513 $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
11881514
11891515 ./vasprintf.$(objext): $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
@@ -1191,24 +1517,36 @@ $(CONFIGURED_OFILES): stamp-picdir
11911517 if [ x"$(PICFLAG)" != x ]; then \
11921518 $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
11931519 else true; fi
1520+ if [ x"$(NOASANFLAG)" != x ]; then \
1521+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vasprintf.c -o noasan/$@; \
1522+ else true; fi
11941523 $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
11951524
11961525 ./vfork.$(objext): $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
11971526 if [ x"$(PICFLAG)" != x ]; then \
11981527 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
11991528 else true; fi
1529+ if [ x"$(NOASANFLAG)" != x ]; then \
1530+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfork.c -o noasan/$@; \
1531+ else true; fi
12001532 $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
12011533
12021534 ./vfprintf.$(objext): $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
12031535 if [ x"$(PICFLAG)" != x ]; then \
12041536 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
12051537 else true; fi
1538+ if [ x"$(NOASANFLAG)" != x ]; then \
1539+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfprintf.c -o noasan/$@; \
1540+ else true; fi
12061541 $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
12071542
12081543 ./vprintf.$(objext): $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
12091544 if [ x"$(PICFLAG)" != x ]; then \
12101545 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
12111546 else true; fi
1547+ if [ x"$(NOASANFLAG)" != x ]; then \
1548+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf.c -o noasan/$@; \
1549+ else true; fi
12121550 $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
12131551
12141552 ./vsnprintf.$(objext): $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
@@ -1216,18 +1554,27 @@ $(CONFIGURED_OFILES): stamp-picdir
12161554 if [ x"$(PICFLAG)" != x ]; then \
12171555 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
12181556 else true; fi
1557+ if [ x"$(NOASANFLAG)" != x ]; then \
1558+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsnprintf.c -o noasan/$@; \
1559+ else true; fi
12191560 $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
12201561
12211562 ./vsprintf.$(objext): $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
12221563 if [ x"$(PICFLAG)" != x ]; then \
12231564 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
12241565 else true; fi
1566+ if [ x"$(NOASANFLAG)" != x ]; then \
1567+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsprintf.c -o noasan/$@; \
1568+ else true; fi
12251569 $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
12261570
12271571 ./waitpid.$(objext): $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h
12281572 if [ x"$(PICFLAG)" != x ]; then \
12291573 $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
12301574 else true; fi
1575+ if [ x"$(NOASANFLAG)" != x ]; then \
1576+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/waitpid.c -o noasan/$@; \
1577+ else true; fi
12311578 $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
12321579
12331580 ./xatexit.$(objext): $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \
@@ -1235,6 +1582,9 @@ $(CONFIGURED_OFILES): stamp-picdir
12351582 if [ x"$(PICFLAG)" != x ]; then \
12361583 $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
12371584 else true; fi
1585+ if [ x"$(NOASANFLAG)" != x ]; then \
1586+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xatexit.c -o noasan/$@; \
1587+ else true; fi
12381588 $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
12391589
12401590 ./xexit.$(objext): $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h \
@@ -1242,6 +1592,9 @@ $(CONFIGURED_OFILES): stamp-picdir
12421592 if [ x"$(PICFLAG)" != x ]; then \
12431593 $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
12441594 else true; fi
1595+ if [ x"$(NOASANFLAG)" != x ]; then \
1596+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xexit.c -o noasan/$@; \
1597+ else true; fi
12451598 $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
12461599
12471600 ./xmalloc.$(objext): $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
@@ -1249,6 +1602,9 @@ $(CONFIGURED_OFILES): stamp-picdir
12491602 if [ x"$(PICFLAG)" != x ]; then \
12501603 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
12511604 else true; fi
1605+ if [ x"$(NOASANFLAG)" != x ]; then \
1606+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmalloc.c -o noasan/$@; \
1607+ else true; fi
12521608 $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
12531609
12541610 ./xmemdup.$(objext): $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
@@ -1256,6 +1612,9 @@ $(CONFIGURED_OFILES): stamp-picdir
12561612 if [ x"$(PICFLAG)" != x ]; then \
12571613 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
12581614 else true; fi
1615+ if [ x"$(NOASANFLAG)" != x ]; then \
1616+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmemdup.c -o noasan/$@; \
1617+ else true; fi
12591618 $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
12601619
12611620 ./xstrdup.$(objext): $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
@@ -1263,6 +1622,9 @@ $(CONFIGURED_OFILES): stamp-picdir
12631622 if [ x"$(PICFLAG)" != x ]; then \
12641623 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
12651624 else true; fi
1625+ if [ x"$(NOASANFLAG)" != x ]; then \
1626+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrdup.c -o noasan/$@; \
1627+ else true; fi
12661628 $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
12671629
12681630 ./xstrerror.$(objext): $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
@@ -1270,6 +1632,9 @@ $(CONFIGURED_OFILES): stamp-picdir
12701632 if [ x"$(PICFLAG)" != x ]; then \
12711633 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
12721634 else true; fi
1635+ if [ x"$(NOASANFLAG)" != x ]; then \
1636+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrerror.c -o noasan/$@; \
1637+ else true; fi
12731638 $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
12741639
12751640 ./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \
@@ -1277,5 +1642,8 @@ $(CONFIGURED_OFILES): stamp-picdir
12771642 if [ x"$(PICFLAG)" != x ]; then \
12781643 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \
12791644 else true; fi
1645+ if [ x"$(NOASANFLAG)" != x ]; then \
1646+ $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrndup.c -o noasan/$@; \
1647+ else true; fi
12801648 $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION)
12811649
--- a/libiberty/configure
+++ b/libiberty/configure
@@ -594,6 +594,7 @@ pexecute
594594 target_header_dir
595595 CHECK
596596 LIBOBJS
597+NOASANFLAG
597598 PICFLAG
598599 INSTALL_DATA
599600 INSTALL_SCRIPT
@@ -4971,6 +4972,12 @@ if [ "${shared}" != "yes" ]; then
49714972 fi
49724973
49734974
4975+NOASANFLAG=
4976+case " ${CFLAGS} " in
4977+ *\ -fsanitize=address\ *) NOASANFLAG=-fno-sanitize=address ;;
4978+esac
4979+
4980+
49744981 echo "# Warning: this fragment is automatically generated" > temp-frag
49754982
49764983 if [ -n "${frag}" ] && [ -f "${frag}" ]; then
--- a/libiberty/configure.ac
+++ b/libiberty/configure.ac
@@ -236,6 +236,12 @@ if [[ "${shared}" != "yes" ]]; then
236236 fi
237237 AC_SUBST(PICFLAG)
238238
239+NOASANFLAG=
240+case " ${CFLAGS} " in
241+ *\ -fsanitize=address\ *) NOASANFLAG=-fno-sanitize=address ;;
242+esac
243+AC_SUBST(NOASANFLAG)
244+
239245 echo "# Warning: this fragment is automatically generated" > temp-frag
240246
241247 if [[ -n "${frag}" ]] && [[ -f "${frag}" ]]; then
--- a/libiberty/maint-tool
+++ b/libiberty/maint-tool
@@ -1,7 +1,7 @@
11 #!/usr/bin/perl
22 # -*- perl -*-
33
4-# Copyright (C) 2001, 2007, 2010
4+# Copyright (C) 2001, 2007, 2010, 2014
55 # Free Software Foundation
66 #
77 # This file is part of the libiberty library.
@@ -215,6 +215,9 @@ sub deps {
215215 $crule = "\tif [ x\"\$(PICFLAG)\" != x ]; then \\\n";
216216 $crule .= "\t \$(COMPILE.c) \$(PICFLAG) \$< -o pic/\$@; \\\n";
217217 $crule .= "\telse true; fi\n";
218+ $crule .= "\tif [ x\"\$(NOASANFLAG)\" != x ]; then \\\n";
219+ $crule .= "\t \$(COMPILE.c) \$(PICFLAG) \$(NOASANFLAG) \$< -o noasan/\$@; \\\n";
220+ $crule .= "\telse true; fi\n";
218221 $crule .= "\t\$(COMPILE.c) \$< \$(OUTPUT_OPTION)\n";
219222 $crule .= "\n";
220223