diff options
Diffstat (limited to 'gold/layout.h')
-rw-r--r-- | gold/layout.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/layout.h b/gold/layout.h index 1712db95ea..714c374e9c 100644 --- a/gold/layout.h +++ b/gold/layout.h @@ -477,6 +477,10 @@ class Layout void allocate_output_section(Output_section*, elfcpp::Elf_Xword flags); + // Turn a read-only output section into a read-write output section. + void + write_enable_output_section(Output_section*, elfcpp::Elf_Xword flags); + // Set the final file offsets of all the segments. off_t set_segment_offsets(const Target*, Output_segment*, unsigned int* pshndx); |