Source-Changes-HG archive

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

[src/trunk]: src/share/mk Don't strip local symbols for earmv7*eb images sinc...



details:   https://anonhg.NetBSD.org/src/rev/4d1259f0e889
branches:  trunk
changeset: 325215:4d1259f0e889
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Dec 13 02:47:45 2013 +0000

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

diffstat:

 share/mk/bsd.lib.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 5f88faf96362 -r 4d1259f0e889 share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk       Thu Dec 12 22:41:03 2013 +0000
+++ b/share/mk/bsd.lib.mk       Fri Dec 13 02:47:45 2013 +0000
@@ -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 @@
 .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 @@
 .if !defined(CSHLIBFLAGS) || empty(CSHLIBFLAGS:M*-g*) 
 LIBSTRIPSHLIBOBJS=     yes
 .endif
+.endif
 
 .c.o:
        ${_MKTARGET_COMPILE}



Home | Main Index | Thread Index | Old Index