[all-commits] [llvm/llvm-project] c3c9e4: [ELF] Add InputSectionBase::{addRelocs, relocs} and...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sun Nov 20 20:12:17 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c3c9e45312874ff890723f54cabfd41e43b2dbc4
https://github.com/llvm/llvm-project/commit/c3c9e45312874ff890723f54cabfd41e43b2dbc4
Author: Fangrui Song <i at maskray.me>
Date: 2022-11-21 (Mon, 21 Nov 2022)
Changed paths:
M lld/ELF/AArch64ErrataFix.cpp
M lld/ELF/ARMErrataFix.cpp
M lld/ELF/Arch/AArch64.cpp
M lld/ELF/Arch/PPC.cpp
M lld/ELF/Arch/PPC64.cpp
M lld/ELF/Arch/RISCV.cpp
M lld/ELF/Arch/X86.cpp
M lld/ELF/Arch/X86_64.cpp
M lld/ELF/InputSection.cpp
M lld/ELF/InputSection.h
M lld/ELF/Relocations.cpp
M lld/ELF/SyntheticSections.cpp
M lld/ELF/SyntheticSections.h
M lld/ELF/Target.cpp
Log Message:
-----------
[ELF] Add InputSectionBase::{addRelocs,relocs} and GotSection::addConstant to add/access relocations
to prepare for changing `relocations` from a SmallVector to a pointer.
Also change the `isec` parameter in `addAddendOnlyRelocIfNonPreemptible` to `GotSection &`.
More information about the All-commits
mailing list