Re: [patch] Fix thinko in powerpc default specs for -mabi

2022-10-04 Thread Olivier Hainque via Gcc-patches
Hi Segher, > On 3 Oct 2022, at 18:13, Segher Boessenkool > wrote: > > -mabi= does two separate things, unfortunately. > > First, you can use it to set the base ABI: elfv1, elfv2. But you can > also use it to set ABI variants, ABI options: -mabi={no-,}altivec, > -mabi={ieee,ibm}longdouble, -ma

Re: [patch] Fix thinko in powerpc default specs for -mabi

2022-10-03 Thread Segher Boessenkool
Hi! On Fri, Sep 23, 2022 at 11:49:24AM -0400, Olivier Hainque wrote: > For a powerpc compiler configured with --with-abi=elfv2, an explicit > -mabi option other than elfv1 fails to override the default. > > For example, after > > [...]/configure --enable-languages=c --target=powerpc-elf --with

Re: [patch] Fix thinko in powerpc default specs for -mabi

2022-10-02 Thread Olivier Hainque via Gcc-patches
Hello, Gentle ping for https://gcc.gnu.org/pipermail/gcc-patches/2022-September/602143.html > 2022-09-14 Olivier Hainque > > * config/rs6000/option-defaults.h (OPTION_DEFAULT_SPECS): > Have any -mabi, not only -mabi=elfv*, override the --with-abi > configuration defa

[patch] Fix thinko in powerpc default specs for -mabi

2022-09-23 Thread Olivier Hainque via Gcc-patches
Hello, For a powerpc compiler configured with --with-abi=elfv2, an explicit -mabi option other than elfv1 fails to override the default. For example, after [...]/configure --enable-languages=c --target=powerpc-elf --with-abi=elfv2 make all-gcc This command: ./gcc/xgcc -B./gcc/ t.c -mabi=