Date: Wed, 2 Jun 2010 11:06:03 +0000 (UTC) From: Juli Mallett <jmallett@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/contrib/binutils/bfd archures.c bfd-in2.h cpu-mips.c elfxx-mips.c src/contrib/binutils/gas/config tc-mips.c tc-mips.h src/contrib/binutils/include/elf mips.h src/contrib/binutils/include/opcode mips.h src/contrib/binutils/opcodes ... Message-ID: <201006021107.o52B7df7056922@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jmallett 2010-06-02 11:06:03 UTC FreeBSD src repository Modified files: contrib/binutils/bfd archures.c bfd-in2.h cpu-mips.c elfxx-mips.c contrib/binutils/gas/config tc-mips.c tc-mips.h contrib/binutils/include/elf mips.h contrib/binutils/include/opcode mips.h contrib/binutils/opcodes mips-dis.c mips-opc.c mips16-opc.c contrib/gcc/config/mips freebsd.h mips.c mips.h mips.md gnu/lib/libgcc Makefile gnu/lib/libgomp Makefile gnu/usr.bin/binutils Makefile.inc0 gnu/usr.bin/binutils/ld Makefile.mips gnu/usr.bin/binutils/libbfd Makefile.mips bfd.h gnu/usr.bin/cc Makefile.inc Added files: contrib/gcc/config fixdfdi.c fixsfdi.c fixunsdfsi.c fixunssfsi.c floatdidf.c floatdisf.c floatundidf.c floatundisf.c Log: SVN rev 208737 on 2010-06-02 11:06:03Z by jmallett Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain. o) Add TARGET_ABI to the MIPS toolchain build process. This sets the default ABI to one of o32, n32 or n64. If it is not set, o32 is assumed as that is the current default. o) Set the default GCC cpu type to any specified TARGET_CPUTYPE. This is necessary to have a working "cc" if e.g. mips64 is specified, as binutils will refuse to link objects using different ISAs in some cases. o) Add support for n32 and n64 ABIs to binutils and GCC. o) Add additional required libgcc2 stubs for n32 and n64. o) Add support for the "mips64r2" architecture to GCC. Add the "octeon" o) When static linking, wrap default libraries in --start-group and --end-group. This is required for static linking to work on n64 with the interdependencies between libraries there. This is what other OSes that support n64 seem to do, as well. o) Fix our GCC spec to define __mips64 for 64-bit targets, not __mips64__, the former being what libgcc, etc., check and the latter seemingly being a misspelling of a hand merge from a Linux spec. o) When no TARGET_CPUTYPE is specified at build time, make GCC take the default ISA from the ABI. Our old defaults were too liberal and assumed that 64-bit ABIs should default to the MIPS64 ISA and that 32-bit ABIs should default to the MIPS32 ISA, when we are supporting or will support some systems based on earlier 32-bit and 64-bit ISAs, most notably MIPS-III. o) Merge a new opcode file (and support code) from a later version of binutils and add flags and code necessary to support Octeon-specific instructions. This should also make merging opcodes for other modern architectures easier. Reviewed by: imp Revision Changes Path 1.2 +665 -257 src/contrib/binutils/bfd/archures.c 1.2 +3122 -1401 src/contrib/binutils/bfd/bfd-in2.h 1.4 +6 -2 src/contrib/binutils/bfd/cpu-mips.c 1.2 +38 -5 src/contrib/binutils/bfd/elfxx-mips.c 1.3 +2779 -2396 src/contrib/binutils/gas/config/tc-mips.c 1.2 +2 -20 src/contrib/binutils/gas/config/tc-mips.h 1.2 +489 -20 src/contrib/binutils/include/elf/mips.h 1.4 +100 -11 src/contrib/binutils/include/opcode/mips.h 1.2 +741 -454 src/contrib/binutils/opcodes/mips-dis.c 1.2 +1292 -1037 src/contrib/binutils/opcodes/mips-opc.c 1.2 +173 -160 src/contrib/binutils/opcodes/mips16-opc.c 1.1 +28 -0 src/contrib/gcc/config/fixdfdi.c (new) 1.1 +30 -0 src/contrib/gcc/config/fixsfdi.c (new) 1.1 +18 -0 src/contrib/gcc/config/fixunsdfsi.c (new) 1.1 +17 -0 src/contrib/gcc/config/fixunssfsi.c (new) 1.1 +17 -0 src/contrib/gcc/config/floatdidf.c (new) 1.1 +38 -0 src/contrib/gcc/config/floatdisf.c (new) 1.1 +16 -0 src/contrib/gcc/config/floatundidf.c (new) 1.1 +36 -0 src/contrib/gcc/config/floatundisf.c (new) 1.8 +25 -12 src/contrib/gcc/config/mips/freebsd.h 1.2 +6 -1 src/contrib/gcc/config/mips/mips.c 1.2 +38 -9 src/contrib/gcc/config/mips/mips.h 1.2 +2 -1 src/contrib/gcc/config/mips/mips.md 1.70 +6 -0 src/gnu/lib/libgcc/Makefile 1.5 +2 -1 src/gnu/lib/libgomp/Makefile 1.40 +2 -1 src/gnu/usr.bin/binutils/Makefile.inc0 1.11 +12 -5 src/gnu/usr.bin/binutils/ld/Makefile.mips 1.5 +17 -1 src/gnu/usr.bin/binutils/libbfd/Makefile.mips 1.6 +2 -0 src/gnu/usr.bin/binutils/libbfd/bfd.h 1.70 +22 -1 src/gnu/usr.bin/cc/Makefile.inc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006021107.o52B7df7056922>