Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/powerpc64/sys Sync with other ports: in PIC mo...
details: https://anonhg.NetBSD.org/src/rev/c40d141d603c
branches: trunk
changeset: 770685:c40d141d603c
user: christos <christos%NetBSD.org@localhost>
date: Sat Oct 29 16:03:03 2011 +0000
description:
Sync with other ports: in PIC mode make __cerror hidden; it is not supposed
to be used outside libc.
diffstat:
lib/libc/arch/powerpc64/sys/cerror.S | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 1d7bcd267894 -r c40d141d603c lib/libc/arch/powerpc64/sys/cerror.S
--- a/lib/libc/arch/powerpc64/sys/cerror.S Sat Oct 29 15:58:38 2011 +0000
+++ b/lib/libc/arch/powerpc64/sys/cerror.S Sat Oct 29 16:03:03 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cerror.S,v 1.1 2006/07/01 16:37:20 ross Exp $ */
+/* $NetBSD: cerror.S,v 1.2 2011/10/29 16:03:03 christos Exp $ */
#include <machine/asm.h>
#include "SYS.h"
@@ -6,6 +6,9 @@
#ifndef _REENTRANT
.globl _C_LABEL(errno)
#endif
+#ifdef PIC
+ .hidden _C_LABEL(__cerror)
+#endif
ENTRY(__cerror)
#ifdef _REENTRANT
Home |
Main Index |
Thread Index |
Old Index