summaryrefslogtreecommitdiff
path: root/src/user
diff options
context:
space:
mode:
authordzwdz2022-08-13 23:18:36 +0200
committerdzwdz2022-08-13 23:18:36 +0200
commit9cb8f33830a85cd8c660f435db643a77dc22219c (patch)
tree4607b5ed808e6e3ea27452a099399606ddaa1d33 /src/user
parent80280433ccef5aff8cba4e1f24c91037d3c1c9b3 (diff)
user/bootstrap: remove some dummy symbols
Diffstat (limited to 'src/user')
-rw-r--r--src/user/bootstrap/linker.ld7
-rw-r--r--src/user/bootstrap/main.c2
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