OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
OUTPUT_ARCH(arm)
ENTRY(__text_start)
SECTIONS {
.text 0x00000000 : {
__text_start = .;
KEEP (*(.init))
*(.text)
*(.text.*)
*(.stub)
KEEP (*(.fini))
PROVIDE (__etext = .);
PROVIDE (_etext = .);
PROVIDE (etext = .);
*(.rodata)
*(.rodata.*)
*(.rodata1)
. = ALIGN(10);
} =0
___data_org = .;
.dest 0x30004440 : AT (___data_org) {
___data_start = . ;
*(.data)
*(.data.*)
SORT(CONSTRUCTORS)
*(.data1)
KEEP (*(.eh_frame))
*(.gcc_except_table)
KEEP (*crtbegin.o(.ctors))
KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
KEEP (*(SORT(.ctors.*)))
KEEP (*(.ctors))
KEEP (*crtbegin.o(.dtors))
KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
KEEP (*(SORT(.dtors.*)))
KEEP (*(.dtors))
*(.sdata)
*(.sdata.*)
. = ALIGN(4);
__edata = .;
PROVIDE (edata = .);
}
.bss ALIGN(4) : {
___bss_start = .;
PROVIDE (__***ss_start = .);
PROVIDE (___***ss_start = .);
*(.***ss)
*(.***ss.*)
*(.scommon)
PROVIDE (__***ss_end = .);
PROVIDE (___***ss_end = .);
*(.bss)
*(.bss.*)
*(COMMON)
. = ALIGN(4);
_end = .;
PROVIDE (end = .);
}
}
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
OUTPUT_ARCH(arm)
ENTRY(__text_start)
SECTIONS {
.text 0x00000000 : {
__text_start = .;
KEEP (*(.init))
*(.text)
*(.text.*)
*(.stub)
KEEP (*(.fini))
PROVIDE (__etext = .);
PROVIDE (_etext = .);
PROVIDE (etext = .);
*(.rodata)
*(.rodata.*)
*(.rodata1)
. = ALIGN(10);
} =0
___data_org = .;
.dest 0x30004440 : AT (___data_org) {
___data_start = . ;
*(.data)
*(.data.*)
SORT(CONSTRUCTORS)
*(.data1)
KEEP (*(.eh_frame))
*(.gcc_except_table)
KEEP (*crtbegin.o(.ctors))
KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
KEEP (*(SORT(.ctors.*)))
KEEP (*(.ctors))
KEEP (*crtbegin.o(.dtors))
KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
KEEP (*(SORT(.dtors.*)))
KEEP (*(.dtors))
*(.sdata)
*(.sdata.*)
. = ALIGN(4);
__edata = .;
PROVIDE (edata = .);
}
.bss ALIGN(4) : {
___bss_start = .;
PROVIDE (__***ss_start = .);
PROVIDE (___***ss_start = .);
*(.***ss)
*(.***ss.*)
*(.scommon)
PROVIDE (__***ss_end = .);
PROVIDE (___***ss_end = .);
*(.bss)
*(.bss.*)
*(COMMON)
. = ALIGN(4);
_end = .;
PROVIDE (end = .);
}
}
举报