aboutsummaryrefslogtreecommitdiff
path: root/lld/ELF/Arch/LoongArch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/Arch/LoongArch.cpp')
-rw-r--r--lld/ELF/Arch/LoongArch.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lld/ELF/Arch/LoongArch.cpp b/lld/ELF/Arch/LoongArch.cpp
index 8802c8c..838ca4d 100644
--- a/lld/ELF/Arch/LoongArch.cpp
+++ b/lld/ELF/Arch/LoongArch.cpp
@@ -1396,9 +1396,6 @@ void LoongArch::relocateAlloc(InputSectionBase &sec, uint8_t *buf) const {
// change in section sizes can have cascading effect and require another
// relaxation pass.
bool LoongArch::relaxOnce(int pass) const {
- if (ctx.arg.relocatable)
- return false;
-
if (pass == 0)
initSymbolAnchors(ctx);