From 149cc43baff9478250eda99fa85620ebb279d356 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Mon, 11 Mar 2019 11:51:32 +0100 Subject: [PATCH] ARM: Clean up _start. lib/linux/arm-mes-gcc/crt1.c (_start): Clean up the function. --- lib/linux/arm-mes-gcc/crt1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/linux/arm-mes-gcc/crt1.c b/lib/linux/arm-mes-gcc/crt1.c index e34c51ce..a54ed020 100644 --- a/lib/linux/arm-mes-gcc/crt1.c +++ b/lib/linux/arm-mes-gcc/crt1.c @@ -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 ""