From patchwork Fri Dec 31 15:44:49 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joern Rennecke X-Patchwork-Id: 77087 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 591BEB70DA for ; Sat, 1 Jan 2011 02:44:59 +1100 (EST) Received: (qmail 1279 invoked by alias); 31 Dec 2010 15:44:57 -0000 Received: (qmail 1271 invoked by uid 22791); 31 Dec 2010 15:44:57 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from c60.cesmail.net (HELO c60.cesmail.net) (216.154.195.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 31 Dec 2010 15:44:51 +0000 Received: from unknown (HELO delta2) ([192.168.1.50]) by c60.cesmail.net with ESMTP; 31 Dec 2010 10:44:49 -0500 Received: from e178009057.adsl.alicedsl.de (e178009057.adsl.alicedsl.de [85.178.9.57]) by webmail.spamcop.net (Horde MIME library) with HTTP; Fri, 31 Dec 2010 10:44:49 -0500 Message-ID: <20101231104449.kkxh53zmw4ckcksk-nzlynne@webmail.spamcop.net> Date: Fri, 31 Dec 2010 10:44:49 -0500 From: Joern Rennecke To: gcc-patches@gcc.gnu.org Subject: RFA: Fix target/47109 (m68k-netbsdelf build failure) MIME-Version: 1.0 User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) 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 m68k is not only used for the m68000 microprocessor, but also to describe the entiry microprocessor family and its architecture, so using m68k should be good enough. Besides, the version of collect2 does not magically change when you pass different options to gcc. Tested by building "all-gcc" for x86_64-pc-linux-gnu X m68k-netbsdelf . 2010-12-31 Joern Rennecke PR target/47109 * config/m68k/netbsd-elf.h (TARGET_VERSION): Don't use TARGET_68010. Index: config/m68k/netbsd-elf.h =================================================================== --- config/m68k/netbsd-elf.h (revision 168374) +++ config/m68k/netbsd-elf.h (working copy) @@ -53,11 +53,7 @@ #define SUBTARGET_EXTRA_SPECS \ #undef TARGET_VERSION -#define TARGET_VERSION \ - fprintf (stderr, \ - TARGET_68010 \ - ? " (NetBSD/68010 ELF)" \ - : " (NetBSD/m68k ELF)"); +#define TARGET_VERSION fprintf (stderr, " (NetBSD/m68k ELF)"); /* Provide a CPP_SPEC appropriate for NetBSD m68k targets. Currently we