From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24248 invoked by alias); 10 Jan 2007 18:10:37 -0000 Received: (qmail 24240 invoked by uid 22791); 10 Jan 2007 18:10:37 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 10 Jan 2007 18:10:26 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id l0AI9Mj4030662; Wed, 10 Jan 2007 13:09:22 -0500 Received: from [10.11.14.137] (vpn-14-137.rdu.redhat.com [10.11.14.137]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l0AI9Kp7009292; Wed, 10 Jan 2007 13:09:21 -0500 Subject: Re: [ColdFire 8/63] Share ASM_SPEC code between targets From: Jeffrey Law Reply-To: law@redhat.com To: Richard Sandiford Cc: gcc-patches@gcc.gnu.org In-Reply-To: <8764bfupk9.fsf_-_@firetop.home> References: <874pqzw4w1.fsf@firetop.home> <87zm8ruq9h.fsf@firetop.home> <87vejfuq79.fsf_-_@firetop.home> <87r6u3uq5h.fsf_-_@firetop.home> <87mz4ruq2f.fsf_-_@firetop.home> <87ejq3upwm.fsf_-_@firetop.home> <87ac0rupmr.fsf_-_@firetop.home> <8764bfupk9.fsf_-_@firetop.home> Content-Type: text/plain Date: Wed, 10 Jan 2007 18:10:00 -0000 Message-Id: <1168452571.28081.544.camel@sweet.slc.redhat.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.0 (2.8.0-7.fc6) Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-01/txt/msg00867.txt.bz2 On Wed, 2007-01-10 at 10:46 +0000, Richard Sandiford wrote: > Each m68k subtarget has its own ASM_SPEC to pass down target selection > options. Some of these specs are more exhaustive than others. > > This patch defines an %(asm_cpu_spec) which can be used by all targets, > and which passes down all known target selection options. The patch is > needed by the forthcoming -mcpu=* and -march=* support. > > Richard > > > gcc/ > 200x-xx-xx Richard Sandiford > Nathan Sidwell > > * config/m68k/m68k.h (ASM_CPU_SPEC, ASM_SPEC, EXTRA_SPECS) > (SUBTARGET_EXTRA_SPECS): New macros. > * config/m68k/linux.h (ASM_SPEC): Remove CPU flags; > use %(asm_cpu_spec) instead. > * config/m68k/m68k-none.h (ASM_SPEC): Likewise. > * config/m68k/openbsd.h (ASM_SPEC): Likewise. > * config/m68k/netbsd-elf.h (ASM_SPEC): Likewise. > (EXTRA_SPECS): Rename to... > (SUBTARGET_EXTRA_SPECS): ...this. OK. Jeff