From f514411ceaa0210da6e76f0e502e00e5facb0ac9 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 22 Jul 1986 13:23:14 +0000 Subject: [PATCH] Adapted to use of new assembler. --- mach/m68k4/libsys/Makefile | 24 ++++++++++++++---------- mach/m68k4/libsys/_exit.s | 6 +++++- mach/m68k4/libsys/access.s | 6 +++++- mach/m68k4/libsys/acct.s | 6 +++++- mach/m68k4/libsys/alarm.s | 6 +++++- mach/m68k4/libsys/brk.s | 6 +++++- mach/m68k4/libsys/call.s | 6 +++++- mach/m68k4/libsys/chdir.s | 6 +++++- mach/m68k4/libsys/chmod.s | 6 +++++- mach/m68k4/libsys/chown.s | 6 +++++- mach/m68k4/libsys/chroot.s | 6 +++++- mach/m68k4/libsys/cleanup.s | 6 +++++- mach/m68k4/libsys/close.s | 6 +++++- mach/m68k4/libsys/creat.s | 6 +++++- mach/m68k4/libsys/dup.s | 6 +++++- mach/m68k4/libsys/dup2.s | 6 +++++- mach/m68k4/libsys/errno.s | 8 ++++++-- mach/m68k4/libsys/execl.s | 5 +++++ mach/m68k4/libsys/execve.s | 6 +++++- mach/m68k4/libsys/exit.s | 6 +++++- mach/m68k4/libsys/fork.s | 6 +++++- mach/m68k4/libsys/fstat.s | 5 +++++ mach/m68k4/libsys/ftime.s | 6 +++++- mach/m68k4/libsys/getegid.s | 6 +++++- mach/m68k4/libsys/getgid.s | 6 +++++- mach/m68k4/libsys/getpid.s | 6 +++++- mach/m68k4/libsys/getuid.s | 6 +++++- mach/m68k4/libsys/gtty.s | 6 +++++- mach/m68k4/libsys/ioctl.s | 6 +++++- mach/m68k4/libsys/kill.s | 6 +++++- mach/m68k4/libsys/link.s | 6 +++++- mach/m68k4/libsys/lock.s | 6 +++++- mach/m68k4/libsys/lseek.s | 6 +++++- mach/m68k4/libsys/mknod.s | 6 +++++- mach/m68k4/libsys/mount.s | 7 +++++-- mach/m68k4/libsys/nice.s | 6 +++++- mach/m68k4/libsys/open.s | 6 +++++- mach/m68k4/libsys/pause.s | 6 +++++- mach/m68k4/libsys/pipe.s | 5 +++++ mach/m68k4/libsys/profil.s | 6 +++++- mach/m68k4/libsys/ptrace.s | 6 +++++- mach/m68k4/libsys/read.s | 6 +++++- mach/m68k4/libsys/setgid.s | 6 +++++- mach/m68k4/libsys/setuid.s | 6 +++++- mach/m68k4/libsys/signal.s | 7 ++++++- mach/m68k4/libsys/stat.s | 6 +++++- mach/m68k4/libsys/stime.s | 5 ++++- mach/m68k4/libsys/stty.s | 5 ++++- mach/m68k4/libsys/sync.s | 5 ++++- mach/m68k4/libsys/time.s | 6 +++++- mach/m68k4/libsys/times.s | 6 +++++- mach/m68k4/libsys/umask.s | 6 +++++- mach/m68k4/libsys/umount.s | 6 +++++- mach/m68k4/libsys/unlink.s | 6 +++++- mach/m68k4/libsys/utime.s | 6 +++++- mach/m68k4/libsys/wait.s | 5 +++++ mach/m68k4/libsys/write.s | 6 +++++- 57 files changed, 293 insertions(+), 64 deletions(-) diff --git a/mach/m68k4/libsys/Makefile b/mach/m68k4/libsys/Makefile index 91f2cc351..37bd1e20c 100644 --- a/mach/m68k4/libsys/Makefile +++ b/mach/m68k4/libsys/Makefile @@ -1,17 +1,21 @@ # $Header$ -install: - ../../install head_em.s head_em - ../../install tail_mon.a tail_mon +MACH=m68k4 +all: tail_mon +install: all + ../../install tail_mon -compare: - -../../compare head_em.s head_em - -../../compare tail_mon.a tail_mon +cmp: all + -../../compare tail_mon -clean : +tail_mon: + ASAR=aal ; export ASAR ;\ + march . tail_mon + +clean: + rm -f *.o opr : - make pr | opr + make pr | opr pr: - @pr -h `pwd`/head_em.s head_em.s - @ar pv tail_mon.a | pr -h `pwd`/tail_mon.a + @ar pv tail_mon.a diff --git a/mach/m68k4/libsys/_exit.s b/mach/m68k4/libsys/_exit.s index 6f0d4e3aa..533c81661 100644 --- a/mach/m68k4/libsys/_exit.s +++ b/mach/m68k4/libsys/_exit.s @@ -1,6 +1,10 @@ .define __exit .extern __exit -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text __exit: move.w #0x1,d0 move.l 4(sp),a0 trap #0 diff --git a/mach/m68k4/libsys/access.s b/mach/m68k4/libsys/access.s index f2a0c2c5c..fb8f690e9 100644 --- a/mach/m68k4/libsys/access.s +++ b/mach/m68k4/libsys/access.s @@ -1,6 +1,10 @@ .define _access .extern _access -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _access: move.w #0x21,d0 move.l 4(sp),a0 move.l 8(sp),d1 diff --git a/mach/m68k4/libsys/acct.s b/mach/m68k4/libsys/acct.s index b4ba8b611..dd3466ba3 100644 --- a/mach/m68k4/libsys/acct.s +++ b/mach/m68k4/libsys/acct.s @@ -1,6 +1,10 @@ .define _acct .extern _acct -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _acct: move.w #0x33,d0 move.l 4(sp),a0 jmp callc diff --git a/mach/m68k4/libsys/alarm.s b/mach/m68k4/libsys/alarm.s index d3b4220fd..954ef29a6 100644 --- a/mach/m68k4/libsys/alarm.s +++ b/mach/m68k4/libsys/alarm.s @@ -1,6 +1,10 @@ .define _alarm .extern _alarm -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _alarm: clr.l d0 move.l 4(sp),a0 move.w #0x1B,d0 diff --git a/mach/m68k4/libsys/brk.s b/mach/m68k4/libsys/brk.s index ec574c05d..68636bf21 100644 --- a/mach/m68k4/libsys/brk.s +++ b/mach/m68k4/libsys/brk.s @@ -2,7 +2,11 @@ .define _sbrk .extern _brk .extern _sbrk -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _sbrk: move.l .reghp,a0 add.l 4(sp),a0 move.w #0x11,d0 diff --git a/mach/m68k4/libsys/call.s b/mach/m68k4/libsys/call.s index fa343cae6..de682c1f5 100644 --- a/mach/m68k4/libsys/call.s +++ b/mach/m68k4/libsys/call.s @@ -7,7 +7,11 @@ .extern calle .extern cerror .extern _errno -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text call: trap #0 bcs cerror rts diff --git a/mach/m68k4/libsys/chdir.s b/mach/m68k4/libsys/chdir.s index d03224aea..ac420e2e2 100644 --- a/mach/m68k4/libsys/chdir.s +++ b/mach/m68k4/libsys/chdir.s @@ -1,6 +1,10 @@ .define _chdir .extern _chdir -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _chdir: move.w #0xC,d0 move.l 4(sp),a0 jmp callc diff --git a/mach/m68k4/libsys/chmod.s b/mach/m68k4/libsys/chmod.s index 171b16eb9..82ed795e8 100644 --- a/mach/m68k4/libsys/chmod.s +++ b/mach/m68k4/libsys/chmod.s @@ -1,6 +1,10 @@ .define _chmod .extern _chmod -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _chmod: move.w #0xF,d0 move.l 4(sp),a0 move.l 8(sp),d1 diff --git a/mach/m68k4/libsys/chown.s b/mach/m68k4/libsys/chown.s index d0f71f2a9..26ae588ea 100644 --- a/mach/m68k4/libsys/chown.s +++ b/mach/m68k4/libsys/chown.s @@ -1,6 +1,10 @@ .define _chown .extern _chown -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _chown: move.w #0x10,d0 move.l 4(sp),a0 move.l 8(sp),d1 diff --git a/mach/m68k4/libsys/chroot.s b/mach/m68k4/libsys/chroot.s index ebf9f6a42..3f50ea19c 100644 --- a/mach/m68k4/libsys/chroot.s +++ b/mach/m68k4/libsys/chroot.s @@ -1,6 +1,10 @@ .define _chroot .extern _chroot -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _chroot: move.w #0x3D,d0 move.l 4(sp),a0 jmp callc diff --git a/mach/m68k4/libsys/cleanup.s b/mach/m68k4/libsys/cleanup.s index 7df1860b5..28bab043a 100644 --- a/mach/m68k4/libsys/cleanup.s +++ b/mach/m68k4/libsys/cleanup.s @@ -1,6 +1,10 @@ .define __cleanup .extern __cleanup -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text __cleanup: tst.b -40(sp) link a6,#-0 diff --git a/mach/m68k4/libsys/close.s b/mach/m68k4/libsys/close.s index 6ad17f1b3..ce9ef46e9 100644 --- a/mach/m68k4/libsys/close.s +++ b/mach/m68k4/libsys/close.s @@ -1,6 +1,10 @@ .define _close .extern _close -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _close: move.w #0x6,d0 move.l 4(sp),a0 jmp callc diff --git a/mach/m68k4/libsys/creat.s b/mach/m68k4/libsys/creat.s index 368b2e36b..6bcced8a5 100644 --- a/mach/m68k4/libsys/creat.s +++ b/mach/m68k4/libsys/creat.s @@ -1,6 +1,10 @@ .define _creat .extern _creat -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _creat: move.w #0x8,d0 move.l 4(sp),a0 move.l 8(sp),d1 diff --git a/mach/m68k4/libsys/dup.s b/mach/m68k4/libsys/dup.s index 20e7dbe89..b68626da4 100644 --- a/mach/m68k4/libsys/dup.s +++ b/mach/m68k4/libsys/dup.s @@ -1,6 +1,10 @@ .define _dup .extern _dup -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _dup: move.w #0x29,d0 move.l 4(sp),a0 jmp call diff --git a/mach/m68k4/libsys/dup2.s b/mach/m68k4/libsys/dup2.s index 2924bc822..10f49418b 100644 --- a/mach/m68k4/libsys/dup2.s +++ b/mach/m68k4/libsys/dup2.s @@ -1,6 +1,10 @@ .define _dup2 .extern _dup2 -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _dup2: move.w #0x29,d0 move.l 4(sp),a0 move.l 8(sp),d1 diff --git a/mach/m68k4/libsys/errno.s b/mach/m68k4/libsys/errno.s index e7ce8bb86..adc083015 100644 --- a/mach/m68k4/libsys/errno.s +++ b/mach/m68k4/libsys/errno.s @@ -1,5 +1,9 @@ .define _errno .extern _errno -.bss +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .bss _errno: .space 4 -.text +.sect .text diff --git a/mach/m68k4/libsys/execl.s b/mach/m68k4/libsys/execl.s index 21e03dc9d..67c4c63c4 100644 --- a/mach/m68k4/libsys/execl.s +++ b/mach/m68k4/libsys/execl.s @@ -1,5 +1,10 @@ .define _execl .extern _execl +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _execl: link a6,#0 tst.b -132(sp) move.l _environ,-(sp) diff --git a/mach/m68k4/libsys/execve.s b/mach/m68k4/libsys/execve.s index 2b2de5f84..40dbc0f1b 100644 --- a/mach/m68k4/libsys/execve.s +++ b/mach/m68k4/libsys/execve.s @@ -1,6 +1,10 @@ .define _execve .extern _execve -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _execve: move.w #0x3B,d0 move.l 4(sp),a0 move.l 8(sp),d1 diff --git a/mach/m68k4/libsys/exit.s b/mach/m68k4/libsys/exit.s index 3824a590d..33e3d6508 100644 --- a/mach/m68k4/libsys/exit.s +++ b/mach/m68k4/libsys/exit.s @@ -1,6 +1,10 @@ .define _exit .extern _exit -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _exit: tst.b -40(sp) link a6,#-0 diff --git a/mach/m68k4/libsys/fork.s b/mach/m68k4/libsys/fork.s index 0401e6312..f2c5115ab 100644 --- a/mach/m68k4/libsys/fork.s +++ b/mach/m68k4/libsys/fork.s @@ -1,6 +1,10 @@ .define _fork .extern _fork -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _fork: move.w #0x2,d0 trap #0 bra 1f diff --git a/mach/m68k4/libsys/fstat.s b/mach/m68k4/libsys/fstat.s index 1d3b98948..e06060fab 100644 --- a/mach/m68k4/libsys/fstat.s +++ b/mach/m68k4/libsys/fstat.s @@ -1,5 +1,10 @@ .define _fstat .extern _fstat +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _fstat: move.w #0x1C,d0 move.l 4(sp),a0 move.l 8(sp),d1 diff --git a/mach/m68k4/libsys/ftime.s b/mach/m68k4/libsys/ftime.s index 432ed3f0f..3826bbcf9 100644 --- a/mach/m68k4/libsys/ftime.s +++ b/mach/m68k4/libsys/ftime.s @@ -1,6 +1,10 @@ .define _ftime .extern _ftime -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _ftime: move.w #0x23,d0 move.l 4(sp),a0 jmp callc diff --git a/mach/m68k4/libsys/getegid.s b/mach/m68k4/libsys/getegid.s index b4da40c1d..49750e60d 100644 --- a/mach/m68k4/libsys/getegid.s +++ b/mach/m68k4/libsys/getegid.s @@ -1,6 +1,10 @@ .define _getegid .extern _getegid -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _getegid: move.w #0x2F,d0 trap #0 move.l d1,d0 diff --git a/mach/m68k4/libsys/getgid.s b/mach/m68k4/libsys/getgid.s index 3ef4def31..b281bc404 100644 --- a/mach/m68k4/libsys/getgid.s +++ b/mach/m68k4/libsys/getgid.s @@ -1,6 +1,10 @@ .define _getgid .extern _getgid -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _getgid: move.w #0x2F,d0 trap #0 rts diff --git a/mach/m68k4/libsys/getpid.s b/mach/m68k4/libsys/getpid.s index 1bf2aba7e..ab4fc03a5 100644 --- a/mach/m68k4/libsys/getpid.s +++ b/mach/m68k4/libsys/getpid.s @@ -1,6 +1,10 @@ .define _getpid .extern _getpid -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _getpid: move.w #0x14,d0 trap #0 rts diff --git a/mach/m68k4/libsys/getuid.s b/mach/m68k4/libsys/getuid.s index d0e15a1b0..8100b0cd1 100644 --- a/mach/m68k4/libsys/getuid.s +++ b/mach/m68k4/libsys/getuid.s @@ -1,6 +1,10 @@ .define _getuid .extern _getuid -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _getuid: move.w #0x18,d0 trap #0 rts diff --git a/mach/m68k4/libsys/gtty.s b/mach/m68k4/libsys/gtty.s index 4de35e43d..8b90d861b 100644 --- a/mach/m68k4/libsys/gtty.s +++ b/mach/m68k4/libsys/gtty.s @@ -1,6 +1,10 @@ .define _gtty .extern _gtty -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _gtty: tst.b -40(sp) link a6,#-0 diff --git a/mach/m68k4/libsys/ioctl.s b/mach/m68k4/libsys/ioctl.s index 8dcdd294e..5a354fc7a 100644 --- a/mach/m68k4/libsys/ioctl.s +++ b/mach/m68k4/libsys/ioctl.s @@ -1,6 +1,10 @@ .define _ioctl .extern _ioctl -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _ioctl: move.w #0x36,d0 move.l 4(sp),a0 move.l 8(sp),d1 diff --git a/mach/m68k4/libsys/kill.s b/mach/m68k4/libsys/kill.s index 2f1303a8f..71c032e30 100644 --- a/mach/m68k4/libsys/kill.s +++ b/mach/m68k4/libsys/kill.s @@ -1,6 +1,10 @@ .define _kill .extern _kill -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _kill: move.w #0x25,d0 move.l 4(sp),a0 move.l 6(sp),d1 diff --git a/mach/m68k4/libsys/link.s b/mach/m68k4/libsys/link.s index e0e7417e2..1dc5c5992 100644 --- a/mach/m68k4/libsys/link.s +++ b/mach/m68k4/libsys/link.s @@ -1,6 +1,10 @@ .define _link .extern _link -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _link: move.w #0x9,d0 move.l 4(sp),a0 move.l 8(sp),d1 diff --git a/mach/m68k4/libsys/lock.s b/mach/m68k4/libsys/lock.s index 408371a6d..8e1f53b7f 100644 --- a/mach/m68k4/libsys/lock.s +++ b/mach/m68k4/libsys/lock.s @@ -1,6 +1,10 @@ .define _lock .extern _lock -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _lock: move.w #0x35,d0 move.l 4(sp),a0 jmp callc diff --git a/mach/m68k4/libsys/lseek.s b/mach/m68k4/libsys/lseek.s index 56e66105c..132458d65 100644 --- a/mach/m68k4/libsys/lseek.s +++ b/mach/m68k4/libsys/lseek.s @@ -1,6 +1,10 @@ .define _lseek .extern _lseek -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _lseek: move.w #0x13,d0 move.l 4(sp),a0 move.l 8(sp),d1 diff --git a/mach/m68k4/libsys/mknod.s b/mach/m68k4/libsys/mknod.s index bdc84acac..68c60b2b3 100644 --- a/mach/m68k4/libsys/mknod.s +++ b/mach/m68k4/libsys/mknod.s @@ -1,6 +1,10 @@ .define _mknod .extern _mknod -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _mknod: move.w #0xE,d0 move.l 4(sp),a0 move.l 8(sp),d1 diff --git a/mach/m68k4/libsys/mount.s b/mach/m68k4/libsys/mount.s index b7d37737a..bdf8430d6 100644 --- a/mach/m68k4/libsys/mount.s +++ b/mach/m68k4/libsys/mount.s @@ -1,7 +1,10 @@ - .define _mount .extern _mount -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _mount: move.w #0x15,d0 move.l 4(sp),a0 move.l 8(sp),d1 diff --git a/mach/m68k4/libsys/nice.s b/mach/m68k4/libsys/nice.s index 2a34667d0..942d3b579 100644 --- a/mach/m68k4/libsys/nice.s +++ b/mach/m68k4/libsys/nice.s @@ -1,6 +1,10 @@ .define _nice .extern _nice -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _nice: move.w #0x22,d0 move.l 4(sp),a0 jmp callc diff --git a/mach/m68k4/libsys/open.s b/mach/m68k4/libsys/open.s index 0746c6135..d93a797b2 100644 --- a/mach/m68k4/libsys/open.s +++ b/mach/m68k4/libsys/open.s @@ -1,6 +1,10 @@ .define _open .extern _open -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _open: move.w #0x5,d0 move.l 4(sp),a0 move.l 8(sp),d1 diff --git a/mach/m68k4/libsys/pause.s b/mach/m68k4/libsys/pause.s index 53b99d732..e60fcc46b 100644 --- a/mach/m68k4/libsys/pause.s +++ b/mach/m68k4/libsys/pause.s @@ -1,6 +1,10 @@ .define _pause .extern _pause -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _pause: move.w #0x1D,d0 trap #0 rts diff --git a/mach/m68k4/libsys/pipe.s b/mach/m68k4/libsys/pipe.s index 8d5edc605..3c09f7f53 100644 --- a/mach/m68k4/libsys/pipe.s +++ b/mach/m68k4/libsys/pipe.s @@ -1,5 +1,10 @@ .define _pipe .extern _pipe +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _pipe: move.w #0x2A,d0 trap #0 diff --git a/mach/m68k4/libsys/profil.s b/mach/m68k4/libsys/profil.s index 8a55cbb88..55ddc55a1 100644 --- a/mach/m68k4/libsys/profil.s +++ b/mach/m68k4/libsys/profil.s @@ -1,6 +1,10 @@ .define _profil .extern _profil -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _profil: move.w #0x2C,d0 move.l 4(sp),a0 move.l 8(sp),d1 diff --git a/mach/m68k4/libsys/ptrace.s b/mach/m68k4/libsys/ptrace.s index b0f597385..080a06978 100644 --- a/mach/m68k4/libsys/ptrace.s +++ b/mach/m68k4/libsys/ptrace.s @@ -1,7 +1,11 @@ .define _ptrace .extern _ptrace .extern _errno -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _ptrace: move.w #0x1A,d0 move.l 16(sp),a0 move.l 12(sp),d1 diff --git a/mach/m68k4/libsys/read.s b/mach/m68k4/libsys/read.s index 368c9b2b8..242b94260 100644 --- a/mach/m68k4/libsys/read.s +++ b/mach/m68k4/libsys/read.s @@ -1,6 +1,10 @@ .define _read .extern _read -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _read: move.w #0x3,d0 move.l 4(sp),a0 move.l 8(sp),d1 diff --git a/mach/m68k4/libsys/setgid.s b/mach/m68k4/libsys/setgid.s index 618129fee..c8ccc97c4 100644 --- a/mach/m68k4/libsys/setgid.s +++ b/mach/m68k4/libsys/setgid.s @@ -1,6 +1,10 @@ .define _setgid .extern _setgid -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _setgid: move.w #0x2E,d0 move.l 4(sp),a0 jmp callc diff --git a/mach/m68k4/libsys/setuid.s b/mach/m68k4/libsys/setuid.s index 2441afe17..07a7bee66 100644 --- a/mach/m68k4/libsys/setuid.s +++ b/mach/m68k4/libsys/setuid.s @@ -1,6 +1,10 @@ .define _setuid .extern _setuid -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _setuid: move.w #0x17,d0 move.l 4(sp),a0 jmp callc diff --git a/mach/m68k4/libsys/signal.s b/mach/m68k4/libsys/signal.s index 0553917ca..40f4e2f0a 100644 --- a/mach/m68k4/libsys/signal.s +++ b/mach/m68k4/libsys/signal.s @@ -1,5 +1,10 @@ .define _signal .extern _signal +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text NSIG=32 _signal: move.l 4(sp), d0 @@ -82,5 +87,5 @@ enter: movem.l (sp)+,d0/d1/a0/a1 add.l #4,sp rtr -.bss +.sect .bss dvect: .space 4*NSIG diff --git a/mach/m68k4/libsys/stat.s b/mach/m68k4/libsys/stat.s index dd43a18fd..8b41b7ff1 100644 --- a/mach/m68k4/libsys/stat.s +++ b/mach/m68k4/libsys/stat.s @@ -1,6 +1,10 @@ .define _stat .extern _stat -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _stat: move.w #0x12,d0 move.l 4(sp),a0 move.l 8(sp),d1 diff --git a/mach/m68k4/libsys/stime.s b/mach/m68k4/libsys/stime.s index bac6386de..f1a7a560a 100644 --- a/mach/m68k4/libsys/stime.s +++ b/mach/m68k4/libsys/stime.s @@ -1,6 +1,9 @@ .define _stime .extern _stime -.text +.sect .rom +.sect .data +.sect .bss +.sect .text _stime: move.w #0x19,d0 move.l 4(sp),a0 move.l (a0),a0 diff --git a/mach/m68k4/libsys/stty.s b/mach/m68k4/libsys/stty.s index 7c8514a27..47a75b34f 100644 --- a/mach/m68k4/libsys/stty.s +++ b/mach/m68k4/libsys/stty.s @@ -1,6 +1,9 @@ .define _stty .extern _stty -.text +.sect .rom +.sect .data +.sect .bss +.sect .text _stty: tst.b -40(sp) link a6,#-0 diff --git a/mach/m68k4/libsys/sync.s b/mach/m68k4/libsys/sync.s index 3c38a8ada..179c70e3f 100644 --- a/mach/m68k4/libsys/sync.s +++ b/mach/m68k4/libsys/sync.s @@ -1,6 +1,9 @@ .define _sync .extern _sync -.text +.sect .rom +.sect .data +.sect .bss +.sect .text _sync: move.w #0x24,d0 trap #0 rts diff --git a/mach/m68k4/libsys/time.s b/mach/m68k4/libsys/time.s index 87b9d8bd3..7b2d5900f 100644 --- a/mach/m68k4/libsys/time.s +++ b/mach/m68k4/libsys/time.s @@ -1,6 +1,10 @@ .define _time .extern _time -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _time: move.w #0xD,d0 trap #0 tst.l 4(sp) diff --git a/mach/m68k4/libsys/times.s b/mach/m68k4/libsys/times.s index 6e74fe9aa..bf6632d28 100644 --- a/mach/m68k4/libsys/times.s +++ b/mach/m68k4/libsys/times.s @@ -1,6 +1,10 @@ .define _times .extern _times -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _times: move.w #0x2B,d0 move.l 4(sp),a0 trap #0 diff --git a/mach/m68k4/libsys/umask.s b/mach/m68k4/libsys/umask.s index ff7ec060d..d911d9524 100644 --- a/mach/m68k4/libsys/umask.s +++ b/mach/m68k4/libsys/umask.s @@ -1,6 +1,10 @@ .define _umask .extern _umask -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _umask: move.w #0x3C,d0 move.l 4(sp),a0 jmp call diff --git a/mach/m68k4/libsys/umount.s b/mach/m68k4/libsys/umount.s index 59354ee90..bed0f260a 100644 --- a/mach/m68k4/libsys/umount.s +++ b/mach/m68k4/libsys/umount.s @@ -1,6 +1,10 @@ .define _umount .extern _umount -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _umount: move.w #0x16,d0 move.l 4(sp),a0 jmp callc diff --git a/mach/m68k4/libsys/unlink.s b/mach/m68k4/libsys/unlink.s index 99e856a5a..cfeba7ec4 100644 --- a/mach/m68k4/libsys/unlink.s +++ b/mach/m68k4/libsys/unlink.s @@ -1,6 +1,10 @@ .define _unlink .extern _unlink -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _unlink: move.w #0xA,d0 move.l 4(sp),a0 jmp callc diff --git a/mach/m68k4/libsys/utime.s b/mach/m68k4/libsys/utime.s index 0e0b6dd9a..79be2a59c 100644 --- a/mach/m68k4/libsys/utime.s +++ b/mach/m68k4/libsys/utime.s @@ -1,6 +1,10 @@ .define _utime .extern _utime -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _utime: move.w #0x1E,d0 move.l 4(sp),a0 move.l 8(sp),d1 diff --git a/mach/m68k4/libsys/wait.s b/mach/m68k4/libsys/wait.s index f6aa587e0..469192f5c 100644 --- a/mach/m68k4/libsys/wait.s +++ b/mach/m68k4/libsys/wait.s @@ -1,5 +1,10 @@ .define _wait .extern _wait +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _wait: move.w #0x7,d0 move.l 4(sp),a0 trap #0 diff --git a/mach/m68k4/libsys/write.s b/mach/m68k4/libsys/write.s index ce23b2b25..ede0da00b 100644 --- a/mach/m68k4/libsys/write.s +++ b/mach/m68k4/libsys/write.s @@ -1,6 +1,10 @@ .define _write .extern _write -.text +.sect .text +.sect .rom +.sect .data +.sect .bss +.sect .text _write: move.w #0x4,d0 move.l 4(sp),a0 move.l 8(sp),d1 -- 2.34.1