Re: [PATCH], Rename and document PowerPC -mprefixed-addr to -mprefixed

2020-02-11 Thread Michael Meissner
On Mon, Feb 10, 2020 at 09:24:07PM -0600, Segher Boessenkool wrote: > Hi! > > On Mon, Feb 10, 2020 at 01:45:42PM -0500, Michael Meissner wrote: > > This patch renames the PowerPC internal switch -mprefixed-addr to be > > -mprefixed. > > > If you use -mpcrel, you must be using the 64-bit ELF v2 AB

Re: [PATCH], Rename and document PowerPC -mprefixed-addr to -mprefixed

2020-02-10 Thread Segher Boessenkool
On Mon, Feb 10, 2020 at 10:22:37PM -0600, Bill Schmidt wrote: > On 2/10/20 9:24 PM, Segher Boessenkool wrote: > >>If you use -mpcrel, the compiler will generate PC-relative > >>loads and stores to access items, rather than the current TOC based loads > >>and > >>stores. > >Where that is the best t

Re: [PATCH], Rename and document PowerPC -mprefixed-addr to -mprefixed

2020-02-10 Thread Bill Schmidt
On 2/10/20 9:24 PM, Segher Boessenkool wrote: Hi! On Mon, Feb 10, 2020 at 01:45:42PM -0500, Michael Meissner wrote: This patch renames the PowerPC internal switch -mprefixed-addr to be -mprefixed. If you use -mpcrel, you must be using the 64-bit ELF v2 ABI, and the code model must be medium.

Re: [PATCH], Rename and document PowerPC -mprefixed-addr to -mprefixed

2020-02-10 Thread Segher Boessenkool
Hi! On Mon, Feb 10, 2020 at 01:45:42PM -0500, Michael Meissner wrote: > This patch renames the PowerPC internal switch -mprefixed-addr to be > -mprefixed. > If you use -mpcrel, you must be using the 64-bit ELF v2 ABI, and the code > model > must be medium. Currently, anyway. > If you use -mpcr