bootloader/boot/ld.script
Hojun-Cho cb56f42e08 add trap
don't want handle trap now
2024-12-02 10:19:57 +09:00

28 lines
378 B
Plaintext

OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
OUTPUT_ARCH(i386)
PHDRS
{
text PT_LOAD;
}
SECTIONS
{
.text : {
KEEP(srt0.o(.text))
*(.text)
} :text
etext = .;
.data : { *(.data) } :text
.rodata : { *(.rodata) } :text
edata = .;
.bss : { *(.bss) } :text
ebss = .;
end = .;
/DISCARD/ :
{
*(.note.gnu.property)
*(.comment)
}
}