specs vs whitespace

Richard Henderson rth@redhat.com
Sat Jan 25 18:38:00 GMT 2003


On Fri, Jan 17, 2003 at 07:17:41PM +0000, Graham Stott wrote:
> For what it's worth m68k-unknown-elf suffers from similar specs problem
> because it's passing "-mno-68881-mc68020" to the assembler which obviously
> gets rejected.

Fixed.


r~

        * config/m68k/m68k-none.h (ASM_SPEC): Adjust inter-option spacing.

Index: m68k-none.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/m68k/m68k-none.h,v
retrieving revision 1.3
diff -c -p -d -r1.3 m68k-none.h
*** m68k-none.h	16 Dec 1998 21:06:54 -0000	1.3
--- m68k-none.h	25 Jan 2003 18:35:47 -0000
*************** Unrecognized value in TARGET_CPU_DEFAULT
*** 143,149 ****
  
  #undef ASM_SPEC
  #define ASM_SPEC "\
! %{m68851}%{mno-68851}%{m68881}%{mno-68881}%{msoft-float:-mno-68881 }%{m68000}%{m68302}%{mc68000}%{m68010}%{m68020}%{mc68020}%{m68030}%{m68040}%{m68020-40:-mc68040 }%{m68020-60:-mc68040 }%{m68060}%{mcpu32}%{m68332}%{m5200}%{!mc68000:%{!m68000:%{!m68302:%{!m68010:%{!mc68020:%{!m68020:%{!m68030:%{!m68040:%{!m68020-40:%{!m68020-60:%{!m68060:%{!mcpu32:%{!m68332:%{!m5200:%(asm_cpu_default) }}}}}}}}}}}}}} \
  "
  
  /* cc1/cc1plus always receives all the -m flags. If the specs strings above 
--- 143,149 ----
  
  #undef ASM_SPEC
  #define ASM_SPEC "\
! %{m68851}%{mno-68851}%{m68881}%{mno-68881}%{msoft-float:-mno-68881} %{m68000}%{m68302}%{mc68000}%{m68010}%{m68020}%{mc68020}%{m68030}%{m68040}%{m68020-40:-mc68040} %{m68020-60:-mc68040} %{m68060}%{mcpu32}%{m68332}%{m5200}%{!mc68000:%{!m68000:%{!m68302:%{!m68010:%{!mc68020:%{!m68020:%{!m68030:%{!m68040:%{!m68020-40:%{!m68020-60:%{!m68060:%{!mcpu32:%{!m68332:%{!m5200:%(asm_cpu_default)}}}}}}}}}}}}}} \
  "
  
  /* cc1/cc1plus always receives all the -m flags. If the specs strings above 



More information about the Gcc-patches mailing list