[all-commits] [llvm/llvm-project] 72accb: [lld][LoongArch] Support the R_LARCH_{ADD, SUB}6 re...

Jinyang He via All-commits all-commits at lists.llvm.org
Tue Nov 14 17:57:58 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 72accbfd0a1023b3182202276904120524ff9200
      https://github.com/llvm/llvm-project/commit/72accbfd0a1023b3182202276904120524ff9200
  Author: Jinyang He <hejinyang at loongson.cn>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M lld/ELF/Arch/LoongArch.cpp
    M lld/test/ELF/loongarch-add-sub.s

  Log Message:
  -----------
  [lld][LoongArch] Support the R_LARCH_{ADD,SUB}6 relocation type (#72190)

The R_LARCH_{ADD,SUB}6 relocation type are usually used by DwarfCFA to
calculate a tiny offset. They appear after binutils 2.41, with GAS
enabling relaxation by default.




More information about the All-commits mailing list