[all-commits] [llvm/llvm-project] 679c77: [Driver][Android] Removed obsoleted --warn-shared-...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Feb 4 09:30:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 679c77ede35aee6f6a5d1feee28a057e3705f58b
      https://github.com/llvm/llvm-project/commit/679c77ede35aee6f6a5d1feee28a057e3705f58b
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-02-04 (Fri, 04 Feb 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Gnu.cpp
    M clang/test/Driver/linux-ld.c

  Log Message:
  -----------
  [Driver][Android] Removed obsoleted --warn-shared-textrel

--warn-shared-textrel is ignored in ld.lld and obsoleted in GNU ld
(https://sourceware.org/bugzilla/show_bug.cgi?id=22909).

Note: binutils can be configured with --enable-textrel-check=[yes|error]
to make GNU ld error for text relocations by default, like ld.lld.

Reviewed By: srhines

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




More information about the All-commits mailing list