diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-05-14 17:56:56 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-05-14 17:56:56 +0000 |
commit | 335bd8f20567e11b0ab3932b317a93d05363be4c (patch) | |
tree | febd73cd4d61da5e790e2a91251d85835b264d59 /bfd/elf32-spu.c | |
parent | cdc83fba739acf894c08d5aa92746f30e552c465 (diff) | |
download | binutils-335bd8f20567e11b0ab3932b317a93d05363be4c.tar.gz binutils-335bd8f20567e11b0ab3932b317a93d05363be4c.tar.bz2 binutils-335bd8f20567e11b0ab3932b317a93d05363be4c.zip |
* elf32-spu.c (mark_overlay_section): Move .init and .fini
sections into the software icache.
Diffstat (limited to 'bfd/elf32-spu.c')
-rw-r--r-- | bfd/elf32-spu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c index 81ef78b0c72..5c63d158123 100644 --- a/bfd/elf32-spu.c +++ b/bfd/elf32-spu.c @@ -3398,7 +3398,9 @@ mark_overlay_section (struct function_info *fun, if (!fun->sec->linker_mark && (htab->params->ovly_flavour != ovly_soft_icache || htab->params->non_ia_text - || strncmp (fun->sec->name, ".text.ia.", 9) == 0)) + || strncmp (fun->sec->name, ".text.ia.", 9) == 0 + || strcmp (fun->sec->name, ".init") == 0 + || strcmp (fun->sec->name, ".fini") == 0)) { unsigned int size; |