aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-03-15 07:42:47 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-03-15 07:42:47 +0000
commit1f85384086a0a98e6ff3695a21793bdb4c6b7992 (patch)
treecd74c60ca6416712d9fb7193a2f119e2cb95a530 /gnu
parent3b018f572da1dc7a315f21480846b9dc577c9e11 (diff)
downloadsrc-1f85384086a0a98e6ff3695a21793bdb4c6b7992.tar.gz
src-1f85384086a0a98e6ff3695a21793bdb4c6b7992.zip
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.
Notes
Notes: svn path=/head/; revision=92306
Diffstat (limited to 'gnu')
-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 e161812ef447..89345fb96b21 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