summaryrefslogtreecommitdiff
path: root/lib/libc/arch/arm/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2015-09-09 08:24:13 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2015-09-09 08:24:13 +0000
commitf6180bfaa203662fa7c0ebc2e48f2a05761f61df (patch)
tree3976f133c0f40e1f502d0150cbce08861cb82e70 /lib/libc/arch/arm/sys
parent3498210f4265efd6c30b524f09f673371b9e827d (diff)
Backtrack a little bit and don't try to use the per-thread errno location if
r2 is zero. Some upcoming changes will probably change the offset at which the errno pointer is stored, or might even store errno directly. Instead, call __errno to get the location of errno. Make sure we go through the PLT such that we call the version in libpthread if it is linked in. Set up r30 for this purpose. The ___cerrno function itself remains protected. ok guenther@
Diffstat (limited to 'lib/libc/arch/arm/sys')
0 files changed, 0 insertions, 0 deletions