From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99755 invoked by alias); 13 Apr 2017 23:17:56 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 99737 invoked by uid 89); 13 Apr 2017 23:17:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*m:ind, H*r:sk:dynamic, H*F:D*br X-HELO: mail.datacom.ind.br Received: from mx.datacom.ind.br (HELO mail.datacom.ind.br) (177.66.5.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 13 Apr 2017 23:17:53 +0000 Received: from mail.datacom.ind.br (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTPS id 52D1C18624B3; Thu, 13 Apr 2017 20:17:36 -0300 (BRT) Received: from localhost (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTP id 427561862408; Thu, 13 Apr 2017 20:17:36 -0300 (BRT) Received: from mail.datacom.ind.br ([127.0.0.1]) by localhost (mail.datacom.ind.br [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Bfg3-kvPM97M; Thu, 13 Apr 2017 20:17:36 -0300 (BRT) Received: from p7-1130br.casantos.org (177.204.235.73.dynamic.adsl.gvt.net.br [177.204.235.73]) by mail.datacom.ind.br (Postfix) with ESMTPSA id AE8BD1861FE5; Thu, 13 Apr 2017 20:17:35 -0300 (BRT) From: Carlos Santos To: newlib@sourceware.org Cc: Bryan Hundven , Alexey Neyman Subject: [PATCH] libgloss/arm: fix dircovery of "eabihf" toolchains Date: Thu, 13 Apr 2017 23:17:00 -0000 Message-Id: <1492125457-26653-1-git-send-email-casantos@datacom.ind.br> X-IsSubscribed: yes X-SW-Source: 2017/txt/msg00295.txt.bz2 ARM EABI toolchains can optionally use the "hf" suffix to identify hardware floating point support. Use the "*-*-eabi*" pattern to match these toolchains. Original patch by Bryan Hundven for the Crosstool-NG project. Improved by Alexey Neyman. Signed-off-by: Carlos Santos CC: Bryan Hundven --- Tested on Crosstool-NG, building a toolchain for target "armv7em-cortex_m4f-eabihf". --- libgloss/arm/configure | 2 +- libgloss/arm/configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libgloss/arm/configure b/libgloss/arm/configure index 93c2b27..1aed3a9 100644 --- a/libgloss/arm/configure +++ b/libgloss/arm/configure @@ -2531,7 +2531,7 @@ test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS case "${target}" in - *-*-elf | *-*-eabi | *-*-tirtos*) + *-*-elf | *-*-eabi* | *-*-tirtos*) objtype=elf- ;; *-*-coff) diff --git a/libgloss/arm/configure.in b/libgloss/arm/configure.in index 39c15d7..5fa901d 100644 --- a/libgloss/arm/configure.in +++ b/libgloss/arm/configure.in @@ -49,7 +49,7 @@ AC_PROG_RANLIB LIB_AM_PROG_AS case "${target}" in - *-*-elf | *-*-eabi | *-*-tirtos*) + *-*-elf | *-*-eabi* | *-*-tirtos*) objtype=elf- ;; *-*-coff) -- 2.7.4