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 | 58843219cea7c1e1d8ad5d0c7673e87776b1b612 (patch) | |
tree | 56089b25f647faab4ea125d5aee03f5e2cf46d87 /ld/ldexp.h | |
parent | d6d4f7e26582832951d157195853b15eaa9f9629 (diff) | |
download | binutils-redhat-58843219cea7c1e1d8ad5d0c7673e87776b1b612.tar.gz |
* 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
diff --git a/ld/ldexp.h b/ld/ldexp.h index addf83424a..59a5627508 100644 --- a/ld/ldexp.h +++ b/ld/ldexp.h @@ -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. */ |