mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 16:48:12 +02:00
M68k: Fix passing of environment variables. Fixes the compiler not being able to execute the external assembler and linker.
* rtl/linux/m68k/prt0.as: between the arguments and the environment variables is a NULL; keep this in mind when loading the address of the first environment variable. git-svn-id: trunk@26851 -
This commit is contained in:
parent
04f32c2a01
commit
e734ca7a9b
@ -48,7 +48,7 @@ _start:
|
||||
move.l %d0, operatingsystem_parameter_argc
|
||||
lea.l 4(%sp), %a0
|
||||
move.l %a0, operatingsystem_parameter_argv
|
||||
lea.l 4(%sp,%d0.l*4), %a0
|
||||
lea.l 8(%sp,%d0.l*4), %a0
|
||||
move.l %a0, operatingsystem_parameter_envp
|
||||
|
||||
# move.l 8(%sp), %d0
|
||||
|
Loading…
Reference in New Issue
Block a user