fix static linking dependency bloat with cancellation
authorRich Felker <dalias@aerifal.cx>
Wed, 3 Aug 2011 23:45:21 +0000 (19:45 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 3 Aug 2011 23:45:21 +0000 (19:45 -0400)
commit730bee725a770b543181424b52203dd1634ab5d1
treeef0eac3484242a94ce6854423c6b1cb3ecfcc76a
parentfc0ecd35d8e0041c81bbe08c10c7fcb946da85e0
fix static linking dependency bloat with cancellation

previously, pthread_cleanup_push/pop were pulling in all of
pthread_create due to dependency on the __pthread_unwind_next
function. this was not needed, as cancellation cleanup handlers can
never be called unless pthread_exit or pthread_cancel is reachable.
src/thread/cancellation.c
src/thread/cancellation3.c [deleted file]
src/thread/i386/cancellation2.s
src/thread/i386/cancellation3.s [deleted file]
src/thread/pthread_create.c