summaryrefslogtreecommitdiff
path: root/xmake/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2015-12-04 17:39:42 +0800
committerruki <[email protected]>2015-12-04 17:39:42 +0800
commita00d70829b2bdecc295d800c5402e96b9f538264 (patch)
tree74f4fe95a0251b9d2f078c5226287a26aa705b8a /xmake/scripts
parent9ba9c65a0e8069b1c916fe2f482c8e6f23636452 (diff)
fix .hidden error for iphoneos
Diffstat (limited to 'xmake/scripts')
-rwxr-xr-xxmake/scripts/tools/gas-preprocessor.pl1
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/;