MAJOR cleanup of the Bmake framework.This includes removing all vestiges of the old not-really supportedability to build cross tools targeting non-FreeBSD systems, such asm68k Lynx and NetBSD. Mo
MAJOR cleanup of the Bmake framework.This includes removing all vestiges of the old not-really supportedability to build cross tools targeting non-FreeBSD systems, such asm68k Lynx and NetBSD. Move as much duplicated code from platformMakefiles into the shared Makefiles. Add a simple mechanism forspecifying ELF 'ldscripts'. Also share as many .h files as possible(now a single bfd.h vs. one per platform).
show more ...
Updated Bmake framework for Binutils 2.15.
Update the target.
We HAVE_STPCPY now.
Talk about punting and not going to any trouble to DTRT: contrib/binutils/include/getopt.h /* Many other libraries have conflicting prototypes for getopt, with differences in the consts, in st
Talk about punting and not going to any trouble to DTRT: contrib/binutils/include/getopt.h /* Many other libraries have conflicting prototypes for getopt, with differences in the consts, in stdlib.h. To avoid compilation errors, only prototype getopt for the GNU C library. */so manually define HAVE_DECL_GETOPT since configure doesn't offer any wayto set it... and its unistd.h not stdlib.h dang it.
Style sync with other platforms.
Update to Binutils 2.12.0 release.
We can easily share obj-format.h and targ-env.h files across all FreeBSDplatforms, which reduces the upgrade effort.Also tidy up the Makefiles.
Our OS name is "freebsd", not "freebsdelf"
version 2.10 config file.
Conditionally define "CROSS_COMPILE" here.
Replace freebsdelf with freebsd in BINDIR.[ alpha-freebsd, i386-freebsd and mips-freebsd were repo-copied by Peter (one of the repo-men) ]Requested by: obrien
gas for powerpc targeted to FreeBSD.