rework cancellation weak alias logic not to depend on archive order
authorRich Felker <dalias@aerifal.cx>
Mon, 7 Jul 2014 02:56:25 +0000 (22:56 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 7 Jul 2014 02:56:25 +0000 (22:56 -0400)
commitd96b12b755483208673fb05e2e60a15d3822752d
tree1a8eac2308bc9348b23417a462a271570d1ceea3
parentea496d6c63ecbb5ea475111808e5c0f799354450
rework cancellation weak alias logic not to depend on archive order

if the order of object files in the static archive libc.a was not
respected by the linker, the old logic could wrongly cause POSIX
symbols outside of the ISO C namespace to be pulled into pure C
programs. this should not happen with well-behaved linkers, but
relying on the link order was a bad idea anyway.

files are renamed to better reflect their contents now that they don't
need names to control their order as members in the archive file.
src/thread/__syscall_cp.c [new file with mode: 0644]
src/thread/cancel_dummy.c [deleted file]
src/thread/cancel_impl.c [deleted file]
src/thread/pthread_cancel.c [new file with mode: 0644]
src/thread/pthread_testcancel.c