From a3b0f08d57b175043d23d9a3b9e36bbc2317e996 Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 16 Jan 1987 16:34:45 +0000 Subject: [PATCH] conversion to new assembler format --- mach/ns/libsys/_exit.s | 7 ++++++- mach/ns/libsys/access.s | 7 ++++++- mach/ns/libsys/acct.s | 7 ++++++- mach/ns/libsys/alarm.s | 7 ++++++- mach/ns/libsys/brk.s | 7 ++++++- mach/ns/libsys/chdir.s | 7 ++++++- mach/ns/libsys/chmod.s | 7 ++++++- mach/ns/libsys/chown.s | 7 ++++++- mach/ns/libsys/chroot.s | 7 ++++++- mach/ns/libsys/cleanup.s | 7 ++++++- mach/ns/libsys/close.s | 7 ++++++- mach/ns/libsys/creat.s | 7 ++++++- mach/ns/libsys/dup.s | 7 ++++++- mach/ns/libsys/dup2.s | 7 ++++++- mach/ns/libsys/errno.s | 9 +++++++-- mach/ns/libsys/execl.s | 7 ++++++- mach/ns/libsys/execle.s | 7 ++++++- mach/ns/libsys/execv.s | 7 ++++++- mach/ns/libsys/execve.s | 7 ++++++- mach/ns/libsys/exit.s | 7 ++++++- mach/ns/libsys/fork.s | 9 +++++++-- mach/ns/libsys/fstat.s | 7 ++++++- mach/ns/libsys/ftime.s | 7 ++++++- mach/ns/libsys/getegid.s | 7 ++++++- mach/ns/libsys/geteuid.s | 7 ++++++- mach/ns/libsys/getgid.s | 7 ++++++- mach/ns/libsys/getpid.s | 7 ++++++- mach/ns/libsys/getuid.s | 7 ++++++- mach/ns/libsys/gtty.s | 7 ++++++- mach/ns/libsys/head_em.s | 27 +++++++++++++++------------ mach/ns/libsys/ioctl.s | 7 ++++++- mach/ns/libsys/kill.s | 7 ++++++- mach/ns/libsys/link.s | 7 ++++++- mach/ns/libsys/lock.s | 7 ++++++- mach/ns/libsys/lseek.s | 7 ++++++- mach/ns/libsys/mknod.s | 7 ++++++- mach/ns/libsys/mount.s | 7 ++++++- mach/ns/libsys/mpxcall.s | 7 ++++++- mach/ns/libsys/nice.s | 7 ++++++- mach/ns/libsys/open.s | 7 ++++++- mach/ns/libsys/pause.s | 7 ++++++- mach/ns/libsys/pipe.s | 7 ++++++- mach/ns/libsys/prof.s | 7 ++++++- mach/ns/libsys/ptrace.s | 7 ++++++- mach/ns/libsys/read.s | 7 ++++++- mach/ns/libsys/sbrk.s | 7 ++++++- mach/ns/libsys/setgid.s | 7 ++++++- mach/ns/libsys/setsig.s | 9 +++++++-- mach/ns/libsys/setuid.s | 7 ++++++- mach/ns/libsys/stat.s | 7 ++++++- 50 files changed, 312 insertions(+), 64 deletions(-) diff --git a/mach/ns/libsys/_exit.s b/mach/ns/libsys/_exit.s index bcc38fd80..a99c96689 100644 --- a/mach/ns/libsys/_exit.s +++ b/mach/ns/libsys/_exit.s @@ -1,6 +1,11 @@ .define __exit +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern __exit -.text +.sect .text __exit: enter[], 0 movd 8(fp),tos diff --git a/mach/ns/libsys/access.s b/mach/ns/libsys/access.s index 0f2d0f7f4..28b183afe 100644 --- a/mach/ns/libsys/access.s +++ b/mach/ns/libsys/access.s @@ -1,6 +1,11 @@ .define _access +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _access -.text +.sect .text _access: enter[], 0 movd 12(fp),tos diff --git a/mach/ns/libsys/acct.s b/mach/ns/libsys/acct.s index f7afd78ab..7a1981262 100644 --- a/mach/ns/libsys/acct.s +++ b/mach/ns/libsys/acct.s @@ -1,6 +1,11 @@ .define _acct +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _acct -.text +.sect .text _acct: enter[], 0 movd 8(fp),tos diff --git a/mach/ns/libsys/alarm.s b/mach/ns/libsys/alarm.s index bedbddd00..e00b78319 100644 --- a/mach/ns/libsys/alarm.s +++ b/mach/ns/libsys/alarm.s @@ -1,6 +1,11 @@ .define _alarm +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _alarm -.text +.sect .text _alarm: enter[], 0 movd 8(fp),tos diff --git a/mach/ns/libsys/brk.s b/mach/ns/libsys/brk.s index a3463ae61..b11758c81 100644 --- a/mach/ns/libsys/brk.s +++ b/mach/ns/libsys/brk.s @@ -1,6 +1,11 @@ .define _brk +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _brk -.text +.sect .text _brk: enter[], 0 movd 8(fp),@.reghp diff --git a/mach/ns/libsys/chdir.s b/mach/ns/libsys/chdir.s index 1840b74b4..ab4c2a674 100644 --- a/mach/ns/libsys/chdir.s +++ b/mach/ns/libsys/chdir.s @@ -1,6 +1,11 @@ .define _chdir +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _chdir -.text +.sect .text _chdir: enter[], 0 movd 8(fp),tos diff --git a/mach/ns/libsys/chmod.s b/mach/ns/libsys/chmod.s index 03bf072c7..5c6293d91 100644 --- a/mach/ns/libsys/chmod.s +++ b/mach/ns/libsys/chmod.s @@ -1,6 +1,11 @@ .define _chmod +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _chmod -.text +.sect .text _chmod: enter[], 0 movd 12(fp),tos diff --git a/mach/ns/libsys/chown.s b/mach/ns/libsys/chown.s index 72e5cfcee..ddc979211 100644 --- a/mach/ns/libsys/chown.s +++ b/mach/ns/libsys/chown.s @@ -1,6 +1,11 @@ .define _chown +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _chown -.text +.sect .text _chown: enter[], 0 addr 8(fp),r7 diff --git a/mach/ns/libsys/chroot.s b/mach/ns/libsys/chroot.s index 2256b1a9a..a8d8ab58a 100644 --- a/mach/ns/libsys/chroot.s +++ b/mach/ns/libsys/chroot.s @@ -1,6 +1,11 @@ .define _chroot +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _chroot -.text +.sect .text _chroot: enter[], 0 movd 8(fp),tos diff --git a/mach/ns/libsys/cleanup.s b/mach/ns/libsys/cleanup.s index 48c425203..0d1db44f3 100644 --- a/mach/ns/libsys/cleanup.s +++ b/mach/ns/libsys/cleanup.s @@ -1,6 +1,11 @@ .define __cleanup +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern __cleanup -.text +.sect .text __cleanup: enter[], 0 exit [] diff --git a/mach/ns/libsys/close.s b/mach/ns/libsys/close.s index b6e217c8e..dbe9297fe 100644 --- a/mach/ns/libsys/close.s +++ b/mach/ns/libsys/close.s @@ -1,6 +1,11 @@ .define _close +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _close -.text +.sect .text _close: movd 0, r4 ret 0 diff --git a/mach/ns/libsys/creat.s b/mach/ns/libsys/creat.s index b0bf72e91..a9efa4c2e 100644 --- a/mach/ns/libsys/creat.s +++ b/mach/ns/libsys/creat.s @@ -1,6 +1,11 @@ .define _creat +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _creat -.text +.sect .text _creat: enter[], 0 movd 12(fp),tos diff --git a/mach/ns/libsys/dup.s b/mach/ns/libsys/dup.s index c4a353c2a..607d2e3af 100644 --- a/mach/ns/libsys/dup.s +++ b/mach/ns/libsys/dup.s @@ -1,6 +1,11 @@ .define _dup +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _dup -.text +.sect .text _dup: enter[], 0 movd 8(fp),tos diff --git a/mach/ns/libsys/dup2.s b/mach/ns/libsys/dup2.s index 6f45f4e5f..d35a47f66 100644 --- a/mach/ns/libsys/dup2.s +++ b/mach/ns/libsys/dup2.s @@ -1,6 +1,11 @@ .define _dup2 +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _dup2 -.text +.sect .text _dup2: enter[], 0 movd 8(fp),r7 diff --git a/mach/ns/libsys/errno.s b/mach/ns/libsys/errno.s index 35c871935..914836a9c 100644 --- a/mach/ns/libsys/errno.s +++ b/mach/ns/libsys/errno.s @@ -1,5 +1,10 @@ .define _errno +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _errno -.bss +.sect .bss _errno:.space 4 -.text +.sect .text diff --git a/mach/ns/libsys/execl.s b/mach/ns/libsys/execl.s index f637c229f..7c0432848 100644 --- a/mach/ns/libsys/execl.s +++ b/mach/ns/libsys/execl.s @@ -1,6 +1,11 @@ .define _execl +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _execl -.text +.sect .text _execl: enter[], 0 movd @__penvp,tos diff --git a/mach/ns/libsys/execle.s b/mach/ns/libsys/execle.s index 2bd538580..2e4cb954c 100644 --- a/mach/ns/libsys/execle.s +++ b/mach/ns/libsys/execle.s @@ -1,6 +1,11 @@ .define _execle +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _execle -.text +.sect .text _execle: enter[], 0 addr 12(fp),tos diff --git a/mach/ns/libsys/execv.s b/mach/ns/libsys/execv.s index a38e9bdfa..9f93526b8 100644 --- a/mach/ns/libsys/execv.s +++ b/mach/ns/libsys/execv.s @@ -1,6 +1,11 @@ .define _execv +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _execv -.text +.sect .text _execv: enter[], 0 movd @__penvp,tos diff --git a/mach/ns/libsys/execve.s b/mach/ns/libsys/execve.s index 656278ec6..cb663fbda 100644 --- a/mach/ns/libsys/execve.s +++ b/mach/ns/libsys/execve.s @@ -1,6 +1,11 @@ .define _execve +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _execve -.text +.sect .text _execve: enter[], 0 addr 8(fp),r7 diff --git a/mach/ns/libsys/exit.s b/mach/ns/libsys/exit.s index a809dd175..39d032322 100644 --- a/mach/ns/libsys/exit.s +++ b/mach/ns/libsys/exit.s @@ -1,6 +1,11 @@ .define _exit +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _exit -.text +.sect .text _exit: enter[], 0 jsr @__cleanup diff --git a/mach/ns/libsys/fork.s b/mach/ns/libsys/fork.s index 9670ddfb5..29d01addd 100644 --- a/mach/ns/libsys/fork.s +++ b/mach/ns/libsys/fork.s @@ -1,10 +1,15 @@ .define _fork .define _par_uid +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _par_uid -.bss +.sect .bss _par_uid:.space 4 .extern _fork -.text +.sect .text _fork: enter[], 0 movd 2,tos diff --git a/mach/ns/libsys/fstat.s b/mach/ns/libsys/fstat.s index 4a8f20481..7a23edd65 100644 --- a/mach/ns/libsys/fstat.s +++ b/mach/ns/libsys/fstat.s @@ -1,6 +1,11 @@ .define _fstat +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _fstat -.text +.sect .text _fstat: enter[], 0 movd 12(fp),tos diff --git a/mach/ns/libsys/ftime.s b/mach/ns/libsys/ftime.s index b4a26323a..306cc7bb0 100644 --- a/mach/ns/libsys/ftime.s +++ b/mach/ns/libsys/ftime.s @@ -1,6 +1,11 @@ .define _ftime +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _ftime -.text +.sect .text _ftime: enter[], 0 movd 8(fp),tos diff --git a/mach/ns/libsys/getegid.s b/mach/ns/libsys/getegid.s index 6f2ff7e8f..80a379b68 100644 --- a/mach/ns/libsys/getegid.s +++ b/mach/ns/libsys/getegid.s @@ -1,6 +1,11 @@ .define _getegid +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _getegid -.text +.sect .text _getegid: enter[], 0 movd 47,tos diff --git a/mach/ns/libsys/geteuid.s b/mach/ns/libsys/geteuid.s index c2a99dd98..dd7bc0bc3 100644 --- a/mach/ns/libsys/geteuid.s +++ b/mach/ns/libsys/geteuid.s @@ -1,6 +1,11 @@ .define _geteuid +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _geteuid -.text +.sect .text _geteuid: enter[], 0 movd 24,tos diff --git a/mach/ns/libsys/getgid.s b/mach/ns/libsys/getgid.s index 011c894fe..3f63ec42c 100644 --- a/mach/ns/libsys/getgid.s +++ b/mach/ns/libsys/getgid.s @@ -1,6 +1,11 @@ .define _getgid +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _getgid -.text +.sect .text _getgid: enter[], 0 movd 47,tos diff --git a/mach/ns/libsys/getpid.s b/mach/ns/libsys/getpid.s index c064bc5c6..9dfbd9cf8 100644 --- a/mach/ns/libsys/getpid.s +++ b/mach/ns/libsys/getpid.s @@ -1,6 +1,11 @@ .define _getpid +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _getpid -.text +.sect .text _getpid: enter[], 0 movd 20,tos diff --git a/mach/ns/libsys/getuid.s b/mach/ns/libsys/getuid.s index 1d3fabd1d..78473a4ed 100644 --- a/mach/ns/libsys/getuid.s +++ b/mach/ns/libsys/getuid.s @@ -1,6 +1,11 @@ .define _getuid +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _getuid -.text +.sect .text _getuid: enter[], 0 movd 24,tos diff --git a/mach/ns/libsys/gtty.s b/mach/ns/libsys/gtty.s index bbe068d52..473c54f93 100644 --- a/mach/ns/libsys/gtty.s +++ b/mach/ns/libsys/gtty.s @@ -1,6 +1,11 @@ .define _gtty +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _gtty -.text +.sect .text _gtty: enter[], 0 movd 12(fp),tos diff --git a/mach/ns/libsys/head_em.s b/mach/ns/libsys/head_em.s index ffcd6fe53..484b9c23d 100644 --- a/mach/ns/libsys/head_em.s +++ b/mach/ns/libsys/head_em.s @@ -2,16 +2,19 @@ .define .ignmask, .trpreg .define .stop .define ERANGE,EILLINS,ECASE +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text -base = 0x10000 topmem = 0xFFFFFF ERANGE = 1 EILLINS = 18 ECASE = 20 - .base base - .text + .sect .text movd begbss, r7 movd endbss, r6 @@ -30,21 +33,21 @@ ECASE = 20 jsr @.putchar bpt -.bss +.sect .bss begbss: -.data +.sect .data hol0: - .long 0 - .long 0 + .data4 0 + .data4 0 argv: - .long 3f + .data4 3f envp: - .long 0 + .data4 0 3: .asciz 'PROGRAM' .reghp: - .long endbss + .data4 endbss .ignmask: - .short 0 + .data2 0 .trpreg: - .long 0 + .data4 0 diff --git a/mach/ns/libsys/ioctl.s b/mach/ns/libsys/ioctl.s index 906d270a6..4ca67f826 100644 --- a/mach/ns/libsys/ioctl.s +++ b/mach/ns/libsys/ioctl.s @@ -1,6 +1,11 @@ .define _ioctl +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _ioctl -.text +.sect .text _ioctl: enter[], 0 addr 8(fp),r7 diff --git a/mach/ns/libsys/kill.s b/mach/ns/libsys/kill.s index 7447642ff..57b39284e 100644 --- a/mach/ns/libsys/kill.s +++ b/mach/ns/libsys/kill.s @@ -1,6 +1,11 @@ .define _kill +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _kill -.text +.sect .text _kill: enter[], 0 movd 12(fp),tos diff --git a/mach/ns/libsys/link.s b/mach/ns/libsys/link.s index 9b82bd2f0..a8a433542 100644 --- a/mach/ns/libsys/link.s +++ b/mach/ns/libsys/link.s @@ -1,6 +1,11 @@ .define _link +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _link -.text +.sect .text _link: enter[], 0 movd 12(fp),tos diff --git a/mach/ns/libsys/lock.s b/mach/ns/libsys/lock.s index 88fca256c..848e5c06b 100644 --- a/mach/ns/libsys/lock.s +++ b/mach/ns/libsys/lock.s @@ -1,6 +1,11 @@ .define _lock +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _lock -.text +.sect .text _lock: enter[], 0 movd 8(fp),tos diff --git a/mach/ns/libsys/lseek.s b/mach/ns/libsys/lseek.s index 8d50a6fd6..0dc530d9f 100644 --- a/mach/ns/libsys/lseek.s +++ b/mach/ns/libsys/lseek.s @@ -1,6 +1,11 @@ .define _lseek +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _lseek -.text +.sect .text _lseek: enter[], 0 addr 8(fp),r7 diff --git a/mach/ns/libsys/mknod.s b/mach/ns/libsys/mknod.s index 3e85d2a13..0e01edd82 100644 --- a/mach/ns/libsys/mknod.s +++ b/mach/ns/libsys/mknod.s @@ -1,6 +1,11 @@ .define _mknod +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _mknod -.text +.sect .text _mknod: enter[], 0 addr 8(fp),r7 diff --git a/mach/ns/libsys/mount.s b/mach/ns/libsys/mount.s index 216f5e273..ed9565482 100644 --- a/mach/ns/libsys/mount.s +++ b/mach/ns/libsys/mount.s @@ -1,6 +1,11 @@ .define _mount +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _mount -.text +.sect .text _mount: enter[], 0 addr 8(fp),r7 diff --git a/mach/ns/libsys/mpxcall.s b/mach/ns/libsys/mpxcall.s index 9cdec1ab7..23401da8d 100644 --- a/mach/ns/libsys/mpxcall.s +++ b/mach/ns/libsys/mpxcall.s @@ -1,6 +1,11 @@ .define _mpxcall +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _mpxcall -.text +.sect .text _mpxcall: enter[], 0 movd 12(fp),tos diff --git a/mach/ns/libsys/nice.s b/mach/ns/libsys/nice.s index e47a54d35..7a31fce77 100644 --- a/mach/ns/libsys/nice.s +++ b/mach/ns/libsys/nice.s @@ -1,6 +1,11 @@ .define _nice +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _nice -.text +.sect .text _nice: enter[], 0 movd 8(fp),tos diff --git a/mach/ns/libsys/open.s b/mach/ns/libsys/open.s index 4a0cf9804..c883882cd 100644 --- a/mach/ns/libsys/open.s +++ b/mach/ns/libsys/open.s @@ -1,6 +1,11 @@ .define _open +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _open -.text +.sect .text _open: enter[], 0 movd 12(fp),tos diff --git a/mach/ns/libsys/pause.s b/mach/ns/libsys/pause.s index 607a351b8..59d2cc354 100644 --- a/mach/ns/libsys/pause.s +++ b/mach/ns/libsys/pause.s @@ -1,6 +1,11 @@ .define _pause +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _pause -.text +.sect .text _pause: enter[], 0 movd 29,tos diff --git a/mach/ns/libsys/pipe.s b/mach/ns/libsys/pipe.s index 6915b4438..f8b6ee30b 100644 --- a/mach/ns/libsys/pipe.s +++ b/mach/ns/libsys/pipe.s @@ -1,6 +1,11 @@ .define _pipe +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _pipe -.text +.sect .text _pipe: enter[], 0 movd 42,tos diff --git a/mach/ns/libsys/prof.s b/mach/ns/libsys/prof.s index 822e5beb0..61a6e0142 100644 --- a/mach/ns/libsys/prof.s +++ b/mach/ns/libsys/prof.s @@ -1,6 +1,11 @@ .define _profil +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _profil -.text +.sect .text _profil: enter[], 0 addr 8(fp),r7 diff --git a/mach/ns/libsys/ptrace.s b/mach/ns/libsys/ptrace.s index a32ebdfc0..e1d73aea0 100644 --- a/mach/ns/libsys/ptrace.s +++ b/mach/ns/libsys/ptrace.s @@ -1,6 +1,11 @@ .define _ptrace +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _ptrace -.text +.sect .text _ptrace: enter[], 0 xord @_errno,@_errno diff --git a/mach/ns/libsys/read.s b/mach/ns/libsys/read.s index dd3552dbe..941d9c05e 100644 --- a/mach/ns/libsys/read.s +++ b/mach/ns/libsys/read.s @@ -1,6 +1,11 @@ .define _read +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _read -.text +.sect .text _read: enter[], 0 save [r0,r1,r2,r3] diff --git a/mach/ns/libsys/sbrk.s b/mach/ns/libsys/sbrk.s index e7b080b5d..3171463be 100644 --- a/mach/ns/libsys/sbrk.s +++ b/mach/ns/libsys/sbrk.s @@ -1,6 +1,11 @@ .define _sbrk +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _sbrk -.text +.sect .text _sbrk: enter[], 0 movd @.reghp,r7 diff --git a/mach/ns/libsys/setgid.s b/mach/ns/libsys/setgid.s index b9cc66989..97a79254b 100644 --- a/mach/ns/libsys/setgid.s +++ b/mach/ns/libsys/setgid.s @@ -1,6 +1,11 @@ .define _setgid +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _setgid -.text +.sect .text _setgid: enter[], 0 movd 8(fp),tos diff --git a/mach/ns/libsys/setsig.s b/mach/ns/libsys/setsig.s index 4035a369a..4522e77e0 100644 --- a/mach/ns/libsys/setsig.s +++ b/mach/ns/libsys/setsig.s @@ -1,9 +1,14 @@ .define __setsig -.bss +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text +.sect .bss _save:.space 4 _trf:.space 4 .extern __setsig -.text +.sect .text __setsig: enter[], 0 movd 8(fp),@_trf diff --git a/mach/ns/libsys/setuid.s b/mach/ns/libsys/setuid.s index e9cfc095b..25de564b7 100644 --- a/mach/ns/libsys/setuid.s +++ b/mach/ns/libsys/setuid.s @@ -1,6 +1,11 @@ .define _setuid +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _setuid -.text +.sect .text _setuid: enter[], 0 movd 8(fp),tos diff --git a/mach/ns/libsys/stat.s b/mach/ns/libsys/stat.s index 66ca31568..7abe35040 100644 --- a/mach/ns/libsys/stat.s +++ b/mach/ns/libsys/stat.s @@ -1,6 +1,11 @@ .define _stat +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text .extern _stat -.text +.sect .text _stat: enter[], 0 movd 12(fp),tos -- 2.34.1