about summary refs log tree commit diff
path: root/src/unistd/access.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-14 23:08:53 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-14 23:08:53 -0400
commite13063aad7aee341d278d2a879a76ec7b59b2ad8 (patch)
tree312126a3ac1514eadb3ea88d4a73703f5291c8b2 /src/unistd/access.c
parentda55d4884bf26ce31cd6a64ed176019c2ba9839a (diff)
downloadmusl-e13063aad7aee341d278d2a879a76ec7b59b2ad8.tar.gz
musl-e13063aad7aee341d278d2a879a76ec7b59b2ad8.tar.xz
musl-e13063aad7aee341d278d2a879a76ec7b59b2ad8.zip
add hidden version of &errno accessor function
this significantly improves codegen in functions that need to access
errno but otherwise have no need for a GOT pointer.

we could probably improve it much more by including an inline version
of the &errno accessor function, but that depends on having the
definitions of struct __pthread and __pthread_self(), which at present
would expose a lot more than is appropriate. moving them to a small
tls.h later might make this more reasonable.
Diffstat (limited to 'src/unistd/access.c')
0 files changed, 0 insertions, 0 deletions