Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/m68k Call cerror through the PLT.



details:   https://anonhg.NetBSD.org/src/rev/6e36bf258a57
branches:  trunk
changeset: 472580:6e36bf258a57
user:      kleink <kleink%NetBSD.org@localhost>
date:      Sun May 02 23:19:49 1999 +0000

description:
Call cerror through the PLT.

diffstat:

 lib/libc/arch/m68k/SYS.h               |  4 ++--
 lib/libc/arch/m68k/sys/__sigreturn14.S |  6 +++---
 lib/libc/arch/m68k/sys/brk.S           |  6 +++---
 lib/libc/arch/m68k/sys/exect.S         |  6 +++---
 lib/libc/arch/m68k/sys/ptrace.S        |  6 +++---
 lib/libc/arch/m68k/sys/sbrk.S          |  6 +++---
 lib/libc/arch/m68k/sys/sigprocmask.S   |  6 +++---
 lib/libc/arch/m68k/sys/sigreturn.S     |  6 +++---
 lib/libc/arch/m68k/sys/sigsuspend.S    |  6 +++---
 lib/libc/arch/m68k/sys/syscall.S       |  6 +++---
 10 files changed, 29 insertions(+), 29 deletions(-)

diffs (233 lines):

diff -r 0a2f5dd93c97 -r 6e36bf258a57 lib/libc/arch/m68k/SYS.h
--- a/lib/libc/arch/m68k/SYS.h  Sun May 02 22:50:19 1999 +0000
+++ b/lib/libc/arch/m68k/SYS.h  Sun May 02 23:19:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: SYS.h,v 1.10 1999/01/14 22:48:20 kleink Exp $  */
+/*     $NetBSD: SYS.h,v 1.11 1999/05/02 23:19:49 kleink Exp $  */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -63,7 +63,7 @@
 
 #define _SYSCALL(x,y)                                                  \
        .even;                                                          \
-       err: jra CERROR;                                                \
+       err: jra PIC_PLT(CERROR);                                       \
        _SYSCALL_NOERROR(x,y);                                          \
        jcs err
 
diff -r 0a2f5dd93c97 -r 6e36bf258a57 lib/libc/arch/m68k/sys/__sigreturn14.S
--- a/lib/libc/arch/m68k/sys/__sigreturn14.S    Sun May 02 22:50:19 1999 +0000
+++ b/lib/libc/arch/m68k/sys/__sigreturn14.S    Sun May 02 23:19:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: __sigreturn14.S,v 1.2 1999/01/14 22:48:20 kleink Exp $ */
+/*     $NetBSD: __sigreturn14.S,v 1.3 1999/05/02 23:19:50 kleink Exp $ */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -43,7 +43,7 @@
 #if 0
        RCSID("from: @(#)sigreturn.s    5.1 (Berkeley) 5/12/90")
 #else
-       RCSID("$NetBSD: __sigreturn14.S,v 1.2 1999/01/14 22:48:20 kleink Exp $")
+       RCSID("$NetBSD: __sigreturn14.S,v 1.3 1999/05/02 23:19:50 kleink Exp $")
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -60,4 +60,4 @@
 
 ENTRY(__sigreturn14)
        trap    #3              /* special sigreturn syscall entry point */
-       jra     CERROR
+       jra     PIC_PLT(CERROR)
diff -r 0a2f5dd93c97 -r 6e36bf258a57 lib/libc/arch/m68k/sys/brk.S
--- a/lib/libc/arch/m68k/sys/brk.S      Sun May 02 22:50:19 1999 +0000
+++ b/lib/libc/arch/m68k/sys/brk.S      Sun May 02 23:19:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: brk.S,v 1.7 1999/01/14 22:48:20 kleink Exp $   */
+/*     $NetBSD: brk.S,v 1.8 1999/05/02 23:19:50 kleink Exp $   */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -43,7 +43,7 @@
 #if 0
        RCSID("from: @(#)brk.s  5.1 (Berkeley) 5/12/90")
 #else
-       RCSID("$NetBSD: brk.S,v 1.7 1999/01/14 22:48:20 kleink Exp $")
+       RCSID("$NetBSD: brk.S,v 1.8 1999/05/02 23:19:50 kleink Exp $")
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -81,4 +81,4 @@
        clrl    d0
        rts
 err:
