OSDN Git Service

nptl/sysdeps/unix/sysv/linux/i386: enable USE___THREAD for assembler
authorTimo Teräs <timo.teras@iki.fi>
Mon, 12 Apr 2010 12:19:41 +0000 (12:19 +0000)
committerAustin Foxley <austinf@cetoncorp.com>
Mon, 12 Apr 2010 12:33:12 +0000 (05:33 -0700)
commit447a9d1cc181395c3e2ea77ea88e45dee4b30ce6
tree3dd3c5193ea77b4320fa3435bbb178d411e53fa5
parent6436d7c68544657e87ce6f46fcfe250c435a953c
nptl/sysdeps/unix/sysv/linux/i386: enable USE___THREAD for assembler

NPTL defines errno as __thread variable. Define USE___THREAD so proper
errno assignment is used in assembly files.

This fixes segfault while building python.

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: Natanael Copa <natanael.copa@gmail.com>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
libpthread/nptl/sysdeps/unix/sysv/linux/i386/Makefile.arch