Browse Source

ls1b: add rt_init section

Grissiom 11 years ago
parent
commit
a87ae1abee
1 changed files with 6 additions and 0 deletions
  1. 6 0
      bsp/ls1bdev/ls1b_ram.lds

+ 6 - 0
bsp/ls1bdev/ls1b_ram.lds

@@ -46,6 +46,12 @@ SECTIONS
          KEEP(*(VSymTab))
          __vsymtab_end = .;
          . = ALIGN(4);
+
+         . = ALIGN(4);
+         __rt_init_start = .;
+         KEEP(*(SORT(.rti_fn*)))
+             __rt_init_end = .;
+         . = ALIGN(4);
     }
 
     . = ALIGN(4);