mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 11:49:23 +02:00
+ update to make it work
This commit is contained in:
parent
c1cf6d35ed
commit
268fc56902
@ -1,4 +1,4 @@
|
||||
.file "crt0.s"
|
||||
.file "prt0.as"
|
||||
.text
|
||||
.globl __entry
|
||||
__entry:
|
||||
@ -10,10 +10,17 @@ __entry:
|
||||
movel d0,U_SYSLINUX_ARGC
|
||||
jsr PASCALMAIN
|
||||
|
||||
|
||||
|
||||
movel U_SYSLINUX_EXITCODE,d1
|
||||
done:
|
||||
.globl _haltproc
|
||||
_haltproc:
|
||||
moveq #1,d0
|
||||
movel U_SYSLINUX_EXITCODE,d1
|
||||
trap #0
|
||||
bras done
|
||||
bras _haltproc
|
||||
|
||||
|
||||
.data
|
||||
.align 4
|
||||
.globl ___fpc_brk_addr
|
||||
___fpc_brk_addr:
|
||||
.long 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user