[all-commits] [llvm/llvm-project] f5bfc8: [LoongArch] Add relax feature and keep relocations...
Jinyang He via All-commits
all-commits at lists.llvm.org
Wed Nov 15 19:01:40 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f5bfc833fcbf17a5876911783d1adaca7028d20c
https://github.com/llvm/llvm-project/commit/f5bfc833fcbf17a5876911783d1adaca7028d20c
Author: Jinyang He <hejinyang at loongson.cn>
Date: 2023-11-16 (Thu, 16 Nov 2023)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArch.td
M llvm/lib/Target/LoongArch/LoongArchSubtarget.h
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchELFObjectWriter.cpp
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCTargetDesc.h
A llvm/test/MC/LoongArch/Relocations/relax-attr.s
Log Message:
-----------
[LoongArch] Add relax feature and keep relocations (#72191)
Add relax feature. To support linker relocation, we should make
relocation with a symbol rather than section plus offset, and keep all
relocations with non-abs symbol.
More information about the All-commits
mailing list