[all-commits] [llvm/llvm-project] 2aae21: [X86] Add REX prefix for GOTTPOFF/TLSDESC relocs i...

Harald van Dijk via All-commits all-commits at lists.llvm.org
Tue Dec 15 15:07:56 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2aae2136d5c6b2da69787934f5963a6b3486e5fe
      https://github.com/llvm/llvm-project/commit/2aae2136d5c6b2da69787934f5963a6b3486e5fe
  Author: Harald van Dijk <harald at gigawatt.nl>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
    A llvm/test/MC/X86/tlsdesc-x32.s

  Log Message:
  -----------
  [X86] Add REX prefix for GOTTPOFF/TLSDESC relocs in x32 mode

The REX prefix is needed to allow linker relaxations: even if the
instruction we emit may not need it, the linker may change it to a
different instruction which does need it.




More information about the All-commits mailing list