[all-commits] [llvm/llvm-project] c93c76: [LLD] [COFF] Set the right alignment for DelayDire...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Mon Mar 11 15:03:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c93c76b562784926b22a69d3f82a5032dcb4a274
      https://github.com/llvm/llvm-project/commit/c93c76b562784926b22a69d3f82a5032dcb4a274
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-03-12 (Tue, 12 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.



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