binutils 2.14a 32-bit ARM PE/COFF as section flags

Nick Clifton nickc@redhat.com
Tue May 21 10:47:54 GMT 2024


Hi Paul,

> On the subject of "very old" - your reply is 2 months old

Yeah - sorry about that.  I am way behind on answering my emails...

>> Do you have a test case that demonstrates this ?
>>
>> I would like to think that this is a fixed bug, but it
>> would be good to be able to check and make sure.
> 
> If you look at out.txt in the attached nick.zip you will see:
> 
> Wrong are the lines 58 and 60. .text should have section flags
> "CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE", not just "CONTENTS,
> RELOC", and .data should have flags "CONTENTS, ALLOC, LOAD, RELOC,
> DATA", not just "CONTENTS, RELOC".

Thanks.  I was able to assemble your test case using an assembler built
from the current mainline development sources, and the problem is not
there.  (Ie the .text and .data sections have all of the expected flags).

So this is a solved problem, although I have no idea when exactly the
fix went in...

Cheers
   Nick



More information about the Binutils mailing list