summaryrefslogtreecommitdiff
path: root/src/include/errno.h
AgeCommit message (Collapse)AuthorLines
2018-09-14add hidden version of &errno accessor functionRich Felker-0/+11
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.