From a00d70829b2bdecc295d800c5402e96b9f538264 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 4 Dec 2015 17:39:42 +0800 Subject: fix .hidden error for iphoneos --- xmake/scripts/tools/gas-preprocessor.pl | 1 + 1 file changed, 1 insertion(+) 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/; -- cgit v1.3.1