On Tue, Aug 09, 2011 at 04:26:06PM -0700, Jed Davis wrote: > Thus, I'm trying to find the right solution. My current attempt is to > add an -mno-plt flag in i386.opt, and add it to the list of reasons not > to print "@PLT" after symbol names. This seems to work, although I've > only done minimal testing so far.
Emphasis on "minimal"; a reference to the address of an extern variable yields a @GOTPCREL. So that wasn't going to work in any case. The more of i386.c I read, the more I realize that the resemblance to CM_SMALL_PIC was mostly coincidental. --Jed