Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/mips/sys Make __cerror hidden.



details:   https://anonhg.NetBSD.org/src/rev/d3182d861989
branches:  trunk
changeset: 760966:d3182d861989
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Jan 17 23:34:44 2011 +0000

description:
Make __cerror hidden.

diffstat:

 lib/libc/arch/mips/sys/cerror.S |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r c69e43066ad2 -r d3182d861989 lib/libc/arch/mips/sys/cerror.S
--- a/lib/libc/arch/mips/sys/cerror.S   Mon Jan 17 23:32:31 2011 +0000
+++ b/lib/libc/arch/mips/sys/cerror.S   Mon Jan 17 23:34:44 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cerror.S,v 1.15 2010/09/03 17:22:52 matt Exp $ */
+/*     $NetBSD: cerror.S,v 1.16 2011/01/17 23:34:44 matt Exp $ */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -38,10 +38,14 @@
 #if 0
        RCSID("from: @(#)cerror.s       8.1 (Berkeley) 6/16/93")
 #else
-       RCSID("$NetBSD: cerror.S,v 1.15 2010/09/03 17:22:52 matt Exp $")
+       RCSID("$NetBSD: cerror.S,v 1.16 2011/01/17 23:34:44 matt Exp $")
 #endif
 #endif /* LIBC_SCCS and not lint */
 
+#ifdef PIC
+       .hidden __cerror
+#endif
+
 #ifdef _REENTRANT
        .globl  _C_LABEL(__errno)
 NESTED_NOPROFILE(__cerror, CALLFRAME_SIZ, ra)



Home | Main Index | Thread Index | Old Index