Files
clang-p2996/lld/COFF/DLL.cpp
Martin Storsjö c93c76b562 [LLD] [COFF] Set the right alignment for DelayDirectoryChunk (#84697)
This makes a difference when linking executables with delay loaded
libraries for arm32; the delay loader implementation can load data from
the registry with instructions that assume alignment.

This issue does not show up when linking in MinGW mode, because a
PseudoRelocTableChunk gets injected, which also sets alignment, even if
the chunk itself is empty.
2024-03-12 00:03:26 +02:00

29 KiB