Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1346601
| From | Jiri Olsa <jolsa@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] tools build: use .s extension for preprocessed assembler code |
| Date | 2016-03-01 14:10 +0100 |
| Message-ID | <r7SdQ-18V-19@gated-at.bofh.it> (permalink) |
| References | <qX4BI-76A-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Feb 01, 2016 at 02:59:00AM +0900, Masahiro Yamada wrote: > 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 Acked-by: Jiri Olsa <jolsa@kernel.org> thanks, jirka > > 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 >
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] tools build: use .s extension for preprocessed assembler code Jiri Olsa <jolsa@redhat.com> - 2016-03-01 14:10 +0100
csiph-web