Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/rescue Add a new list.ldd.noaout, which is a copy of list.ld...
details: https://anonhg.NetBSD.org/src/rev/cc306a3ffd62
branches: trunk
changeset: 746853:cc306a3ffd62
user: he <he%NetBSD.org@localhost>
date: Fri Aug 21 15:16:45 2009 +0000
description:
Add a new list.ldd.noaout, which is a copy of list.ldd but without
the a.out support.
Tweak Makefile so that the a.out support is not built for mips.
diffstat:
rescue/Makefile | 9 +++++++--
rescue/list.ldd.noaout | 12 ++++++++++++
2 files changed, 19 insertions(+), 2 deletions(-)
diffs (43 lines):
diff -r ca30a800feb5 -r cc306a3ffd62 rescue/Makefile
--- a/rescue/Makefile Fri Aug 21 15:15:09 2009 +0000
+++ b/rescue/Makefile Fri Aug 21 15:16:45 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2009/01/07 00:39:23 mrg Exp $
+# $NetBSD: Makefile,v 1.23 2009/08/21 15:16:45 he Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -35,11 +35,16 @@
CRUNCHENV+= MKKERBEROS=no # for ssh
.endif
+.if ${MACHINE_CPU} != "mips"
LISTS+= ${.CURDIR}/list.ldd
LDD_AOUTDIR!= cd ${NETBSDSRCDIR}/usr.bin/ldd/aout && ${PRINTOBJDIR}
+PARSELISTENV+= LDD_AOUTDIR=${LDD_AOUTDIR}
+.else
+LISTS+= ${.CURDIR}/list.ldd.noaout
+.endif
LDD_ELF32DIR!= cd ${NETBSDSRCDIR}/usr.bin/ldd/elf32 && ${PRINTOBJDIR}
LDD_ELF64DIR!= cd ${NETBSDSRCDIR}/usr.bin/ldd/elf64 && ${PRINTOBJDIR}
-PARSELISTENV+= LDD_AOUTDIR=${LDD_AOUTDIR} LDD_ELF32DIR=${LDD_ELF32DIR} LDD_ELF64DIR=${LDD_ELF64DIR}
+PARSELISTENV+= LDD_ELF32DIR=${LDD_ELF32DIR} LDD_ELF64DIR=${LDD_ELF64DIR}
# Specially built objects to override the behaviour of
# various library functions
diff -r ca30a800feb5 -r cc306a3ffd62 rescue/list.ldd.noaout
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/rescue/list.ldd.noaout Fri Aug 21 15:16:45 2009 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: list.ldd.noaout,v 1.1 2009/08/21 15:16:46 he Exp $
+
+PROG ldd
+
+LIBS ${LDD_ELF32DIR}/libldd_elf32.a
+LIBS ${LDD_ELF64DIR}/libldd_elf64.a
+
+SPECIAL ldd keepsymbols _rtld_pagesz _rtld_error _rtld_trust
+SPECIAL ldd keepsymbols _rtld_default_paths _rtld_paths
+SPECIAL ldd keepsymbols _rtld_xforms _rtld_objmain
+SPECIAL ldd keepsymbols _rtld_objtail _rtld_objlist
+SPECIAL ldd keepsymbols print_needed main_local main_progname
Home |
Main Index |
Thread Index |
Old Index