[all-commits] [llvm/llvm-project] c81fe3: [lld][ELF] Don't apply --fix-cortex-a53-843419 to ...

Eli Friedman via All-commits all-commits at lists.llvm.org
Mon Jan 20 15:38:19 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c81fe34718d7bc4088c849b507cc7038e043f1bc
      https://github.com/llvm/llvm-project/commit/c81fe34718d7bc4088c849b507cc7038e043f1bc
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2020-01-20 (Mon, 20 Jan 2020)

  Changed paths:
    M lld/ELF/Driver.cpp
    M lld/test/ELF/aarch64-cortex-a53-843419-recognize.s

  Log Message:
  -----------
  [lld][ELF] Don't apply --fix-cortex-a53-843419 to relocatable links.

The code doesn't apply the fix correctly to relocatable links. I could
try to fix the code that applies the fix, but it's pointless: we don't
actually know what the offset will be in the final executable. So just
ignore the flag for relocatable links.

Issue discovered building Android.

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




More information about the All-commits mailing list