Re: [PATCH] x86_64 -mcmodel={medium,large} -fpic address delegitimization

2013-08-14 Thread Uros Bizjak
On Tue, Aug 13, 2013 at 9:47 PM, Jakub Jelinek wrote: > On x86_64 with -mcmodel=large -fpic -g -O2 we get tons of > notes about non-delegitimized unspecs like UNSPEC_GOTOFF, UNSPEC_PLTOFF > or UNSPEC_GOT. Seems we already handle most of those properly for -m32 > code, so the issue is just that w

[PATCH] x86_64 -mcmodel={medium,large} -fpic address delegitimization

2013-08-13 Thread Jakub Jelinek
Hi! On x86_64 with -mcmodel=large -fpic -g -O2 we get tons of notes about non-delegitimized unspecs like UNSPEC_GOTOFF, UNSPEC_PLTOFF or UNSPEC_GOT. Seems we already handle most of those properly for -m32 code, so the issue is just that we wouldn't fall back into the -m32 handling code which take