[all-commits] [llvm/llvm-project] d23fd8: [ELF] Replace noneRel = R_*_NONE with static const...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Sep 25 15:16:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d23fd8ae8906866244482ee623288a657b6c5e9a
      https://github.com/llvm/llvm-project/commit/d23fd8ae8906866244482ee623288a657b6c5e9a
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-09-25 (Sat, 25 Sep 2021)

  Changed paths:
    M lld/ELF/Arch/AArch64.cpp
    M lld/ELF/Arch/AMDGPU.cpp
    M lld/ELF/Arch/ARM.cpp
    M lld/ELF/Arch/AVR.cpp
    M lld/ELF/Arch/Hexagon.cpp
    M lld/ELF/Arch/Mips.cpp
    M lld/ELF/Arch/PPC.cpp
    M lld/ELF/Arch/PPC64.cpp
    M lld/ELF/Arch/RISCV.cpp
    M lld/ELF/Arch/SPARCV9.cpp
    M lld/ELF/Arch/X86.cpp
    M lld/ELF/Arch/X86_64.cpp
    M lld/ELF/Target.h

  Log Message:
  -----------
  [ELF] Replace noneRel = R_*_NONE with static constexpr. NFC

All architectures define R_*_NONE to 0.




More information about the All-commits mailing list