https://sourceware.org/bugzilla/show_bug.cgi?id=26378

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
The relevant code is in assign_file_positions_for_load_sections:

         for (i = 0; i < m->count; i++)
            if ((m->sections[i]->flags & (SEC_LOAD | SEC_HAS_CONTENTS)) == 0) 
              /* If we aren't making room for this section, then
                 it must be SHT_NOBITS regardless of what we've
                 set via struct bfd_elf_special_section.  */
              elf_section_type (m->sections[i]) = SHT_NOBITS;

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to