diff options
Diffstat (limited to 'examples/bootloader/linker.ld')
| -rw-r--r-- | examples/bootloader/linker.ld | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/bootloader/linker.ld b/examples/bootloader/linker.ld new file mode 100644 index 0000000..76ae116 --- /dev/null +++ b/examples/bootloader/linker.ld @@ -0,0 +1,20 @@ + +ENTRY(start) + +SECTIONS { + . = 0x7c00; + .text : { + *(.text) + *(.rodata*) + } + .data : { + *(.data) + } + .bss : { + *(.bss) + } + /DISCARD/ : { + *(.eh_frame) + *(.note*) + } +} |
