* elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute.

This commit is contained in:
Alan Modra
2009-01-12 14:13:03 +00:00
parent 22f4bbf591
commit 460e679b12
2 changed files with 6 additions and 2 deletions

View File

@@ -1951,8 +1951,8 @@ spu_elf_build_stubs (struct bfd_link_info *info)
h = define_ovtab_symbol (htab, "__icache_base");
if (h == NULL)
return FALSE;
h->root.u.def.value = 0;
h->root.u.def.section = htab->ovl_sec[0];
h->root.u.def.value = htab->ovl_sec[0]->vma;
h->root.u.def.section = bfd_abs_section_ptr;
h->size = htab->num_buf << htab->line_size_log2;
if (htab->init != NULL && htab->init->size != 0)