diff options
author | steve <steve@FreeBSD.org> | 2000-04-03 03:42:07 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-04-03 03:42:07 +0000 |
commit | 9560447fbd6c4a206eaa78ba40c34e1781759929 (patch) | |
tree | fa5cfbea6846c0a366944907a82a3f607413e316 /gnu/usr.bin/binutils | |
parent | cb309fc3fbb4be23b21c62512be2f98855d27fa0 (diff) | |
download | FreeBSD-src-9560447fbd6c4a206eaa78ba40c34e1781759929.zip FreeBSD-src-9560447fbd6c4a206eaa78ba40c34e1781759929.tar.gz |
Build and install the elf32_sparc ld(1) scripts and make elf32_sparc
the default emulation.
Diffstat (limited to 'gnu/usr.bin/binutils')
-rw-r--r-- | gnu/usr.bin/binutils/ld/Makefile.sparc64 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile.sparc64 b/gnu/usr.bin/binutils/ld/Makefile.sparc64 index 6cb0ec7..0f72fdd 100644 --- a/gnu/usr.bin/binutils/ld/Makefile.sparc64 +++ b/gnu/usr.bin/binutils/ld/Makefile.sparc64 @@ -4,21 +4,33 @@ .if ${TARGET_ARCH} == "sparc64" HOST= sparc64-unknown-freebsd -CFLAGS+= -DDEFAULT_EMULATION=\"elf64_sparc\" +CFLAGS+= -DDEFAULT_EMULATION=\"elf32_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 +EMS+= ld_elf32_sparc_emulation +LDSCRIPTS+= elf32_sparc.x elf32_sparc.xbn elf32_sparc.xn elf32_sparc.xr \ + elf32_sparc.xs elf32_sparc.xu +SRCS+= eelf32_sparc.c +CLEANFILES+= eelf32_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 +eelf32_sparc.c: emulparams/elf32_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 \ + elf32_sparc "" elf32_sparc sparc64-unknown-freebsd |