-       jra     CERROR
+       jra     PIC_PLT(CERROR)
diff -r 0a2f5dd93c97 -r 6e36bf258a57 lib/libc/arch/m68k/sys/exect.S
--- a/lib/libc/arch/m68k/sys/exect.S    Sun May 02 22:50:19 1999 +0000
+++ b/lib/libc/arch/m68k/sys/exect.S    Sun May 02 23:19:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exect.S,v 1.4 1999/01/14 22:48:20 kleink Exp $ */
+/*     $NetBSD: exect.S,v 1.5 1999/05/02 23:19:50 kleink Exp $ */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -44,11 +44,11 @@
 #if 0
        RCSID("from: @(#)exect.s        5.1 (Berkeley) 5/12/90")
 #else
-       RCSID("$NetBSD: exect.S,v 1.4 1999/01/14 22:48:20 kleink Exp $")
+       RCSID("$NetBSD: exect.S,v 1.5 1999/05/02 23:19:50 kleink Exp $")
 #endif
 #endif /* LIBC_SCCS and not lint */
 
 ENTRY(exect)
        movl    #SYS_execve,d0
        trap    #0
-       jra     CERROR          /* exect(file, argv, env) */
+       jra     PIC_PLT(CERROR) /* exect(file, argv, env) */
diff -r 0a2f5dd93c97 -r 6e36bf258a57 lib/libc/arch/m68k/sys/ptrace.S
--- a/lib/libc/arch/m68k/sys/ptrace.S   Sun May 02 22:50:19 1999 +0000
+++ b/lib/libc/arch/m68k/sys/ptrace.S   Sun May 02 23:19:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ptrace.S,v 1.7 1999/05/02 20:52:03 kleink Exp $        */
+/*     $NetBSD: ptrace.S,v 1.8 1999/05/02 23:19:50 kleink Exp $        */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -43,7 +43,7 @@
 #if 0
        RCSID("from: @(#)ptrace.s       5.1 (Berkeley) 5/12/90")
 #else
-       RCSID("$NetBSD: ptrace.S,v 1.7 1999/05/02 20:52:03 kleink Exp $")
+       RCSID("$NetBSD: ptrace.S,v 1.8 1999/05/02 23:19:50 kleink Exp $")
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -82,4 +82,4 @@
        jcs     err
        rts
 err:
-       jra     CERROR
+       jra     PIC_PLT(CERROR)
diff -r 0a2f5dd93c97 -r 6e36bf258a57 lib/libc/arch/m68k/sys/sbrk.S
--- a/lib/libc/arch/m68k/sys/sbrk.S     Sun May 02 22:50:19 1999 +0000
+++ b/lib/libc/arch/m68k/sys/sbrk.S     Sun May 02 23:19:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbrk.S,v 1.7 1999/01/14 22:48:20 kleink Exp $  */
+/*     $NetBSD: sbrk.S,v 1.8 1999/05/02 23:19:50 kleink Exp $  */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -43,7 +43,7 @@
 #if 0
        RCSID("from: @(#)sbrk.s 5.1 (Berkeley) 5/12/90")
 #else
-       RCSID("$NetBSD: sbrk.S,v 1.7 1999/01/14 22:48:20 kleink Exp $")
+       RCSID("$NetBSD: sbrk.S,v 1.8 1999/05/02 23:19:50 kleink Exp $")
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -76,4 +76,4 @@
 #endif
        rts
 err:
-       jra     CERROR
+       jra     PIC_PLT(CERROR)
diff -r 0a2f5dd93c97 -r 6e36bf258a57 lib/libc/arch/m68k/sys/sigprocmask.S
--- a/lib/libc/arch/m68k/sys/sigprocmask.S      Sun May 02 22:50:19 1999 +0000
+++ b/lib/libc/arch/m68k/sys/sigprocmask.S      Sun May 02 23:19:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sigprocmask.S,v 1.7 1999/01/14 22:48:20 kleink Exp $   */
+/*     $NetBSD: sigprocmask.S,v 1.8 1999/05/02 23:19:50 kleink Exp $   */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -43,7 +43,7 @@
 #if 0
        RCSID("from: @(#)sigprocmask.s  5.2 (Berkeley) 6/6/90")
 #else
