aboutsummaryrefslogtreecommitdiff
path: root/ld/ldexp.c
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-04-23 15:59:24 +0000
committerSteve Chamberlain <steve@cygnus>1991-04-23 15:59:24 +0000
commita37cc0c05c5ee0e72a14a09c547555621371ef1d (patch)
tree2df4ce4a562ee651f2f17351d0a0402c75152583 /ld/ldexp.c
parent1327fb29568debb17b167a405a548f641bcfda69 (diff)
downloadgdb-a37cc0c05c5ee0e72a14a09c547555621371ef1d.zip
gdb-a37cc0c05c5ee0e72a14a09c547555621371ef1d.tar.gz
gdb-a37cc0c05c5ee0e72a14a09c547555621371ef1d.tar.bz2
*** empty log message ***
Diffstat (limited to 'ld/ldexp.c')
-rw-r--r--ld/ldexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldexp.c b/ld/ldexp.c
index e243060..f798ac1 100644
--- a/ld/ldexp.c
+++ b/ld/ldexp.c
@@ -326,7 +326,7 @@ bfd_vma dot;
sdef->section->vma : 0));
}
else {
- result = new_rel(sdef->value, os);
+ result = new_rel(sdef->value + sdef->section->output_offset, os);
}
}
}