aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1995-01-23 22:57:30 +0000
committerSteve Chamberlain <sac@cygnus>1995-01-23 22:57:30 +0000
commitc525c3afcb5656e99d3d3993023b97941e32d7b9 (patch)
treedbdee391a71c51ecefbf996f9d0c09ca9b5cc7c5
parent6e3acf74d0fd966128b0d68bf94bf6bc4bd5d5cd (diff)
downloadgdb-c525c3afcb5656e99d3d3993023b97941e32d7b9.zip
gdb-c525c3afcb5656e99d3d3993023b97941e32d7b9.tar.gz
gdb-c525c3afcb5656e99d3d3993023b97941e32d7b9.tar.bz2
Mon Jan 23 14:53:35 1995 Steve Chamberlain <sac@splat>
* coff-sh.c (coff_sh_relocate_section): Don't subtract vma twice.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/coff-sh.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3b15f47..b5605ef 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jan 23 14:53:35 1995 Steve Chamberlain <sac@splat>
+
+ * coff-sh.c (coff_sh_relocate_section): Don't subtract
+ vma twice.
+
Mon Jan 23 13:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
* coff-sh.c (sh_reloc): Don't ignore the previous contents of an
diff --git a/bfd/coff-sh.c b/bfd/coff-sh.c
index 3a9c76d..9126fa8 100644
--- a/bfd/coff-sh.c
+++ b/bfd/coff-sh.c
@@ -219,7 +219,6 @@ coff_sh_relocate_section (output_bfd, info, input_bfd, input_section,
val = (sec->output_section->vma
+ sec->output_offset
+ sym->n_value
- - sec->vma
- sec->vma);
}
}