aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorTomer Levi <Tomer.Levi@nsc.com>2004-09-16 16:27:00 +0000
committerTomer Levi <Tomer.Levi@nsc.com>2004-09-16 16:27:00 +0000
commit1fa32646fbadd3b802242ca993226fc35741a035 (patch)
tree6d984a8ebae155e74e3dc78ac148f4b158f7b040 /ld/scripttempl
parentf5385ebfb8e4e9e336adba121a22d110488303d1 (diff)
downloadgdb-1fa32646fbadd3b802242ca993226fc35741a035.zip
gdb-1fa32646fbadd3b802242ca993226fc35741a035.tar.gz
gdb-1fa32646fbadd3b802242ca993226fc35741a035.tar.bz2
Add KEEP for certain section's *personality*
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/elf32crx.sc6
1 files changed, 3 insertions, 3 deletions
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 :