[all-commits] [llvm/llvm-project] 8f671a: [LoongArch] Always emit symbol-based relocations r...
ZhaoQi via All-commits
all-commits at lists.llvm.org
Mon Aug 18 05:16:11 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8f671a675f52a7bbf33df5d4c8545bab31d28689
https://github.com/llvm/llvm-project/commit/8f671a675f52a7bbf33df5d4c8545bab31d28689
Author: ZhaoQi <zhaoqi01 at loongson.cn>
Date: 2025-08-18 (Mon, 18 Aug 2025)
Changed paths:
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchELFObjectWriter.cpp
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCTargetDesc.h
M llvm/test/CodeGen/LoongArch/linker-relaxation.ll
M llvm/test/CodeGen/LoongArch/xray-attribute-instrumentation.ll
M llvm/test/DebugInfo/LoongArch/dwarf-loongarch-relocs.ll
M llvm/test/MC/LoongArch/Misc/cfi-advance.s
M llvm/test/MC/LoongArch/Relocations/fde-reloc.s
M llvm/test/MC/LoongArch/Relocations/relax-addsub.s
M llvm/test/MC/LoongArch/Relocations/relax-attr.s
M llvm/test/MC/LoongArch/Relocations/relocation-specifier.s
M llvm/test/MC/LoongArch/Relocations/sub-expr.s
Log Message:
-----------
[LoongArch] Always emit symbol-based relocations regardless of relaxation (#153943)
This commit changes all relocations to be relocated with symbols.
Without this commit, errors may occur in some cases, such as when using
`llc/lto+relax`, or combining relaxed and norelaxed object files using
`ld -r`.
Some tests updated.
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