[all-commits] [llvm/llvm-project] bd47ba: [ELF][NFC] Allow non-GotSection for addAddendOnlyR...
Jessica Clarke via All-commits
all-commits at lists.llvm.org
Wed Aug 14 18:50:29 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bd47ba705607033c3dab0037a8d64159b58bedb4
https://github.com/llvm/llvm-project/commit/bd47ba705607033c3dab0037a8d64159b58bedb4
Author: Jessica Clarke <jrtc27 at jrtc27.com>
Date: 2024-08-15 (Thu, 15 Aug 2024)
Changed paths:
M lld/ELF/SyntheticSections.cpp
M lld/ELF/SyntheticSections.h
Log Message:
-----------
[ELF][NFC] Allow non-GotSection for addAddendOnlyRelocIfNonPreemptible (#104228)
This was done as an afterthought in c3c9e4531287 without justification.
Nothing relies on it being a specific kind of section, and downstream in
CHERI LLVM we pass a non-GotSection to this function. Thus revert this
overly-restrictive change and allow downstreams to pass other section
types again.
This partially reverts commit c3c9e45312874ff890723f54cabfd41e43b2dbc4.
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