old-cross-binutils/config
Maxim Ostapenko 3b16c5514a libsanitizer merge from upstream r250806, compiler part.
gcc/

	* asan.c (asan_emit_stack_protection): Don't pass local stack to
	asan_stack_malloc_[n] anymore. Check if asan_stack_malloc_[n] returned
	NULL and use local stack than.
	(asan_finish_file): Insert __asan_version_mismatch_check_v[n] call
	in addition to __asan_init.
	* sanitizer.def (BUILT_IN_ASAN_INIT): Rename to __asan_init.
	(BUILT_IN_ASAN_VERSION_MISMATCH_CHECK): Add new builtin call.
	* asan.h (asan_intercepted_p): Handle new string builtins.
	* ubsan.c (ubsan_use_new_style_p): New function.
	(ubsan_instrument_float_cast): If location is unknown, assign
	input_location to loc. Propagate loc to ubsan_create_data if
	ubsan_use_new_style_p returned true.

config/

	* bootstrap-asan.mk: Replace ASAN_OPTIONS=detect_leaks with
	LSAN_OPTIONS=detect_leaks.

gcc/testsuite/

	* c-c++-common/ubsan/float-cast-overflow-10.c: Adjust test.
	* c-c++-common/ubsan/float-cast-overflow-8.c: Likewise.
	* c-c++-common/ubsan/float-cast-overflow-9.c: Likewise.
	* g++.dg/asan/default-options-1.C: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229112 138bc75d-0d04-0410-961f-82ee72b054a4
