Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch PowerPC doesn't have CERROR since it never had...
details: https://anonhg.NetBSD.org/src/rev/20e9e3082702
branches: trunk
changeset: 777642:20e9e3082702
user: matt <matt%NetBSD.org@localhost>
date: Mon Feb 27 15:47:11 2012 +0000
description:
PowerPC doesn't have CERROR since it never had a.out.
Use _C_LABEL(__cerror) instead.
diffstat:
lib/libc/arch/powerpc/sys/cerror.S | 6 +++---
lib/libc/arch/powerpc64/sys/cerror.S | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r 023167c5cc5f -r 20e9e3082702 lib/libc/arch/powerpc/sys/cerror.S
--- a/lib/libc/arch/powerpc/sys/cerror.S Mon Feb 27 15:41:10 2012 +0000
+++ b/lib/libc/arch/powerpc/sys/cerror.S Mon Feb 27 15:47:11 2012 +0000
@@ -1,17 +1,17 @@
-/* $NetBSD: cerror.S,v 1.9 2012/02/27 12:26:21 joerg Exp $ */
+/* $NetBSD: cerror.S,v 1.10 2012/02/27 15:47:11 matt Exp $ */
#include "SYS.h"
#include "assym.h"
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: cerror.S,v 1.9 2012/02/27 12:26:21 joerg Exp $")
+__RCSID("$NetBSD: cerror.S,v 1.10 2012/02/27 15:47:11 matt Exp $")
#endif /* LIBC_SCCS && !lint */
#ifndef _REENTRANT
.globl _C_LABEL(errno)
#endif
#ifdef PIC
- .protected CERROR
+ .protected _C_LABEL(__cerror)
#endif
ENTRY(__cerror)
diff -r 023167c5cc5f -r 20e9e3082702 lib/libc/arch/powerpc64/sys/cerror.S
--- a/lib/libc/arch/powerpc64/sys/cerror.S Mon Feb 27 15:41:10 2012 +0000
+++ b/lib/libc/arch/powerpc64/sys/cerror.S Mon Feb 27 15:47:11 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cerror.S,v 1.3 2012/02/27 12:26:21 joerg Exp $ */
+/* $NetBSD: cerror.S,v 1.4 2012/02/27 15:47:11 matt Exp $ */
#include <machine/asm.h>
#include "SYS.h"
@@ -7,7 +7,7 @@
.globl _C_LABEL(errno)
#endif
#ifdef PIC
- .protected CERROR
+ .protected _C_LABEL(__cerror)
#endif
ENTRY(__cerror)
Home |
Main Index |
Thread Index |
Old Index