bootsector_tictactoe/linker.ld

28 lines
449 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)
}
}