diff options
Diffstat (limited to 'xmake/scripts')
| -rwxr-xr-x | xmake/scripts/tools/gas-preprocessor.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/scripts/tools/gas-preprocessor.pl b/xmake/scripts/tools/gas-preprocessor.pl index 9cc361050..98dfe4ad9 100755 --- a/xmake/scripts/tools/gas-preprocessor.pl +++ b/xmake/scripts/tools/gas-preprocessor.pl @@ -956,6 +956,7 @@ sub handle_serialized_line { $line =~ s/\.arch/$comm$&/x if $as_type =~ /^(apple-|clang|armasm)/; $line =~ s/\.object_arch/$comm$&/x if $as_type =~ /^(apple-|armasm)/; $line =~ s/.section\s+.note.GNU-stack.*/$comm$&/x if $as_type =~ /^(apple-|armasm)/; + $line =~ s/\.hidden/$comm$&/x if $as_type =~ /^(apple-|clang|armasm)/; $line =~ s/\.syntax/$comm$&/x if $as_type =~ /armasm/; |
