[all-commits] [llvm/llvm-project] c8ed13: [RISCV] Remove unneeded fixup kinds for R_RISCV_{S...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Aug 9 12:54:16 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c8ed138c34ddb22610f18468c1b7938f9e2abae5
https://github.com/llvm/llvm-project/commit/c8ed138c34ddb22610f18468c1b7938f9e2abae5
Author: Fangrui Song <i at maskray.me>
Date: 2023-08-09 (Wed, 09 Aug 2023)
Changed paths:
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVFixupKinds.h
Log Message:
-----------
[RISCV] Remove unneeded fixup kinds for R_RISCV_{SET,ADD,SUB}*
These 8/16/32/64 fixup kinds from D103539 are no longer needed after
D155357.
R_RISCV_SET6/R_RISCV_SUB6 are unneeded even before D155357.
`return Value & 0x03` is incorrect, and the non-zero TargetOffset is
probably to affect applyFixup, but the relevant code is dead as Value == 0.
More information about the All-commits
mailing list