lkml.org 
[lkml]   [2016]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] tools build: use .s extension for preprocessed assembler code
From
Hi Arnaldo,

Do you have any comment on this patch?

(I hope I am addressing myself to a right person.
"git log --pretty=fuller tools/build/Makefile.build" showed that
several patches in this area had been applied by you.)


Thanks,


2016-02-01 2:59 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> The "man gcc" says .i extension represents the file is C source code
> that should not be preprocessed. Here, .s should be used.
>
> For clarification,
> .c ---(preprocess)---> .i
> .S ---(preprocess)---> .s
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
> tools/build/Makefile.build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/build/Makefile.build b/tools/build/Makefile.build
> index 4a96473..ee566e8 100644
> --- a/tools/build/Makefile.build
> +++ b/tools/build/Makefile.build
> @@ -85,7 +85,7 @@ $(OUTPUT)%.i: %.c FORCE
> $(call rule_mkdir)
> $(call if_changed_dep,cc_i_c)
>
> -$(OUTPUT)%.i: %.S FORCE
> +$(OUTPUT)%.s: %.S FORCE
> $(call rule_mkdir)
> $(call if_changed_dep,cc_i_c)
>
> --
> 1.9.1
>



--
Best Regards
Masahiro Yamada

\
 
 \ /
  Last update: 2016-03-01 07:21    [W:0.052 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site