Skip to content

Commit 0f8e101

Browse files
author
Janne Grunau
committed
aarch64: convert dup to something Xcode5 understands
1 parent eca4c18 commit 0f8e101

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gas-preprocessor.pl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,10 @@ sub handle_serialized_line {
803803
$line =~ s/\b(saddl2?)(\s+v[0-3]?\d\.(\w+))\b/$1.$3$2/;
804804
$line =~ s/\b(v[0-3]?\d)\.\w+\b/$1/g;
805805
}
806+
if ($line =~ /^\s*dup\b.*\]$/) {
807+
$line =~ s/\bdup(\s+v[0-3]?\d)\.(\w+)\b/dup.$2$1/g;
808+
$line =~ s/\b(v[0-3]?\d)\.[bhsdBHSD](\[\d\])$/$1$2/g;
809+
}
806810
}
807811
}
808812

0 commit comments

Comments
 (0)