aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-05-14 04:30:03 +0000
committerAlan Modra <amodra@gmail.com>2009-05-14 04:30:03 +0000
commitbbb0fc04ccbc84182b3c743fa95b684f4673d419 (patch)
tree1eed4fe09690dd90a4a86cd73d9eef40938f5d72 /ld/emultempl
parent011aa75f625b8ef2fe1a8adb9498680410174d3c (diff)
downloadgdb-bbb0fc04ccbc84182b3c743fa95b684f4673d419.zip
gdb-bbb0fc04ccbc84182b3c743fa95b684f4673d419.tar.gz
gdb-bbb0fc04ccbc84182b3c743fa95b684f4673d419.tar.bz2
bfd/
* elf32-spu.c (spu_elf_size_stubs): Split out section placement to.. (spu_elf_place_overlay_data): ..here. New function. * elf32-spu.h (spu_elf_place_overlay_data): Declare. ld/ * emultempl/spuelf.em (spu_before_allocation): Call spu_elf_place_overlay_data. ld/testsuite/ * ld-spu/icache1.d: Update for changed overlay manager placement. * ld-spu/ovl.d: Likewise. * ld-spu/ovl2.d: Likewise.
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 5bca096..2ddf662 100644
--- a/ld/emultempl/spuelf.em
+++ b/ld/emultempl/spuelf.em
@@ -308,6 +308,8 @@ spu_before_allocation (void)
einfo ("%X%P: can not size overlay stubs: %E\n");
else if (ret == 2)
spu_elf_load_ovl_mgr ();
+
+ spu_elf_place_overlay_data (&link_info);
}
/* We must not cache anything from the preliminary sizing. */