link in the prelude object
This commit is contained in:
1 parent
559a4275ba
commit
e20030fbc3
4 files changed
+60
-19
No files matched your search
+31
-7
@@ -1,10 +1,34 @@
|
||||
OUTPUT_FORMAT("binary")
|
||||
. = 0x9000;
|
||||
|
||||
. = 0x8200;
|
||||
|
||||
SECTIONS {
|
||||
.text : { *(.text); *(.text.*) }
|
||||
.data : { *(.data); *(.data.*) }
|
||||
.bss : { *(.bss); *(.bss.*) }
|
||||
.rodata : { *(.rodata); *(.rodata.*) }
|
||||
.prelude : {
|
||||
*(.prelude)
|
||||
}
|
||||
|
||||
.text : {
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
}
|
||||
|
||||
.data : {
|
||||
*(.data)
|
||||
*(.data.*)
|
||||
}
|
||||
|
||||
.bss : {
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
}
|
||||
|
||||
.rodata : {
|
||||
*(.rodata)
|
||||
*(.rodata.*)
|
||||
}
|
||||
|
||||
/* Define a symbol for the total length of the binary, so the prelude knows how many blocks to
|
||||
* load from disk.
|
||||
*/
|
||||
boot1_bin_len = . - 0x8200;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user