Revert wrongly committed file.
[bertos.git] / bertos / cpu / arm / scripts / arm7tdmi_rom.ld
index 54d470e027b5c74b4c86fe339c7d2250b0aa7089..a4715b1b7533417a3fb1fdf27555adaf940ec4ed 100644 (file)
@@ -36,7 +36,6 @@
  *
  */
 
-ENTRY(_init)
 OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
 OUTPUT_ARCH(arm)
 
@@ -58,7 +57,9 @@ SECTIONS
        {
                KEEP(*(.vectors));
                . = ALIGN (4);
-               KEEP(*(.init));
+               KEEP(*(.exceptions));
+               . = ALIGN (4);
+               *(.init);
                . = ALIGN (4);
                *(.rodata .rodata.*);
                . = ALIGN (4);