Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/lib/libc/arch/i386/sys Pull up revision 1.12 (requested...
details: https://anonhg.NetBSD.org/src/rev/9da9dce9e3c3
branches: netbsd-1-4
changeset: 470392:9da9dce9e3c3
user: he <he%NetBSD.org@localhost>
date: Tue Feb 22 22:16:32 2000 +0000
description:
Pull up revision 1.12 (requested by mycroft):
Implement a better fix for the ``stubs in other shlibs'' problem.
With this fix the stack is left clean during the transition from
the stub to cerror().
diffstat:
lib/libc/arch/i386/sys/cerror.S | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diffs (32 lines):
diff -r 651fdef77322 -r 9da9dce9e3c3 lib/libc/arch/i386/sys/cerror.S
--- a/lib/libc/arch/i386/sys/cerror.S Tue Feb 22 22:16:10 2000 +0000
+++ b/lib/libc/arch/i386/sys/cerror.S Tue Feb 22 22:16:32 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cerror.S,v 1.10.2.1 2000/01/31 19:48:47 he Exp $ */
+/* $NetBSD: cerror.S,v 1.10.2.2 2000/02/22 22:16:32 he Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -40,7 +40,7 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
- RCSID("$NetBSD: cerror.S,v 1.10.2.1 2000/01/31 19:48:47 he Exp $")
+ RCSID("$NetBSD: cerror.S,v 1.10.2.2 2000/02/22 22:16:32 he Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@@ -52,12 +52,7 @@
#endif
_ENTRY(CERROR)
#ifdef PIC
- /* This is PIC_PROLOGUE without the pushl at the beginning. The stub
- already did that. */
- call 1f
-1:
- popl %ebx
- addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx
+ PIC_PROLOGUE
#endif
#ifdef _REENTRANT
Home |
Main Index |
Thread Index |
Old Index