From 90af8825a41981ce2ee52e0a9ce84f624eb022e6 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 26 Jul 2022 00:38:45 +0200 Subject: move user_bootstrap to user/bootstrap for consistency's sake --- src/user_bootstrap/linker.ld | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 src/user_bootstrap/linker.ld (limited to 'src/user_bootstrap/linker.ld') diff --git a/src/user_bootstrap/linker.ld b/src/user_bootstrap/linker.ld deleted file mode 100644 index 917388c..0000000 --- a/src/user_bootstrap/linker.ld +++ /dev/null @@ -1,37 +0,0 @@ -ENTRY(main) -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; - - . = 2M; - .text BLOCK(4K) : ALIGN(4K) - { - *(.text.startup) - *(.text) - } - .rodata BLOCK(4K) : ALIGN(4K) - { - *(.rodata) - } - .data BLOCK(4K) : ALIGN(4K) - { - *(.data) - } - - . = ALIGN(32); /* seems to be necessary? */ - _initrd = .; /* is just appended onto the end of the binary */ - . += 2M; - - _bss_start = .; - .bss BLOCK(4K) : ALIGN(4K) - { - *(COMMON) - *(.bss) - } - _bss_end = .; -} -- cgit v1.2.3