gcc/libitm
Jakub Jelinek 0411ae7f08 libatomic, libgomp, libitc: Fix bootstrap [PR70454]
The recent changes to error on mixing -march=i386 and -fcf-protection broke
bootstrap.  This patch changes lib{atomic,gomp,itm} configury, so that it
only adds -march=i486 to flags if really needed (i.e. when 486 or later isn't
on by default already).  Similarly, it will not use ifuncs if -mcx16
(or -march=i686 for 32-bit) is on by default.

2021-01-15  Jakub Jelinek  <jakub@redhat.com>

	PR target/70454
libatomic/
	* configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to
	be added through preprocessor check on
	__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.  Determine if try_ifunc is needed
	based on preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
	or __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8.
libgomp/
	* configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to
	be added through preprocessor check on
	__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.
libitm/
	* configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to
	be added through preprocessor check on
	__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.
2021-01-15 13:16:42 +01:00
..
config Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite Update copyright years. 2021-01-04 10:26:59 +01:00
aatree.cc Update copyright years. 2021-01-04 10:26:59 +01:00
aatree.h Update copyright years. 2021-01-04 10:26:59 +01:00
acinclude.m4 re PR other/79543 (Inappropriate "ld --version" checking) 2019-09-03 14:10:26 +00:00
aclocal.m4 Add `--with-toolexeclibdir=' configuration option 2020-01-24 11:24:25 +00:00
alloc_c.cc Update copyright years. 2021-01-04 10:26:59 +01:00
alloc_cpp.cc Update copyright years. 2021-01-04 10:26:59 +01:00
alloc.cc Update copyright years. 2021-01-04 10:26:59 +01:00
barrier.cc Update copyright years. 2021-01-04 10:26:59 +01:00
beginend.cc Update copyright years. 2021-01-04 10:26:59 +01:00
ChangeLog Daily bump. 2021-01-06 00:16:55 +00:00
clone.cc Update copyright years. 2021-01-04 10:26:59 +01:00
common.h Update copyright years. 2021-01-04 10:26:59 +01:00
config.h.in
configure Update GNU/Hurd configure support 2021-01-05 16:04:14 -07:00
configure.ac Update copyright years. 2021-01-04 10:26:59 +01:00
configure.tgt libatomic, libgomp, libitc: Fix bootstrap [PR70454] 2021-01-15 13:16:42 +01:00
containers.h Update copyright years. 2021-01-04 10:26:59 +01:00
dispatch.h Update copyright years. 2021-01-04 10:26:59 +01:00
eh_cpp.cc Update copyright years. 2021-01-04 10:26:59 +01:00
libitm_i.h Update copyright years. 2021-01-04 10:26:59 +01:00
libitm.h Update copyright years. 2021-01-04 10:26:59 +01:00
libitm.map Support __cxa_free_exception and fix exception handling. 2015-11-20 00:10:08 +00:00
libitm.spec.in
libitm.texi Update copyright dates. 2021-01-01 17:45:07 +01:00
local_atomic Update copyright years. 2021-01-04 10:26:59 +01:00
local.cc Update copyright years. 2021-01-04 10:26:59 +01:00
Makefile.am Makefile.am (finclude): Remove. 2019-05-03 09:20:04 +02:00
Makefile.in Add `--with-toolexeclibdir=' configuration option 2020-01-24 11:24:25 +00:00
method-gl.cc Update copyright years. 2021-01-04 10:26:59 +01:00
method-ml.cc Update copyright years. 2021-01-04 10:26:59 +01:00
method-serial.cc Update copyright years. 2021-01-04 10:26:59 +01:00
query.cc Update copyright years. 2021-01-04 10:26:59 +01:00
retry.cc Update copyright years. 2021-01-04 10:26:59 +01:00
useraction.cc Update copyright years. 2021-01-04 10:26:59 +01:00
util.cc Update copyright years. 2021-01-04 10:26:59 +01:00