elf: start writing elf loader
This commit is contained in:
parent
175805604e
commit
a6f371b4ad
12 changed files with 4706 additions and 72 deletions
20
testing/link.ld
Normal file
20
testing/link.ld
Normal file
|
@ -0,0 +1,20 @@
|
|||
SECTIONS {
|
||||
. = 0x1000;
|
||||
|
||||
.text : {
|
||||
*(.text*)
|
||||
}
|
||||
|
||||
.rodata : {
|
||||
*(.rodata*)
|
||||
}
|
||||
|
||||
.data : {
|
||||
*(.data*)
|
||||
}
|
||||
|
||||
.bss : {
|
||||
*(.bss*)
|
||||
*(COMMON)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue