* elf32-spu.c (mark_overlay_section): Move .init and .fini
sections into the software icache.
This commit is contained in:
parent
cdc83fba73
commit
335bd8f205
@ -1,3 +1,8 @@
|
|||||||
|
2009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
|
* elf32-spu.c (mark_overlay_section): Move .init and .fini
|
||||||
|
sections into the software icache.
|
||||||
|
|
||||||
2009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
|
2009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
* elf32-spu.c (build_stub): Always build "compact" sofware
|
* elf32-spu.c (build_stub): Always build "compact" sofware
|
||||||
|
@ -3398,7 +3398,9 @@ mark_overlay_section (struct function_info *fun,
|
|||||||
if (!fun->sec->linker_mark
|
if (!fun->sec->linker_mark
|
||||||
&& (htab->params->ovly_flavour != ovly_soft_icache
|
&& (htab->params->ovly_flavour != ovly_soft_icache
|
||||||
|| htab->params->non_ia_text
|
|| 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;
|
unsigned int size;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user