1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-22 08:06:17 +04:00

Add a linker script

This commit is contained in:
Philipp Oppermann 2017-04-11 09:01:32 +02:00
parent 3a05ccd994
commit 0fddc38436

16
src/arch/x86_64/linker.ld Normal file
View File

@ -0,0 +1,16 @@
ENTRY(start)
SECTIONS {
. = 1M;
.boot :
{
/* ensure that the multiboot header is at the beginning */
*(.multiboot_header)
}
.text :
{
*(.text)
}
}