aboutsummaryrefslogtreecommitdiff
path: root/ld/ldexp.c
diff options
context:
space:
mode:
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);
}
}
}