diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-12-17 15:50:02 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-12-17 15:50:02 +0000 |
commit | e3070fef41863855bd4fcade884cfda11abedb06 (patch) | |
tree | a1e4c6daf75abe8a13d92f693f2810602eb754d6 /ld/ldexp.h | |
parent | 9d2be1eec8fda466eebb0da7eefdc5b583649ca3 (diff) | |
download | gdb-e3070fef41863855bd4fcade884cfda11abedb06.zip gdb-e3070fef41863855bd4fcade884cfda11abedb06.tar.gz gdb-e3070fef41863855bd4fcade884cfda11abedb06.tar.bz2 |
* ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
* ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them.
* ldlang.c (lang_size_sections): Use them to avoid wasting virtual
address space at DATA_SEGMENT_ALIGN. Fix computation of expected
PT_GNU_RELRO segment end.
Diffstat (limited to 'ld/ldexp.h')
-rw-r--r-- | ld/ldexp.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ extern struct exp_data_seg { exp_dataseg_relro_adjust, exp_dataseg_adjust } phase; - bfd_vma base, relro_end, end, pagesize; + bfd_vma base, min_base, relro_end, end, pagesize, maxpagesize; } exp_data_seg; /* A maps from a segment name to a base address. */ |