ARM: Clean up _start.

lib/linux/arm-mes-gcc/crt1.c (_start): Clean up the function.
This commit is contained in:
Danny Milosavljevic 2019-03-11 11:51:32 +01:00 committed by Jan Nieuwenhuizen
parent a1217d71c1
commit 149cc43baf
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 2 additions and 2 deletions

View File

@ -37,14 +37,14 @@ _start ()
);
asm (
"mov r0,$1\n\t"
"mov r0,#1\n\t"
"mov %0,r0\n"
: "=r" (__stdout)
: //no inputs ""
);
asm (
"mov r0,$2\n\t"
"mov r0,#2\n\t"
"mov %0,r0\n"
: "=r" (__stderr)
: //no inputs ""