summaryrefslogtreecommitdiff
path: root/linker.ld
diff options
context:
space:
mode:
authordzwdz2021-07-18 14:27:45 +0200
committerdzwdz2021-07-18 14:27:45 +0200
commitb38298319411965cbb7e9ed1312b24ba36cc7c44 (patch)
tree375c5a426d178b0c0f9190a44d0f7e9ee6216278 /linker.ld
parented12953042ec38244f3ab93d67f4c2dea6f1fee3 (diff)
move the kernel linker script to src/kernel/
Diffstat (limited to 'linker.ld')
-rw-r--r--linker.ld30
1 files changed, 0 insertions, 30 deletions
diff --git a/linker.ld b/linker.ld
deleted file mode 100644
index 650ecd7..0000000
--- a/linker.ld
+++ /dev/null
@@ -1,30 +0,0 @@
-ENTRY(_start)
-
-SECTIONS
-{
- . = 1M;
- .text BLOCK(4K) : ALIGN(4K)
- {
- *(.multiboot)
- *(.text)
- }
- .rodata BLOCK(4K) : ALIGN(4K)
- {
- *(.rodata)
- }
- .data BLOCK(4K) : ALIGN(4K)
- {
- *(.data)
- }
- _data_end = .;
- .bss BLOCK(4K) : ALIGN(4K)
- {
- *(COMMON)
- *(.bss)
-
- stack_bottom = .;
- . += 16K;
- stack_top = .;
- }
- _bss_end = (. + 0xFFF) & ~0xFFF; /* aligned to 4K */
-}