[all-commits] [llvm/llvm-project] e027b9: [NFCI][ELF] Merge AddendOnly and AddendOnlyWithTar...
Jessica Clarke via All-commits
all-commits at lists.llvm.org
Wed Jul 30 09:05:38 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e027b9258ac8779e45363a13eeb0dc00c19f689e
https://github.com/llvm/llvm-project/commit/e027b9258ac8779e45363a13eeb0dc00c19f689e
Author: Jessica Clarke <jrtc27 at jrtc27.com>
Date: 2025-07-30 (Wed, 30 Jul 2025)
Changed paths:
M lld/ELF/Relocations.cpp
M lld/ELF/SyntheticSections.cpp
M lld/ELF/SyntheticSections.h
M lld/ELF/Writer.cpp
Log Message:
-----------
[NFCI][ELF] Merge AddendOnly and AddendOnlyWithTargetVA
The former is just a special case of the latter, ignoring the expr and
always just using the addend, allowing (and enforcing) the sym is null.
If we just use dummySym then we don't need to maintain this as a
separate case, since R_ADDEND will return the addend unmodified for the
call to getRelocTargetVA.
Reviewers: MaskRay, arichardson
Reviewed By: MaskRay, arichardson
Pull Request: https://github.com/llvm/llvm-project/pull/150797
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