summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-15 07:42:47 +0000
committerobrien <obrien@FreeBSD.org>2002-03-15 07:42:47 +0000
commitcc9bd022cd7e06df1aa56034c72e234d1515a4c0 (patch)
treecd74c60ca6416712d9fb7193a2f119e2cb95a530 /gnu/usr.bin
parent2261bd0e24af4f260b3035065b4c7abe7f1fa834 (diff)
downloadFreeBSD-src-cc9bd022cd7e06df1aa56034c72e234d1515a4c0.zip
FreeBSD-src-cc9bd022cd7e06df1aa56034c72e234d1515a4c0.tar.gz
Uggg!! LD ME HARDER!!
Rev 1.2 changed the default emulation from ``elf64_sparc'' to ``elf32_sparc'' and I never noticed it after my review of rev 1.1. Backing the change of the default emulation out, and Wa-la!, I can now build a native [and usable] binutils. WTF, the "-m elf64_sparc" parameter handed to `ld' by `gcc' wasn't DTRT is beyond me.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile.sparc642
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile.sparc64 b/gnu/usr.bin/binutils/ld/Makefile.sparc64
index e161812..89345fb 100644
--- a/gnu/usr.bin/binutils/ld/Makefile.sparc64
+++ b/gnu/usr.bin/binutils/ld/Makefile.sparc64
@@ -4,7 +4,7 @@ TARGET_TUPLE?= sparc64-unknown-freebsd
.if ${TARGET_ARCH} == "sparc64"
HOST= ${TARGET_TUPLE}
-CFLAGS+= -DDEFAULT_EMULATION=\"elf32_sparc\"
+CFLAGS+= -DDEFAULT_EMULATION=\"elf64_sparc\"
CFLAGS+= -DTARGET=\"${TARGET_TUPLE}\"
_sparc_path= \"${TOOLS_PREFIX}/usr/lib\"
.else
OpenPOWER on IntegriCloud