From owner-cvs-all Mon Dec 2 21: 9:44 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05FEA37B401; Mon, 2 Dec 2002 21:09:42 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FD0043E9C; Mon, 2 Dec 2002 21:09:41 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.6/8.12.2) with ESMTP id gB359fqe061351; Mon, 2 Dec 2002 21:09:41 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.6/8.12.6/Submit) id gB358PZr061346; Mon, 2 Dec 2002 21:08:25 -0800 (PST) Date: Mon, 2 Dec 2002 21:08:25 -0800 From: "David O'Brien" To: Peter Wemm Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/gnu/usr.bin/binutils/libbfd/alpha bfd.h src/gnu/usr.bin/binutils/libbfd/i386 bfd.h src/gnu/usr.bin/binutils/libbfd/ia64 bfd.h src/gnu/usr.bin/binutils/libbfd/powerpc bfd.h src/gnu/usr.bin/binutils/libbfd/sparc64 bfd.h Message-ID: <20021203050825.GA61322@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org Mail-Followup-To: David O'Brien , Peter Wemm , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200212020949.gB29nwCi031412@repoman.freebsd.org> <20021203045646.69ECB2A8A9@canning.wemm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021203045646.69ECB2A8A9@canning.wemm.org> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Dec 02, 2002 at 08:56:46PM -0800, Peter Wemm wrote: > > Log: > > Update for the Binutils 2.13.2 20021127 snapshot import. > > Among other things, we don't need to redefine ELF_DYNAMIC_INTERPRETER here. Should have added you to this email to Marcel: Index: Makefile.ia64 =================================================================== RCS file: /home/ncvs/src/gnu/usr.bin/binutils/libbfd/Makefile.ia64,v retrieving revision 1.4 diff -u -r1.4 Makefile.ia64 --- Makefile.ia64 2 Dec 2002 09:59:05 -0000 1.4 +++ Makefile.ia64 3 Dec 2002 04:06:42 -0000 @@ -26,8 +26,7 @@ sed -e s/NN/64/g ${.ALLSRC} > ${.TARGET} elf64-ia64.c: elfxx-ia64.c - sed -e s/NN/64/g -e 's/^.*#.*define.*ELF_DYNAMIC_INTERPRETER.*$$//g' \ - ${.ALLSRC} > ${.TARGET} + sed -e s/NN/64/g ${.ALLSRC} > ${.TARGET} pepigen.c: peXXigen.c sed -e s/XX/pep/g ${.ALLSRC} > ${.TARGET} This patch will most likely also be needed: Index: ld/Makefile.ia64 =================================================================== RCS file: /home/ncvs/src/gnu/usr.bin/binutils/ld/Makefile.ia64,v retrieving revision 1.4 diff -u -r1.4 Makefile.ia64 --- ld/Makefile.ia64 29 Mar 2002 00:41:01 -0000 1.4 +++ ld/Makefile.ia64 3 Dec 2002 04:24:46 -0000 @@ -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 @@ 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} To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message