From: Tomer Levi Date: Thu, 16 Sep 2004 16:27:00 +0000 (+0000) Subject: Add KEEP for certain section's *personality* X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1fa32646fbadd3b802242ca993226fc35741a035;p=binutils-gdb.git Add KEEP for certain section's *personality* --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 5114aa79888..4ebf3151f56 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2004-09-16 Tomer Levi + + * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*. + (.fini): Likewise. + (.jcr): Likewise. + 2004-09-16 Alan Modra * emultempl/armelf_oabi.em (before_allocation): Add extra zero param diff --git a/ld/scripttempl/elf32crx.sc b/ld/scripttempl/elf32crx.sc index 4a893a006fc..67488ae5f7b 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 :