aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-12-19 06:03:51 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-12-19 06:03:51 +0000
commitd5338d09e5352b939227c27997a0120b50d649be (patch)
treeb65a6e0da38ccfd243a0ba0325bae4961c4a4f5b /libgcc
parent51426017f8fe0f18295ca467feba3fbb5aad3fa8 (diff)
parent951e27f58ca5c7f33124407079c383706e99c68d (diff)
downloadgcc-d5338d09e5352b939227c27997a0120b50d649be.zip
gcc-d5338d09e5352b939227c27997a0120b50d649be.tar.gz
gcc-d5338d09e5352b939227c27997a0120b50d649be.tar.bz2
Merge from trunk revision 279561.
From-SVN: r279562
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog8
-rw-r--r--libgcc/config.host4
-rwxr-xr-xlibgcc/configure9
-rw-r--r--libgcc/configure.ac8
4 files changed, 27 insertions, 2 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 90ea2a4..6faa4d3 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,11 @@
+2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
+
+ * config.host: s/msp430*-*-elf/msp430-*-elf*.
+ Override default "extra_parts" variable.
+ * configure: Regenerate.
+ * configure.ac: Disable TM clone registry by default for
+ msp430-elfbare.
+
2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
diff --git a/libgcc/config.host b/libgcc/config.host
index 5686871..efcf5f0 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -1043,9 +1043,9 @@ moxie-*-elf | moxie-*-moxiebox* | moxie-*-uclinux* | moxie-*-rtems*)
tmake_file="$tmake_file moxie/t-moxie t-softfp-sfdf t-softfp-excl t-softfp"
extra_parts="$extra_parts crti.o crtn.o crtbegin.o crtend.o"
;;
-msp430*-*-elf)
+msp430-*-elf*)
tmake_file="$tm_file t-crtstuff t-fdpbit msp430/t-msp430"
- extra_parts="$extra_parts crtbegin_no_eh.o crtend_no_eh.o"
+ extra_parts="crtbegin.o crtend.o crtbegin_no_eh.o crtend_no_eh.o"
extra_parts="$extra_parts libmul_none.a libmul_16.a libmul_32.a libmul_f5.a"
;;
nds32*-linux*)
diff --git a/libgcc/configure b/libgcc/configure
index 117e9c9..97cbad3 100755
--- a/libgcc/configure
+++ b/libgcc/configure
@@ -4964,6 +4964,15 @@ if test "$enable_tm_clone_registry" = no; then
use_tm_clone_registry=-DUSE_TM_CLONE_REGISTRY=0
fi
+else
+
+use_tm_clone_registry=
+case $target in
+ msp430*elfbare)
+ use_tm_clone_registry=-DUSE_TM_CLONE_REGISTRY=0
+ ;;
+esac
+
fi
diff --git a/libgcc/configure.ac b/libgcc/configure.ac
index f63c5e7..2d22f05 100644
--- a/libgcc/configure.ac
+++ b/libgcc/configure.ac
@@ -268,6 +268,14 @@ use_tm_clone_registry=
if test "$enable_tm_clone_registry" = no; then
use_tm_clone_registry=-DUSE_TM_CLONE_REGISTRY=0
fi
+],
+[
+use_tm_clone_registry=
+case $target in
+ msp430*elfbare)
+ use_tm_clone_registry=-DUSE_TM_CLONE_REGISTRY=0
+ ;;
+esac
])
AC_SUBST([use_tm_clone_registry])