Linker script
This commit is contained in:
parent
aa9836f209
commit
da7123e518
1 changed files with 24 additions and 0 deletions
24
arch/i386/linker.ld
Executable file
24
arch/i386/linker.ld
Executable file
|
@ -0,0 +1,24 @@
|
|||
ENTRY(_start)
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
. = 1M;
|
||||
|
||||
.text BLOCK (4K) : ALIGN (4K) {
|
||||
*(.multiboot)
|
||||
*(.text)
|
||||
}
|
||||
|
||||
.rodata BLOCK (4K) : ALIGN (4K) {
|
||||
*(.rodata)
|
||||
}
|
||||
|
||||
.data BLOCK (4K) : ALIGN (4K) {
|
||||
*(.data)
|
||||
}
|
||||
|
||||
.bss BLOCK (4K) : ALIGN (4K) {
|
||||
*(COMMON)
|
||||
*(.bss)
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue