* sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]:
commit28b48696d14a8b4a4203011b26d8add3db087870
authorRoland McGrath <roland@gnu.org>
Sun, 29 Sep 2002 21:50:55 +0000 (29 21:50 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 29 Sep 2002 21:50:55 +0000 (29 21:50 +0000)
tree6a69f75f7134229b27ecacfaffd406e60d7baaef
parentcc590e1d4e84f931a954a06a5f743d8f61090713
* sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]:

Define errno in .tbss.
* sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Use TLS
access for setting errno.

* sysdeps/unix/x86_64/sysdep.S: Store 32 bits at errno, not 64 bits.
AFAICT, it was just blind luck that the word following errno in .bss
was just alignment padding and not some other variable to be clobbered.
ChangeLog
sysdeps/unix/x86_64/sysdep.S