[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: |
i at maskray dot me |
Subject: |
[Bug ld/26378] [2.35 regression] incorrect WAX section flags in linker output |
Date: |
Fri, 11 Sep 2020 16:05:44 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26378
--- Comment #8 from Fangrui Song <i at maskray dot me> ---
(In reply to Alan Modra from comment #7)
> Your script made it NOLOAD, which for ELF means a bss style section.
I think the only hard requirement is the section type: SHT_NOBITS, not the
section flag: SHF_WRITE.
The documentation raises an example with a section named 'ROM':
https://sourceware.org/binutils/docs/ld/Output-Section-Type.html
One would not consider 'ROM' writable.
--
You are receiving this mail because:
You are on the CC list for the bug.