Add support for non-contiguous memory regions
[deliverable/binutils-gdb.git] / ld / emultempl / armelf.em
index efdcf5a2aa7b4d231eaede997bac09323746fb33..fb5bbf85f6f8f308b2fab645074dfff5c156877e 100644 (file)
@@ -227,7 +227,8 @@ elf32_arm_add_stub_section (const char * stub_sec_name,
   struct hook_stub_info info;
 
   flags = (SEC_ALLOC | SEC_LOAD | SEC_READONLY | SEC_CODE
-          | SEC_HAS_CONTENTS | SEC_RELOC | SEC_IN_MEMORY | SEC_KEEP);
+          | SEC_HAS_CONTENTS | SEC_RELOC | SEC_IN_MEMORY | SEC_KEEP
+          | SEC_LINKER_CREATED);
   stub_sec = bfd_make_section_anyway_with_flags (stub_file->the_bfd,
                                                 stub_sec_name, flags);
   if (stub_sec == NULL)
This page took 0.025727 seconds and 4 git commands to generate.