From 5bc2f5be52354dfebe40c35c519bf19e4332956a Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Mon, 18 Oct 2010 05:39:23 +0000 Subject: * output.h (Output_segment::set_section_addresses): Change function signature. Update all callers. * output.cc (Output_segment::is_first_section_relro): Ignore TLS sections. (Output_segment::set_section_addresses): Align after last TLS section. Add padding before last relro section instead of after. --- 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 52c69e9..d36d587 100644 --- a/gold/output.h +++ b/gold/output.h @@ -3908,7 +3908,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* pincrease_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