Date: Wed, 19 Jan 2011 21:57:30 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r217610 - projects/binutils-2.17/gnu/usr.bin/binutils/ld Message-ID: <201101192157.p0JLvUWQ090770@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Wed Jan 19 21:57:30 2011 New Revision: 217610 URL: http://svn.freebsd.org/changeset/base/217610 Log: While building ld for powerpc or powerpc64, make the generated files eelf32ppc.c and eelf64ppc.c dependent on ldemul-list.h, since some of the scripts called from genscripts.sh (ppc32elf.em and ppc64elf.em, respectively) grep ldemul-list.h to determine whether spu emulation is available. This avoids a needless error message during 'make depend' in gnu/usr.bin/binutils/ld. Modified: projects/binutils-2.17/gnu/usr.bin/binutils/ld/Makefile.powerpc projects/binutils-2.17/gnu/usr.bin/binutils/ld/Makefile.powerpc64 Modified: projects/binutils-2.17/gnu/usr.bin/binutils/ld/Makefile.powerpc ============================================================================== --- projects/binutils-2.17/gnu/usr.bin/binutils/ld/Makefile.powerpc Wed Jan 19 21:49:42 2011 (r217609) +++ projects/binutils-2.17/gnu/usr.bin/binutils/ld/Makefile.powerpc Wed Jan 19 21:57:30 2011 (r217610) @@ -5,7 +5,7 @@ NATIVE_EMULATION= elf32ppc 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 + scripttempl/elf.sc genscripts.sh stringify.sed ldemul-list.h sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${LIBSERACHPATH} \ ${TOOLS_PREFIX}/usr \ ${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \ Modified: projects/binutils-2.17/gnu/usr.bin/binutils/ld/Makefile.powerpc64 ============================================================================== --- projects/binutils-2.17/gnu/usr.bin/binutils/ld/Makefile.powerpc64 Wed Jan 19 21:49:42 2011 (r217609) +++ projects/binutils-2.17/gnu/usr.bin/binutils/ld/Makefile.powerpc64 Wed Jan 19 21:57:30 2011 (r217610) @@ -5,7 +5,7 @@ NATIVE_EMULATION= elf64ppc 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 + scripttempl/elf.sc genscripts.sh stringify.sed ldemul-list.h sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${LIBSERACHPATH} \ ${TOOLS_PREFIX}/usr \ ${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \ @@ -21,7 +21,7 @@ LDSCRIPTS+= ${PPC32_EMULATION}.${ext} SRCS+= e${PPC32_EMULATION}.c CLEANFILES+= e${PPC32_EMULATION}.c e${PPC32_EMULATION}.c: emulparams/${PPC32_EMULATION}.sh emultempl/elf32.em \ - scripttempl/elf.sc genscripts.sh stringify.sed + scripttempl/elf.sc genscripts.sh stringify.sed ldemul-list.h sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${_ppc32_path} \ ${TOOLS_PREFIX}/usr \ ${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101192157.p0JLvUWQ090770>