aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-01-23 20:53:31 +0000
committerIan Lance Taylor <ian@airs.com>1996-01-23 20:53:31 +0000
commit5a4d8c40706c26133a01ee0c13452b8523e1f84c (patch)
treec07c7496074a492dd433e9c877fee872cb1f24b3 /bfd
parentd8fd85ada323236ca129497d87cccbcfba2547c2 (diff)
downloadgdb-5a4d8c40706c26133a01ee0c13452b8523e1f84c.zip
gdb-5a4d8c40706c26133a01ee0c13452b8523e1f84c.tar.gz
gdb-5a4d8c40706c26133a01ee0c13452b8523e1f84c.tar.bz2
tipo
Diffstat (limited to 'bfd')
-rw-r--r--bfd/coffcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 152846f..44aea2a 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -2714,7 +2714,7 @@ coff_set_section_contents (abfd, section, location, offset, count)
{
BFD_ASSERT (bfd_get_32 (abfd, rec + 4) == 2);
++section->lma;
- rec += bfd_get_32 (abfd, rec) / 4;
+ rec += bfd_get_32 (abfd, rec) * 4;
}
BFD_ASSERT (rec == recend);