aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-spu.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-06-07 12:02:47 +0000
committerAlan Modra <amodra@gmail.com>2008-06-07 12:02:47 +0000
commit6a26771553268288ca1652dc051fa7165245ea25 (patch)
tree37791eaacd8ae98b5c83f39095f98c8fa0bc0c7f /bfd/elf32-spu.c
parent967928e91621dc120ef477b7333471e5fb06957c (diff)
downloadgdb-6a26771553268288ca1652dc051fa7165245ea25.zip
gdb-6a26771553268288ca1652dc051fa7165245ea25.tar.gz
gdb-6a26771553268288ca1652dc051fa7165245ea25.tar.bz2
* elf32-spu.c (spu_elf_auto_overlay): Add valid area below sp
to stack calculation.
Diffstat (limited to 'bfd/elf32-spu.c')
-rw-r--r--bfd/elf32-spu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c
index e11e1d7..eac2e85 100644
--- a/bfd/elf32-spu.c
+++ b/bfd/elf32-spu.c
@@ -3574,7 +3574,7 @@ spu_elf_auto_overlay (struct bfd_link_info *info,
sum_stack_param.overall_stack = 0;
if (!for_each_node (sum_stack, info, &sum_stack_param, TRUE))
goto err_exit;
- htab->reserved = sum_stack_param.overall_stack;
+ htab->reserved = sum_stack_param.overall_stack + 2000;
}
fixed_size += htab->reserved;
fixed_size += htab->non_ovly_stub * OVL_STUB_SIZE;