mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[FREELDR]: Add linker script for ARM as well. We drop the relocation section as it shouldn't be needed.
svn path=/trunk/; revision=49748
This commit is contained in:
parent
7b5b2fa5d2
commit
28169472e5
1 changed files with 54 additions and 0 deletions
54
reactos/boot/freeldr/freeldr/freeldr_arm.lnk
Normal file
54
reactos/boot/freeldr/freeldr/freeldr_arm.lnk
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
OUTPUT_FORMAT(pei-arm-wince-little)
|
||||||
|
SECTIONS
|
||||||
|
{
|
||||||
|
.text __image_base__ + __section_alignment__ :
|
||||||
|
{
|
||||||
|
__text_start__ = .;
|
||||||
|
*(.init)
|
||||||
|
*(.text)
|
||||||
|
*(SORT(.text$*))
|
||||||
|
*(.glue_7t)
|
||||||
|
*(.glue_7)
|
||||||
|
___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
|
||||||
|
LONG (-1); *(.ctors); *(.ctor); LONG (0);
|
||||||
|
___DTOR_LIST__ = .; __DTOR_LIST__ = . ;
|
||||||
|
LONG (-1); *(.dtors); *(.dtor); LONG (0);
|
||||||
|
*(.fini)
|
||||||
|
/* ??? Why is .gcc_exc here? */
|
||||||
|
*(.gcc_exc)
|
||||||
|
__text_end__ = .;
|
||||||
|
*(.gcc_except_table)
|
||||||
|
}
|
||||||
|
init BLOCK(__section_alignment__) :
|
||||||
|
{
|
||||||
|
__init_start__ = . ;
|
||||||
|
*(init)
|
||||||
|
__init_end__ = . ;
|
||||||
|
}
|
||||||
|
.data BLOCK(__section_alignment__) :
|
||||||
|
{
|
||||||
|
__data_start__ = . ;
|
||||||
|
*(.data)
|
||||||
|
*(.data2)
|
||||||
|
*(SORT(.data$*))
|
||||||
|
__data_end__ = . ;
|
||||||
|
__bss_start__ = . ;
|
||||||
|
*(.bss)
|
||||||
|
*(COMMON)
|
||||||
|
__bss_end__ = . ;
|
||||||
|
}
|
||||||
|
.rdata BLOCK(__section_alignment__) :
|
||||||
|
{
|
||||||
|
*(.rdata)
|
||||||
|
*(SORT(.rdata$*))
|
||||||
|
*(.eh_frame)
|
||||||
|
}
|
||||||
|
/DISCARD/ :
|
||||||
|
{
|
||||||
|
[ .stab ]
|
||||||
|
[ .stabstr ]
|
||||||
|
*(.reloc)
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue