summaryrefslogtreecommitdiff
path: root/src/user/bootstrap/linker.ld
diff options
context:
space:
mode:
authordzwdz2023-08-14 18:51:07 +0200
committerdzwdz2023-08-14 18:51:07 +0200
commit642b5fb0007b64c77d186fcb018d571152ee1d47 (patch)
tree1c466461f3602d306be309a053edae558ef2568e /src/user/bootstrap/linker.ld
parent8050069c57b729c18c19b1a03ab6e4bf63b4735e (diff)
reorganization: first steps
Diffstat (limited to 'src/user/bootstrap/linker.ld')
-rw-r--r--src/user/bootstrap/linker.ld31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/user/bootstrap/linker.ld b/src/user/bootstrap/linker.ld
deleted file mode 100644
index 10e3f98..0000000
--- a/src/user/bootstrap/linker.ld
+++ /dev/null
@@ -1,31 +0,0 @@
-ENTRY(_start)
-
-SECTIONS
-{
- . = 0x20000;
- _bss_start = .;
- .bss BLOCK(4K) : ALIGN(4K)
- {
- *(COMMON)
- *(.bss)
- }
- _bss_end = .;
-
- . = 2M;
- .text BLOCK(4K) : ALIGN(4K)
- {
- /* the assert needs to be inside of a section or it'll be a syntax error */
- ASSERT(_bss_end <= 2M, "bss too big, needs to be moved down");
- *(.text.startup)
- *(.text)
- }
- .rodata BLOCK(4K) : ALIGN(4K)
- {
- *(.rodata)
- }
- .data BLOCK(4K) : ALIGN(4K)
- {
- *(.data*)
- }
- _initrd = .; /* is just appended onto the end of the binary */
-}