Commit 2aa0c933 by Mike Stump Committed by Jeff Law

vxarm.h: Split out vxWorks support into separate headerfile and vxify.

        * arm/vxarm.h: Split out vxWorks support into separate headerfile
        and vxify.
        * arm/arm.c (cpu_defaults): Allow arm710 as default.
        * configure.in: Split out vxWorks support for Arm.
        * configure: Rebuilt.

From-SVN: r25932
parent 5ef2fb79
1999-01-23 Mike Stump <mrs@wrs.com>
* arm/vxarm.h: Split out vxWorks support into separate headerfile
and vxify.
* arm/arm.c (cpu_defaults): Allow arm710 as default.
* configure.in: Split out vxWorks support for Arm.
* configure: Rebuilt.
Tue Mar 23 11:20:03 1999 Per Bothner <bothner@cygnus.com> Tue Mar 23 11:20:03 1999 Per Bothner <bothner@cygnus.com>
* tree.c (first_rtl_op, has_cleanups): Handle GOTO_SUBROUTINE_EXPR. * tree.c (first_rtl_op, has_cleanups): Handle GOTO_SUBROUTINE_EXPR.
......
...@@ -320,6 +320,7 @@ arm_override_options () ...@@ -320,6 +320,7 @@ arm_override_options ()
{ TARGET_CPU_arm2, "arm2" }, { TARGET_CPU_arm2, "arm2" },
{ TARGET_CPU_arm6, "arm6" }, { TARGET_CPU_arm6, "arm6" },
{ TARGET_CPU_arm610, "arm610" }, { TARGET_CPU_arm610, "arm610" },
{ TARGET_CPU_arm710, "arm710" },
{ TARGET_CPU_arm7m, "arm7m" }, { TARGET_CPU_arm7m, "arm7m" },
{ TARGET_CPU_arm7500fe, "arm7500fe" }, { TARGET_CPU_arm7500fe, "arm7500fe" },
{ TARGET_CPU_arm7tdmi, "arm7tdmi" }, { TARGET_CPU_arm7tdmi, "arm7tdmi" },
......
#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 ""
...@@ -665,6 +665,10 @@ changequote([,])dnl ...@@ -665,6 +665,10 @@ changequote([,])dnl
tm_file=arm/coff.h tm_file=arm/coff.h
tmake_file=arm/t-bare tmake_file=arm/t-bare
;; ;;
arm-*-vxworks*)
tm_file="arm/coff.h arm/vxarm.h"
tmake_file=arm/t-bare
;;
changequote(,)dnl changequote(,)dnl
arm-*-riscix1.[01]*) # Acorn RISC machine (early versions) arm-*-riscix1.[01]*) # Acorn RISC machine (early versions)
changequote([,])dnl changequote([,])dnl
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment