aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/ld
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-04-02 22:36:56 +0000
committerSteve Price <steve@FreeBSD.org>2000-04-02 22:36:56 +0000
commit5e59c5460c61bc6fe31e7d6fb7fe8c3b88d2ea13 (patch)
tree55a398b1df7584cbf4952b0524f34af7d5e1dcce /gnu/usr.bin/binutils/ld
parent526e193e18603847a94b106a9083dd8f2df5ec7f (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/binutils/ld')
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile.sparc6424
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile.sparc64 b/gnu/usr.bin/binutils/ld/Makefile.sparc64
new file mode 100644
index 000000000000..6cb0ec7e18ef
--- /dev/null
+++ b/gnu/usr.bin/binutils/ld/Makefile.sparc64
@@ -0,0 +1,24 @@
+#
+# $FreeBSD$
+#
+
+.if ${TARGET_ARCH} == "sparc64"
+HOST= sparc64-unknown-freebsd
+CFLAGS+= -DDEFAULT_EMULATION=\"elf64_sparc\"
+CFLAGS+= -DTARGET=\"sparc64-unknown-freebsd\"
+_sparc_path= \"/usr/lib\"
+.else
+_sparc_path= \"/usr/cross/sparc-freebsd/usr/lib\"
+.endif
+EMS+= ld_elf64_sparc_emulation
+LDSCRIPTS+= elf64_sparc.x elf64_sparc.xbn elf64_sparc.xn elf64_sparc.xr \
+ elf64_sparc.xs elf64_sparc.xu
+SRCS+= eelf64_sparc.c
+CLEANFILES+= eelf64_sparc.c
+
+eelf64_sparc.c: emulparams/elf64_sparc.sh emultempl/elf32.em \
+ scripttempl/elf.sc genscripts.sh emultempl/stringify.sed
+ sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${_sparc_path} \
+ ${HOST} sparc64-unknown-freebsd sparc64-unknown-freebsd \
+ elf64_sparc "" elf64_sparc sparc64-unknown-freebsd
+