FINALLY Made calc.c work properly! Maybe i can now write a calculator app?

This commit is contained in:
2024-05-26 18:57:09 +02:00
parent 031744fbc2
commit eac71f137e
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -4,6 +4,5 @@
__attribute__ ((section("entry"))) __attribute__ ((section("entry")))
void main() { void main() {
print("Hello, World!\n"); print("Hello, World!\n");
return; return;
} }
+1 -1
View File
@@ -1,5 +1,5 @@
SECTIONS { SECTIONS {
.text : { .text 0x400000 : {
*(entry); *(entry);
*(.text*); *(.text*);
} }