This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch to add mips64vr configuration


The following patch adds support for mips64vr-elf and mips64vrel-elf.
Tested against a gcc build.  OK to install?

Richard


newlib/
	* configure.host (mips64vr-elf, mips64vrel-elf): New config.

libgloss/
	* mips/configure.in (mips64vr-elf, mips64vrel-elf): New config.
	* mips/configure: Regenerate.

Index: newlib/configure.host
===================================================================
RCS file: /cvs/src/src/newlib/configure.host,v
retrieving revision 1.41
diff -c -d -p -F^[(a-zA-Z0-9_^#] -r1.41 configure.host
*** newlib/configure.host	20 Sep 2002 17:11:29 -0000	1.41
--- newlib/configure.host	2 Jan 2003 14:20:41 -0000
*************** #	newlib_cflags="${newlib_cflags} -DARM_
*** 514,519 ****
--- 514,522 ----
  	newlib_cflags="${newlib_cflags}"
  	syscall_dir=syscalls
  	;;
+   mips64vr*-*-*)
+ 	newlib_cflags="${newlib_cflags} -DWANT_PRINTF_LONG_LONG -DMISSING_SYSCALL_NAMES"
+ 	;;
    mmix-*)
  	syscall_dir=syscalls
  	# We need every symbol 32-bit aligned, so the invalid
Index: libgloss/mips/configure.in
===================================================================
RCS file: /cvs/src/src/libgloss/mips/configure.in,v
retrieving revision 1.6
diff -c -d -p -F^[(a-zA-Z0-9_^#] -r1.6 configure.in
*** libgloss/mips/configure.in	12 Nov 2002 23:14:24 -0000	1.6
--- libgloss/mips/configure.in	2 Jan 2003 14:20:41 -0000
*************** case "${target}" in
*** 112,117 ****
--- 112,122 ----
          script_list="idt pmon ddb ddb-kseg0 lsi idtecoff nullmon"
          bsp_list="libidt.a libpmon.a liblsi.a libnullmon.a"
  	;;
+   mips64vr-*-* | mips64vrel-*-*)
+ 	part_specific_obj="vr5xxx.o cma101.o"
+ 	script_list="ddb ddb-kseg0 nullmon"
+ 	bsp_list="libpmon.a libnullmon.a"
+ 	;;
    *)
          part_specific_obj="vr4300.o cma101.o"
  	part_specific_defines=


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