forked from PoliEcho-holding-org/kern
FINALLY Made calc.c work properly! Maybe i can now write a calculator app?
This commit is contained in:
@@ -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
@@ -1,5 +1,5 @@
|
|||||||
SECTIONS {
|
SECTIONS {
|
||||||
.text : {
|
.text 0x400000 : {
|
||||||
*(entry);
|
*(entry);
|
||||||
*(.text*);
|
*(.text*);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user