Re: [RS6000] TARGET_RELOCATABLE

2016-05-04 Thread Alan Modra
On Wed, May 04, 2016 at 11:55:31AM -0500, Segher Boessenkool wrote: > On Wed, May 04, 2016 at 02:21:18PM +0930, Alan Modra wrote: > > Also, since flag_pic is set by -mrelocatable, a number of places that > > currently test TARGET_RELOCATABLE can be simplified. I also made > > -mrelocatable set

Re: [RS6000] TARGET_RELOCATABLE

2016-05-04 Thread Segher Boessenkool
On Wed, May 04, 2016 at 02:21:18PM +0930, Alan Modra wrote: > For ABI_V4, -mrelocatable and -fPIC both generate position independent > code, with some extra "fixup" output for -mrelocatable. The > similarity of these two options has led to the situation where the > sysv4.h