recent arm.h change

Nick Clifton nickc@cygnus.com
Wed Mar 29 12:46:00 GMT 2000


Hi Richard,

  OK - I am going to check in to the following patch to remove my
  ASM_SPEC definition from arm.h and also to fix a typo in linux-elf.h
  at the same time.

Cheers
	Nick

2000-03-29  Nick Clifton  <nickc@cygnus.com>

	* config/arm/arm.h: Undo effects of previous delta:
	(ASM_SPEC): Do not define.
	(SUBTARGET_EXTRA_ASM_SPEC): Do not define.

	* config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
	typo. 

Index: arm.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/arm/arm.h,v
retrieving revision 1.67
diff -p -r1.67 arm.h
*** arm.h	2000/03/29 19:15:36	1.67
--- arm.h	2000/03/29 20:44:02
*************** Unrecognized value in TARGET_CPU_DEFAULT
*** 249,271 ****
  #ifndef SUBTARGET_CPP_SPEC
  #define SUBTARGET_CPP_SPEC      ""
  #endif
- 
- #ifndef SUBTARGET_EXTRA_ASM_SPEC
- #define SUBTARGET_EXTRA_ASM_SPEC
- #endif
- 
- #ifndef ASM_SPEC
- #define ASM_SPEC "\
- %{mbig-endian:-EB} \
- %{mcpu=*:-m%*} \
- %{march=*:-m%*} \
- %{mapcs-*:-mapcs-%*} \
- %{matpcs:-matpcs} \
- %{mapcs-float:-mfloat} \
- %{msoft-float:-mno-fpu} \
- %{mthumb-interwork:-mthumb-interwork} \
- " SUBTARGET_EXTRA_ASM_SPEC
- #endif
  
  /* Run-time Target Specification.  */
  #ifndef TARGET_VERSION
--- 249,254 ----

Index: linux-elf.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/arm/linux-elf.h,v
retrieving revision 1.13
diff -p -r1.13 linux-elf.h
*** linux-elf.h	1999/12/18 13:34:21	1.13
--- linux-elf.h	2000/03/29 20:44:02
*************** Boston, MA 02111-1307, USA.  */
*** 36,42 ****
  	" %{mapcs-26:-m armelf_linux26} %{!mapcs-26:-m armelf_linux} -p"
  # endif
  # define SUBTARGET_EXTRA_ASM_SPEC	\
! 	" %{mapcs-26:-mapcs-26} %(!mapcs-26:-mapcs-32}"
  # define MULTILIB_DEFAULTS \
  	{ "mlittle-endian", "mhard-float", "mapcs-32", "mno-thumb-interwork" }
  # define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__"
--- 36,42 ----
  	" %{mapcs-26:-m armelf_linux26} %{!mapcs-26:-m armelf_linux} -p"
  # endif
  # define SUBTARGET_EXTRA_ASM_SPEC	\
! 	" %{mapcs-26:-mapcs-26} %{!mapcs-26:-mapcs-32}"
  # define MULTILIB_DEFAULTS \
  	{ "mlittle-endian", "mhard-float", "mapcs-32", "mno-thumb-interwork" }
  # define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__"
*************** Boston, MA 02111-1307, USA.  */
*** 50,56 ****
  	" %{mapcs-32:-m armelf_linux} %{!mapcs-32:-m armelf_linux26} -p"
  # endif
  # define SUBTARGET_EXTRA_ASM_SPEC	\
! 	" %{mapcs-32:-mapcs-32} %(!mapcs-32:-mapcs-26}"
  # define MULTILIB_DEFAULTS \
  	{ "mlittle-endian", "mhard-float", "mapcs-26", "mno-thumb-interwork" }
  #endif
--- 50,56 ----
  	" %{mapcs-32:-m armelf_linux} %{!mapcs-32:-m armelf_linux26} -p"
  # endif
  # define SUBTARGET_EXTRA_ASM_SPEC	\
! 	" %{mapcs-32:-mapcs-32} %{!mapcs-32:-mapcs-26}"
  # define MULTILIB_DEFAULTS \
  	{ "mlittle-endian", "mhard-float", "mapcs-26", "mno-thumb-interwork" }
  #endif


More information about the Gcc mailing list