+start-sanitize-sky
+Fri Jun 12 12:46:57 1998 Doug Evans <devans@canuck.cygnus.com>
+
+ * config/tc-dvp.c (create_vuoverlay_section): Don't set a non-zero
+ section vma.
+
+end-sanitize-sky
1998-06-12 Vladimir N. Makarov <vmakarov@cygnus.com>
* config/tc-d10v.c (md_apply_fix3): Checking displacement in
We are responsible for updating sym->bsym->value. */
S_SET_SEGMENT (p->sym, p->sec);
/* Adjust for the section's vma. */
+ /* FIXME: bfd doesn't get this right, it adds the section vma
+ back in (in elf.c:swap_out_syms). As a workaround the
+ section vma is assumed to be zero. Of course, there might
+ not be a point in setting it to non-zero anyway. */
p->sym->bsym->value -= bfd_get_section_vma (stdoutput, p->sec);
}
}
/* There's no point in setting the section vma as we can't get the linker
to preserve it. But what the heck ... It might be useful to the
objdump user. */
+#if 0 /* FIXME: bfd's elf.c:swap_out_syms always emits symbol values with
+ the section vma added in so we can't do this. */
if (addr->sy_value.X_op == O_constant)
bfd_set_section_vma (stdoutput, vuoverlay_section, S_GET_VALUE (addr));
+#endif
/* The size of the section won't be known until we see the .endmpg,
but we can compute it from the start and end labels. */
/* FIXME: This causes the section to occupy space in the file. */