diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/user/bootstrap/linker.ld | 7 | ||||
-rw-r--r-- | src/user/bootstrap/main.c | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/src/user/bootstrap/linker.ld b/src/user/bootstrap/linker.ld index d16440c..f2d718f 100644 --- a/src/user/bootstrap/linker.ld +++ b/src/user/bootstrap/linker.ld @@ -1,13 +1,8 @@ -ENTRY(main) +ENTRY(_start) OUTPUT_FORMAT("binary") SECTIONS { - /* Not an ELF, but we need this to link with elfreloc.c. - * Not that we need to link with it, it's just easier that way */ - _DYNAMIC = 0; - _image_base = 0; - . = 0x10000; _bss_start = .; .bss BLOCK(4K) : ALIGN(4K) diff --git a/src/user/bootstrap/main.c b/src/user/bootstrap/main.c index f06401b..9a9a922 100644 --- a/src/user/bootstrap/main.c +++ b/src/user/bootstrap/main.c @@ -34,5 +34,3 @@ void _start(void) { } _syscall_exit(1); } - -int main(void) {return 0;} // dummy, needed to link |