Re: [PATCH, V5] PowerPC Turn on -mpcrel by default for -mcpu=future

2020-04-24 Thread Segher Boessenkool
Hi! On Wed, Apr 22, 2020 at 12:53:03AM -0400, Michael Meissner wrote: > 2020-04-21 Michael Meissner > > * config/rs6000/linux64.h (PCREL_SUPPORTED_BY_OS): Define to > enable PC-relative addressing for -mcpu=future. > * config/rs6000/rs6000-cpus.def (ISA_FUTURE_MASKS_SERVER):

[PATCH, V5] PowerPC Turn on -mpcrel by default for -mcpu=future

2020-04-21 Thread Michael Meissner via Gcc-patches
Turn on -mpcrel by default for -mcpu=future I reworked the patches based on your comments: 1) I removed the check for 64-bit; 2) I now set the prefixed and PC-relative bits on by default; 3) I removed the #if around the test, and provided a definition earlier; 5) I removed the #undef in linux64.h