[PATCH 2/2] x86, powerpc: remove -funit-at-a-time compiler option entirely
Michael Ellerman
mpe at ellerman.id.au
Mon Nov 12 22:22:46 AEDT 2018
Masahiro Yamada <yamada.masahiro at socionext.com> writes:
> GCC 4.6 manual says:
>
> -funit-at-a-time
> This option is left for compatibility reasons. -funit-at-a-time has
> no effect, while -fno-unit-at-a-time implies -fno-toplevel-reorder
> and -fno-section-anchors.
> Enabled by default.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---
>
> arch/powerpc/Makefile | 4 ----
> arch/x86/Makefile | 4 ----
> arch/x86/Makefile.um | 5 -----
> 3 files changed, 13 deletions(-)
>
> diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
> index 8a2ce14..854199c 100644
> --- a/arch/powerpc/Makefile
> +++ b/arch/powerpc/Makefile
> @@ -228,10 +228,6 @@ KBUILD_CFLAGS += $(call cc-option,-mno-vsx)
> KBUILD_CFLAGS += $(call cc-option,-mno-spe)
> KBUILD_CFLAGS += $(call cc-option,-mspe=no)
>
> -# Enable unit-at-a-time mode when possible. It shrinks the
> -# kernel considerably.
> -KBUILD_CFLAGS += $(call cc-option,-funit-at-a-time)
> -
Thanks for cleaning it up.
Acked-by: Michael Ellerman <mpe at ellerman.id.au>
cheers
More information about the Linuxppc-dev
mailing list