2009-07-03 07:19:19 +08:00
|
|
|
OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
|
|
|
|
OUTPUT_ARCH(i386)
|
|
|
|
ENTRY(_start)
|
2021-02-19 23:55:17 +08:00
|
|
|
|
2009-07-03 07:19:19 +08:00
|
|
|
SECTIONS
|
|
|
|
{
|
2021-02-19 23:55:17 +08:00
|
|
|
. = 0x00100000;
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
.text :
|
|
|
|
{
|
|
|
|
*(.init)
|
|
|
|
*(.text)
|
|
|
|
|
|
|
|
/* section information for finsh shell */
|
|
|
|
. = ALIGN(4);
|
|
|
|
__fsymtab_start = .;
|
|
|
|
KEEP(*(FSymTab))
|
|
|
|
__fsymtab_end = .;
|
|
|
|
. = ALIGN(4);
|
|
|
|
__vsymtab_start = .;
|
|
|
|
KEEP(*(VSymTab))
|
|
|
|
__vsymtab_end = .;
|
2023-01-09 10:16:47 +08:00
|
|
|
. = ALIGN(4);
|
2021-02-19 23:55:17 +08:00
|
|
|
__rtmsymtab_start = .;
|
|
|
|
KEEP(*(RTMSymTab));
|
|
|
|
__rtmsymtab_end = .;
|
|
|
|
|
|
|
|
/* section information for initialization */
|
|
|
|
. = ALIGN(4);
|
|
|
|
__rt_init_start = .;
|
|
|
|
KEEP(*(SORT(.rti_fn*)))
|
|
|
|
__rt_init_end = .;
|
|
|
|
}
|
2023-01-09 10:16:47 +08:00
|
|
|
|
2021-02-19 23:55:17 +08:00
|
|
|
. = ALIGN(4);
|
|
|
|
.rodata : { *(.rodata*) }
|
2012-02-16 23:58:52 +08:00
|
|
|
|
2021-02-19 23:55:17 +08:00
|
|
|
. = ALIGN(4);
|
|
|
|
.data : { *(.data) }
|
2009-07-03 07:19:19 +08:00
|
|
|
|
2021-02-19 23:55:17 +08:00
|
|
|
. = ALIGN(4);
|
|
|
|
__bss_start = .;
|
|
|
|
.bss : { *(.bss) }
|
|
|
|
__bss_end = .;
|
2009-07-03 07:19:19 +08:00
|
|
|
|
2021-02-19 23:55:17 +08:00
|
|
|
/* stabs debugging sections. */
|
|
|
|
.stab 0 : { *(.stab) }
|
|
|
|
.stabstr 0 : { *(.stabstr) }
|
|
|
|
.stab.excl 0 : { *(.stab.excl) }
|
|
|
|
.stab.exclstr 0 : { *(.stab.exclstr) }
|
|
|
|
.stab.index 0 : { *(.stab.index) }
|
|
|
|
.stab.indexstr 0 : { *(.stab.indexstr) }
|
|
|
|
.comment 0 : { *(.comment) }
|
|
|
|
.debug_abbrev 0 : { *(.debug_abbrev) }
|
|
|
|
.debug_info 0 : { *(.debug_info) }
|
|
|
|
.debug_line 0 : { *(.debug_line) }
|
|
|
|
.debug_pubnames 0 : { *(.debug_pubnames) }
|
|
|
|
.debug_aranges 0 : { *(.debug_aranges) }
|
2023-01-09 10:16:47 +08:00
|
|
|
|
2021-02-19 23:55:17 +08:00
|
|
|
_end = .;
|
2009-07-03 07:19:19 +08:00
|
|
|
}
|