[ColdFire 8/63] Share ASM_SPEC code between targets

Jeffrey Law law@redhat.com
Wed Jan 10 18:10:00 GMT 2007


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  <richard@codesourcery.com>
> 	    Nathan Sidwell  <nathan@codesourcery.com>
> 
> 	* 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




More information about the Gcc-patches mailing list