diff options
| author | martin <martin@NetBSD.org> | 2016-04-04 18:29:07 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2016-04-04 18:29:07 +0000 |
| commit | e2d9e7bc7b347b7fb2354886d694f55e8a6007b6 (patch) | |
| tree | 669f207d2ddb7200798981fd3dc22929555fae56 | |
| parent | 9b40f1b9ae3df654ce9cd0ef58b3077cd1a59196 (diff) | |
For the benefit of compilers not using our native C runtime environment,
install a "sysident.o" file providing the note identifying NetBSD
executables (and marking the currently installed version).
| -rw-r--r-- | distrib/sets/lists/comp/stl.mi | 4 | ||||
| -rw-r--r-- | lib/csu/common/Makefile.inc | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/distrib/sets/lists/comp/stl.mi b/distrib/sets/lists/comp/stl.mi index 02d0c84e197..6bad5ee2b6a 100644 --- a/distrib/sets/lists/comp/stl.mi +++ b/distrib/sets/lists/comp/stl.mi @@ -1,6 +1,8 @@ -# $NetBSD: stl.mi,v 1.4 2016/02/28 19:18:41 christos Exp $ +# $NetBSD: stl.mi,v 1.5 2016/04/04 18:29:07 martin Exp $ ./usr/lib/crtbegin.o comp-c-lib compatfile ./usr/lib/crtend.o comp-c-lib compatfile ./usr/lib/crti.o comp-c-lib compatfile ./usr/lib/crtn.o comp-c-lib compatfile ./usr/lib/dtrace/drti.o comp-c-lib dtrace +./usr/lib/sysident.o comp-c-lib compatfile + diff --git a/lib/csu/common/Makefile.inc b/lib/csu/common/Makefile.inc index 645691a15ed..780ce155d0b 100644 --- a/lib/csu/common/Makefile.inc +++ b/lib/csu/common/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.27 2016/03/29 21:23:05 skrll Exp $ +# $NetBSD: Makefile.inc,v 1.28 2016/04/04 18:29:07 martin Exp $ .include <bsd.own.mk> @@ -12,6 +12,7 @@ CPPFLAGS+= -I${NETBSDSRCDIR}/libexec/ld.elf_so -I${COMMON_DIR} -I. OBJS+= crt0.o gcrt0.o crti.o crtn.o OBJS+= crtbegin.o crtend.o +OBJS+= sysident.o .if ${MKPIC} == "yes" OBJS+= crtbeginS.o @@ -129,6 +130,7 @@ CLEANFILES+= sysident_assym.h crti.o: crti.S sysident_assym.h sysident.S crtn.o: crtn.S +sysident.o: sysident.S sysident_assym.h FILES=${OBJS} FILESDIR=${LIBDIR} |
