diff options
| author | Ada Christine <adachristine18@gmail.com> | 2021-03-17 12:38:27 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2021-03-17 12:38:27 +0000 |
| commit | 53ca88735db910c746d6190cca39fcd70d66b650 (patch) | |
| tree | ab0da3a88009f0ddf0e6e2634d0962c364393203 /kernel/kernel.ld | |
initial commit
Diffstat (limited to 'kernel/kernel.ld')
| -rw-r--r-- | kernel/kernel.ld | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/kernel/kernel.ld b/kernel/kernel.ld new file mode 100644 index 0000000..9538056 --- /dev/null +++ b/kernel/kernel.ld @@ -0,0 +1,28 @@ +ENTRY(kernel_entry) + +SECTIONS +{ + . = SIZEOF_HEADERS; + + .text 0 : + { + *(.text) + } =0x90 + + .data : ALIGN(4K) + { + *(.rodata) + *(.data) + } + + .bss : + { + *(.bss) + } + + /DISCARD/ : + { + *(.eh_frame) + } +} + |
