réplica de
https://github.com/Arnau478/quark.git
synced 2024-11-23 21:08:07 +01:00
25 líneas
378 B
Text
25 líneas
378 B
Text
ENTRY(_start)
|
|
phys = 0x00100000;
|
|
|
|
SECTIONS{
|
|
.text phys : AT(phys){
|
|
code = .;
|
|
*(.text)
|
|
*(.rodata)
|
|
. = ALIGN(4096);
|
|
}
|
|
|
|
.data : AT(phys + (data - code)){
|
|
data = .;
|
|
*(.data)
|
|
. = ALIGN(4096);
|
|
}
|
|
|
|
.bss : AT(phys + (bss - code)){
|
|
bss = .;
|
|
*(.bss)
|
|
. = ALIGN(4096);
|
|
}
|
|
|
|
end = .;
|
|
}
|