Module Name: src
Committed By: matt
Date: Mon Jan 17 23:34:44 UTC 2011
Modified Files:
src/lib/libc/arch/mips/sys: cerror.S
Log Message:
Make __cerror hidden.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/arch/mips/sys/cerror.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/arch/mips/sys/cerror.S
diff -u src/lib/libc/arch/mips/sys/cerror.S:1.15 src/lib/libc/arch/mips/sys/cerror.S:1.16
--- src/lib/libc/arch/mips/sys/cerror.S:1.15 Fri Sep 3 17:22:52 2010
+++ src/lib/libc/arch/mips/sys/cerror.S Mon Jan 17 23:34:44 2011
@@ -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)