[all-commits] [llvm/llvm-project] 996a8b: Re-apply "[JITLink][ELF] Add support for ELF::R_X8...

lhames via All-commits all-commits at lists.llvm.org
Fri Oct 23 09:49:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 996a8b42aa2d956c1f8fc1b001bcee543e2ef697
      https://github.com/llvm/llvm-project/commit/996a8b42aa2d956c1f8fc1b001bcee543e2ef697
  Author: Lang Hames <lhames at gmail.com>
  Date:   2020-10-23 (Fri, 23 Oct 2020)

  Changed paths:
    M llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
    M llvm/test/ExecutionEngine/JITLink/X86/ELF_x86-64_relocations.s

  Log Message:
  -----------
  Re-apply "[JITLink][ELF] Add support for ELF::R_X86_64_REX_GOTPCRELX relocation"

This re-applies e2fceec2fd1 with fixes. Apparently we already *do* support
relaxation for ELF, so we need to make sure the test case allocates a slab at
a fixed address, and that the R_X86_64_REX_GOTPCRELX test references an external
that is guaranteed to be out of range.




More information about the All-commits mailing list