From 9cb8f33830a85cd8c660f435db643a77dc22219c Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 13 Aug 2022 23:18:36 +0200 Subject: user/bootstrap: remove some dummy symbols --- src/user/bootstrap/linker.ld | 7 +------ src/user/bootstrap/main.c | 2 -- 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'src') 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 -- cgit v1.2.3