>>I presume *%gs:0x18 is only for shared objects?
>
>
> No, it's for everything, but it requires a glibc that has set it up.
Actually, the above is used only in the DSOs. In static objects I'm
using a global variable. This saves the %gs prefix.
But of course Linus is right: using the new functionality needs quite a
bit of infrastructure which most definitely isn't present in the libc
you have on your system. See my post from a few minutes ago.
-- --------------. ,-. 444 Castro Street Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA Red Hat `--' drepper at redhat.com `---------------------------- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/