diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2004-09-07 15:54:47 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2004-09-07 15:54:47 +0000 |
commit | 875c4330ff527a8b51ee8c3e31738b8462603f59 (patch) | |
tree | 9bf827f50853dfbf820e24a09aa784c72157beae /ld/ldexp.c | |
parent | ee75fd9567be17c012f4e85508bd2cafb7859aa5 (diff) | |
download | gdb-875c4330ff527a8b51ee8c3e31738b8462603f59.zip gdb-875c4330ff527a8b51ee8c3e31738b8462603f59.tar.gz gdb-875c4330ff527a8b51ee8c3e31738b8462603f59.tar.bz2 |
* ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
alignment before adjusting DATA_SEGMENT_RELRO_END.
Diffstat (limited to 'ld/ldexp.c')
-rw-r--r-- | ld/ldexp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |