[all-commits] [llvm/llvm-project] 858f34: [Clang, SystemZ] Add support for option -mno-pic-d...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Thu Nov 17 08:33:36 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 858f347c1758e2f1da5a94e3de0baae7cae2a590
      https://github.com/llvm/llvm-project/commit/858f347c1758e2f1da5a94e3de0baae7cae2a590
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/pic.c

  Log Message:
  -----------
  [Clang, SystemZ] Add support for option -mno-pic-data-is-text-relative.

Add support for this GCC option which has the purpose of disallowing text
relative accesses of module local symbols with PIC. In effect, this changes
the code model to "medium".

Reviewed By: uweigand, efriedma, MaskRay

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




More information about the All-commits mailing list