summaryrefslogtreecommitdiff
path: root/ld/ldexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldexp.c')
-rw-r--r--ld/ldexp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldexp.c b/ld/ldexp.c
index e7587c1710..c19070f41d 100644
--- a/ld/ldexp.c
+++ b/ld/ldexp.c
@@ -427,6 +427,7 @@ fold_binary (etree_type *tree,
a common page boundary. */
bfd_vma relro;
+ result.value += dot & (maxpage - 1);
relro = exp_data_seg.relro_end - exp_data_seg.base;
result.value += -relro & (other.value - 1);
exp_data_seg.base = result.value;