Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/hppa/gen Remove unnecesary #define/#undef _LOCORE



details:   https://anonhg.NetBSD.org/src/rev/eb7587014388
branches:  trunk
changeset: 932273:eb7587014388
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon May 04 06:42:11 2020 +0000

description:
Remove unnecesary #define/#undef _LOCORE

diffstat:

 lib/libc/arch/hppa/gen/__setjmp14.S |  7 ++-----
 lib/libc/arch/hppa/gen/_setjmp.S    |  7 ++-----
 2 files changed, 4 insertions(+), 10 deletions(-)

diffs (49 lines):

diff -r 4d90033727a1 -r eb7587014388 lib/libc/arch/hppa/gen/__setjmp14.S
--- a/lib/libc/arch/hppa/gen/__setjmp14.S       Mon May 04 00:18:34 2020 +0000
+++ b/lib/libc/arch/hppa/gen/__setjmp14.S       Mon May 04 06:42:11 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: __setjmp14.S,v 1.7 2020/05/03 15:29:22 skrll Exp $     */
+/*     $NetBSD: __setjmp14.S,v 1.8 2020/05/04 06:42:11 skrll Exp $     */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,14 +30,11 @@
  */
 
 #include <machine/asm.h>
-/* XXX fredette - this is awful */
-#define _LOCORE
 #include <machine/frame.h>
-#undef _LOCORE
 #include <machine/psl.h>
 
 #if defined(LIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: __setjmp14.S,v 1.7 2020/05/03 15:29:22 skrll Exp $")
+       RCSID("$NetBSD: __setjmp14.S,v 1.8 2020/05/04 06:42:11 skrll Exp $")
 #endif /* LIBC_SCCS and not lint */
 
 /*
diff -r 4d90033727a1 -r eb7587014388 lib/libc/arch/hppa/gen/_setjmp.S
--- a/lib/libc/arch/hppa/gen/_setjmp.S  Mon May 04 00:18:34 2020 +0000
+++ b/lib/libc/arch/hppa/gen/_setjmp.S  Mon May 04 06:42:11 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: _setjmp.S,v 1.4 2008/04/28 20:22:56 martin Exp $       */
+/*     $NetBSD: _setjmp.S,v 1.5 2020/05/04 06:42:11 skrll Exp $        */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,13 +30,10 @@
  */
 
 #include <machine/asm.h>
-/* XXX fredette - this is awful */
-#define _LOCORE
 #include <machine/frame.h>
-#undef _LOCORE
 
 #if defined(LIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: _setjmp.S,v 1.4 2008/04/28 20:22:56 martin Exp $")
+       RCSID("$NetBSD: _setjmp.S,v 1.5 2020/05/04 06:42:11 skrll Exp $")
 #endif /* LIBC_SCCS and not lint */
 
 /*



Home | Main Index | Thread Index | Old Index