Skip to content

Commit 1bd5df7

Browse files
committed
[ELF] Correct a comment about ^=. NFC
GNU ld added ^= support in July 2023.
1 parent 9eb1f2d commit 1bd5df7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lld/ELF/ScriptParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ SymbolAssignment *ScriptParser::readSymbolAssignment(StringRef name) {
10831083
StringRef op = next();
10841084
assert(op == "=" || op == "*=" || op == "/=" || op == "+=" || op == "-=" ||
10851085
op == "&=" || op == "^=" || op == "|=" || op == "<<=" || op == ">>=");
1086-
// Note: GNU ld does not support %= or ^=.
1086+
// Note: GNU ld does not support %=.
10871087
Expr e = readExpr();
10881088
if (op != "=") {
10891089
std::string loc = getCurrentLocation();

0 commit comments

Comments
 (0)