summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kirth <paulkirth@google.com>2024-04-04 16:12:17 -0700
committerPaul Kirth <paulkirth@google.com>2024-04-04 16:12:17 -0700
commit1a6097022019fbd96da43c2cd4e33e104d440904 (patch)
tree590d3236d5b3f6864a1e483cf8dd2e1b26c7aa21
parentacee74f94cbbb234356dca0b99568f6b6fc77c7a (diff)
Created using spr 1.3.4 [skip ci]
-rw-r--r--lld/ELF/Arch/RISCV.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/ELF/Arch/RISCV.cpp b/lld/ELF/Arch/RISCV.cpp
index 8654d58cc171..2eca862bd8ee 100644
--- a/lld/ELF/Arch/RISCV.cpp
+++ b/lld/ELF/Arch/RISCV.cpp
@@ -1104,8 +1104,8 @@ static void mergeAtomic(DenseMap<unsigned, unsigned>::iterator it,
return;
case AtomicABI::A7:
error(toString(oldSection) + " has atomic_abi=" + Twine(oldTag) +
- " but " + toString(newSection) +
- " has atomic_abi=" + Twine(newTag));
+ " but " + toString(newSection) +
+ " has atomic_abi=" + Twine(newTag));
return;
};
@@ -1126,8 +1126,8 @@ static void mergeAtomic(DenseMap<unsigned, unsigned>::iterator it,
return;
case AtomicABI::A6C:
error(toString(oldSection) + " has atomic_abi=" + Twine(oldTag) +
- " but " + toString(newSection) +
- " has atomic_abi=" + Twine(newTag));
+ " but " + toString(newSection) +
+ " has atomic_abi=" + Twine(newTag));
return;
};
default: