[PATCH] MSP430: Support new msp430-elfbare target

Jozef Lawrynowicz <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <20191213130924.2ba95c44@jozef-kubuntu>
If the attached patch is acceptable I would appreciate if someone would commit
it for me, as I do not have write access.

Thanks,
Jozef
0001-MSP430-Support-new-msp430-elfbare-target.patch (text/x-patch, 1.1 KB)
From b47eb7b95923672a23e8acd0afed40af3117af8c Mon Sep 17 00:00:00 2001
From: Jozef Lawrynowicz <[email protected]>
Date: Mon, 25 Nov 2019 21:17:41 +0000
Subject: [PATCH] MSP430: Support new msp430-elfbare target

Update the target triplet glob used when configuring for msp430 to
support a new msp430-elfbare target being added to gcc.
---
 libgloss/configure    | 2 +-
 libgloss/configure.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libgloss/configure b/libgloss/configure
index 6c592b16b..0d2918cee 100755
--- a/libgloss/configure
+++ b/libgloss/configure
@@ -2552,7 +2552,7 @@ case "${target}" in
 	subdirs="$subdirs m32c"
 
 	;;
-  msp430*-*-elf)
+  msp430-*-elf*)
 	subdirs="$subdirs msp430"
 
 	config_libnosys=false
diff --git a/libgloss/configure.in b/libgloss/configure.in
index 16f413f66..f38d5298e 100644
--- a/libgloss/configure.in
+++ b/libgloss/configure.in
@@ -148,7 +148,7 @@ case "${target}" in
   m32c-*-*)
 	AC_CONFIG_SUBDIRS([m32c])
 	;;
-  msp430*-*-elf)
+  msp430-*-elf*)
 	AC_CONFIG_SUBDIRS([msp430])
 	config_libnosys=false
 	;;
-- 
2.17.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.