mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-12 11:29:30 +00:00
25 lines
326 B
Plaintext
25 lines
326 B
Plaintext
/* text: in the 32-bit address range.
|
|
data: far away from text. */
|
|
|
|
ENTRY(_start)
|
|
MEMORY
|
|
{
|
|
rom (rx) : ORIGIN = 0x10000, LENGTH = 0x1000
|
|
ram (!rx) : ORIGIN = 0x800000000, LENGTH = 0x1000
|
|
}
|
|
SECTIONS {
|
|
.text : {
|
|
*(.text*)
|
|
} >rom
|
|
|
|
.data : {
|
|
*(.data*)
|
|
} >ram
|
|
|
|
__global_pointer$ = .;
|
|
|
|
.got : {
|
|
*(.got*)
|
|
} > ram
|
|
}
|