Re: .h.s files spam

From: Sam Ravnborg
Date: Thu Jul 25 2019 - 17:34:51 EST


Hi Alexey

On Thu, Jul 25, 2019 at 10:56:33PM +0300, Alexey Dobriyan wrote:
> What are these files for?
>
> $ cat ../obj/include/linux/kernel.h.s
> .file "null"
> .text
> .ident "GCC: (Gentoo 9.1.0-r1 p1.1) 9.1.0"
> .section .note.GNU-stack,"",@progbits
>
> $ find ../obj/ -type f -name '*.s' | wc -l
> 4047
>
> It is "allyesconfig" in case someone is going to reproduce it.

The files are created by the new headers-test-y stuff.
We now verify that a big part of the header files in include/*
are self-contained. (They include all their dependencies).
The header-test-y support is also enabled for the rest of the kernel,
but used only in very few places outside include/* as of today.

Sam