From 6cd49ed46c129bdba707e69b2418675d367cc2dd 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 91f2cc35..37bd1e20 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 6f0d4e3a..533c8166 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 f2a0c2c5..fb8f690e 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 b4ba8b61..dd3466ba 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 d3b4220f..954ef29a 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 ec574c05..68636bf2 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 fa343cae..de682c1f 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 d03224ae..ac420e2e 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 171b16eb..82ed795e 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 d0f71f2a..26ae588e 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 ebf9f6a4..3f50ea19 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 7df1860b..28bab043 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 6ad17f1b..ce9ef46e 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 368b2e36..6bcced8a 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 20e7dbe8..b68626da 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 2924bc82..10f49418 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 e7ce8bb8..adc08301 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 21e03dc9..67c4c63c 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 2b2de5f8..40dbc0f1 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 3824a590..33e3d650 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 0401e631..f2c5115a 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 1d3b9894..e06060fa 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 432ed3f0..3826bbcf 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 b4da40c1..49750e60 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 3ef4def3..b281bc40 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 1bf2aba7..ab4fc03a 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 d0e15a1b..8100b0cd 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 4de35e43..8b90d861 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 8dcdd294..5a354fc7 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 2f1303a8..71c032e3 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 e0e7417e..1dc5c599 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 408371a6..8e1f53b7 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 56e66105..132458d6 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 bdc84aca..68c60b2b 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 b7d37737..bdf8430d 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 2a34667d..942d3b57 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 0746c613..d93a797b 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 53b99d73..e60fcc46 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 8d5edc60..3c09f7f5 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 8a55cbb8..55ddc55a 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 b0f59738..080a0697 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 368c9b2b..242b9426 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 618129fe..c8ccc97c 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 2441afe1..07a7bee6 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 0553917c..40f4e2f0 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 dd43a18f..8b41b7ff 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 bac6386d..f1a7a560 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 7c8514a2..47a75b34 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 3c38a8ad..179c70e3 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 87b9d8bd..7b2d5900 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 6e74fe9a..bf6632d2 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 ff7ec060..d911d952 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 59354ee9..bed0f260 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 99e856a5..cfeba7ec 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 0e0b6dd9..79be2a59 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 f6aa587e..469192f5 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 ce23b2b2..ede0da00 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