Hi Uros, > Currently gcc fails to compile following test from the testsuite [1]: > > FAIL: gcc.target/i386/pr53249.c (test for excess errors) > > We are trying to compile X32 specific test, but the special pattern > that was introduced to handle certain sun assembler limitation, is not > prepared to handle X32. > > The patch avoids this special pattern for X32 target. X32 is currently > supported only with gnu tools, and if/when sun tools will support X32 > target, they will certainly fix the limitation which allows TP loads > to AX register only.
I'll give the patch a whirl in my regular bootstraps this weekend. The Sun ld limitation is fixed in recent versions (at least Solaris 11, perhaps also backported to S10) and I do have a patch to detect this and turn off TARGET_SUN_TLS appropriately. Unfortunately, there's still a corner case in 64-bit TLS-IE handling that isn't handled correctly, but I haven't yet found to time to fully investigate this. Thanks. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University