-       RCSID("$NetBSD: sigprocmask.S,v 1.7 1999/01/14 22:48:20 kleink Exp $")
+       RCSID("$NetBSD: sigprocmask.S,v 1.8 1999/05/02 23:19:50 kleink Exp $")
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -71,4 +71,4 @@
        clrl    d0
        rts
 err:
-       jra     CERROR
+       jra     PIC_PLT(CERROR)
diff -r 0a2f5dd93c97 -r 6e36bf258a57 lib/libc/arch/m68k/sys/sigreturn.S
--- a/lib/libc/arch/m68k/sys/sigreturn.S        Sun May 02 22:50:19 1999 +0000
+++ b/lib/libc/arch/m68k/sys/sigreturn.S        Sun May 02 23:19:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sigreturn.S,v 1.7 1999/01/14 22:48:20 kleink Exp $     */
+/*     $NetBSD: sigreturn.S,v 1.8 1999/05/02 23:19:50 kleink Exp $     */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -43,7 +43,7 @@
 #if 0
        RCSID("from: @(#)sigreturn.s    5.1 (Berkeley) 5/12/90")
 #else
-       RCSID("$NetBSD: sigreturn.S,v 1.7 1999/01/14 22:48:20 kleink Exp $")
+       RCSID("$NetBSD: sigreturn.S,v 1.8 1999/05/02 23:19:50 kleink Exp $")
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -66,4 +66,4 @@
  */
 ENTRY(sigreturn)
        trap    #1              /* signals compat_13_sigreturn13() */
-       jra     CERROR
+       jra     PIC_PLT(CERROR)
diff -r 0a2f5dd93c97 -r 6e36bf258a57 lib/libc/arch/m68k/sys/sigsuspend.S
--- a/lib/libc/arch/m68k/sys/sigsuspend.S       Sun May 02 22:50:19 1999 +0000
+++ b/lib/libc/arch/m68k/sys/sigsuspend.S       Sun May 02 23:19:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sigsuspend.S,v 1.7 1999/01/14 22:48:20 kleink Exp $    */
+/*     $NetBSD: sigsuspend.S,v 1.8 1999/05/02 23:19:50 kleink Exp $    */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -43,7 +43,7 @@
 #if 0
        RCSID("from: @(#)sigsuspend.s   5.2 (Berkeley) 6/6/90")
 #else
-       RCSID("$NetBSD: sigsuspend.S,v 1.7 1999/01/14 22:48:20 kleink Exp $")
+       RCSID("$NetBSD: sigsuspend.S,v 1.8 1999/05/02 23:19:50 kleink Exp $")
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -59,4 +59,4 @@
        clrl    d0                      /* shouldn't happen */
        rts
 err:
-       jra     CERROR
+       jra     PIC_PLT(CERROR)
diff -r 0a2f5dd93c97 -r 6e36bf258a57 lib/libc/arch/m68k/sys/syscall.S
--- a/lib/libc/arch/m68k/sys/syscall.S  Sun May 02 22:50:19 1999 +0000
+++ b/lib/libc/arch/m68k/sys/syscall.S  Sun May 02 23:19:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: syscall.S,v 1.4 1999/01/14 22:48:20 kleink Exp $       */
+/*     $NetBSD: syscall.S,v 1.5 1999/05/02 23:19:50 kleink Exp $       */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -43,7 +43,7 @@
 #if 0
        RCSID("from: @(#)syscall.s      5.1 (Berkeley) 5/12/90")
 #else
-       RCSID("$NetBSD: syscall.S,v 1.4 1999/01/14 22:48:20 kleink Exp $")
+       RCSID("$NetBSD: syscall.S,v 1.5 1999/05/02 23:19:50 kleink Exp $")
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -53,4 +53,4 @@
        jcs     err
        rts
 err:
-       jra     CERROR
+       jra     PIC_PLT(CERROR)



Home | Main Index | Thread Index | Old Index