* elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute.
authorAlan Modra <amodra@gmail.com>
Mon, 12 Jan 2009 14:13:03 +0000 (14:13 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 12 Jan 2009 14:13:03 +0000 (14:13 +0000)
bfd/ChangeLog
bfd/elf32-spu.c

index 8d20b8137d21b064abc9c6b7a29b18ec534cbf1f..c6878ac0012554fdbfe7058500ddcfa439d4ae15 100644 (file)
@@ -1,3 +1,7 @@
+2009-01-13  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute.
+
 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
 
        * elf32-spu.c (remove_cycles): Always set call->max_depth.
index e94c70b9b5fed612bd4b271fd5d28dbc53105310..318c5b4deec1e70a7bf8f36c18365d669c1e27dd 100644 (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)
This page took 0.028624 seconds and 4 git commands to generate.