2015-11-28 16:39:32 +00:00
..
acinclude.m4 strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
acx.m4 * configure: Regenerate. 2011-12-18 10:20:52 +00:00
asmcfi.m4 Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
bitfields.m4 Sync config files with GCC 2015-07-14 09:18:16 -07:00
bootstrap-asan.mk libsanitizer merge from upstream r250806, compiler part. 2015-11-28 16:39:32 +00:00
bootstrap-debug-big.mk ChangeLog: 2009-09-07 00:44:08 +00:00
bootstrap-debug-ckovw.mk ChangeLog: 2009-09-07 00:44:08 +00:00
bootstrap-debug-lean.mk ChangeLog: 2009-09-07 00:44:08 +00:00
bootstrap-debug-lib.mk ChangeLog: 2009-09-07 00:44:08 +00:00
bootstrap-debug.mk ChangeLog: 2009-09-07 00:44:08 +00:00
bootstrap-lto-noplugin.mk Sync config files with GCC 2015-07-14 09:18:16 -07:00
bootstrap-lto.mk Sync bootstrap-asan.mk/bootstrap-lto.mk with GCC tree 2015-03-16 08:34:23 -07:00
bootstrap-mpx.mk Sync config files with GCC 2015-07-14 09:18:16 -07:00
bootstrap-O1.mk ChangeLog: 2009-05-12 18:16:01 +00:00
bootstrap-O3.mk ChangeLog: 2009-05-12 18:16:01 +00:00
bootstrap-time.mk ChangeLog: 2009-09-07 00:44:08 +00:00
bootstrap-ubsan.mk Remove -lpthread -ldl and add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ 2013-11-29 13:33:42 -08:00
ChangeLog libsanitizer merge from upstream r250806, compiler part. 2015-11-28 16:39:32 +00:00
codeset.m4
depstand.m4 2007-02-09 Paolo Bonzini <bonzini@gnu.org> 2007-02-09 19:24:42 +00:00
dfp.m4 Sync dfp.m4 with gcc 2015-06-30 10:20:19 -07:00
elf.m4 Sync elf.m4 with GCC tree 2015-03-16 08:49:06 -07:00
enable.m4 * enable.m4: New file. 2005-09-23 17:28:31 +00:00
extensions.m4 config/ 2009-07-30 19:43:16 +00:00
futex.m4 * futex.m4: New file. 2008-01-08 17:29:24 +00:00
gc++filt.m4 * gc++filt.m4: New file. 2010-07-02 11:58:19 +00:00
gcc-plugin.m4 Sync config files with GCC 2015-07-14 09:18:16 -07:00
gettext-sister.m4 Richard Earnshaw <rearnsha@arm.com> 2006-06-13 08:02:20 +00:00
gettext.m4 Sync config with GCC 2015-07-27 07:43:26 -07:00
glibc21.m4
gthr.m4 Add gthr.m4 2012-11-03 23:53:02 +00:00
gxx-include-dir.m4 Sync from GCC 2006-07-25 08:39:57 +00:00
iconv.m4 Missing parts of fixes for in-tree libiconv 2015-08-24 10:57:03 +01:00
intdiv0.m4
inttypes-pri.m4
inttypes.m4
inttypes_h.m4
isl.m4 Sync isl.m4 with GCC tree 2015-03-16 08:51:37 -07:00
largefile.m4 config: 2009-11-30 16:46:47 +00:00
lcmessage.m4
ld-symbolic.m4 2007-01-14 H.J. Lu <hongjiu.lu@intel.com> 2007-01-14 15:39:41 +00:00
lead-dot.m4 Sync config/ from GCC: 2009-08-16 12:49:48 +00:00
lib-ld.m4
lib-link.m4
lib-prefix.m4
libstdc++-raw-cxx.m4 Remove "-I" from LIBSTDCXX_RAW_CXX_LDFLAGS 2013-01-07 18:25:13 +00:00
lthostflags.m4 PR target/40125 2010-12-06 01:40:20 +00:00
math.m4 Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
mh-alpha-linux Sync toplevel configure.ac with GCC 2015-07-14 07:49:50 -07:00
mh-cygwin 2011-03-24 Paolo Bonzini <bonzini@gnu.org> 2011-03-24 17:31:20 +00:00
mh-darwin Sync libiberty from GCC, replaying updates to configure scripts 2015-06-24 21:43:02 +02:00
mh-djgpp
mh-mingw * mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB. 2010-12-02 23:36:59 +00:00
mh-pa 2008-07-30 Paolo Bonzini <bonzini@gnu.org> 2008-07-30 15:03:57 +00:00
mh-pa-hpux10 2008-07-30 Paolo Bonzini <bonzini@gnu.org> 2008-07-30 15:03:57 +00:00
mh-ppc-aix Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
mmap.m4 Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
mt-alphaieee Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
mt-d30v
mt-gnu Don't reset CXXFLAGS_FOR_TARGET 2015-03-16 08:41:42 -07:00
mt-mips-elfoabi * configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu. 2008-08-16 06:47:17 +00:00
mt-mips-gnu * configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu. 2008-08-16 06:47:17 +00:00
mt-mips16-compat * configure.ac (mips*-*-*linux*, mips*-*-gnu*): Use mt-mips-gnu. 2008-08-16 06:47:17 +00:00
mt-nios2-elf Sync nios2 configure changes from GCC mainline. 2014-05-14 16:27:14 -07:00
mt-ospace Append -g -Os rather than overwriting 2015-03-16 08:44:41 -07:00
mt-sde 2012-09-19 Steve Ellcey <sellcey@mips.com> 2012-09-19 21:22:33 +00:00
mt-spu * mt-spu (all-ld): Update for ld Makefile changes. 2008-08-03 03:38:07 +00:00
multi.m4 ChangeLog: 2009-05-12 18:16:01 +00:00
nls.m4
no-executables.m4 config/ 2009-07-30 19:43:16 +00:00
override.m4 Guard against M4 versions with a buggy strstr. 2011-03-05 07:33:13 +00:00
picflag.m4 Sync libiberty from GCC, replaying updates to configure scripts 2015-06-24 21:43:02 +02:00
plugins.m4 Fix --diable-shared --enable-plugins build breakage 2014-08-19 21:59:56 +09:30
po.m4 Sync config with GCC 2015-07-27 07:43:26 -07:00
proginstall.m4 * configure.ac: m4_include config/proginstall.m4. 2008-03-17 22:17:33 +00:00
progtest.m4
sjlj.m4 Sync config files with GCC 2015-07-14 09:18:16 -07:00
stdint.m4 Sync config with GCC 2015-07-27 07:43:26 -07:00
stdint_h.m4
target-posix Sync config files with GCC 2015-07-14 09:18:16 -07:00
tcl.m4 Sync config with GCC 2015-07-27 07:43:26 -07:00
tls.m4 sync changelog with gcc, plus commit the following patch: 2010-06-10 16:01:32 +00:00
uintmax_t.m4
ulonglong.m4
unwind_ipinfo.m4 Sync config/ from GCC: 2009-08-16 12:49:48 +00:00
warnings.m4 Sync config/warnings.m4 with GCC 2015-07-14 08:39:12 -07:00
weakref.m4 Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
zlib.m4 Set zlibdir/zlibinc with top_builddir/top_srcdir 2015-04-02 05:43:07 -07:00