Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/binutils/usr.bin/ld Use G_enable_initfini_arra...
details: https://anonhg.NetBSD.org/src/rev/18626145f714
branches: trunk
changeset: 790284:18626145f714
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Oct 01 16:07:35 2013 +0000
description:
Use G_enable_initfini_array and default to no while mknative is rerun.
diffstat:
external/gpl3/binutils/usr.bin/ld/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 379c46ee59f2 -r 18626145f714 external/gpl3/binutils/usr.bin/ld/Makefile
--- a/external/gpl3/binutils/usr.bin/ld/Makefile Tue Oct 01 15:43:00 2013 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/Makefile Tue Oct 01 16:07:35 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2013/09/29 14:20:37 christos Exp $
+# $NetBSD: Makefile,v 1.20 2013/10/01 16:07:35 skrll Exp $
.include <bsd.own.mk>
@@ -84,13 +84,15 @@
#GENSCRIPTS = LIB_PATH='${LIB_PATH}' $(SHELL) $(srcdir)/genscripts.sh "${srcdir}" "${libdir}" "${prefix}" "${exec_prefix}" @host@ @target@ @ta rget_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@"
@use_sysroot@
+G_enable_initfini_array?=no
+
e${f}.c: ${DIST}/ld/genscripts.sh ${.CURDIR}/Makefile stringify.sed
${_MKTARGET_CREATE}
unset MACHINE || true; \
LIB_PATH=${EMUL_LIB_PATH.${f}} NATIVE=yes \
${HOST_SH} ${DIST}/ld/genscripts.sh ${DIST}/ld ${LIBDIR} "/usr" "/usr/bin" \
${G_target_alias} ${G_target_alias} ${G_target_alias} \
- ${G_EMUL} ${LIBDIR} yes yes ${f} "${G_target_alias}"
+ ${G_EMUL} ${LIBDIR} yes ${G_enable_initfini_array} ${f} "${G_target_alias}"
.if ${BINUTILS_MACHINE_ARCH} == "x86_64" \
|| ${BINUTILS_MACHINE_ARCH} == "sparc64" \
Home |
Main Index |
Thread Index |
Old Index