summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/ld
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-11-10 06:39:49 +0000
committerimp <imp@FreeBSD.org>2010-11-10 06:39:49 +0000
commitc178b8695e0a2f8e804cfdcc8a6e36acd75ce462 (patch)
tree66f7378017237448004ad6765033bea991903730 /gnu/usr.bin/binutils/ld
parent875749fff1e37b1202073b4f4d9f27053e87a096 (diff)
downloadFreeBSD-src-c178b8695e0a2f8e804cfdcc8a6e36acd75ce462.zip
FreeBSD-src-c178b8695e0a2f8e804cfdcc8a6e36acd75ce462.tar.gz
Complete the integration of tbemd branch into head.
TARGET_BIG_ENDIAN is now completely dead, except where it was originally supposed to be used (internally in the toolchain building). TARGET_ARCH has changed in three cases: (1) Little endian mips has changed to mipsel. (2) Big endian mips has changed to mipseb. (3) Big endian arm has changed to armeb. Some additional changes are needed to make 'make universe' work on arm and mips after this change, so those are commented out for now. UPDATING information will be forthcoming. Any remaining rough edges will be hammered out in -current.
Diffstat (limited to 'gnu/usr.bin/binutils/ld')
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile.arm2
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile.mips4
2 files changed, 2 insertions, 4 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile.arm b/gnu/usr.bin/binutils/ld/Makefile.arm
index b4d9d69..870fcec 100644
--- a/gnu/usr.bin/binutils/ld/Makefile.arm
+++ b/gnu/usr.bin/binutils/ld/Makefile.arm
@@ -1,6 +1,6 @@
# $FreeBSD$
-.if defined(TARGET_BIG_ENDIAN)
+.if ${TARGET_ARCH} == "armeb"
NATIVE_EMULATION= armelfb_fbsd
.else
NATIVE_EMULATION= armelf_fbsd
diff --git a/gnu/usr.bin/binutils/ld/Makefile.mips b/gnu/usr.bin/binutils/ld/Makefile.mips
index e0d0582..de0ec94 100644
--- a/gnu/usr.bin/binutils/ld/Makefile.mips
+++ b/gnu/usr.bin/binutils/ld/Makefile.mips
@@ -1,8 +1,6 @@
# $FreeBSD$
-#xxxIMPxxx: TARGET_BIG_ENDIAN is lame. We should use the netbsd convention
-# of mipsel and mips.
-.if !defined(TARGET_BIG_ENDIAN)
+.if ${TARGET_ARCH} == "mipsel"
_EMULATION_ENDIAN=l
.else
_EMULATION_ENDIAN=b
OpenPOWER on IntegriCloud