bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/26378] [2.35 regression] incorrect WAX section flags in linker o


From: hjl.tools at gmail dot com
Subject: [Bug ld/26378] [2.35 regression] incorrect WAX section flags in linker output
Date: Wed, 12 Aug 2020 19:05:17 +0000

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

[Prev in Thread] Current Thread [Next in Thread]