[all-commits] [llvm/llvm-project] 2e3d21: [LoongArch] Allow difference across sections (#141...

Jinyang He via All-commits all-commits at lists.llvm.org
Mon Jun 16 19:41:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e3d212e40bc6fca9fbe53978a87c901eb19a01d
      https://github.com/llvm/llvm-project/commit/2e3d212e40bc6fca9fbe53978a87c901eb19a01d
  Author: Jinyang He <hejinyang at loongson.cn>
  Date:   2025-06-17 (Tue, 17 Jun 2025)

  Changed paths:
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.h
    M llvm/test/MC/LoongArch/Misc/cfi-advance.s
    M llvm/test/MC/LoongArch/Relocations/fde-reloc.s
    M llvm/test/MC/LoongArch/Relocations/sub-expr.s

  Log Message:
  -----------
  [LoongArch] Allow difference across sections (#141722)

For SecA != SecB but SecB is current section, fallback for pcrel{64,32}
relocations. For linker relaxation being disabled and SecA == SecB,
return directly for avoid record relocations. In other cases, record
relocations which also allows across sections.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list