summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils
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 /gnu/usr.bin/binutils
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 'gnu/usr.bin/binutils')
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile.powerpc2
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile.powerpc644
2 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile.powerpc b/gnu/usr.bin/binutils/ld/Makefile.powerpc
index 921b88c..fed5234 100644
--- a/gnu/usr.bin/binutils/ld/Makefile.powerpc
+++ b/gnu/usr.bin/binutils/ld/Makefile.powerpc
@@ -1,6 +1,6 @@
# $FreeBSD$
-NATIVE_EMULATION= elf32ppc
+NATIVE_EMULATION= elf32ppc_fbsd
SRCS+= e${NATIVE_EMULATION}.c
CLEANFILES+= e${NATIVE_EMULATION}.c
diff --git a/gnu/usr.bin/binutils/ld/Makefile.powerpc64 b/gnu/usr.bin/binutils/ld/Makefile.powerpc64
index 8c607d7..29fba2a 100644
--- a/gnu/usr.bin/binutils/ld/Makefile.powerpc64
+++ b/gnu/usr.bin/binutils/ld/Makefile.powerpc64
@@ -1,6 +1,6 @@
# $FreeBSD$
-NATIVE_EMULATION= elf64ppc
+NATIVE_EMULATION= elf64ppc_fbsd
SRCS+= e${NATIVE_EMULATION}.c
CLEANFILES+= e${NATIVE_EMULATION}.c
@@ -11,7 +11,7 @@ e${NATIVE_EMULATION}.c: emulparams/${NATIVE_EMULATION}.sh emultempl/elf32.em \
${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \
${NATIVE_EMULATION} "" no ${NATIVE_EMULATION} ${TARGET_TUPLE}
-PPC32_EMULATION= elf32ppc
+PPC32_EMULATION= elf32ppc_fbsd
_ppc32_path= \"${TOOLS_PREFIX}/usr/lib32\"
EMS+= ${PPC32_EMULATION}
.for ext in ${ELF_SCR_EXT}
OpenPOWER on IntegriCloud