Hi, On Mon, 17 Nov 2014, H.J. Lu wrote:
> It has nothing to do with large model. Yes, I didn't say so. I've used it only to force GCC to emit @GOT relocs (otherwise it would have used @GOTPCREL) to disprove your claim. > The same thing happens to small model. We may be to able optimize it, > independent of GOTPLT. Yes, if we were to optimize this, the difference between GOT and GOTPLT would be very minor. > In any case, -mcmodel=large shouldn't change program behavior. No, it shouldn't of course. Ciao, Michael.