aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-03-12 04:38:42 +0000
committerIan Lance Taylor <iant@google.com>2008-03-12 04:38:42 +0000
commit1650c4ff500bc54eea33d31ae9396434a3e13733 (patch)
tree36c7a4a10c6005e8ab65e0afb8b9230d49a50c39 /gold/layout.h
parente00eeb0a11ba17abc1166adb7f94097ae37c470c (diff)
downloadbinutils-1650c4ff500bc54eea33d31ae9396434a3e13733.zip
binutils-1650c4ff500bc54eea33d31ae9396434a3e13733.tar.gz
binutils-1650c4ff500bc54eea33d31ae9396434a3e13733.tar.bz2
Combine read-only .eh_frame sections with read-write .eh_frame
sections.
Diffstat (limited to 'gold/layout.h')
-rw-r--r--gold/layout.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/layout.h b/gold/layout.h
index 1712db9..714c374 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);