Kaynağa Gözat

ls1b: add rt_init section

Grissiom 11 yıl önce
ebeveyn
işleme
a87ae1abee
1 değiştirilmiş dosya ile 6 ekleme ve 0 silme
  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);