Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2007-08

cprt0

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Carsten Bager

Is there anyboddy how knows where to find a startup file (cprt0.as) for uclibc (Arm on linux).

Carsten

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

Florian Klaempfl
to Carsten Bager
Show quoted text 13 lines
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