summaryrefslogtreecommitdiffstats
path: root/sys/boot/uboot
diff options
context:
space:
mode:
authorandreast <andreast@FreeBSD.org>2011-11-19 19:25:57 +0000
committerandreast <andreast@FreeBSD.org>2011-11-19 19:25:57 +0000
commitcb931ce6939d6d325cdae98a5edf0c0784771bfd (patch)
treefa27801bdff0526227dfcb03ba9fc656872d9d8f /sys/boot/uboot
parent8a4f05dc7cef04d12f90ae96a9968ec29062a773 (diff)
downloadFreeBSD-src-cb931ce6939d6d325cdae98a5edf0c0784771bfd.zip
FreeBSD-src-cb931ce6939d6d325cdae98a5edf0c0784771bfd.tar.gz
Rename the linker emulation name for powerpc and powerc64. This is needed that
we can also use the upstream binutils linker where we have to have a unique name for the FreeBSD emulation.
Diffstat (limited to 'sys/boot/uboot')
-rw-r--r--sys/boot/uboot/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/uboot/Makefile.inc b/sys/boot/uboot/Makefile.inc
index dab65e5..e67c0dc 100644
--- a/sys/boot/uboot/Makefile.inc
+++ b/sys/boot/uboot/Makefile.inc
@@ -2,7 +2,7 @@
.if ${MACHINE_ARCH} == "powerpc64"
CFLAGS+= -m32 -mcpu=powerpc
-LDFLAGS+= -m elf32ppc
+LDFLAGS+= -m elf32ppc_fbsd
.endif
.include "../Makefile.inc"
OpenPOWER on IntegriCloud