From 730bee725a770b543181424b52203dd1634ab5d1 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 3 Aug 2011 19:45:21 -0400 Subject: 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/i386/cancellation3.s | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 src/thread/i386/cancellation3.s (limited to 'src/thread/i386/cancellation3.s') diff --git a/src/thread/i386/cancellation3.s b/src/thread/i386/cancellation3.s deleted file mode 100644 index 88340224..00000000 --- a/src/thread/i386/cancellation3.s +++ /dev/null @@ -1,8 +0,0 @@ -.text -.global __pthread_unwind_next -.type __pthread_unwind_next,@function -__pthread_unwind_next: - pushl %eax - call __pthread_unwind_next_3 - popl %eax - ret -- cgit v1.2.1