aboutsummaryrefslogtreecommitdiff
path: root/ld/ldexp.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-12-17 15:50:02 +0000
committerJakub Jelinek <jakub@redhat.com>2004-12-17 15:50:02 +0000
commite3070fef41863855bd4fcade884cfda11abedb06 (patch)
treea1e4c6daf75abe8a13d92f693f2810602eb754d6 /ld/ldexp.h
parent9d2be1eec8fda466eebb0da7eefdc5b583649ca3 (diff)
downloadgdb-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldexp.h b/ld/ldexp.h
index addf834..59a5627 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. */