OSDN Git Service

Add KEEP for certain section's *personality*
authortomerl <tomerl>
Thu, 16 Sep 2004 16:24:50 +0000 (16:24 +0000)
committertomerl <tomerl>
Thu, 16 Sep 2004 16:24:50 +0000 (16:24 +0000)
ld/scripttempl/elf32crx.sc

index 4a893a0..67488ae 100644 (file)
@@ -47,20 +47,20 @@ SECTIONS
   .init :
   { 
     __INIT_START = .; 
-    *(.init)
+    KEEP (*(.init))
     __INIT_END = .; 
   } > rom
 
   .fini :
   { 
     __FINI_START = .; 
-    *(.fini)
+    KEEP (*(.fini))
     __FINI_END = .; 
   } > rom
 
   .jcr :
   { 
-    *(.jcr)
+    KEEP (*(.jcr))
   } > rom
 
   .text :