sys: add userspace bootstrap program
This commit is contained in:
18
sys/bootstrap/arch/x86_64/layout.ld
Normal file
18
sys/bootstrap/arch/x86_64/layout.ld
Normal file
@@ -0,0 +1,18 @@
|
||||
ENTRY(_start)
|
||||
|
||||
SECTIONS {
|
||||
.text ALIGN(4K) : {
|
||||
*(.text)
|
||||
*(.rodata)
|
||||
}
|
||||
|
||||
.data ALIGN(4K) : {
|
||||
*(.data)
|
||||
*(.bss)
|
||||
}
|
||||
|
||||
/DISCARD/ : {
|
||||
*(.interp)
|
||||
*(.dynamic)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user