bringelle/src/linker.ld

29 lines
375 B
Text
Raw Normal View History

ENTRY(_start)
OUTPUT_FORMAT(elf32-i386)
OUTPUT_ARCH(i386)
SECTIONS {
. = 1M;
2021-04-13 15:31:45 +02:00
.text : ALIGN(4)
{
*(.multiboot)
*(.text)
}
2021-04-13 15:31:45 +02:00
.rodata : ALIGN(4)
{
*(.rodata)
}
2021-04-13 15:31:45 +02:00
.data : ALIGN(4)
{
*(.data)
}
2021-04-13 15:31:45 +02:00
.bss : ALIGN(4)
{
2021-04-13 15:31:45 +02:00
_bss_start = .;
*(.bss);
_bss_end = .;
*(COMMON);
}
}