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, 2 insertions, 0 deletions
diff --git a/ld/ldexp.c b/ld/ldexp.c
index 0549f19..de7f9f2 100644
--- a/ld/ldexp.c
+++ b/ld/ldexp.c
@@ -553,6 +553,8 @@ fold_name (etree_type *tree)
" referenced in expression\n"),
tree->name.name);
}
+ else if (output_section == bfd_abs_section_ptr)
+ new_number (h->u.def.value + h->u.def.section->output_offset);
else
new_rel (h->u.def.value + h->u.def.section->output_offset,
output_section);