[02/20] Update a comment about using the .func directive

Message ID 1395664691-60544-2-git-send-email-martin@martin.st
State Committed
Commit f74c43968c06c6ef1f47208543acc0db128d33b2
Headers show

Commit Message

Martin Storsjö March 24, 2014, 12:37 p.m.
It is no longer commented out at this point.
---
 gas-preprocessor.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Janne Grunau March 24, 2014, 12:44 p.m. | #1
On 2014-03-24 14:37:53 +0200, Martin Storsjö wrote:
> It is no longer commented out at this point.
> ---
>  gas-preprocessor.pl | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl
> index 14a6309..d6779cd 100755
> --- a/gas-preprocessor.pl
> +++ b/gas-preprocessor.pl
> @@ -589,7 +589,7 @@ foreach my $line (@pass1_lines) {
>      # mach-o local symbol names start with L (no dot)
>      $line =~ s/(?<!\w)\.(L\w+)/$1/g;
>  
> -    # recycle the commented '.func' directive for '.thumb_func'
> +    # recycle the '.func' directive for '.thumb_func'
>      if ($thumb and $as_type =~ /^apple-/) {
>          $line =~ s/\.func/.thumb_func/x;
>      }

ok

Janne

Patch

diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl
index 14a6309..d6779cd 100755
--- a/gas-preprocessor.pl
+++ b/gas-preprocessor.pl
@@ -589,7 +589,7 @@  foreach my $line (@pass1_lines) {
     # mach-o local symbol names start with L (no dot)
     $line =~ s/(?<!\w)\.(L\w+)/$1/g;
 
-    # recycle the commented '.func' directive for '.thumb_func'
+    # recycle the '.func' directive for '.thumb_func'
     if ($thumb and $as_type =~ /^apple-/) {
         $line =~ s/\.func/.thumb_func/x;
     }