diff options
author | Cary Coutant <ccoutant@gmail.com> | 2016-12-13 11:49:22 -0800 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2016-12-13 13:01:26 -0800 |
commit | 03fb64f837bd8466ba6e7b7cb8880f5c6c87daab (patch) | |
tree | 8ae79298e3d57cd7f118b5efcd2b8f47dd5b924a /gold/layout.h | |
parent | a6a51754740513db76fdee3aa153cdd51e87a24a (diff) | |
download | gdb-03fb64f837bd8466ba6e7b7cb8880f5c6c87daab.zip gdb-03fb64f837bd8466ba6e7b7cb8880f5c6c87daab.tar.gz gdb-03fb64f837bd8466ba6e7b7cb8880f5c6c87daab.tar.bz2 |
Do not use linker script to place static relocation sections.
gold/
PR gold/20522
* layout.cc (Layout::choose_output_section): Add is_reloc parameter.
Adjust all callers. Do not use linker script for is_reloc sections.
(Layout::layout_reloc): Pass is_reloc == true.
* layout.h (Layout::choose_output_section): Add is_reloc parameter.
Diffstat (limited to 'gold/layout.h')
-rw-r--r-- | gold/layout.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/layout.h b/gold/layout.h index 2263f0e..b399854 100644 --- a/gold/layout.h +++ b/gold/layout.h @@ -1149,7 +1149,7 @@ class Layout choose_output_section(const Relobj* relobj, const char* name, elfcpp::Elf_Word type, elfcpp::Elf_Xword flags, bool is_input_section, Output_section_order order, - bool is_relro); + bool is_relro, bool is_reloc); // Create a new Output_section. Output_section* |