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:
svenbarth 2014-02-23 12:41:05 +00:00
parent 04f32c2a01
commit e734ca7a9b

View File

@ -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