From fd064a5b9922e1058c109d6b5a8ee6e2ae15f529 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Tue, 16 Nov 2010 19:18:31 +0000 Subject: * 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/output.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gold/output.h') diff --git a/gold/output.h b/gold/output.h index 1bfb054..9ccc21a 100644 --- a/gold/output.h +++ b/gold/output.h @@ -3911,7 +3911,7 @@ class Output_segment // *PSHNDX. This should only be called for a PT_LOAD segment. uint64_t set_section_addresses(const Layout*, bool reset, uint64_t addr, - unsigned int increase_relro, bool* has_relro, + unsigned int* increase_relro, bool* has_relro, off_t* poff, unsigned int* pshndx); // Set the minimum alignment of this segment. This may be adjusted -- cgit v1.1