From 5a4602805eb3ebddbc935b102481e63bffc7c5e6 Mon Sep 17 00:00:00 2001 From: Ilia Diachkov Date: Thu, 27 Jun 2019 23:41:03 +0000 Subject: 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 --- gcc/ChangeLog | 4 ++++ gcc/doc/install.texi | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eab9ab9..f8bd2b2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-06-27 Ilia Diachkov + + * doc/install.texi: Document --disable-tm-clone-registry. + 2019-06-27 Jakub Jelinek PR c++/91024 diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 29d0470..1a0e8c7 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -1284,6 +1284,11 @@ assumptions made by the configure test are incorrect. Specify that the target does not support TLS. This is an alias for @option{--enable-tls=no}. +@item --disable-tm-clone-registry +Disable TM clone registry in libgcc. It is enabled in libgcc by default. +This option helps to reduce code size for embedded targets which do +not use transactional memory. + @item --with-cpu=@var{cpu} @itemx --with-cpu-32=@var{cpu} @itemx --with-cpu-64=@var{cpu} -- cgit v1.1