Re: [PATCH v2 10/10] gcov: Remove old GCC 3.4 support

Peter Oberparleiter
2020-01-28T14:56:16Z

On 23.01.2020 16:33, Will Deacon wrote:
> The kernel requires at least GCC 4.8 in order to build, and so there is
> no need to cater for the pre-4.7 gcov format.
>
> Remove the obsolete code.
>
> Cc: Peter Oberparleiter <oberpar@linux.ibm.com>
> Signed-off-by: Will Deacon <will@kernel.org>
> ---
> kernel/gcov/Kconfig | 24 --
> kernel/gcov/Makefile | 3 +-
> kernel/gcov/gcc_3_4.c | 573 ------------------------------------------
> 3 files changed, 1 insertion(+), 599 deletions(-)
> delete mode 100644 kernel/gcov/gcc_3_4.c

Acked-by: Peter Oberparleiter <oberpar@linux.ibm.com>

Compiles, boots, produces coverage output on a s390 system with a
recent-ish GCC version, so that change is fine by me.

There's a final reference to the gcc_3_4.c file in the gcc_4_7.c header
comment, but its probably not worth the extra effort to adjust that as well.

--
Peter Oberparleiter
Linux on Z Development - IBM Germany