ARM: Clean up _start.
lib/linux/arm-mes-gcc/crt1.c (_start): Clean up the function.
This commit is contained in:
parent
a1217d71c1
commit
149cc43baf
|
@ -37,14 +37,14 @@ _start ()
|
||||||
);
|
);
|
||||||
|
|
||||||
asm (
|
asm (
|
||||||
"mov r0,$1\n\t"
|
"mov r0,#1\n\t"
|
||||||
"mov %0,r0\n"
|
"mov %0,r0\n"
|
||||||
: "=r" (__stdout)
|
: "=r" (__stdout)
|
||||||
: //no inputs ""
|
: //no inputs ""
|
||||||
);
|
);
|
||||||
|
|
||||||
asm (
|
asm (
|
||||||
"mov r0,$2\n\t"
|
"mov r0,#2\n\t"
|
||||||
"mov %0,r0\n"
|
"mov %0,r0\n"
|
||||||
: "=r" (__stderr)
|
: "=r" (__stderr)
|
||||||
: //no inputs ""
|
: //no inputs ""
|
||||||
|
|
Loading…
Reference in New Issue