diff options
author | Ilia Diachkov <ilia.diachkov@optimitech.com> | 2019-06-27 23:41:03 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2019-06-27 16:41:03 -0700 |
commit | 5a4602805eb3ebddbc935b102481e63bffc7c5e6 (patch) | |
tree | e2aab40a13c83c1b9ee1ec034d15962d39600354 /libgcc/Makefile.in | |
parent | 7ffc7de55b058e78cbc46803b89b712849ea35b3 (diff) | |
download | gcc-5a4602805eb3ebddbc935b102481e63bffc7c5e6.zip gcc-5a4602805eb3ebddbc935b102481e63bffc7c5e6.tar.gz gcc-5a4602805eb3ebddbc935b102481e63bffc7c5e6.tar.bz2 |
Add --disable-tm-clone-registry libgcc configure option.
This patch adds libgcc configuration option to disable TM clone
registry. This option helps to reduce code size for embedded targets
which do not need transactional memory support.
gcc/
* doc/install.texi: Document --disable-tm-clone-registry.
libgcc/
* Makefile.in (USE_TM_CLONE_REGISTRY): New.
(CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
* configure.ac: Add --disable-tm-clone-registry option.
* configure: Regenerate.
From-SVN: r272769
Diffstat (limited to 'libgcc/Makefile.in')
-rw-r--r-- | libgcc/Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in index 33b8380..e10a197 100644 --- a/libgcc/Makefile.in +++ b/libgcc/Makefile.in @@ -259,6 +259,8 @@ PICFLAG = @PICFLAG@ CET_FLAGS = @CET_FLAGS@ +USE_TM_CLONE_REGISTRY = @use_tm_clone_registry@ + # Defined in libgcc2.c, included only in the static library. LIB2FUNCS_ST = _eprintf __gcc_bcmp @@ -299,7 +301,7 @@ CRTSTUFF_CFLAGS = -O2 $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -g0 \ $(NO_PIE_CFLAGS) -finhibit-size-directive -fno-inline -fno-exceptions \ -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize \ -fbuilding-libgcc -fno-stack-protector $(FORCE_EXPLICIT_EH_REGISTRY) \ - $(INHIBIT_LIBC_CFLAGS) + $(INHIBIT_LIBC_CFLAGS) $(USE_TM_CLONE_REGISTRY) # Extra flags to use when compiling crt{begin,end}.o. CRTSTUFF_T_CFLAGS = |