Re: [PATCH] Enable -mpcrel on PowerPC -mcpu=future ELF v2 systems, V3

2020-04-03 Thread Segher Boessenkool
Hi! On Thu, Apr 02, 2020 at 08:36:59PM -0400, Michael Meissner wrote: > I have changed the spelling of the macro to PCREL_SUPPORTED_BY_ABI (from > PCREL_SUPPORTED_BY_OS) since you pointed out it is more properly a function of > the particular ABI, rather than just an OS choice. No, I did not, and

Re: [PATCH] Enable -mpcrel on PowerPC -mcpu=future ELF v2 systems, V3

2020-04-02 Thread will schmidt via Gcc-patches
On Thu, 2020-04-02 at 20:36 -0400, Michael Meissner via Gcc-patches wrote: > Enable -mpcrel on PowerPC -mcpu=future ELF v2 systems, V3 > Hi, > This patch changes the default for -mcpu=future to be -mpcrel (i.e. > use > PC-relative addressing) if the ABI allows PC-relative relocations and > the u

[PATCH] Enable -mpcrel on PowerPC -mcpu=future ELF v2 systems, V3

2020-04-02 Thread Michael Meissner via Gcc-patches
Enable -mpcrel on PowerPC -mcpu=future ELF v2 systems, V3 This patch changes the default for -mcpu=future to be -mpcrel (i.e. use PC-relative addressing) if the ABI allows PC-relative relocations and the user did not use either -mno-pcrel or -mno-prefixed. I have changed the spelling of the macro