* output.h (Output_segment::set_section_addresses): Pass increase_relro
commit4ac89e0c6d28ca6754954f146a55e03ec16b51e4
authorCary Coutant <ccoutant@google.com>
Tue, 16 Nov 2010 19:18:31 +0000 (16 19:18 +0000)
committerCary Coutant <ccoutant@google.com>
Tue, 16 Nov 2010 19:18:31 +0000 (16 19:18 +0000)
tree56e1931551e833d789f812557d015bdc0be81d12
parenta9b1576eb65021d5a9a5c5f0d659dde5b512525c
* output.h (Output_segment::set_section_addresses): Pass increase_relro
by reference; adjust all callers.
* output.cc (Output_segment::set_section_addresses): Adjust references
to increase_relro. Add padding to *increase_relro when ORDER_RELRO_LAST
list is empty.
(Output_segment::set_offset): Assert if PT_GNU_RELRO segment does not
end at page boundary.
gold/ChangeLog
gold/layout.cc
gold/output.cc
gold/output.h