[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/30359] Create Resource-Only DLL
From: |
pali at kernel dot org |
Subject: |
[Bug ld/30359] Create Resource-Only DLL |
Date: |
Wed, 26 Apr 2023 23:23:29 +0000 |
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.
- [Bug ld/30359] New: Create Resource-Only DLL, pali at kernel dot org, 2023/04/15
- [Bug ld/30359] Create Resource-Only DLL, nickc at redhat dot com, 2023/04/18
- [Bug ld/30359] Create Resource-Only DLL, pali at kernel dot org, 2023/04/18
- [Bug ld/30359] Create Resource-Only DLL, nickc at redhat dot com, 2023/04/19
- [Bug ld/30359] Create Resource-Only DLL, pali at kernel dot org, 2023/04/21
- [Bug ld/30359] Create Resource-Only DLL, nickc at redhat dot com, 2023/04/25
- [Bug ld/30359] Create Resource-Only DLL, pali at kernel dot org, 2023/04/25
- [Bug ld/30359] Create Resource-Only DLL, pali at kernel dot org, 2023/04/25
- [Bug ld/30359] Create Resource-Only DLL, nickc at redhat dot com, 2023/04/26
- [Bug ld/30359] Create Resource-Only DLL,
pali at kernel dot org <=