aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-05-14 16:56:09 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-05-14 16:56:09 +0000
commitcdc83fba739acf894c08d5aa92746f30e552c465 (patch)
treed461d5ecffbfc0fcb8c7e5473820de3cfe1ecf9a /ld/emultempl
parent97fc8d845e364cd47d7f6005e749e99cf45691b1 (diff)
downloadgdb-cdc83fba739acf894c08d5aa92746f30e552c465.zip
gdb-cdc83fba739acf894c08d5aa92746f30e552c465.tar.gz
gdb-cdc83fba739acf894c08d5aa92746f30e552c465.tar.bz2
bfd/
* elf32-spu.c (build_stub): Always build "compact" sofware i-cache stubs. ld/ * emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use compact stubs with software i-cache. ld/testsuite/ * ld-spu/icache1.d: Update for compact stubs.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/spuelf.em2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/emultempl/spuelf.em b/ld/emultempl/spuelf.em
index 2ddf662..1b549ad 100644
--- a/ld/emultempl/spuelf.em
+++ b/ld/emultempl/spuelf.em
@@ -719,6 +719,8 @@ PARSE_AND_LIST_ARGS_CASES='
case OPTION_SPU_SOFT_ICACHE:
params.ovly_flavour = ovly_soft_icache;
+ /* Software i-cache stubs are always "compact". */
+ params.compact_stub = 1;
if (!num_lines_set)
params.num_lines = 32;
else if ((params.num_lines & -params.num_lines) != params.num_lines)