Skip to content

Commit 9ee4a07

Browse files
committed
Handle local labels in expressions with .xword/.dword/.quad
1 parent 842a087 commit 9ee4a07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gas-preprocessor.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ sub handle_serialized_line {
958958
$xreg =~ s/w/x/;
959959
$line =~ s/\b$reg\b/$xreg/;
960960
}
961-
} elsif ($line =~ /^\s*.h?word.*\b\d+[bf]\b/) {
961+
} elsif ($line =~ /^\s*.([hxd]?word|quad).*\b\d+[bf]\b/) {
962962
while ($line =~ /\b(\d+)([bf])\b/g) {
963963
$line = handle_local_label($line, $1, $2);
964964
}

0 commit comments

Comments
 (0)