[all-commits] [llvm/llvm-project] 5a5a07: [LLD][ELF][Hexagon] Support GDPLT transforms

SidManning via All-commits all-commits at lists.llvm.org
Fri Mar 13 09:02:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a5a075c5b19b9024f53ecd03460c6e379798893
      https://github.com/llvm/llvm-project/commit/5a5a075c5b19b9024f53ecd03460c6e379798893
  Author: Sid Manning <sidneym at quicinc.com>
  Date:   2020-03-13 (Fri, 13 Mar 2020)

  Changed paths:
    M lld/ELF/Arch/Hexagon.cpp
    M lld/ELF/Relocations.cpp
    M lld/ELF/Relocations.h
    M lld/ELF/Writer.cpp
    A lld/test/ELF/hexagon-tls-gd-xform.s

  Log Message:
  -----------
  [LLD][ELF][Hexagon] Support GDPLT transforms

Hexagon ABI specifies that call x at gdplt is transformed to call __tls_get_addr.

Example:
     call x at gdplt
is changed to
     call __tls_get_addr

When x is an external tls variable.

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




More information about the All-commits mailing list