The testcase uses the __seg_fs address space, which is x86-specific, but it isn't in an x86-specific directory or otherwise restricted to x86 targets; thus, I'd expect it to fail for other architectures.
This is not a review of the rest of the patch. -- Joseph S. Myers jos...@codesourcery.com