[all-commits] [llvm/llvm-project] 6ca5c3: [LLD][COFF] Redirect __imp_ Symbols to __imp_aux_ ...

Jacek Caban via All-commits all-commits at lists.llvm.org
Mon Sep 16 15:01:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ca5c397a99aca2b9faa9b2d96238c5bda33010e
      https://github.com/llvm/llvm-project/commit/6ca5c397a99aca2b9faa9b2d96238c5bda33010e
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M lld/COFF/SymbolTable.cpp
    M lld/test/COFF/arm64ec-import.test

  Log Message:
  -----------
  [LLD][COFF] Redirect __imp_ Symbols to __imp_aux_ on ARM64EC for x64 object files (#108608)

On ARM64EC, __imp_ symbols reference the auxiliary IAT, while __imp_aux_
symbols reference the regular IAT. However, x86_64 code expects both to
reference the regular IAT. This change adjusts the symbols accordingly,
matching the behavior observed in the MSVC linker.



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