https://sourceware.org/bugzilla/show_bug.cgi?id=30359
--- Comment #9 from Pali Rohár <pali at kernel dot org> --- That check s_size != 0 does not really look good. I have quickly scanned wine and reactos source codes and seems that they require non-zero VMA addresses for resources. Maybe another check could be based on existance of IMAGE_SCN_MEM_DISCARDABLE flag? Well, this zero VMA for resource section is edge case. Why is LD generating it? I think that this is what should be fixed. -- You are receiving this mail because: You are on the CC list for the bug.