* ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
authorJakub Jelinek <jakub@redhat.com>
Fri, 17 Dec 2004 15:50:02 +0000 (15:50 +0000)
committerJakub Jelinek <jakub@redhat.com>
Fri, 17 Dec 2004 15:50:02 +0000 (15:50 +0000)
commite3070fef41863855bd4fcade884cfda11abedb06
treea1e4c6daf75abe8a13d92f693f2810602eb754d6
parent9d2be1eec8fda466eebb0da7eefdc5b583649ca3
* 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.
ld/ChangeLog
ld/ldexp.c
ld/ldexp.h
ld/ldlang.c