On 11/01/2010 12:07 AM, Timo Teräs wrote: >> I do not merely think so. I tested it. Try in the directory >> where you successfully built shared uclibc using PIC: > > I remember that the original crash I fixed was caused by PIC and not > SSP. The issue is that the jmp target name is outside __asm__ "" and > translated by gcc to ebx+xxx. So you use implicitly ebx in your __asm__ > block. And thus gcc will save/restore and calculate the local ebx for > you automatically. > > (Otherwise you'd get text relocation and PIC build fail in linking.) > > Either way, you'll be hosed in PIC build.
Hmm... Actually no. __GI_.. symbol is hidden and should cause relative addressing. I'm not actually sure what caused the ebx reload. I'll check it again. Could've been compiler optimization issue, or bug. I'll get back later on this. _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
