+
+ PR ld/27173
+ * gcc-plugin.m4 (GCC_PLUGIN_OPTION): Check if AR works with
+ --plugin and rc before enabling --plugin.
+
+
+ * gcc-plugin.m4 (GCC_PLUGIN_OPTION): New.
+
+
+ * 2.36 release branch crated.
+
+
+ * override.m4: Correct comment grammar.
+
+
+ Sync from gcc
+ PR bootstrap/96202
+ * cet.m4 (GCC_CET_HOST_FLAGS): Don't enable CET without CET
+ support in stage1 nor for build support.
+
+
+ * largefile.m4 (ACX_LARGEFILE) <sparc-*-solaris*|i?86-*-solaris*>:
+ Check for <sys/procfs.h> incompatilibity with large-file support
+ on Solaris.
+ Only disable large-file support and perhaps plugins if needed.
+ Set, substitute LARGEFILE_CPPFLAGS if so.
+
+
+ PR binutils/26301
+ * pkg.m4 (PKG_CHECK_MODULES): Use AC_TRY_LINK only if
+ $pkg_failed = no.
+
+
+ PR binutils/26301
+ * pkg.m4 (PKG_CHECK_MODULES): Add AC_TRY_LINK to check if
+ $pkg_cv_[]$1[]_LIBS works.
+
+
+ * debuginfod.m4: use PKG_CHECK_MODULES.
+ * pkg.m4: New file.
+
+
+ Binutils 2.35 branch created.
+
+
+ Sync with GCC
+
+ PR bootstrap/95413
+ * cet.m4: Replace save_CFLAGS and save_LDFLAGS with
+ cet_save_CFLAGS and cet_save_LDFLAGS.
+
+
+ Sync with GCC
+
+ PR bootstrap/95147
+ * cet.m4 (GCC_CET_FLAGS): Also check if -fcf-protection works
+ when defaulting to auto.
+
+
+ * cet.m4 (GCC_CET_FLAGS): Change default to auto.
+
+
+ Sync with GCC
+
+ PR bootstrap/94998
+ * cet.m4 (GCC_CET_HOST_FLAGS): Enable CET in cross compiler if
+ possible.
+
+
+ Sync with GCC
+
+ PR bootstrap/94739
+ * cet.m4 (GCC_CET_HOST_FLAGS): Add -fcf-protection=none to
+ -Wl,-z,ibt,-z,shstk. Check whether -fcf-protection=none
+ -Wl,-z,ibt,-z,shstk works first.
+
+
+ PR bootstrap/94739
+ * cet.m4 (GCC_CET_HOST_FLAGS): New.
+
+
+ PR libfortran/94694
+ PR libfortran/94586
+ * math.m4 (GCC_CHECK_MATH_INLINE_BUILTIN_FALLBACK1,
+ GCC_CHECK_MATH_INLINE_BUILTIN_FALLBACK2): New.
+
+
+ * ax_count_cpus.m4: New file, backported from GCC.
+ * bootstrap-Og.mk: New file, backported from GCC.
+ * bootstrap-lto-lean.mk: New file, backported from GCC.
+ * bootstrap-lto.mk: Changes backported from GCC.
+ * futex.m4: Changes backported from GCC.
+ * gthr.m4: Changes backported from GCC.
+ * lib-link.m4: Changes backported from GCC.
+ * mh-mingw: Changes backported from GCC.
+ * no-executables.m4: Changes backported from GCC.
+ * tls.m4: Changes backported from GCC.
+ * toolexeclibdir.m4: New file, backported from GCC.
+
+
+ Binutils 2.34 branch created.
+
+
+ binutils 2.33 branch created.
+
+
+ 2.32 branch created.
+
+
+ * iconv.m4 (AM_ICONV_LINK): Don't overwrite CPPFLAGS.
+ Append $INCICONV to it.
+
+
+ Merge from GCC:
+
+ * multi.m4: Set GDC.
+
+
+ * dfp.m4 (enable_decimal_float): Enable for x86_64*-*-gnu* to
+ catch x86_64 kFreeBSD and Hurd.
+
+ Merge from GCC:
+ PR bootstrap/82856
+ * math.m4, tls.m4: Use AC_LANG_SOURCE.
+
+
+ * override.m4 (_GCC_AUTOCONF_VERSION): Bump from 2.64 to 2.69.
+
+
+ Sync with GCC
+
+ * bootstrap-mpx.mk: Remove.
+
+
+ PR bootstrap/64914
+ * bootstrap-ubsan.mk: Define UBSAN_BOOTSTRAP.
+
+
+ * ax_pthread.m4: Add file.
+
+
+ PR bootstrap/85571
+ * bootstrap-lto-noplugin.mk: Disable compare.
+ * bootstrap-lto.mk: Supply contrib/compare-lto for do-compare.
+
+
+ PR bootstrap/85490
+ * bootstrap-cet.mk (STAGE4_CFLAGS): New.
+
+
+ PR target/85485
+ * bootstrap-cet.mk (STAGE2_CFLAGS): Remove -mcet.
+ (STAGE3_CFLAGS): Likewise.
+
+
+ PR target/85485
+ * cet.m4 (GCC_CET_FLAGS): Replace -mcet with -mshstk.
+
+
+ * cet.m4 (GCC_CET_FLAGS): Default to --disable-cet, replace
+ --enable-cet=default with --enable-cet=auto.
+
+
+ PR jit/85384
+ * acx.m4 (GCC_BASE_VER): Remove \$\$ from sed expression.
+
+
+ Sync with GCC
+
+ PR gas/22318
+ * plugins.m4 (AC_PLUGINS): Use dlsym to check if libdl is needed.
+
+
+ PR target/84148
+ * cet.m4: Check if target support multi-byte NOPS (SSE).
+
+
+ * gcc-plugin.m4 (GCC_ENABLE_PLUGINS): Remove -q option passed to grep.
+
+
+ * Sync with GCC sources:
+
+
+ * gcc-plugin.m4: Add support for MinGW.
+
+
+ * cet.m4: New file.
+
+
+ * bootstrap-debug-lean.mk (do-compare): Use the
+ contrib/compare-debug script.
+
+
+ * bootstrap-cet.mk: New file.
+
+
+ * bootstrap-lto-noplugin.mk: Enable -flto in all PGO stages.
+ * bootstrap-lto.mk: Likewise.
+
+
+ * mt-android: New file.
+
+
+ * isl.m4: Remove support for ISL 0.14.
+
+
+ PR target/78478
+ * ax_check_define.m4: New file.
+
+
+ PR other/79046
+ * acx.m4 (GCC_BASE_VER): New m4 function.
+ (ACX_TOOL_DIRS): Require GCC_BASE_VER, for
+ --with-gcc-major-version-only use just major number from BASE-VER.
+
+
+ PR go/78978
+ * hwcaps.m4 (GCC_CHECK_ASSEMBLER_HWCAP): New macro.
+
+
+ * picflag.m4: Import from gcc.
+
+
+ * acx.m4: Import from gcc.
+ * bootstrap-asan.mk: Likewise.
+ * multi.m4: Likewise.
+
+
+ PR binutils/19481
+ * override.m4 (AC_PROG_LEX): Define.
+
+
+ * bootstrap-asan.mk: Replace ASAN_OPTIONS=detect_leaks with
+ LSAN_OPTIONS=detect_leaks.
+
+
+ * iconv.m4 (AM_ICONV_LINK): Use in-tree libiconv when present.
+
+
+ Sync with GCC
+
+ PR other/66259
+ * gettext.m4: Reflects renaming of configure.in to configure.ac
+ * po.m4: Likewise
+ * stdint.m4: Likewise
+ * tcl.m4: Likewise
+
+
+ Sync with GCC
+
+ * sjlj.m4: New file.
+
+
+ * bitfields.m4: Change int to long long, and use bitfields of
+ width 1 instead of 0.
+
+
+ * bitfields.m4: New file.
+
+
+ * bootstrap-mpx.mk: New file.
+
+
+ PR bootstrap/65537
+ * bootstrap-lto-noplugin.mk: New build configuration.
+
+
+ * target-posix: New file.
+
+
+ * gcc-plugin.m4: New file.
+
+
+ Sync with GCC
+
+ PR bootstrap/66304
+ * warnings.m4 (ACX_PROG_CXX_WARNING_OPTS)
+ (ACX_PROG_CXX_WARNINGS_ARE_ERRORS)
+ (ACX_PROG_CXX_WARNING_ALMOST_PEDANTIC): New.
+ (ACX_PROG_CC_WARNING_OPTS, ACX_PROG_CC_WARNING_ALMOST_PEDANTIC)
+ (ACX_PROG_CC_WARNINGS_ARE_ERRORS): Push into C language context.
+
+
+ Sync with GCC
+ * mh-alpha-linux: Restored.
+
+
+ * dfp.m4 (enable_decimal_float): Also set to yes for
+ i?86*-*-elfiamcu target.
+
+
+ PR target/65351
+ * mh-darwin: Only apply -mdynamic-no-pic for m32 Darwin when the
+ compiler in use supports -mno-dynamic-no-pic.
+ * picflag.m4: Only append -mno-dynamic-no-pic for Darwin when
+ -mdynamic-no-pic is present in CFLAGS.
+
+
+ PR target/65351
+ * picflag.m4: Append -mno-dynamic-no-pic for Darwin.
+
+
+ * zlib.m4 (AM_ZLIB): Set zlibdir to -L\$(top_builddir)/../zlib
+ and set zlibinc to -I\$(top_srcdir)/../zlib.
+
+
+ * zlib.m4 (AM_ZLIB): Unset zlibdir and zlibinc only for
+ --with-system-zlib.
+
+
+ * zlib.m4 (AM_ZLIB): Replace --with-zlib with --with-system-zlib.
+
+
+ * isl.m4: Sync with GCC tree.
+
+
+ Sync with GCC
+
+ * elf.m4 (ACX_ELF_TARGET_IFELSE): nvptx-*-none isn't ELF.
+
+
+ Sync with GCC
+
+ * mt-ospace (CFLAGS_FOR_TARGET): Append -g -Os rather than
+ overwriting.
+ (CXXFLAGS_FOR_TARGET): Similarly.
+
+
+ Sync with GCC
+
+ PR target/43538
+ * mt-gnu: Don't reset CXXFLAGS_FOR_TARGET.
+
+
+ * bootstrap-asan.mk: Sync with GCC tree.
+ * bootstrap-lto.mk: Likewise.
+
+
+ * cloog.m4: Removed.
+
+
+ * plugins.m4 (AC_PLUGINS): If plugins are enabled, add -ldl to
+ LIBS via AC_SEARCH_LIBS.
+
+
+ * plugins.m4: Test for dlfcn.h or windows.h here to set default
+ for --enable-plugins. Report error if someone tries to enable
+ plugins on a host we don't support.
+
+
+ * mt-nios2-elf: New file.
+
+
+ * acinclude.m4: Remove +x file mode.
+
+
+ * bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Remove -lpthread -ldl.
+ Add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/.
+
+
+ * bootstrap-asan.mk (POSTSTAGE1_LDFLAGS): Add
+ -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/.
+
+
+ * bootstrap-ubsan.mk (POSTSTAGE1_LDFLAGS): Add -ldl.
+
+
+ * bootstrap-lto.mk: Use -ffat-lto-objects.
+
+
+ * picflag.m4 (m68k-*-*): Use default PIC flag.
+
+
+ * mh-darwin (BOOT_CFLAGS): Only add -mdynamic-no-pic for m32 hosts.
+ (STAGE1_CFLAGS, STAGE1_LDFLAGS): New.
+ Fix over-length lines and amend comments.
+
+
+ * bootstrap-ubsan.mk: New.
+
+
+ * dfp.m4: Add support for cygwin x64 target.
+ * picflag.m4: Likewise.
+
+
+ * bootstrap-asan.mk (POSTSTAGE1_LDFLAGS): Add
+ -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/.
+
+
+ * isl.m4: don't echo $CFLAGS for ISL_CHECK_VERSION.
+
+
+ PR other/55973
+ * isl.m4 (ISL_INIT_FLAGS): Warn about disabled version check
+ for in-tree build.
+ (ISL_CHECK_VERSION): Do not use AC_CACHE_CHECK.
+ * cloog.m4 (CLOOG_INIT_FLAGS): Disable version check for
+ in-tree build and warn about that.
+ (CLOOG_CHECK_VERSION): Do not use AC_CACHE_CHECK.
+
+
+ * libstdc++-raw-cxx.m4 (GCC_LIBSTDCXX_RAW_CXX_FLAGS): Remove
+ "-I" from LIBSTDCXX_RAW_CXX_LDFLAGS.
+
+
+ * libstdc++-raw-cxx.m4 (GCC_LIBSTDCXX_RAW_CXX_FLAGS): Also
+ AC_SUBST LIBSTDCXX_RAW_CXX_LDFLAGS.
+
+
+ PR sanitizer/55533
+ * libstdc++-raw-cxx.m4: New file.
+
+
+ * bootstrap-asan.mk: New file.
+
+
+ * dfp.m4 (enable_decimal_float): Enable for i?86*-*-gnu*.
+
+
+ * gthr.m4: New. Define GCC_AC_THREAD_HEADER.
+
+
+ * mt-sde: Change -mcode-xonly to -mcode-readable=pcrel.
+
+
+ PR bootstrap/54138
+ * config/cloog.m4: Adjust for toplevel reorg.
+ * config/isl.m4: Adjust.
+
+
+ * cloog.m4 (CLOOG_INIT_FLAGS): Use = instead of == in test.
+
+
+ * isl.m4 (ISL_CHECK_VERSION): Set to yes if cross-compiling.
+ Fix comments.
+
+
+ * cloog.m4: Remove debugging print.
+
+
+ * isl.m4 (ISL_CHECK_VERSION): Add -lisl to LIBS, not LDFLAGS.
+
+
+ * isl.m4 (_ISL_CHECK_CT_PROG): Omit main function header/footer.
+ Fix version test.
+
+
+ * cloog.m4: Set up to work against ISL only.
+ * isl.m4: New file.
+
+
+ * mt-sde: Fix typos.
+ * stdint.m4: Fix typos.
+ * tcl.m4: Fix typos.
+
+
+ * mh-ppc-aix (LDFLAGS): Quote $(CC).
+
+
+ * mmap.m4: Use *vms* instead of vms*.
+
+
+ * math.m4 (GCC_CHECK_MATH_FUNC): Remove if-present
+ argument. Define the variable.
+
+
+ * math.m4: New file.
+
+
+ * weakref.m4 (GCC_CHECK_ELF_STYLE_WEAKREF): Remove
+ alpha*-dec-osf*.
+
+
+ * config/mh-interix: Remove as unneeded.
+ * config/picflag.m4 (i[[34567]]86-*-interix3*):
+ Change triplet to i[[34567]]86-*-interix[[3-9]]*.
+
+
+ PR bootstrap/51734
+ * picflag.m4: Remove s390 case statement.
+
+
+ * warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in
+ expr call.
+
+
+ PR bootstrap/51388
+ * warnings.m4 (ACX_PROG_CC_WARNING_OPTS)
+ (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Run the test without the
+ no- prefix.
+
+
+ * acx.m4 (Test for GNAT): Update comment and add quotes in final test.
+
+
+ * weakref.m4: New file.
+
+
+ * asmcfi.m4: New file.
+
+
+ * mh-interix (LIBGCC2_DEBUG_CFLAGS): Remove.
+
+
+ * picflag.m4: New file.
+
+
+ * elf.m4 (target_elf): Remove *-netware*.
+
+
+ * mt-alphaieee (GOCFLAGS_FOR_TARGET): Add -mieee.
+
+
+ PR target/49461
+ * mh-darwin: Turn off -pie on darwin11 and later.
+
+
+ * bootstrap-lto.mk: Remove obsolete requirement.
+
+
+ * mt-mep: Remove, obsolete.
+ * mt-netware: Remove, obsolete.
+ * mt-wince: Remove, obsolete.
+ * mt-v810: Remove, unused.
+
+
+ * mh-x86omitfp: Remove.
+
+
+ * mh-cygwin: Remove obsolete variables and dependencies.
+
+
+ * mh-sysv4: Remove.
+ * mh-solaris: Remove.
+
+
+ * mh-sysv4: Remove AR_CFLAGS.
+
+
+ * mh-cxux, mh-decstation, mh-dgux386, mh-lynxrs6k, mh-ncr3000,
+ mh-necv4, mh-sco, mh-sysv5: Remove.
+
+
+ * override.m4: Error out if a buggy M4 was detected, to
+ avoid spurious diffs in generated files.
+
+
+ * cloog.m4 (CLOOG_REQUESTED): Use $2 if --without-cloog.
+
+
+ * bootstrap-lto.mk: -fuse-linker-plugin is default now;
+ pass -fno-lto to STAGEprofile.
+
+
+ PR target/40125
+ PR lto/46695
+ * lthostflags.m4: New file.
+ (ACX_LT_HOST_FLAGS): Define.
+
+
+ * mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB.
+ (BOOT_LDFLAGS): Add matching stack size flag.
+ * mh-mingw (LDFLAGS): Likewise.
+ (BOOT_LDFLAGS): Likewise.
+
+
+ * bootstrap-lto.mk (BOOT_ADAFLAGS): Delete.
+
+
+ * cloog.m4: Use AS_HELP_STRING and fix help formatting.
+
+
+ * cloog.m4 (CLOOG_INIT_FLAGS): Fix spelling in option names.
+
+
+ * cloog.m4: Add -enable-cloog-backend=(isl|ppl|ppl-legacy) to
+ define the cloog backend to use. Furthermore, only pass the ppllibs to
+ the configure checks, if necessary.
+
+
+ * cloog.m4: Use CLooG predefined macro to check for CLooG PPL.
+
+
+ * cloog.m4: Fix typo. verison -> version.
+
+
+ * cloog.m4: Pass ppl libraries to the CLooG version check.
+
+
+ * bootstrap-lto: Use -flto.
+
+
+ * mh-darwin: Renamed from mh-ppc-darwin.
+
+
+ * po.m4 (AM_PO_SUBDIRS): Fix unportable shell quoting.
+
+
+ * dfp.m4: Enable decimal float for i?86 cygwin
+ and mingw, and for x86_64 mingw.
+
+
+ PR target/45524
+ * dfp.m4: Don't set enable_decimal_float to dpd if DFP is
+ disabled. Set default_decimal_float.
+
+
+ * dfp.m4: Quote argument of AC_MSG_WARN.
+
+
+ * dfp.m4: New file.
+
+
+ * bootstrap-lto.mk (STAGE2_CFLAGS, STAGE3_CFLAGS): Change
+ to -fwhopr=jobserver -fuse-linker-plugin -frandom-seed=1.
+
+
+ PR target/45084
+ * stdint.m4 (GCC_HEADER_STDINT): Use m4 quotes for arguments
+ of AC_MSG_ERROR.
+
+
+ * gc++filt.m4: New file.
+
+
+ * bootstrap-lto.mk: New.
+
+
+ * override.m4: Remove obsolete (<2.64) definitions.
+
+
+ PR bootstrap/43170
+ * tls.m4 (GCC_CHECK_TLS): Add volatile qualifier to the test
+ references. Move the main () test reference ahead of
+ pthread_create(). Add a comment to explain the requirements
+ of the test.
+
- Sync from GCC:
PR bootstrap/42798
* override.m4 (_AC_CHECK_DECL_BODY, _AC_CHECK_DECLS): Import
definitions from git Autoconf.
-
- Sync from GCC:
* elf.m4: Add hppa[12]*-*-hpux* to list of non-elf platforms.
+
+ * mh-mingw: Revert accidentally checking r156315.
+
+
* stdint.m4 (GCC_HEADER_STDINT): Don't typedef uint8_t etc. if
corresponding macros already exist.
- * elf.m4: Import from gcc mainline.
+ PR lto/41529
+ * elf.m4: New file.
PR bootstrap/32009
* mh-ppc-darwin (BOOT_CFLAGS): Reenable.
-
+
* futex.m4: New file.
* acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Fixup logic for cross
builds.
-
+
* acx.m4 (NCN_STRICT_CHECK_TARGET_TOOLS): Fix incremental builds.
- * stdint.m4: Make template compatible with older cygwin
+ * stdint.m4: Make template compatible with older cygwin
types.h, wrapping each type in a __XXX_t_defined #ifdef.
PR build/26188
- * stdint.m4: Test for uintptr_t even on systems with uint64_t or uint32_t.
+ * stdint.m4: Test for uintptr_t even on systems with uint64_t
+ or uint32_t.