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 | 39bf9d3b5c25c7a426be89182686cafb5e08adcb (patch) | |
tree | 9e22ff23cc7905509a3f45f6f9440808c8e5d0fb /bfd/elf32-spu.c | |
parent | 29d94dd35bd54f2b36f418372fb9298eb9052e68 (diff) | |
download | binutils-redhat-39bf9d3b5c25c7a426be89182686cafb5e08adcb.tar.gz |
* 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 81ef78b0c7..5c63d15812 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; |