aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/scripttempl/elf32crx.sc6
2 files changed, 9 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 5114aa7..4ebf315 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2004-09-16 Tomer Levi <Tomer.Levi@nsc.com>
+
+ * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
+ (.fini): Likewise.
+ (.jcr): Likewise.
+
2004-09-16 Alan Modra <amodra@bigpond.net.au>
* emultempl/armelf_oabi.em (before_allocation): Add extra zero param
diff --git a/ld/scripttempl/elf32crx.sc b/ld/scripttempl/elf32crx.sc
index 4a893a0..67488ae 100644
--- a/ld/scripttempl/elf32crx.sc
+++ b/ld/scripttempl/elf32crx.sc
@@ -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 :