diff --git a/src/calc.c b/src/calc.c index 742ff21..b20dfe8 100644 --- a/src/calc.c +++ b/src/calc.c @@ -4,6 +4,5 @@ __attribute__ ((section("entry"))) void main() { print("Hello, World!\n"); - return; } diff --git a/src/calc.ld b/src/calc.ld index afa48f2..6ba852b 100644 --- a/src/calc.ld +++ b/src/calc.ld @@ -1,5 +1,5 @@ SECTIONS { - .text : { + .text 0x400000 : { *(entry); *(.text*); }