mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-10 07:06:34 +00:00
24 lines
595 B
Text
24 lines
595 B
Text
|
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
|
||
|
OUTPUT_ARCH(arm)
|
||
|
|
||
|
ENTRY(_start)
|
||
|
SECTIONS
|
||
|
{
|
||
|
. = 0x40010000;
|
||
|
|
||
|
__start__ = ABSOLUTE(.);
|
||
|
|
||
|
.text : ALIGN(4) { *(.text.start) *(.text*); . = ALIGN(4); }
|
||
|
.rodata : ALIGN(4) { *(.rodata*); . = ALIGN(4); }
|
||
|
.bss : ALIGN(8) { __bss_start__ = .; *(.bss* COMMON); . = ALIGN(8); __bss_end__ = .; }
|
||
|
|
||
|
. = ALIGN(4);
|
||
|
|
||
|
__end__ = ABSOLUTE(.);
|
||
|
|
||
|
__total_size__ = (__end__ - __start__);
|
||
|
__executable_size__ = (__end__ - _start);
|
||
|
|
||
|
__stack_top__ = 0x40013000;
|
||
|
__stack_bottom__ = 0x40012000;
|
||
|
}
|