summaryrefslogtreecommitdiff
path: root/libgcc/configure
diff options
context:
space:
mode:
authorIlia Diachkov <ilia.diachkov@optimitech.com>2019-06-27 23:41:03 +0000
committerJim Wilson <wilson@gcc.gnu.org>2019-06-27 16:41:03 -0700
commit5a4602805eb3ebddbc935b102481e63bffc7c5e6 (patch)
treee2aab40a13c83c1b9ee1ec034d15962d39600354 /libgcc/configure
parent7ffc7de55b058e78cbc46803b89b712849ea35b3 (diff)
downloadgcc-5a4602805eb3ebddbc935b102481e63bffc7c5e6.tar.gz
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/configure')
-rw-r--r--libgcc/configure15
1 files changed, 15 insertions, 0 deletions
diff --git a/libgcc/configure b/libgcc/configure
index af910b62931..29f647319b4 100644
--- a/libgcc/configure
+++ b/libgcc/configure
@@ -604,6 +604,7 @@ vis_hide
solaris_ld_v2_maps
real_host_noncanonical
accel_dir_suffix
+use_tm_clone_registry
force_explicit_eh_registry
CET_FLAGS
fixed_point
@@ -712,6 +713,7 @@ enable_decimal_float
with_system_libunwind
enable_cet
enable_explicit_exception_frame_registration
+enable_tm_clone_registry
with_glibc_version
enable_tls
with_gcc_major_version_only
@@ -1355,6 +1357,7 @@ Optional Features:
register exception tables explicitly at module
start, for use e.g. for compatibility with
installations without PT_GNU_EH_FRAME support
+ --disable-tm-clone-registry disable TM clone registry
--enable-tls Use thread-local storage [default=yes]
Optional Packages:
@@ -4953,6 +4956,18 @@ fi
+# Check whether --enable-tm-clone-registry was given.
+if test "${enable_tm_clone_registry+set}" = set; then :
+ enableval=$enable_tm_clone_registry;
+use_tm_clone_registry=
+if test "$enable_tm_clone_registry" = no; then
+ use_tm_clone_registry=-DUSE_TM_CLONE_REGISTRY=0
+fi
+
+fi
+
+
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
if ${acl_cv_prog_gnu_ld+:} false; then :