diff options
author | Ian Moffett <ian@osmora.org> | 2025-04-18 21:50:44 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-04-18 21:50:44 -0400 |
commit | 92d4f9dae64ab5325feca1f39e5955415e8275b9 (patch) | |
tree | e6eeda53aae48f2c8596d22c2febe8c41a95177b /usr.bin/link.ld | |
parent | 8fb98e4fcf8dfe7caec0b0c9fa53dc9fbb72d10c (diff) |
usr.bin: Add basic "shell"
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.bin/link.ld')
-rw-r--r-- | usr.bin/link.ld | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/usr.bin/link.ld b/usr.bin/link.ld new file mode 100644 index 0000000..9fad881 --- /dev/null +++ b/usr.bin/link.ld @@ -0,0 +1,26 @@ +ENTRY(_start) + +SECTIONS +{ + . = 0x10000; + + .text : + { + *(.text) + *(.text.*) + } + + .data : ALIGN(8) + { + *(.data) + *(.data.*) + } + + .bss : ALIGN(8) + { + __bss_start = .; + *(.bss) + *(.bss.*) + __bss_end = .; + } +} |