[PATCH] Try to avoid unneeded gaps with -z relro (take 2)
Nick Clifton
nickc@redhat.com
Thu Dec 16 12:09:00 GMT 2004
Hi Jakub,
> 2004-12-14 Jakub Jelinek <jakub@redhat.com>
>
> * 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.
Approved - please apply.
Cheers
Nick
More information about the Binutils
mailing list