diff options
author | obrien <obrien@FreeBSD.org> | 2002-12-05 18:23:08 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-12-05 18:23:08 +0000 |
commit | 6e64f0f07bcf3250b2f5428d9433e88656632bac (patch) | |
tree | a91ac5c18ec9753d1f13823599ec22322200f18a /gnu | |
parent | 159ed8ed932ed26bf3ef19fa86155831dc981a32 (diff) | |
download | FreeBSD-src-6e64f0f07bcf3250b2f5428d9433e88656632bac.zip FreeBSD-src-6e64f0f07bcf3250b2f5428d9433e88656632bac.tar.gz |
Change the default emulation to elf64_ia64_fbsd. This knows the proper
spelling of our rtld.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/ld/Makefile.ia64 | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile.ia64 b/gnu/usr.bin/binutils/ld/Makefile.ia64 index 28eb477..f9ede04 100644 --- a/gnu/usr.bin/binutils/ld/Makefile.ia64 +++ b/gnu/usr.bin/binutils/ld/Makefile.ia64 @@ -3,8 +3,8 @@ TARGET_TUPLE?= ia64-unknown-freebsd .if ${TARGET_ARCH} == "ia64" -NATIVE_EMULATION= elf64_ia64 -HOST= ${TARGET_TUPLE} # do what?? how does this work for a cross-build?? +NATIVE_EMULATION= elf64_ia64_fbsd +HOST= ${TARGET_TUPLE} CFLAGS+= -DDEFAULT_EMULATION=\"${NATIVE_EMULATION}\" CFLAGS+= -DTARGET=\"${TARGET_TUPLE}\" _ia64_path= \"${TOOLS_PREFIX}/usr/lib\" @@ -15,11 +15,19 @@ _ia64_path= \"/usr/cross/ia64-freebsd/usr/lib\" EMS+= ${NATIVE_EMULATION} LDSCRIPTS+= ${NATIVE_EMULATION}.x ${NATIVE_EMULATION}.xbn ${NATIVE_EMULATION}.xn ${NATIVE_EMULATION}.xr \ ${NATIVE_EMULATION}.xs ${NATIVE_EMULATION}.xu ${NATIVE_EMULATION}.xc ${NATIVE_EMULATION}.xsc + SRCS+= e${NATIVE_EMULATION}.c CLEANFILES+= e${NATIVE_EMULATION}.c - -e${NATIVE_EMULATION}.c: emulparams/${NATIVE_EMULATION}.sh emultempl/elf32.em scripttempl/elf.sc \ - genscripts.sh stringify.sed +e${NATIVE_EMULATION}.c: emulparams/${NATIVE_EMULATION}.sh emultempl/elf32.em \ + scripttempl/elf.sc genscripts.sh stringify.sed sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${_ia64_path} \ ${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \ "${NATIVE_EMULATION}" "" ${NATIVE_EMULATION} "${TARGET_TUPLE}" + +SRCS+= eelf64_ia64.c +CLEANFILES+= eelf64_ia64.c +eelf64_ia64.c: emulparams/elf64_ia64.sh emultempl/elf32.em \ + scripttempl/elf.sc genscripts.sh stringify.sed + sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${_ia64_path} \ + ${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \ + "elf64_ia64" "" elf64_ia64 ${TARGET_TUPLE} |