Source-Changes-HG archive

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

[src/agc-symver]: src Add the version-script invocation for symbol versioning...



details:   https://anonhg.NetBSD.org/src/rev/15c0aeeb5f40
branches:  agc-symver
changeset: 785629:15c0aeeb5f40
user:      agc <agc%NetBSD.org@localhost>
date:      Tue Mar 26 01:54:23 2013 +0000

description:
Add the version-script invocation for symbol versioning to the agc-symver
branch.

diffstat:

 external/bsd/bind/dist/lib/dns/tests/rdata_test.c |   3 +--
 share/mk/bsd.lib.mk                               |  11 ++++++++++-
 sys/arch/x68k/include/cdefs.h                     |   2 +-
 sys/arch/x68k/include/cpufunc.h                   |   2 +-
 sys/arch/x68k/include/ieeefp.h                    |   2 +-
 sys/arch/x68k/include/profile.h                   |   2 +-
 sys/arch/x68k/include/setjmp.h                    |   2 +-
 7 files changed, 16 insertions(+), 8 deletions(-)

diffs (78 lines):

diff -r 09b999c84461 -r 15c0aeeb5f40 external/bsd/bind/dist/lib/dns/tests/rdata_test.c
--- a/external/bsd/bind/dist/lib/dns/tests/rdata_test.c Sat Mar 23 21:08:50 2013 +0000
+++ b/external/bsd/bind/dist/lib/dns/tests/rdata_test.c Tue Mar 26 01:54:23 2013 +0000
@@ -1,5 +1,4 @@
-/*     $NetBSD: rdata_test.c,v 1.1.1.1 2012/12/04 19:25:38 spz Exp $   */
-
+/*      $NetBSD: rdata_test.c,v 1.1 2012/09/13 05:32:08 spz Exp $ */
 /*
  * Copyright (C) 2012  Internet Systems Consortium, Inc. ("ISC")
  *
diff -r 09b999c84461 -r 15c0aeeb5f40 share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk       Sat Mar 23 21:08:50 2013 +0000
+++ b/share/mk/bsd.lib.mk       Tue Mar 26 01:54:23 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.lib.mk,v 1.332 2013/03/05 21:16:24 pooka Exp $
+#      $NetBSD: bsd.lib.mk,v 1.332.2.1 2013/03/26 01:54:23 agc Exp $
 #      @(#)bsd.lib.mk  8.3 (Berkeley) 4/22/94
 
 .include <bsd.init.mk>
@@ -455,6 +455,15 @@
 OBJS+=${SRCS:N*.h:N*.sh:R:S/$/.o/g}
 .endif                                                 # }
 
+# Symbol versioning 
+MK_SYMVER?=no
+.if ${MK_SYMVER} == "yes"
+VERSION_MAP?=  ${.CURDIR}/Version.map
+.  if exists(${VERSION_MAP})
+LDFLAGS+=       -Wl,--version-script=${VERSION_MAP}
+.  endif
+.endif
+
 STOBJS+=${OBJS}
 
 LOBJS+=${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.ln}
diff -r 09b999c84461 -r 15c0aeeb5f40 sys/arch/x68k/include/cdefs.h
--- a/sys/arch/x68k/include/cdefs.h     Sat Mar 23 21:08:50 2013 +0000
+++ b/sys/arch/x68k/include/cdefs.h     Tue Mar 26 01:54:23 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cdefs.h,v 1.1 1996/05/05 12:17:15 oki Exp $    */
+/*     $NetBSD: cdefs.h,v 1.1.1.1 1996/05/05 12:17:03 oki Exp $        */
 
 #ifndef _MACHINE_CDEFS_H_
 #define _MACHINE_CDEFS_H_
diff -r 09b999c84461 -r 15c0aeeb5f40 sys/arch/x68k/include/cpufunc.h
--- a/sys/arch/x68k/include/cpufunc.h   Sat Mar 23 21:08:50 2013 +0000
+++ b/sys/arch/x68k/include/cpufunc.h   Tue Mar 26 01:54:23 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpufunc.h,v 1.1 1996/05/05 12:17:15 oki Exp $  */
+/*     $NetBSD: cpufunc.h,v 1.1.1.1 1996/05/05 12:17:03 oki Exp $      */
 
 /*
  * Functions to provide access to special cpu instructions.
diff -r 09b999c84461 -r 15c0aeeb5f40 sys/arch/x68k/include/ieeefp.h
--- a/sys/arch/x68k/include/ieeefp.h    Sat Mar 23 21:08:50 2013 +0000
+++ b/sys/arch/x68k/include/ieeefp.h    Tue Mar 26 01:54:23 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ieeefp.h,v 1.1 1996/05/05 12:17:14 oki Exp $   */
+/*     $NetBSD: ieeefp.h,v 1.1.1.1 1996/05/05 12:17:03 oki Exp $       */
 
 /* Just use the common m68k definition */
 #include <m68k/ieeefp.h>
diff -r 09b999c84461 -r 15c0aeeb5f40 sys/arch/x68k/include/profile.h
--- a/sys/arch/x68k/include/profile.h   Sat Mar 23 21:08:50 2013 +0000
+++ b/sys/arch/x68k/include/profile.h   Tue Mar 26 01:54:23 2013 +0000
@@ -1,3 +1,3 @@
-/*     $NetBSD: profile.h,v 1.1 1996/05/05 12:17:14 oki Exp $  */
+/*     $NetBSD: profile.h,v 1.1.1.1 1996/05/05 12:17:03 oki Exp $      */
 
 #include <m68k/profile.h>
diff -r 09b999c84461 -r 15c0aeeb5f40 sys/arch/x68k/include/setjmp.h
--- a/sys/arch/x68k/include/setjmp.h    Sat Mar 23 21:08:50 2013 +0000
+++ b/sys/arch/x68k/include/setjmp.h    Tue Mar 26 01:54:23 2013 +0000
@@ -1,3 +1,3 @@
-/*     $NetBSD: setjmp.h,v 1.1 1996/05/05 12:17:15 oki Exp $   */
+/*     $NetBSD: setjmp.h,v 1.1.1.1 1996/05/05 12:17:03 oki Exp $       */
 
 #include <m68k/setjmp.h>



Home | Main Index | Thread Index | Old Index