Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libkern/arch/m68k Remove "#ifndef __mc68010__ #error...



details:   https://anonhg.NetBSD.org/src/rev/43dbc0bbb443
branches:  trunk
changeset: 1009429:43dbc0bbb443
user:      rin <rin%NetBSD.org@localhost>
date:      Thu Apr 23 03:12:49 2020 +0000

description:
Remove "#ifndef __mc68010__ #error" I added when these {,u}divsi3.S and
{,u}modsi3.S were moved here (It was better to split the commit, sorry);
bootloader for sun3 still depends on them.

diffstat:

 sys/lib/libkern/arch/m68k/divsi3.S  |  6 +++---
 sys/lib/libkern/arch/m68k/modsi3.S  |  6 +++---
 sys/lib/libkern/arch/m68k/udivsi3.S |  6 +++---
 sys/lib/libkern/arch/m68k/umodsi3.S |  6 +++---
 4 files changed, 12 insertions(+), 12 deletions(-)

diffs (100 lines):

diff -r 79325eecc836 -r 43dbc0bbb443 sys/lib/libkern/arch/m68k/divsi3.S
--- a/sys/lib/libkern/arch/m68k/divsi3.S        Thu Apr 23 03:09:18 2020 +0000
+++ b/sys/lib/libkern/arch/m68k/divsi3.S        Thu Apr 23 03:12:49 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: divsi3.S,v 1.3 2020/04/22 11:58:26 rin Exp $   */
+/*     $NetBSD: divsi3.S,v 1.4 2020/04/23 03:12:49 rin Exp $   */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -39,13 +39,13 @@
 #if 0
        RCSID("from: @(#)divsi3.s       5.1 (Berkeley) 6/7/90")
 #else
-       RCSID("$NetBSD: divsi3.S,v 1.3 2020/04/22 11:58:26 rin Exp $")
+       RCSID("$NetBSD: divsi3.S,v 1.4 2020/04/23 03:12:49 rin Exp $")
 #endif
 #endif /* LIBC_SCCS and not lint */
 
 /* int / int */
 #ifndef __mc68010__
-#error
+/* XXX sun3 need this for bootloader */
 ENTRY(__divsi3)
        movel   4(%sp),%d0
        divsl   8(%sp),%d0
diff -r 79325eecc836 -r 43dbc0bbb443 sys/lib/libkern/arch/m68k/modsi3.S
--- a/sys/lib/libkern/arch/m68k/modsi3.S        Thu Apr 23 03:09:18 2020 +0000
+++ b/sys/lib/libkern/arch/m68k/modsi3.S        Thu Apr 23 03:12:49 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: modsi3.S,v 1.3 2020/04/22 11:58:26 rin Exp $   */
+/*     $NetBSD: modsi3.S,v 1.4 2020/04/23 03:12:49 rin Exp $   */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -39,13 +39,13 @@
 #if 0
        RCSID("from: @(#)modsi3.s       5.1 (Berkeley) 6/7/90")
 #else
-       RCSID("$NetBSD: modsi3.S,v 1.3 2020/04/22 11:58:26 rin Exp $")
+       RCSID("$NetBSD: modsi3.S,v 1.4 2020/04/23 03:12:49 rin Exp $")
 #endif
 #endif /* LIBC_SCCS and not lint */
 
 /* int % int */
 #ifndef __mc68010__
-#error
+/* XXX sun3 need this for bootloader */
 ENTRY(__modsi3)
        movel   4(%sp),%d1
 #ifdef __mcoldfire__
diff -r 79325eecc836 -r 43dbc0bbb443 sys/lib/libkern/arch/m68k/udivsi3.S
--- a/sys/lib/libkern/arch/m68k/udivsi3.S       Thu Apr 23 03:09:18 2020 +0000
+++ b/sys/lib/libkern/arch/m68k/udivsi3.S       Thu Apr 23 03:12:49 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: udivsi3.S,v 1.5 2020/04/22 11:58:26 rin Exp $  */
+/*     $NetBSD: udivsi3.S,v 1.6 2020/04/23 03:12:49 rin Exp $  */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -39,13 +39,13 @@
 #if 0
        RCSID("from: @(#)udivsi3.s      5.1 (Berkeley) 6/7/90")
 #else
-       RCSID("$NetBSD: udivsi3.S,v 1.5 2020/04/22 11:58:26 rin Exp $")
+       RCSID("$NetBSD: udivsi3.S,v 1.6 2020/04/23 03:12:49 rin Exp $")
 #endif
 #endif /* LIBC_SCCS and not lint */
 
 /* unsigned / unsigned */
 #ifndef __mc68010__
-#error
+/* XXX sun3 need this for bootloader */
 ENTRY(__udivsi3)
        movel   4(%sp),%d0
        divul   8(%sp),%d0
diff -r 79325eecc836 -r 43dbc0bbb443 sys/lib/libkern/arch/m68k/umodsi3.S
--- a/sys/lib/libkern/arch/m68k/umodsi3.S       Thu Apr 23 03:09:18 2020 +0000
+++ b/sys/lib/libkern/arch/m68k/umodsi3.S       Thu Apr 23 03:12:49 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umodsi3.S,v 1.3 2020/04/22 11:58:26 rin Exp $  */
+/*     $NetBSD: umodsi3.S,v 1.4 2020/04/23 03:12:49 rin Exp $  */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -39,13 +39,13 @@
 #if 0
        RCSID("from: @(#)umodsi3.s      5.1 (Berkeley) 6/7/90")(
 #else
-       RCSID("$NetBSD: umodsi3.S,v 1.3 2020/04/22 11:58:26 rin Exp $")
+       RCSID("$NetBSD: umodsi3.S,v 1.4 2020/04/23 03:12:49 rin Exp $")
 #endif
 #endif /* LIBC_SCCS and not lint */
 
 /* unsigned % unsigned */
 #ifndef __mc68010__
-#error
+/* XXX sun3 need this for bootloader */
 ENTRY(__umodsi3)
        movel   4(%sp),%d1
 #ifdef __mcoldfire__



Home | Main Index | Thread Index | Old Index