bootsector_tictactoe/linker.ld

29 lines
478 B
Plaintext
Raw Normal View History

2024-10-19 21:10:44 +00:00
ENTRY (_start)
OUTPUT_FORMAT (binary)
OUTPUT_ARCH(i386)
SECTIONS
{
. = 0x7c00;
.text : {
*(.text)
}
.rodata : { *(.rodata)
}
.data : { *(.data)
}
. = 0x7DFE;
.bootsig : {
SHORT(0xaa55);
}
.bss : { *(.bss)
}
. = ALIGN (0x200);
lit = .;
/DISCARD/ : { *(.eh_frame)
*(.comment)
*(.note.GNU-stack)
2024-10-20 11:36:21 +00:00
*(.note.gnu.build-id)
2024-10-19 21:10:44 +00:00
}
}