31 lines
454 B
Plaintext
31 lines
454 B
Plaintext
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
{
|
|
. = 0x40000000;
|
|
|
|
.text ALIGN(4K) :
|
|
{
|
|
/* Force the crt0.o entry code to be placed FIRST in memory */
|
|
KEEP(*crt0.o(.text))
|
|
*(.text .text.*)
|
|
}
|
|
|
|
.rodata ALIGN(4K) :
|
|
{
|
|
*(.rodata .rodata.*)
|
|
}
|
|
|
|
.data ALIGN(4K) :
|
|
{
|
|
*(.data .data.*)
|
|
}
|
|
|
|
.bss ALIGN(4K) :
|
|
{
|
|
_bss_start = .;
|
|
*(.bss .bss.*)
|
|
*(COMMON)
|
|
_bss_end = .;
|
|
}
|
|
} |