[all-commits] [llvm/llvm-project] 32f514: [JITLink][i386] Support R_386_GOT32X using existin...

Lang Hames via All-commits all-commits at lists.llvm.org
Wed May 7 17:08:10 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32f514c68d78530f7d7adee883e1b4fc8dd1e9fd
      https://github.com/llvm/llvm-project/commit/32f514c68d78530f7d7adee883e1b4fc8dd1e9fd
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-05-08 (Thu, 08 May 2025)

  Changed paths:
    M llvm/lib/ExecutionEngine/JITLink/ELF_i386.cpp
    M llvm/test/ExecutionEngine/JITLink/i386/ELF_i386_small_pic_relocations_got.s

  Log Message:
  -----------
  [JITLink][i386] Support R_386_GOT32X using existing non-relaxable edge kind.

R_386_GOT32 was already handled by lowering to
EdgeKind_i386::RequestGOTAndTransformToDelta32FromGOT. R_386_GOT32X is just an
optionally relaxable version of R_386_GOT32, so we can lower to the same edge
kind.

I've left a TODO to add a relaxable edge kind and update the i386 relaxation
optimization in the future, though I'll probably leave this as an exercise for
any i386 aficionados out there. ;)



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