[all-commits] [llvm/llvm-project] ef454c: [jitlink] Adding support for PCRel32GOTLoad in ELF...

Jared Wyles via All-commits all-commits at lists.llvm.org
Wed Jul 15 14:15:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ef454c5444edf564557cbe226dd12bc9e2aae892
      https://github.com/llvm/llvm-project/commit/ef454c5444edf564557cbe226dd12bc9e2aae892
  Author: Jared Wyles <jared.wyles at gmail.com>
  Date:   2020-07-16 (Thu, 16 Jul 2020)

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

  Log Message:
  -----------
  [jitlink] Adding support for PCRel32GOTLoad in ELF x86 for the jitlinker

Summary: This adds the basic support for GOT in elf x86.
Was able to just get away using the macho code by generalising the edges.
There will be a follow up patch to turn that into a generic utility for both of the x86 and Mach-O code.

This patch also lands support for relocations relative to symbol.

Reviewers: lhames

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83748




More information about the All-commits mailing list