bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/30145] No way to specify PE IMAGE_SCN_* characteristics


From: pali at kernel dot org
Subject: [Bug ld/30145] No way to specify PE IMAGE_SCN_* characteristics
Date: Sun, 28 May 2023 13:52:03 +0000

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

--- Comment #10 from Pali Rohár <pali at kernel dot org> ---
Ah, flag 0x00020000 has not only two differet names IMAGE_SCN_MEM_16BIT and
IMAGE_SCN_MEM_PURGEABLE, but also two different meanings. For
IMAGE_FILE_MACHINE_I386 it is means that section is 16-bit, for
IMAGE_FILE_MACHINE_M68K it is set when section is executable (not sure why) and
for other IMAGE_FILE_MACHINE_* it seems to do nothing. It looks like that MS
used flag 0x00020000 for platform specific things. I guess that other "aliased"
flags would have also different meanings for different platforms...

I created bug #30496 and described here how IMAGE_SCN_MEM_16BIT behaves.

-- 
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]