From patchwork Sat Feb 22 07:37:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan Hundven X-Patchwork-Id: 323128 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48A162C00CC for ; Sat, 22 Feb 2014 18:37:39 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version :content-transfer-encoding:subject:message-id:date:from:to:cc; q=dns; s=default; b=l1mKALRjLVU7omo/Y/NJCzROVPwrB2qpEif62oFxLIM JDr3ZrVb0ymQ53qHedYaeKnCHoaww9J4+gm0hLQtHnhT2pEWhb7iOlNc31TADiJP hx8YzaaTC7J4qq/fdSYNzyhhBaRSCaX49kKKZIr+kltry+TuSF+nPJxKlH+Zbuxw = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version :content-transfer-encoding:subject:message-id:date:from:to:cc; s=default; bh=vI8nO3dHJdGsOBGx1KjvG1bObc0=; b=n6OqKODOclYGnM9OV 6k9pcG6SYo8wEKzdk2VR4cO7T4lT0M3ovw5iP2lh/K5pEGvbACpXBT0ynH+/X3Cl xoO3c9gITVwXY+uCHI3FDh3q3+BhbNs5W+5bI6e2uWEti4OF7GIu50yRDU646wOO krZue8pQQBz8pna8LZfhj4ZL2M= Received: (qmail 25531 invoked by alias); 22 Feb 2014 07:37:31 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 25516 invoked by uid 89); 22 Feb 2014 07:37:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f169.google.com Received: from mail-pd0-f169.google.com (HELO mail-pd0-f169.google.com) (209.85.192.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 22 Feb 2014 07:37:29 +0000 Received: by mail-pd0-f169.google.com with SMTP id v10so4244507pde.0 for ; Fri, 21 Feb 2014 23:37:27 -0800 (PST) X-Received: by 10.68.143.231 with SMTP id sh7mr2491924pbb.7.1393054647098; Fri, 21 Feb 2014 23:37:27 -0800 (PST) Received: from Bryans-MacBook-Pro.local (71-37-11-236.tukw.qwest.net. [71.37.11.236]) by mx.google.com with ESMTPSA id e6sm28414045pbg.4.2014.02.21.23.37.25 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 21 Feb 2014 23:37:26 -0800 (PST) MIME-Version: 1.0 Subject: [PATCH] scripts: Update config.guess and config.sub X-Mercurial-Node: befa8e8e81336bc1c415655e1cc7614c7f23248d Message-Id: User-Agent: Mercurial-patchbomb/2.9+20140204 Date: Fri, 21 Feb 2014 23:37:24 -0800 From: bryanhundven@gmail.com To: "Yann E. MORIN" Cc: crossgcc@sourceware.org X-IsSubscribed: yes # HG changeset patch # User Bryan Hundven # Date 1393054092 28800 # Fri Feb 21 23:28:12 2014 -0800 # Node ID befa8e8e81336bc1c415655e1cc7614c7f23248d # Parent 9321d9d7af9bd605eec2811b6703392331db3469 scripts: Update config.guess and config.sub Update config.guess and config.sub from: http://git.savannah.gnu.org/gitweb/?p=config.git Signed-off-by: Bryan Hundven --- For unsubscribe information see http://sourceware.org/lists.html#faq diff -r 9321d9d7af9b -r befa8e8e8133 scripts/config.guess --- a/scripts/config.guess Thu Feb 20 18:23:08 2014 +0000 +++ b/scripts/config.guess Fri Feb 21 23:28:12 2014 -0800 @@ -1,8 +1,8 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright 1992-2013 Free Software Foundation, Inc. +# Copyright 1992-2014 Free Software Foundation, Inc. -timestamp='2013-11-29' +timestamp='2014-01-25' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -50,7 +50,7 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright 1992-2013 Free Software Foundation, Inc. +Copyright 1992-2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -1371,154 +1371,6 @@ exit ;; esac -eval $set_cc_for_build -cat >$dummy.c < -# include -#endif -main () -{ -#if defined (sony) -#if defined (MIPSEB) - /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, - I don't know.... */ - printf ("mips-sony-bsd\n"); exit (0); -#else -#include - printf ("m68k-sony-newsos%s\n", -#ifdef NEWSOS4 - "4" -#else - "" -#endif - ); exit (0); -#endif -#endif - -#if defined (__arm) && defined (__acorn) && defined (__unix) - printf ("arm-acorn-riscix\n"); exit (0); -#endif - -#if defined (hp300) && !defined (hpux) - printf ("m68k-hp-bsd\n"); exit (0); -#endif - -#if defined (NeXT) -#if !defined (__ARCHITECTURE__) -#define __ARCHITECTURE__ "m68k" -#endif - int version; - version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; - if (version < 4) - printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); - else - printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); - exit (0); -#endif - -#if defined (MULTIMAX) || defined (n16) -#if defined (UMAXV) - printf ("ns32k-encore-sysv\n"); exit (0); -#else -#if defined (CMU) - printf ("ns32k-encore-mach\n"); exit (0); -#else - printf ("ns32k-encore-bsd\n"); exit (0); -#endif -#endif -#endif - -#if defined (__386BSD__) - printf ("i386-pc-bsd\n"); exit (0); -#endif - -#if defined (sequent) -#if defined (i386) - printf ("i386-sequent-dynix\n"); exit (0); -#endif -#if defined (ns32000) - printf ("ns32k-sequent-dynix\n"); exit (0); -#endif -#endif - -#if defined (_SEQUENT_) - struct utsname un; - - uname(&un); - - if (strncmp(un.version, "V2", 2) == 0) { - printf ("i386-sequent-ptx2\n"); exit (0); - } - if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ - printf ("i386-sequent-ptx1\n"); exit (0); - } - printf ("i386-sequent-ptx\n"); exit (0); - -#endif - -#if defined (vax) -# if !defined (ultrix) -# include -# if defined (BSD) -# if BSD == 43 - printf ("vax-dec-bsd4.3\n"); exit (0); -# else -# if BSD == 199006 - printf ("vax-dec-bsd4.3reno\n"); exit (0); -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# endif -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# else - printf ("vax-dec-ultrix\n"); exit (0); -# endif -#endif - -#if defined (alliant) && defined (i860) - printf ("i860-alliant-bsd\n"); exit (0); -#endif - - exit (1); -} -EOF - -$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && - { echo "$SYSTEM_NAME"; exit; } - -# Apollos put the system type in the environment. - -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } - -# Convex versions that predate uname can use getsysinfo(1) - -if [ -x /usr/convex/getsysinfo ] -then - case `getsysinfo -f cpu_type` in - c1*) - echo c1-convex-bsd - exit ;; - c2*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit ;; - c34*) - echo c34-convex-bsd - exit ;; - c38*) - echo c38-convex-bsd - exit ;; - c4*) - echo c4-convex-bsd - exit ;; - esac -fi - cat >&2 <