[Skiboot] [PATCH] build: use -mcpu=power8

Oliver O'Halloran oohall at gmail.com
Thu Oct 3 13:15:36 AEST 2019


On Wed, Sep 25, 2019 at 11:15 AM Nicholas Piggin <npiggin at gmail.com> wrote:
>
> POWER7 is no longer supported.

merged as of 6266148e3209

>
> Acked-by: Stewart Smith <stewart at flamingspork.com>
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
> ---
>  Makefile.main | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Makefile.main b/Makefile.main
> index cb65cbc7c..2d60bbbf5 100644
> --- a/Makefile.main
> +++ b/Makefile.main
> @@ -76,7 +76,7 @@ CPPFLAGS += -DDEBUG -DCCAN_LIST_DEBUG
>  endif
>
>  CFLAGS := -fno-strict-aliasing -pie -fpie -fno-pic -mbig-endian -m64 -fno-asynchronous-unwind-tables
> -CFLAGS += -mcpu=power7
> +CFLAGS += -mcpu=power8
>  CFLAGS += -Wl,--oformat,elf64-powerpc -ggdb
>  CFLAGS += $(call try-cflag,$(CC),-ffixed-r13)
>  CFLAGS += $(call try-cflag,$(CC),-std=gnu11)
> @@ -135,7 +135,7 @@ LDFLAGS := -m64 -static -nostdlib -pie
>  LDFLAGS += -Wl,-pie
>  LDFLAGS += -Wl,-Ttext-segment,$(LD_TEXT) -Wl,-N -Wl,--build-id=none
>  LDFLAGS += -Wl,--no-multi-toc
> -LDFLAGS += -mcpu=power7 -mbig-endian -Wl,--oformat,elf64-powerpc
> +LDFLAGS += -mcpu=power8 -mbig-endian -Wl,--oformat,elf64-powerpc
>  LDFLAGS_FINAL = -EB -m elf64ppc --no-multi-toc -N --build-id=none --whole-archive
>  LDFLAGS_FINAL += -static -nostdlib -pie -Ttext-segment=$(LD_TEXT) --oformat=elf64-powerpc
>  LDFLAGS_FINAL += --orphan-handling=warn
> --
> 2.23.0
>
> _______________________________________________
> Skiboot mailing list
> Skiboot at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/skiboot


More information about the Skiboot mailing list