.ltorg
- .section .vectors, "ax", %progbits
+ .section .exceptions, "ax", %progbits
__xcpt_dummy_undef:
b __xcpt_dummy_undef
*
*/
-ENTRY(_init)
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
OUTPUT_ARCH(arm)
{
KEEP(*(.vectors));
. = ALIGN (4);
- KEEP(*(.init));
+ KEEP(*(.exceptions));
+ . = ALIGN (4);
+ *(.init);
. = ALIGN (4);
*(.rodata .rodata.*);
. = ALIGN (4);
*(.ctors);
. = ALIGN(4);
*(.dtors);
+ _etext = .;
+ PROVIDE (__etext = .);
} > ram
- _etext = .;
- PROVIDE (__etext = .);
.data : AT (_etext)
{
{
KEEP(*(.vectors));
. = ALIGN (4);
+ KEEP(*(.exceptions));
+ . = ALIGN (4);
*(.init);
. = ALIGN (4);
*(.rodata .rodata.*);