chore: init project
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
ENTRY(_start)
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
. = 1M;
|
||||
|
||||
.multiboot ALIGN(8) :
|
||||
{
|
||||
KEEP(*(.multiboot))
|
||||
}
|
||||
|
||||
.text ALIGN(16) :
|
||||
{
|
||||
*(.text .text.*)
|
||||
}
|
||||
|
||||
.rodata ALIGN(16) :
|
||||
{
|
||||
*(.rodata .rodata.*)
|
||||
}
|
||||
|
||||
.data ALIGN(16) :
|
||||
{
|
||||
*(.data .data.*)
|
||||
}
|
||||
|
||||
.init_array ALIGN(8) :
|
||||
{
|
||||
__init_array_start = .;
|
||||
|
||||
KEEP(*(SORT(.init_array.*)))
|
||||
KEEP(*(.init_array))
|
||||
|
||||
__init_array_end = .;
|
||||
}
|
||||
|
||||
.bss ALIGN(16) :
|
||||
{
|
||||
*(COMMON)
|
||||
*(.bss .bss.*)
|
||||
}
|
||||
|
||||
/DISCARD/ :
|
||||
{
|
||||
*(.comment)
|
||||
*(.eh_frame)
|
||||
*(.note.GNU-stack)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user