|author||Bobby Bingham <firstname.lastname@example.org>||2014-02-06 22:11:22 -0600|
|committer||Bobby Bingham <email@example.com>||2014-02-09 20:07:43 -0600|
clone: make clone a wrapper around __clone
The architecture-specific assembly versions of clone did not set errno on failure, which is inconsistent with glibc. __clone still returns the error via its return value, and clone is now a wrapper that sets errno as needed. The public clone has also been moved to src/linux, as it's not directly related to the pthreads API. __clone is called by pthread_create, which does not report errors via errno. Though not strictly necessary, it's nice to avoid clobbering errno here.
Diffstat (limited to 'src/thread/microblaze/__unmapself.s')
0 files changed, 0 insertions, 0 deletions