[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/16065] New: windres aligns resources to 32 bits, even for
mity at morous dot org
[Bug binutils/16065] New: windres aligns resources to 32 bits, even for 64 bit target
Sat, 19 Oct 2013 17:31:36 +0000
Bug ID: 16065
Summary: windres aligns resources to 32 bits, even for 64 bit
Version: 2.25 (HEAD)
Assignee: unassigned at sourceware dot org
Reporter: mity at morous dot org
Currently windres aligns resources data to 32 bits. Although it does work, it
is IMO suboptimal and 64-bit alignment is in this case superior for the
* The alignment determines lower bits of the resource when mapped into process
memory. Especially for 64-bit processes, it is better if the resource starts on
* Note that resources in 32-bit DLLs can still be accessed from 64-bit
processes, even this case is much less common, of course. Consider
LoadLibraryEx() with flag LOAD_LIBRARY_AS_IMAGE. Or the res:// protocol in
Internet Explorer for accessing the resources.
* Resource compiler from MS Visual Studio aligns the resources to 64 bits
(tested with MSVC Express, version 10).
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/16065] New: windres aligns resources to 32 bits, even for 64 bit target,
mity at morous dot org <=