From patchwork Sun Nov 13 15:18:47 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Pfeifer X-Patchwork-Id: 125422 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]) by ozlabs.org (Postfix) with SMTP id 794A6B7204 for ; Mon, 14 Nov 2011 02:19:02 +1100 (EST) Received: (qmail 26325 invoked by alias); 13 Nov 2011 15:19:00 -0000 Received: (qmail 26316 invoked by uid 22791); 13 Nov 2011 15:18:59 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from ainaz.pair.com (HELO ainaz.pair.com) (209.68.2.66) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 13 Nov 2011 15:18:46 +0000 Received: from ip-77-24-182-149.web.vodafone.de (ip-77-24-182-149.web.vodafone.de [77.24.182.149]) by ainaz.pair.com (Postfix) with ESMTPSA id 85D553F417; Sun, 13 Nov 2011 10:18:44 -0500 (EST) Date: Sun, 13 Nov 2011 16:18:47 +0100 (CET) From: Gerald Pfeifer To: gcc-patches@gcc.gnu.org, Rainer Orth cc: Loren James Rittle Subject: Fix libgcc for FreeBSD 10 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org The snippet below was written when a new major release of FreeBSD would happen every couple of years, not as frequently as recently the case. FreeBSD 1.x and 2.x, and a.out support, have been obsolete for what must be a decade or so, yet the regular expressions now match, and cause troubles for, FreeBSD 10.x. I am planing to apply the patch below as obvious. If we want to be more conservative, I could just yank the -*-*-freebsd[12] pattern. Rainer, Loren, any thoughts? Gerald 2011-11-13 Gerald Pfeifer * config.host (*-*-freebsd[12], *-*-freebsd[12].*, *-*-freebsd*aout*): Remove. Index: config.host =================================================================== --- config.host (revision 181325) +++ config.host (working copy) @@ -172,15 +172,6 @@ tmake_file="$tmake_file t-darwin ${cpu_type}/t-darwin t-libgcc-pic t-slibgcc-darwin" extra_parts=crt3.o ;; -*-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*) - # This is the place-holder for the generic a.out configuration - # of FreeBSD. No actual configuration resides here since - # there was only ever a bare-bones ix86 configuration for - # a.out and it exists solely in the machine-specific section. - # This place-holder must exist to avoid dropping into - # the generic ELF configuration of FreeBSD (i.e. it must be - # ordered before that section). - ;; *-*-freebsd*) # This is the generic ELF configuration of FreeBSD. Later # machine-specific sections may refine and add to this