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:
parent
3a05ccd994
commit
0fddc38436
16
src/arch/x86_64/linker.ld
Normal file
16
src/arch/x86_64/linker.ld
Normal file
@ -0,0 +1,16 @@
|
||||
ENTRY(start)
|
||||
|
||||
SECTIONS {
|
||||
. = 1M;
|
||||
|
||||
.boot :
|
||||
{
|
||||
/* ensure that the multiboot header is at the beginning */
|
||||
*(.multiboot_header)
|
||||
}
|
||||
|
||||
.text :
|
||||
{
|
||||
*(.text)
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user