[committed] ip2k and TARGET_SWITCHES

Richard Sandiford rsandifo@redhat.com
Mon Mar 21 21:12:00 GMT 2005


ip2k doesn't have any target options and only defined TARGET_SWITCHES
because it had to.

Tested by building ip2k-elf as far as it'll go (it ICEs building
libgcc/__gcc_bcmp.o for unrelated reasons).  Committed as obvious.

Richard


	* config/ip2k/ip2k.h (target_flags, TARGET_SWITCHES): Delete.

Index: config/ip2k/ip2k.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/ip2k/ip2k.h,v
retrieving revision 1.43
diff -c -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.43 ip2k.h
*** config/ip2k/ip2k.h	23 Nov 2004 19:55:24 -0000	1.43
--- config/ip2k/ip2k.h	21 Mar 2005 18:08:13 -0000
*************** #define TARGET_CPU_CPP_BUILTINS()		\
*** 34,44 ****
      }						\
    while (0)
  
- /* This declaration should be present.  */
- extern int target_flags;
- 
- #define TARGET_SWITCHES {{"",0, NULL}}
- 
  #define TARGET_VERSION fprintf (stderr, " (ip2k, GNU assembler syntax)")
  
  /* Caller-saves is not a win for the IP2K.  Pretty much anywhere that
--- 34,39 ----



More information about the Gcc-patches mailing list