Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src For the benefit of compilers not using our native C runtime ...



details:   https://anonhg.NetBSD.org/src/rev/eeb6e876dd7b
branches:  trunk
changeset: 344563:eeb6e876dd7b
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Apr 04 18:29:07 2016 +0000

description:
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).

diffstat:

 distrib/sets/lists/comp/stl.mi |  4 +++-
 lib/csu/common/Makefile.inc    |  4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 032202d75ee1 -r eeb6e876dd7b distrib/sets/lists/comp/stl.mi
--- a/distrib/sets/lists/comp/stl.mi    Mon Apr 04 17:29:04 2016 +0000
+++ b/distrib/sets/lists/comp/stl.mi    Mon Apr 04 18:29:07 2016 +0000
@@ -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 -r 032202d75ee1 -r eeb6e876dd7b lib/csu/common/Makefile.inc
--- a/lib/csu/common/Makefile.inc       Mon Apr 04 17:29:04 2016 +0000
+++ b/lib/csu/common/Makefile.inc       Mon Apr 04 18:29:07 2016 +0000
@@ -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 @@
 
 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 @@
 
 crti.o: crti.S sysident_assym.h sysident.S
 crtn.o: crtn.S
+sysident.o:    sysident.S sysident_assym.h
 
 FILES=${OBJS}
 FILESDIR=${LIBDIR}



Home | Main Index | Thread Index | Old Index