24 lines
507 B
Plaintext
24 lines
507 B
Plaintext
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
|
|
OUTPUT_ARCH(arm)
|
|
|
|
/*0x080C3EE0*/
|
|
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
{
|
|
. = 0x0801A6E0;
|
|
start_addr = .;
|
|
.text.start : { *(.text.start) }
|
|
.text : { *(.text) *(.text*) }
|
|
.rodata : { *(.rodata) *(.rodata*) }
|
|
.data : { *(.data) *(.data*) }
|
|
.bss : { *(.bss) *(.bss*) }
|
|
/*. = ALIGN(32);*/
|
|
/*.stack : {
|
|
stack_start = .;
|
|
. += 0x40;
|
|
. = ALIGN(32);
|
|
stack_end = .;
|
|
}*/
|
|
total_size = . - start_addr;
|
|
} |