Skip to content

Commit

Permalink
Do not check relocs for SBF
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSte committed Aug 16, 2024
1 parent 51a0347 commit 3e640d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lld/ELF/Driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1754,7 +1754,7 @@ static void setConfigs(opt::InputArgList &args) {
// builds and disabled otherwise. This check is enabled when writeAddends is
// true.
#ifndef NDEBUG
bool checkDynamicRelocsDefault = true;
bool checkDynamicRelocsDefault = m != EM_BPF && m != EM_SBF;
#else
bool checkDynamicRelocsDefault = false;
#endif
Expand Down

0 comments on commit 3e640d1

Please sign in to comment.