Mon Jan 23 14:53:35 1995 Steve Chamberlain <sac@splat>
authorSteve Chamberlain <sac@cygnus>
Mon, 23 Jan 1995 22:57:30 +0000 (22:57 +0000)
committerSteve Chamberlain <sac@cygnus>
Mon, 23 Jan 1995 22:57:30 +0000 (22:57 +0000)
* coff-sh.c (coff_sh_relocate_section):  Don't subtract
vma twice.

bfd/ChangeLog
bfd/coff-sh.c

index 3b15f47688ab6b58c6a6b0a6762436fc03b4ea64..b5605efb6dedbbf5fb55e3a5dcec1ac4c433dab8 100644 (file)
@@ -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
index 3a9c76d15a7ff692ecf522a9c7aab54f34301c36..9126fa85da284b91ddcf015dfd615d835f65a18d 100644 (file)
@@ -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);
            }
        }