diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-08-23 15:51:29 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-08-23 15:51:29 +0000 |
commit | ca46c4a960b8a89d67344a82b41505fcb415b5a9 (patch) | |
tree | 791096e88dbf03bdfa25da9ee104f7929abeb667 /sbin/disklabel | |
parent | f127b259c1cebc12296612d64c264890f7a7fe73 (diff) |
Make __cerror() use the per-thread errno location if r2 isn't zero. This way
libpthread no longer has to override it which means that we can use a local
call and can avoid setting up r30 as a _GLOBAL_OFFSET_TABLE_ pointer, which
is hard the way the powerpc ABI works.
For now we continue to provide __cerror as a weak symbol, but ___cerror is
now protected and internal calls within libc now use ___cerror instead of
__cerror.
discussed with guenther@
Diffstat (limited to 'sbin/disklabel')
0 files changed, 0 insertions, 0 deletions