Module Name:    src
Committed By:   matt
Date:           Fri Dec 13 02:47:45 UTC 2013

Modified Files:
        src/share/mk: bsd.lib.mk

Log Message:
Don't strip local symbols for earmv7*eb images since that will break linking.


To generate a diff of this commit:
cvs rdiff -u -r1.342 -r1.343 src/share/mk/bsd.lib.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.lib.mk
diff -u src/share/mk/bsd.lib.mk:1.342 src/share/mk/bsd.lib.mk:1.343
--- src/share/mk/bsd.lib.mk:1.342	Fri Oct 18 16:06:52 2013
+++ src/share/mk/bsd.lib.mk	Fri Dec 13 02:47:45 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.lib.mk,v 1.342 2013/10/18 16:06:52 christos Exp $
+#	$NetBSD: bsd.lib.mk,v 1.343 2013/12/13 02:47:45 matt Exp $
 #	@(#)bsd.lib.mk	8.3 (Berkeley) 4/22/94
 
 .include <bsd.init.mk>
@@ -188,6 +188,9 @@ CTFFLAGS+=	-g
 .endif
 .endif
 
+.if empty(MACHINE_ARCH:Mearmv7*eb)
+# These will remove $a/$d/$t symbols needed for linking ARM BE8 images so
+# we can't strip them out.
 LIBSTRIPAOBJS=	yes
 .if !defined(CFLAGS) || empty(CFLAGS:M*-g*)
 LIBSTRIPCOBJS=	yes
@@ -201,6 +204,7 @@ LIBSTRIPFOBJS=	yes
 .if !defined(CSHLIBFLAGS) || empty(CSHLIBFLAGS:M*-g*) 
 LIBSTRIPSHLIBOBJS=	yes
 .endif
+.endif
 
 .c.o:
 	${_MKTARGET_COMPILE}

Reply via email to