Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2002 21:36:18 -0800 (PST)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 21840 for review
Message-ID:  <200212030536.gB35aIFG006812@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=21840

Change 21840 by marcel@marcel_vaio on 2002/12/02 21:35:31

	binutils fixes currently under testing. There's one remaining
	WARNS problem (gas/read.c). Give this as mucg exposure as
	possible. We don't want any last minute showstoppers...

Affected files ...

.. //depot/projects/ia64/gnu/usr.bin/binutils/ld/Makefile.ia64#5 edit
.. //depot/projects/ia64/gnu/usr.bin/binutils/libbfd/Makefile.ia64#3 edit

Differences ...

==== //depot/projects/ia64/gnu/usr.bin/binutils/ld/Makefile.ia64#5 (text+ko) ====

@@ -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
+	sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${_ia64_path} \
+	    ${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \
+	    "${NATIVE_EMULATION}" "" ${NATIVE_EMULATION} "${TARGET_TUPLE}"
 
-e${NATIVE_EMULATION}.c: emulparams/${NATIVE_EMULATION}.sh emultempl/elf32.em scripttempl/elf.sc \
-    genscripts.sh stringify.sed
+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} \
-	    "${NATIVE_EMULATION}" "" ${NATIVE_EMULATION} "${TARGET_TUPLE}"
+	    "elf64_ia64" "" elf64_ia64 ${TARGET_TUPLE}

==== //depot/projects/ia64/gnu/usr.bin/binutils/libbfd/Makefile.ia64#3 (text+ko) ====

@@ -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}

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212030536.gB35aIFG006812>