Date: Mon, 3 Jul 2006 04:05:40 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 100454 for review Message-ID: <200607030405.k6345edf019239@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100454 Change 100454 by imp@imp_plunger on 2006/07/03 04:05:39 Merge from the other location into a more public location now that we've seen a lot of interest in the project and we have it to an interesting (but not yet useful) point. Affected files ... .. //depot/projects/mips2/src/NOTES#1 branch .. //depot/projects/mips2/src/TODO#1 branch .. //depot/projects/mips2/src/contrib/binutils/bfd/coff-mips.c#1 branch .. //depot/projects/mips2/src/contrib/binutils/bfd/config.bfd#2 integrate .. //depot/projects/mips2/src/contrib/binutils/bfd/cpu-mips.c#1 branch .. //depot/projects/mips2/src/contrib/binutils/bfd/elf32-mips.c#1 branch .. //depot/projects/mips2/src/contrib/binutils/bfd/elf64-mips.c#1 branch .. //depot/projects/mips2/src/contrib/binutils/bfd/elfn32-mips.c#1 branch .. //depot/projects/mips2/src/contrib/binutils/bfd/elfxx-mips.c#1 branch .. //depot/projects/mips2/src/contrib/binutils/bfd/elfxx-mips.h#1 branch .. //depot/projects/mips2/src/contrib/binutils/bfd/hosts/mipsbsd.h#1 branch .. //depot/projects/mips2/src/contrib/binutils/bfd/hosts/mipsmach3.h#1 branch .. //depot/projects/mips2/src/contrib/binutils/bfd/hosts/news-mips.h#1 branch .. //depot/projects/mips2/src/contrib/binutils/bfd/mipsbsd.c#1 branch .. //depot/projects/mips2/src/contrib/binutils/bfd/pe-mips.c#1 branch .. //depot/projects/mips2/src/contrib/binutils/bfd/pei-mips.c#1 branch .. //depot/projects/mips2/src/contrib/binutils/gas/config/e-mipsecoff.c#1 branch .. //depot/projects/mips2/src/contrib/binutils/gas/config/e-mipself.c#1 branch .. //depot/projects/mips2/src/contrib/binutils/gas/config/itbl-mips.h#1 branch .. //depot/projects/mips2/src/contrib/binutils/gas/config/tc-mips.c#1 branch .. //depot/projects/mips2/src/contrib/binutils/gas/config/tc-mips.h#1 branch .. //depot/projects/mips2/src/contrib/binutils/gas/config/te-tmips.h#1 branch .. //depot/projects/mips2/src/contrib/binutils/gas/doc/c-mips.texi#1 branch .. //depot/projects/mips2/src/contrib/binutils/gprof/mips.c#1 branch .. //depot/projects/mips2/src/contrib/binutils/include/coff/mips.h#1 branch .. //depot/projects/mips2/src/contrib/binutils/include/coff/mipspe.h#1 branch .. //depot/projects/mips2/src/contrib/binutils/include/opcode/mips.h#1 branch .. //depot/projects/mips2/src/contrib/binutils/ld/emulparams/elf32bmip_fbsd.sh#1 branch .. //depot/projects/mips2/src/contrib/binutils/ld/emulparams/elf32mipswindiss.sh#1 branch .. //depot/projects/mips2/src/contrib/binutils/ld/emulparams/mipsbig.sh#1 branch .. //depot/projects/mips2/src/contrib/binutils/ld/emulparams/mipsbsd.sh#1 branch .. //depot/projects/mips2/src/contrib/binutils/ld/emulparams/mipsidt.sh#1 branch .. //depot/projects/mips2/src/contrib/binutils/ld/emulparams/mipsidtl.sh#1 branch .. //depot/projects/mips2/src/contrib/binutils/ld/emulparams/mipslit.sh#1 branch .. //depot/projects/mips2/src/contrib/binutils/ld/emulparams/mipslnews.sh#1 branch .. //depot/projects/mips2/src/contrib/binutils/ld/emulparams/mipspe.sh#1 branch .. //depot/projects/mips2/src/contrib/binutils/ld/emultempl/mipsecoff.em#1 branch .. //depot/projects/mips2/src/contrib/binutils/ld/emultempl/mipself.em#1 branch .. //depot/projects/mips2/src/contrib/binutils/ld/scripttempl/mips.sc#1 branch .. //depot/projects/mips2/src/contrib/binutils/ld/scripttempl/mipsbsd.sc#1 branch .. //depot/projects/mips2/src/contrib/binutils/opcodes/mips-dis.c#1 branch .. //depot/projects/mips2/src/contrib/binutils/opcodes/mips-opc.c#1 branch .. //depot/projects/mips2/src/contrib/binutils/opcodes/mips16-opc.c#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/5400.md#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/5500.md#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/7000.md#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/9000.md#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/_tilib.c#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/cross64.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/crti.asm#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/crtn.asm#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/dbxmdebug.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/elf.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/elf64.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/elforion.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/freebsd.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/iris5.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/iris5gas.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/iris5gld.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/iris6.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/iris6gas.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/iris6gld.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/irix-crti.asm#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/irix-crtn.asm#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/linux.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/linux64.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/mips-modes.def#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/mips-protos.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/mips.c#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/mips.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/mips.md#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/mips16.S#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/netbsd.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/openbsd.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/r3900.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/rtems.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/sdb.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/sr71k.md#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/t-cross64#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/t-elf#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/t-gofast#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/t-iris#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/t-iris5-6#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/t-iris5-as#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/t-iris5-gas#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/t-iris6#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/t-irix-gld#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/t-isa3264#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/t-linux64#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/t-mips#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/t-r3900#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/t-rtems#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/t-sr71k#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/t-vr#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/t-vxworks#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/vr.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/vxworks.h#1 branch .. //depot/projects/mips2/src/contrib/gcc/config/mips/windiss.h#1 branch .. //depot/projects/mips2/src/gnu/usr.bin/Makefile#2 integrate .. //depot/projects/mips2/src/gnu/usr.bin/binutils/as/Makefile#2 integrate .. //depot/projects/mips2/src/gnu/usr.bin/binutils/as/mips-freebsd/itbl-cpu.h#1 branch .. //depot/projects/mips2/src/gnu/usr.bin/binutils/as/mips-freebsd/targ-cpu.h#1 branch .. //depot/projects/mips2/src/gnu/usr.bin/binutils/ld/Makefile.mips#1 branch .. //depot/projects/mips2/src/gnu/usr.bin/binutils/libbfd/Makefile.mips#1 branch .. //depot/projects/mips2/src/gnu/usr.bin/binutils/libopcodes/Makefile.mips#1 branch .. //depot/projects/mips2/src/gnu/usr.bin/cc/Makefile.tgt#2 integrate .. //depot/projects/mips2/src/gnu/usr.bin/cc/cc_tools/Makefile#2 integrate .. //depot/projects/mips2/src/gnu/usr.bin/cc/cc_tools/auto-host.h#2 integrate .. //depot/projects/mips2/src/lib/libc/mips/Makefile.inc#1 branch .. //depot/projects/mips2/src/lib/libc/mips/SYS.h#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gdtoa/Makefile.inc#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gdtoa/arith.h#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gdtoa/gd_qnan.h#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/Makefile.inc#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/_lwp.c#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/_resumecontext.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/_setjmp.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/cacheflush.c#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/fabs.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/flt_rounds.c#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/fpgetmask.c#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/fpgetround.c#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/fpgetsticky.c#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/fpsetmask.c#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/fpsetround.c#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/fpsetsticky.c#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/ldexp.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/longjmp.c#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/makecontext.c#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/modf.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/nanf.c#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/resumecontext.c#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/setjmp.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/sigsetjmp.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/gen/swapcontext.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/net/Makefile.inc#1 branch .. //depot/projects/mips2/src/lib/libc/mips/stdlib/Makefile.inc#1 branch .. //depot/projects/mips2/src/lib/libc/mips/string/Makefile.inc#1 branch .. //depot/projects/mips2/src/lib/libc/mips/string/bcmp.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/string/bzero.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/string/index.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/string/rindex.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/sys/__clone.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/sys/__sigaction14_sigtramp.c#1 branch .. //depot/projects/mips2/src/lib/libc/mips/sys/__sigtramp2.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/sys/__syscall.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/sys/__vfork14.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/sys/brk.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/sys/cerror.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/sys/exect.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/sys/fork.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/sys/getcontext.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/sys/pipe.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/sys/ptrace.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/sys/sbrk.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/sys/shmat.S#1 branch .. //depot/projects/mips2/src/lib/libc/mips/sys/syscall.S#1 branch .. //depot/projects/mips2/src/lib/libpthread/arch/mips/Makefile.inc#1 branch .. //depot/projects/mips2/src/lib/libpthread/arch/mips/include/atomic_ops.h#1 branch .. //depot/projects/mips2/src/lib/libpthread/arch/mips/include/pthread_md.h#1 branch .. //depot/projects/mips2/src/lib/libpthread/arch/mips/mips/context.S#1 branch .. //depot/projects/mips2/src/lib/libpthread/arch/mips/mips/pthread_md.c#1 branch .. //depot/projects/mips2/src/lib/libthr/arch/mips/Makefile.inc#1 branch .. //depot/projects/mips2/src/lib/libthr/arch/mips/include/pthread_md.h#1 branch .. //depot/projects/mips2/src/lib/libthr/arch/mips/mips/pthread_md.c#1 branch .. //depot/projects/mips2/src/lib/msun/mips/Makefile.inc#1 branch .. //depot/projects/mips2/src/lib/msun/mips/Symbol.map#1 branch .. //depot/projects/mips2/src/lib/msun/mips/fenv.c#1 branch .. //depot/projects/mips2/src/lib/msun/mips/fenv.h#1 branch .. //depot/projects/mips2/src/secure/lib/libcrypto/opensslconf-mips.h#1 branch .. //depot/projects/mips2/src/share/mk/bsd.endian.mk#2 integrate .. //depot/projects/mips2/src/sys/Makefile#2 integrate .. //depot/projects/mips2/src/sys/conf/Makefile.mips#1 branch .. //depot/projects/mips2/src/sys/conf/files.mips#1 branch .. //depot/projects/mips2/src/sys/conf/kern.mk#2 integrate .. //depot/projects/mips2/src/sys/conf/options.mips#1 branch .. //depot/projects/mips2/src/sys/mips/adm5120/files.adm5120#1 branch .. //depot/projects/mips2/src/sys/mips/adm5120/std.adm5120#1 branch .. //depot/projects/mips2/src/sys/mips/compile/KEEP_ME#1 branch .. //depot/projects/mips2/src/sys/mips/conf/QEMU#1 branch .. //depot/projects/mips2/src/sys/mips/include/_bus.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/_inttypes.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/_limits.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/_stdint.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/_types.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/asm.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/asmacros.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/atomic.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/bus.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/bus_dma.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/clock.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/cpu.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/cpufunc.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/cputypes.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/db_machdep.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/elf.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/endian.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/exec.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/float.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/floatingpoint.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/fpu.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/frame.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/gdb_machdep.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/ieeefp.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/in_cksum.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/intr_machdep.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/iodev.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/kdb.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/limits.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/md_var.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/memdev.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/metadata.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/minidump.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/mp_watchdog.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/mutex.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/param.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/pcb.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/pcb_ext.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/pci_cfgreg.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/pcpu.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/pmap.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/pmc_mdep.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/ppireg.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/proc.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/profile.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/psl.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/ptrace.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/reg.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/reloc.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/resource.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/runq.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/segments.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/setjmp.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/sf_buf.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/sigframe.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/signal.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/smp.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/specialreg.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/stdarg.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/sysarch.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/timerreg.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/trap.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/ucontext.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/varargs.h#1 branch .. //depot/projects/mips2/src/sys/mips/include/vmparam.h#1 branch .. //depot/projects/mips2/src/sys/mips/mips/autoconf.c#1 branch .. //depot/projects/mips2/src/sys/mips/mips/genassym.c#1 branch Differences ... ==== //depot/projects/mips2/src/contrib/binutils/bfd/config.bfd#2 (text+ko) ==== @@ -768,6 +768,10 @@ targ_defvec=bfd_elf32_littlemips_vec targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec ecoff_little_vec ecoff_big_vec" ;; + mips*-*-freebsd*) + targ_defvec=bfd_elf32_bigmips_vec + targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec ecoff_big_vec ecoff_little_vec" + ;; mips*-*-netbsd*) targ_defvec=bfd_elf32_bigmips_vec targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec ecoff_big_vec ecoff_little_vec" ==== //depot/projects/mips2/src/gnu/usr.bin/Makefile#2 (text+ko) ==== @@ -24,7 +24,8 @@ sort \ ${_texinfo} -.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "powerpc" +.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "powerpc" || \ + ${MACHINE_ARCH} == "mips" MK_GDB= no # not yet .endif ==== //depot/projects/mips2/src/gnu/usr.bin/binutils/as/Makefile#2 (text+ko) ==== @@ -20,6 +20,10 @@ # DEO: why not used? #SRCS+= itbl-ops.c +.if ${TARGET_ARCH} == "mips" +SRCS+= itbl-ops.c itbl-parse.y itbl-lex.l +.endif + .if ${TARGET_ARCH} == "amd64" SRCS+= tc-i386.c .elif ${TARGET_ARCH} == "powerpc" ==== //depot/projects/mips2/src/gnu/usr.bin/cc/Makefile.tgt#2 (text+ko) ==== @@ -11,6 +11,8 @@ .elif ${TARGET_ARCH} == "ia64" TARGET_CPU_DEFAULT= MASK_GNU_AS|MASK_GNU_LD GCC_CPU= ia64 +.elif ${TARGET_ARCH} == "mips" +GCC_CPU= mips .elif ${TARGET_ARCH} == "powerpc" GCC_CPU= rs6000 .elif ${TARGET_ARCH} == "sparc64" ==== //depot/projects/mips2/src/gnu/usr.bin/cc/cc_tools/Makefile#2 (text+ko) ==== @@ -246,7 +246,9 @@ TARGET_INC+= altivec-defs.h .endif TARGET_INC+= defaults.h - +.if ${TARGET_ARCH} == "mips" +TARGET_CPU_DEFAULT= 16 +.endif # # Use TARGET_INC as a template and build a list of target specific # include files for gengtype to scan ==== //depot/projects/mips2/src/gnu/usr.bin/cc/cc_tools/auto-host.h#2 (text+ko) ==== @@ -523,7 +523,7 @@ /* The number of bytes in type int */ #define SIZEOF_INT 4 -#if defined(__i386__) || defined(__powerpc__) || defined(__strongarm__) +#if defined(__i386__) || defined(__powerpc__) || defined(__arm__) || defined(__mips__) /* The number of bytes in type long */ # define SIZEOF_LONG SIZEOF_INT #elif defined(__alpha__) || defined(__sparc64__) || defined(__ia64__) || defined(__amd64__) ==== //depot/projects/mips2/src/share/mk/bsd.endian.mk#2 (text+ko) ==== @@ -4,10 +4,12 @@ ${MACHINE_ARCH} == "amd64" || \ ${MACHINE_ARCH} == "i386" || \ ${MACHINE_ARCH} == "ia64" || \ - (${MACHINE_ARCH} == "arm" && !defined(ARM_BIG_ENDIAN)) + (${MACHINE_ARCH} == "arm" && !defined(ARM_BIG_ENDIAN)) || \ + (${MACHINE_ARCH} == "mips" && !defined(MIPS_BIG_ENDIAN)) TARGET_ENDIANNESS= 1234 .elif ${MACHINE_ARCH} == "powerpc" || \ ${MACHINE_ARCH} == "sparc64" || \ - ${MACHINE_ARCH} == "arm" + ${MACHINE_ARCH} == "arm" || \ + ${MACHINE_ARCH} == "mips" TARGET_ENDIANNESS= 4321 .endif ==== //depot/projects/mips2/src/sys/Makefile#2 (text+ko) ==== @@ -4,7 +4,7 @@ # The boot loader .if ${MK_BOOT} != "no" -.if ${MACHINE_ARCH} != "arm" +.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips" SUBDIR= boot .endif .endif ==== //depot/projects/mips2/src/sys/conf/kern.mk#2 (text+ko) ==== @@ -82,6 +82,15 @@ .endif # +# For PowerPC we tell gcc to use floating point emulation. This avoids using +# floating point registers for integer operations which it has a tendency to do. +# +.if ${MACHINE_ARCH} == "mips" +CFLAGS+= -msoft-float +INLINE_LIMIT?= 15000 +.endif + +# # GCC 3.0 and above like to do certain optimizations based on the # assumption that the program is linked against libc. Stop this. #
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607030405.k6345edf019239>