From patchwork Sun Dec 26 18:19:42 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Schwab X-Patchwork-Id: 76719 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 640D2B70E4 for ; Mon, 27 Dec 2010 05:19:56 +1100 (EST) Received: (qmail 12675 invoked by alias); 26 Dec 2010 18:19:55 -0000 Received: (qmail 12667 invoked by uid 22791); 26 Dec 2010 18:19:54 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 26 Dec 2010 18:19:48 +0000 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id F16BD1C1D9FB for ; Sun, 26 Dec 2010 19:19:45 +0100 (CET) X-Auth-Info: 1mUKm5cBlh3ExcQtuhDkw4uZB8enl872N36UCHaScBI= Received: from linux.local (p508B50A1.dip.t-dialin.net [80.139.80.161]) by mail.mnet-online.de (Postfix) with ESMTPA id B06151C002E1 for ; Sun, 26 Dec 2010 19:19:45 +0100 (CET) Received: by linux.local (Postfix, from userid 501) id 856D91E52EC; Sun, 26 Dec 2010 19:19:43 +0100 (CET) From: Andreas Schwab To: gcc-patches@gcc.gnu.org Subject: m68k-linux: reduce multilibs X-Yow: I have the power to HALT PRODUCTION on all TEENAGE SEX COMEDIES!! Date: Sun, 26 Dec 2010 19:19:42 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.91 (gnu/linux) MIME-Version: 1.0 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 Linux/m68k only supports m680x0 CPUs, so exclude the other variants from the multilib selection for m68k-linux targets. Andreas. 2010-12-26 Andreas Schwab * config/m68k/t-linux (M68K_MLIB_CPU): Only include 680x0 CPUs. diff --git a/gcc/config/m68k/t-linux b/gcc/config/m68k/t-linux index 8dd5112..7af40da 100644 --- a/gcc/config/m68k/t-linux +++ b/gcc/config/m68k/t-linux @@ -18,8 +18,8 @@ EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o -# Only include multilibs for CPUs with an MMU. -M68K_MLIB_CPU += && match(FLAGS, "FL_MMU") +# Only include multilibs for 680x0 CPUs with an MMU. +M68K_MLIB_CPU += && (CPU ~ "^m680") && (FLAGS ~ "FL_MMU") # This rule uses MULTILIB_MATCHES to generate a definition of # SYSROOT_SUFFIX_SPEC.