cprt0

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

cprt0

Carsten Bager
In the cprt0.as file (used when linking with libc in Arm/Linux) line
74 says

        /* load argv
        mov a3, sp

I think it should be

        /* load argv */
        mov a3, sp

Now the "mov a3, sp" instruction is included.
Maybe this parameter is only used when starting C programs, but ....

Regards Carsten
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: cprt0

Florian Klämpfl
Carsten Bager schrieb:

> In the cprt0.as file (used when linking with libc in Arm/Linux) line
> 74 says
>
>         /* load argv
>         mov a3, sp
>
> I think it should be
>
>         /* load argv */
>         mov a3, sp
>
> Now the "mov a3, sp" instruction is included.
> Maybe this parameter is only used when starting C programs, but ....

Thx, fixed in r8211
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal