This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: vxWorks support for Arm


> To: mrs@wrs.com (Mike Stump)
> Date: Tue, 23 Mar 1999 16:23:00 +0000
> From: Richard Earnshaw <rearnsha@arm.com>

> Mike,

> I've just spotted the following in your patch...

> + %{!mcpu*:%{!m6:%{!m2:%{!m3:%{!march=*:-DCPU=ARM710A}}}}} \

> the -m2 -m3 and -m6 flags have now been removed (they were deprecated 
> anyway), so this needs cleaning up as well.

Ok:

1999-01-20  Mike Stump  <mrs@wrs.com>

	* arm/vxarm.h: Split out vxWorks support into separate headerfile
	and vxify.
	* arm/arm.h: Allow arm710 as default.
	
1999-01-20  Mike Stump  <mrs@wrs.com>

	* configure: Split out vxWorks support for Arm.

Doing diffs in .:
*** ./gcc/config/arm/vxarm.h.~1~	Tue Mar 23 08:00:24 1999
--- ./gcc/config/arm/vxarm.h	Tue Mar 23 08:00:24 1999
***************
*** 0 ****
--- 1,36 ----
+ #undef SUBTARGET_CPP_SPEC
+ #define SUBTARGET_CPP_SPEC      "%{march=arm710:-DCPU=ARM710A} \
+ %{march=arm7tdmi:-DCPU=ARM7TDMI} \
+ %{march=arm810:-DCPU=ARM810} \
+ %{march=strongarm110:-DCPU=ARMSA110} \
+ %{!march=*: \
+  %{mcpu=arm710:-DCPU=ARM710A} \
+  %{mcpu=arm7tdmi:-DCPU=ARM7TDMI} \
+  %{mcpu=arm810:-DCPU=ARM810} \
+  %{mcpu=strongarm110:-DCPU=ARMSA110}} \
+ %{!mcpu*:%{!march=*:-DCPU=ARM710A}} \
+ "
+ 
+ #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm710
+ 
+ #undef CPP_PREDEFINES
+ #define CPP_PREDEFINES  "-D__vxworks -D__arm__ -Acpu(arm) -Amachine(arm)"
+ 
+ /* VxWorks does all the library stuff itself.  */
+ 
+ #undef LIB_SPEC
+ #define LIB_SPEC ""
+ 
+ /* VxWorks uses object files, not loadable images.  make linker just
+    combine objects. */
+ 
+ #undef LINK_SPEC
+ #define LINK_SPEC "-r"
+ 
+ /* VxWorks provides the functionality of crt0.o and friends itself.  */
+ 
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC ""
+ 
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC ""
*** ./gcc/config/arm/arm.c.~1~	Tue Mar 23 07:23:56 1999
--- ./gcc/config/arm/arm.c	Tue Mar 23 08:02:24 1999
*************** arm_override_options ()
*** 320,325 ****
--- 320,326 ----
  	{ TARGET_CPU_arm2,      "arm2" },
  	{ TARGET_CPU_arm6,      "arm6" },
  	{ TARGET_CPU_arm610,    "arm610" },
+ 	{ TARGET_CPU_arm710,	"arm710" },
  	{ TARGET_CPU_arm7m,     "arm7m" },
  	{ TARGET_CPU_arm7500fe, "arm7500fe" },
  	{ TARGET_CPU_arm7tdmi,  "arm7tdmi" },
*** ./gcc/configure.in.~1~	Tue Mar 23 07:18:03 1999
--- ./gcc/configure.in	Tue Mar 23 08:07:45 1999
*************** changequote([,])dnl
*** 665,670 ****
--- 665,674 ----
  		tm_file=arm/coff.h
  		tmake_file=arm/t-bare
  		;;
+ 	arm-*-vxworks*)
+ 		tm_file="arm/coff.h arm/vxarm.h"
+ 		tmake_file=arm/t-bare
+ 		;;
  changequote(,)dnl
  	arm-*-riscix1.[01]*)		# Acorn RISC machine (early versions)
  changequote([,])dnl
--------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]