Re: rs6000: Require ELFv2 ABI for ROP test (PR100750)

2021-06-03 Thread Bill Schmidt via Gcc-patches

On 6/1/21 7:44 PM, Segher Boessenkool wrote:

It would be nice if we had a selector for when we can use -mrop-protect,
instead of assuming it is only for ELFv2.


Agreed -- I'll take a note and try to get to this sometime.


Re: rs6000: Require ELFv2 ABI for ROP test (PR100750)

2021-06-01 Thread Segher Boessenkool
On Tue, Jun 01, 2021 at 11:18:05AM -0500, Bill Schmidt wrote:
> Hi!  PR100750 reports a failure on my part to require the ELFv2 ABI for
> one of the ROP tests.  This fixes that.

It would be nice if we had a selector for when we can use -mrop-protect,
instead of assuming it is only for ELFv2.


Segher