aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/layout.cc')
-rw-r--r--gold/layout.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gold/layout.cc b/gold/layout.cc
index 978828f..9758597 100644
--- a/gold/layout.cc
+++ b/gold/layout.cc
@@ -1535,8 +1535,8 @@ Layout::set_segment_offsets(const Target* target, Output_segment* load_seg,
}
unsigned int shndx_hold = *pshndx;
- uint64_t new_addr = (*p)->set_section_addresses(false, addr, &off,
- pshndx);
+ uint64_t new_addr = (*p)->set_section_addresses(this, false, addr,
+ &off, pshndx);
// Now that we know the size of this segment, we may be able
// to save a page in memory, at the cost of wasting some
@@ -1561,8 +1561,8 @@ Layout::set_segment_offsets(const Target* target, Output_segment* load_seg,
addr = align_address(aligned_addr, common_pagesize);
addr = align_address(addr, (*p)->maximum_alignment());
off = orig_off + ((addr - orig_addr) & (abi_pagesize - 1));
- new_addr = (*p)->set_section_addresses(true, addr, &off,
- pshndx);
+ new_addr = (*p)->set_section_addresses(this, true, addr,
+ &off, pshndx);
}
}