diff options
Diffstat (limited to 'src/user/linker.ld')
-rw-r--r-- | src/user/linker.ld | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/user/linker.ld b/src/user/linker.ld index f2c9d24..fcb5fc8 100644 --- a/src/user/linker.ld +++ b/src/user/linker.ld @@ -1,12 +1,10 @@ ENTRY(main) -OUTPUT_FORMAT("binary") SECTIONS { - . = 2M; + _image_base = .; .text BLOCK(4K) : ALIGN(4K) { - *(.text.startup) *(.text) } .rodata BLOCK(4K) : ALIGN(4K) @@ -17,15 +15,9 @@ SECTIONS { *(.data) } - - _initrd = .; /* is just appended onto the end of the binary */ - . += 2M; - - _bss_start = .; .bss BLOCK(4K) : ALIGN(4K) { *(COMMON) *(.bss) } - _bss_end = .; } |