2014-08-19 20:07:00 +04:00
|
|
|
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
|
|
|
|
OUTPUT_ARCH(arm)
|
|
|
|
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.text 0x0 : {
|
2015-07-16 19:31:23 +03:00
|
|
|
_text = .;
|
2014-08-19 20:07:00 +04:00
|
|
|
*(.text.head)
|
|
|
|
*(.text)
|
|
|
|
*(.text.*)
|
|
|
|
*(.gnu.linkonce.t.*)
|
|
|
|
*(.srodata)
|
|
|
|
*(.rodata*)
|
|
|
|
. = ALIGN(16);
|
|
|
|
}
|
2015-07-16 19:31:23 +03:00
|
|
|
_etext = .;
|
|
|
|
_text_size = . - _text;
|
2023-02-08 00:48:27 +03:00
|
|
|
. = ALIGN(4096);
|
2014-08-19 20:07:00 +04:00
|
|
|
.dynamic : { *(.dynamic) }
|
|
|
|
.data :
|
|
|
|
{
|
2015-07-16 19:31:23 +03:00
|
|
|
_data = .;
|
2014-08-19 20:07:00 +04:00
|
|
|
*(.sdata)
|
|
|
|
*(.data)
|
|
|
|
*(.data1)
|
2016-02-17 23:32:23 +03:00
|
|
|
*(.data.*)
|
2014-08-19 20:07:00 +04:00
|
|
|
*(.got.plt)
|
|
|
|
*(.got)
|
|
|
|
|
|
|
|
/* the EFI loader doesn't seem to like a .bss section, so we stick
|
|
|
|
it all into .data: */
|
|
|
|
. = ALIGN(16);
|
|
|
|
_bss = .;
|
|
|
|
*(.sbss)
|
|
|
|
*(.scommon)
|
|
|
|
*(.dynbss)
|
|
|
|
*(.bss)
|
2016-02-17 23:32:23 +03:00
|
|
|
*(.bss.*)
|
2014-08-19 20:07:00 +04:00
|
|
|
*(COMMON)
|
|
|
|
. = ALIGN(16);
|
|
|
|
_bss_end = .;
|
|
|
|
}
|
2016-02-25 17:36:53 +03:00
|
|
|
|
2023-02-21 14:57:17 +03:00
|
|
|
.rel :
|
|
|
|
{
|
|
|
|
*(.rel.text*)
|
|
|
|
*(.rel.data*)
|
|
|
|
*(.rel.got)
|
|
|
|
*(.rel.plt)
|
2023-03-04 20:57:39 +03:00
|
|
|
*(.rel.dyn)
|
2023-02-21 14:57:17 +03:00
|
|
|
*(.rel.stab)
|
|
|
|
}
|
2014-08-19 20:07:00 +04:00
|
|
|
_edata = .;
|
|
|
|
_data_size = . - _etext;
|
|
|
|
|
|
|
|
. = ALIGN(4096);
|
|
|
|
.dynsym : { *(.dynsym) }
|
|
|
|
. = ALIGN(4096);
|
|
|
|
.dynstr : { *(.dynstr) }
|
|
|
|
. = ALIGN(4096);
|
2015-12-23 16:38:24 +03:00
|
|
|
.note.gnu.build-id : { *(.note.gnu.build-id) }
|
2014-08-19 20:07:00 +04:00
|
|
|
/DISCARD/ :
|
|
|
|
{
|
|
|
|
*(.rel.reloc)
|
|
|
|
*(.eh_frame)
|
|
|
|
*(.note.GNU-stack)
|
|
|
|
}
|
|
|
|
.comment 0 : { *(.comment) }
|
|
|
|
}
|