CVSROOT:        /cvs
Module name:    src
Changes by:     matt...@cvs.openbsd.org 2012/08/12 22:52:42

Modified files:
        lib/librthread : rthread.c 

Log message:
Add explicit references from rthread.o to all of the weak symbol
overrides provided by libpthread.a.  This ensures that statically
linked threaded programs use (e.g.) __cerror() from libpthread.a
instead of libc.a.  (Same idea previously used by libuthread.)

Thanks to fgsch@ for pointing out libuthread's solution to the static
linking problem.

ok guenther@, tedu@;

Reply via email to