* output.h (Output_segment::set_section_addresses): Pass increase_relro
authorCary Coutant <ccoutant@google.com>
Tue, 16 Nov 2010 19:18:31 +0000 (19:18 +0000)
committerCary Coutant <ccoutant@google.com>
Tue, 16 Nov 2010 19:18:31 +0000 (19:18 +0000)
commitfd064a5b9922e1058c109d6b5a8ee6e2ae15f529
tree376cf26f153601f1ba0fa218d34e45bca30fedfd
parent6ab5626b08f37bc5b84c67d0f25e363e0ab0180e
* 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