diff options
Diffstat (limited to 'boot/ldscript')
-rw-r--r-- | boot/ldscript | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/boot/ldscript b/boot/ldscript new file mode 100644 index 0000000..53a20bf --- /dev/null +++ b/boot/ldscript @@ -0,0 +1,22 @@ +OUTPUT_FORMAT(elf32-shbig-linux) +ENTRY(__start) +SECTIONS +{ + . = 0x06002f00; + .text : + { + *(.text); + } + .data : + { + *(.data); + *(.rodata); + } + .bss ALIGN(4) : + { + __bss_start = .; + *(.bss); + __bss_end = (. + 3) & ~ 3; + } +} + |