binutils214 stage 2/4.
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 2 Feb 2004 05:43:16 +0000 (05:43 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 2 Feb 2004 05:43:16 +0000 (05:43 +0000)
commit170303421b362769833650ccf53494fe20c67f0c
treecf9d65a8099e704be94b2a264f8f784768a9db14
parentaa1fd55dffedf473ef9e48f111c43fb83441f33e
binutils214 stage 2/4.

 * Normalize binutils212 and binutils214.  Remove /usr/bin/gcc{2,3}/*
   and move those binaries to /usr/libexec/gcc{2,3}.  Adjust objformat
   to suit.

 * Hack up contrib/gcc3 to accomodoate library path requirements and fix
   STANDARD_BINDIR_PREFIX.  Add a missing trailing '/' in STANDARD_EXEC_PREFIX.

 * Adjust /usr/src/etc/Makefile (upgrade_etc) to remove old GCC and BINUTILS
   junk.

 * Cleanup etc/mtree/BSD.usr.dist

 * Only build gcc2 for non-cross-compiled i386 native builds.  Do not
   build libc_r for non-i386 architectures for now.  Allow on sysctl based
   setproctitle() updates for non-i386 architectures for now.

 * Move ldscripts from /usr/libdata/gcc{2,3}/ldscripts into
   /usr/libexec/binutilsXXX/ldscripts and remove /usr/libdata/gcc{2,3}.

 * GCC vendor obrien->dillon, change TARGET_OS in various places from
   freebsd -> dragonfly.

 * Consolidate config.h differences for cross builds in the Makefiles so
   we need only have one config.h for binutils214/as.

 * Cleanup and fix default target BFD for the assembler and linker when
   cross-building.

 * Build both the 32 and 64 bit support BFD's for binutils214 even if
   just doing a native build.

 * Remove a bunch of alpha junk (incomplete).

 * Note gnu/usr.bin/binutils214/libbfd/dfly_targmatch.h contains aliases
   to match dragonfly BFD targets.  Some are probably unnecessary but I
   had to move on.

 * Bring in a bunch of AMD64 related files (incomplete).

 * Update rpcgen to locate cpp with the current path instead of /usr/bin/cpp.
   Add rpcgen to the buildworld bootstrap tools.

Obtained-From: A good chunk of the amd64-specific files were adapted from
FreeBSD-5 (authored by Peter Wemm and others).
98 files changed:
Makefile.inc1
etc/Makefile
etc/mtree/BSD.usr.dist
gnu/lib/Makefile
gnu/lib/libgmp/Makefile
gnu/lib/libmp/Makefile
gnu/usr.bin/Makefile
gnu/usr.bin/binutils/ld/Makefile
gnu/usr.bin/binutils214/as/Makefile.inc0
gnu/usr.bin/binutils214/as/amd64-dragonfly/Makefile
gnu/usr.bin/binutils214/as/config.h
gnu/usr.bin/binutils214/as/i386-dragonfly/Makefile
gnu/usr.bin/binutils214/ld/Makefile.amd64 [new file with mode: 0644]
gnu/usr.bin/binutils214/libbfd/Makefile
gnu/usr.bin/binutils214/libbfd/dfly_targmatch.h
gnu/usr.bin/binutils214/libopcodes/Makefile.amd64 [new file with mode: 0644]
gnu/usr.bin/cc/Makefile.inc
gnu/usr.bin/cc/cc1/Makefile
gnu/usr.bin/cc/cc1obj/Makefile
gnu/usr.bin/cc/cc1plus/Makefile
gnu/usr.bin/cc/cccp/Makefile
gnu/usr.bin/cc/f771/Makefile
gnu/usr.bin/cc3/Makefile.inc
gnu/usr.bin/cc3/cc1/Makefile
gnu/usr.bin/cc3/cc1obj/Makefile
gnu/usr.bin/cc3/cc1plus/Makefile
gnu/usr.bin/cc3/cc_tools/dragonfly-native.h
gnu/usr.bin/cc3/cccp/Makefile
gnu/usr.bin/cc3/cpp0/Makefile
gnu/usr.bin/cc3/f771/Makefile
gnu/usr.bin/cc3/tradcpp0/Makefile
gnu/usr.bin/perl/libperl/config.SH-elf.amd64 [moved from gnu/usr.bin/perl/libperl/config.SH-elf.alpha with 92% similarity]
gnu/usr.bin/perl/libperl/config.SH-elf.i386
include/ieeefp.h
include/rpcsvc/Makefile
lib/Makefile
lib/csu/alpha/Makefile [deleted file]
lib/csu/amd64/Makefile [new file with mode: 0644]
lib/csu/amd64/crt1.c [moved from lib/csu/alpha/crt1.c with 64% similarity]
lib/csu/amd64/crti.S [moved from lib/csu/alpha/crti.S with 74% similarity]
lib/csu/amd64/crtn.S [moved from lib/csu/alpha/crtn.S with 74% similarity]
lib/libc/amd64/Makefile.inc [new file with mode: 0644]
lib/libc/amd64/SYS.h [new file with mode: 0644]
lib/libc/amd64/_fpmath.h [new file with mode: 0644]
lib/libc/amd64/arith.h [new file with mode: 0644]
lib/libc/amd64/gen/Makefile.inc [new file with mode: 0644]
lib/libc/amd64/gen/_setjmp.S [new file with mode: 0644]
lib/libc/amd64/gen/fabs.S [new file with mode: 0644]
lib/libc/amd64/gen/fpgetmask.c [new file with mode: 0644]
lib/libc/amd64/gen/fpgetprec.c [new file with mode: 0644]
lib/libc/amd64/gen/fpgetround.c [new file with mode: 0644]
lib/libc/amd64/gen/fpgetsticky.c [new file with mode: 0644]
lib/libc/amd64/gen/fpsetmask.c [new file with mode: 0644]
lib/libc/amd64/gen/fpsetprec.c [new file with mode: 0644]
lib/libc/amd64/gen/fpsetround.c [new file with mode: 0644]
lib/libc/amd64/gen/fpsetsticky.c [new file with mode: 0644]
lib/libc/amd64/gen/frexp.c [new file with mode: 0644]
lib/libc/amd64/gen/infinity.c [new file with mode: 0644]
lib/libc/amd64/gen/isinf.c [new file with mode: 0644]
lib/libc/amd64/gen/ldexp.c [new file with mode: 0644]
lib/libc/amd64/gen/makecontext.c [new file with mode: 0644]
lib/libc/amd64/gen/modf.S [new file with mode: 0644]
lib/libc/amd64/gen/rfork_thread.S [new file with mode: 0644]
lib/libc/amd64/gen/setjmp.S [new file with mode: 0644]
lib/libc/amd64/gen/signalcontext.c [new file with mode: 0644]
lib/libc/amd64/gen/sigsetjmp.S [new file with mode: 0644]
lib/libc/amd64/net/Makefile.inc [new file with mode: 0644]
lib/libc/amd64/net/htonl.S [new file with mode: 0644]
lib/libc/amd64/net/htons.S [new file with mode: 0644]
lib/libc/amd64/net/ntohl.S [new file with mode: 0644]
lib/libc/amd64/net/ntohs.S [new file with mode: 0644]
lib/libc/amd64/stdlib/gdtoa.mk [new file with mode: 0644]
lib/libc/amd64/sys/Makefile.inc [new file with mode: 0644]
lib/libc/amd64/sys/amd64_get_fsbase.c [new file with mode: 0644]
lib/libc/amd64/sys/amd64_get_gsbase.c [new file with mode: 0644]
lib/libc/amd64/sys/amd64_set_fsbase.c [new file with mode: 0644]
lib/libc/amd64/sys/amd64_set_gsbase.c [new file with mode: 0644]
lib/libc/amd64/sys/brk.S [new file with mode: 0644]
lib/libc/amd64/sys/cerror.S [new file with mode: 0644]
lib/libc/amd64/sys/exect.S [new file with mode: 0644]
lib/libc/amd64/sys/getcontext.S [new file with mode: 0644]
lib/libc/amd64/sys/pipe.S [new file with mode: 0644]
lib/libc/amd64/sys/ptrace.S [new file with mode: 0644]
lib/libc/amd64/sys/reboot.S [new file with mode: 0644]
lib/libc/amd64/sys/sbrk.S [new file with mode: 0644]
lib/libc/amd64/sys/setlogin.S [new file with mode: 0644]
lib/libc/amd64/sys/sigreturn.S [new file with mode: 0644]
lib/libc/amd64/sys/vfork.S [new file with mode: 0644]
lib/libc/gen/setproctitle.c
lib/libc/stdlib/Makefile.inc
lib/libc/string/Makefile.inc
lib/libkvm/kvm_amd64.c [new file with mode: 0644]
lib/libstand/Makefile
secure/lib/libcrypto/opensslconf-amd64.h [moved from secure/lib/libcrypto/opensslconf-alpha.h with 95% similarity]
sys/sys/mount.h
usr.bin/objformat/Makefile
usr.bin/objformat/objformat.c
usr.bin/rpcgen/rpc_main.c