diff options
author | Tomer Levi <Tomer.Levi@nsc.com> | 2004-09-16 16:27:00 +0000 |
---|---|---|
committer | Tomer Levi <Tomer.Levi@nsc.com> | 2004-09-16 16:27:00 +0000 |
commit | 1fa32646fbadd3b802242ca993226fc35741a035 (patch) | |
tree | 6d984a8ebae155e74e3dc78ac148f4b158f7b040 /ld | |
parent | f5385ebfb8e4e9e336adba121a22d110488303d1 (diff) | |
download | gdb-1fa32646fbadd3b802242ca993226fc35741a035.zip gdb-1fa32646fbadd3b802242ca993226fc35741a035.tar.gz gdb-1fa32646fbadd3b802242ca993226fc35741a035.tar.bz2 |
Add KEEP for certain section's *personality*
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/scripttempl/elf32crx.sc | 6 |
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 : |