Fix a bug recently introduced to the linker where it would complain about a section...
[deliverable/binutils-gdb.git] / ld / emultempl / aarch64elf.em
index 4c13f26f4e11a2830e57db9673d29a842a83a2ad..93f60a9b61311fb38f67101dd4787032e2d2ffc9 100644 (file)
@@ -169,7 +169,7 @@ elf${ELFSIZE}_aarch64_add_stub_section (const char *stub_sec_name,
   lang_output_section_statement_type *os;
   struct hook_stub_info info;
 
-  flags = (SEC_ALLOC | SEC_LOAD | SEC_READONLY | SEC_CODE
+  flags = (SEC_ALLOC | SEC_LOAD | SEC_READONLY | SEC_CODE | SEC_LINKER_CREATED
           | SEC_HAS_CONTENTS | SEC_RELOC | SEC_IN_MEMORY | SEC_KEEP);
   stub_sec = bfd_make_section_anyway_with_flags (stub_file->the_bfd,
                                                 stub_sec_name, flags);
This page took 0.038947 seconds and 4 git commands to generate.