Re: Fix PR48900, powerpc duplicate __tls_get_addr calls

2011-05-06 Thread David Edelsohn
On Thu, May 5, 2011 at 10:17 PM, Alan Modra amo...@gmail.com wrote: My fix for PR44266 using the libcall machinery to ensure we had a proper stack frame allocated for __tls_get_addr calls sloppily used r3 as the arg to the dummy libcall.  This made the call seem to depend on whatever was in r3

Fix PR48900, powerpc duplicate __tls_get_addr calls

2011-05-05 Thread Alan Modra
My fix for PR44266 using the libcall machinery to ensure we had a proper stack frame allocated for __tls_get_addr calls sloppily used r3 as the arg to the dummy libcall. This made the call seem to depend on whatever was in r3 previously, at least until we get to the first split pass and the real