On Tue, Jan 22, 2019 at 10:59:57AM +1030, Alan Modra wrote: > > I think this would be nicer if you still used insn alternatives here. > > What is needed for that? > > A new symbol constraint especially for __tls_get_addr? Actually two > new constraints for ppc64, one for small model, the other for > medium/large! No way.
You don't need new constraints I think; you can use the "enabled" attribute for it. Not a stage4 thing I guess. > > The patch is okay for trunk (if it survives on at least all three linux > > targets). Thanks! > > Happily it did, even with -mno-tls-markers. :-) Segher