Index: binutils/gold/layout.h |
diff --git a/binutils/gold/layout.h b/binutils/gold/layout.h |
index 675c65813b8bd0b4aa9b91ddaf9f2ba3acc7c2b6..71afa966f59c6002de9b1ae1746edea9b9aa0214 100644 |
--- a/binutils/gold/layout.h |
+++ b/binutils/gold/layout.h |
@@ -360,11 +360,13 @@ class Layout |
layout_gnu_stack(bool seen_gnu_stack, uint64_t gnu_stack_flags); |
// Add an Output_section_data to the layout. This is used for |
- // special sections like the GOT section. |
+ // special sections like the GOT section. IS_DYNAMIC_LINKER_SECTION |
+ // is true for sections which are used by the dynamic linker, such |
+ // as dynamic reloc sections. |
Output_section* |
add_output_section_data(const char* name, elfcpp::Elf_Word type, |
elfcpp::Elf_Xword flags, |
- Output_section_data*); |
+ Output_section_data*, bool is_dynamic_linker_section); |
// Create dynamic sections if necessary. |
void |
@@ -745,18 +747,21 @@ class Layout |
// Return the output section for NAME, TYPE and FLAGS. |
Output_section* |
get_output_section(const char* name, Stringpool::Key name_key, |
- elfcpp::Elf_Word type, elfcpp::Elf_Xword flags); |
+ elfcpp::Elf_Word type, elfcpp::Elf_Xword flags, |
+ bool is_interp, bool is_dynamic_linker_section); |
// Choose the output section for NAME in RELOBJ. |
Output_section* |
choose_output_section(const Relobj* relobj, const char* name, |
elfcpp::Elf_Word type, elfcpp::Elf_Xword flags, |
- bool is_input_section); |
+ bool is_input_section, bool is_interp, |
+ bool is_dynamic_linker_section); |
// Create a new Output_section. |
Output_section* |
make_output_section(const char* name, elfcpp::Elf_Word type, |
- elfcpp::Elf_Xword flags); |
+ elfcpp::Elf_Xword flags, bool is_interp, |
+ bool is_dynamic_linker_section); |
// Attach a section to a segment. |
void |