mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
Add KEEP for certain section's *personality*
This commit is contained in:
@ -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>
|
2004-09-16 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* emultempl/armelf_oabi.em (before_allocation): Add extra zero param
|
* emultempl/armelf_oabi.em (before_allocation): Add extra zero param
|
||||||
|
@ -47,20 +47,20 @@ SECTIONS
|
|||||||
.init :
|
.init :
|
||||||
{
|
{
|
||||||
__INIT_START = .;
|
__INIT_START = .;
|
||||||
*(.init)
|
KEEP (*(.init))
|
||||||
__INIT_END = .;
|
__INIT_END = .;
|
||||||
} > rom
|
} > rom
|
||||||
|
|
||||||
.fini :
|
.fini :
|
||||||
{
|
{
|
||||||
__FINI_START = .;
|
__FINI_START = .;
|
||||||
*(.fini)
|
KEEP (*(.fini))
|
||||||
__FINI_END = .;
|
__FINI_END = .;
|
||||||
} > rom
|
} > rom
|
||||||
|
|
||||||
.jcr :
|
.jcr :
|
||||||
{
|
{
|
||||||
*(.jcr)
|
KEEP (*(.jcr))
|
||||||
} > rom
|
} > rom
|
||||||
|
|
||||||
.text :
|
.text :
|
||||||
|
Reference in New Issue
Block a user