*
*/
-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)
{
} > ram
/*
- * Allocated stack at the end of bss section.
- * Data heap is allocate at end of stack.
+ * Allocate stack at the end of bss section.
+ * Data heap is allocated at end of stack.
*/
PROVIDE (__stack_start = .);