aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-sh.c
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 /bfd/coff-sh.c
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.
Diffstat (limited to 'bfd/coff-sh.c')
-rw-r--r--bfd/coff-sh.c1
1 files changed, 0 insertions, 1 deletions
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);
}
}