[all-commits] [llvm/llvm-project] 2fc8be: [LLD] [COFF] Set the right alignment for DelayDire...
Martin Storsjö via All-commits
all-commits at lists.llvm.org
Wed Mar 13 11:00:51 PDT 2024
Branch: refs/heads/release/18.x
Home: https://github.com/llvm/llvm-project
Commit: 2fc8bea42f992901cf4dbbe8b62c3383b2eb0288
https://github.com/llvm/llvm-project/commit/2fc8bea42f992901cf4dbbe8b62c3383b2eb0288
Author: Martin Storsjö <martin at martin.st>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M lld/COFF/DLL.cpp
M lld/test/COFF/delayimports-armnt.yaml
Log Message:
-----------
[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.
(cherry picked from commit c93c76b562784926b22a69d3f82a5032dcb4a274)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list