head 1.4; access; symbols netbsd-11-0-RELEASE:1.4 netbsd-11-0-RC7:1.4 netbsd-11-0-RC6:1.4 netbsd-11-0-RC5:1.4 netbsd-11-0-RC4:1.4 netbsd-11-0-RC3:1.4 netbsd-11-0-RC2:1.4 netbsd-11-0-RC1:1.4 perseant-exfatfs-base-20250801:1.4 netbsd-11:1.4.0.42 netbsd-11-base:1.4 netbsd-10-1-RELEASE:1.4 perseant-exfatfs-base-20240630:1.4 perseant-exfatfs:1.4.0.40 perseant-exfatfs-base:1.4 netbsd-8-3-RELEASE:1.4 netbsd-9-4-RELEASE:1.4 netbsd-10-0-RELEASE:1.4 netbsd-10-0-RC6:1.4 netbsd-10-0-RC5:1.4 netbsd-10-0-RC4:1.4 netbsd-10-0-RC3:1.4 netbsd-10-0-RC2:1.4 netbsd-10-0-RC1:1.4 netbsd-10:1.4.0.38 netbsd-10-base:1.4 netbsd-9-3-RELEASE:1.4 cjep_sun2x-base1:1.4 cjep_sun2x:1.4.0.36 cjep_sun2x-base:1.4 cjep_staticlib_x-base1:1.4 netbsd-9-2-RELEASE:1.4 cjep_staticlib_x:1.4.0.34 cjep_staticlib_x-base:1.4 netbsd-9-1-RELEASE:1.4 phil-wifi-20200421:1.4 phil-wifi-20200411:1.4 is-mlppp:1.4.0.32 is-mlppp-base:1.4 phil-wifi-20200406:1.4 netbsd-8-2-RELEASE:1.4 netbsd-9-0-RELEASE:1.4 netbsd-9-0-RC2:1.4 netbsd-9-0-RC1:1.4 phil-wifi-20191119:1.4 netbsd-9:1.4.0.30 netbsd-9-base:1.4 phil-wifi-20190609:1.4 netbsd-8-1-RELEASE:1.4 netbsd-8-1-RC1:1.4 pgoyette-compat-merge-20190127:1.4 pgoyette-compat-20190127:1.4 pgoyette-compat-20190118:1.4 pgoyette-compat-1226:1.4 pgoyette-compat-1126:1.4 pgoyette-compat-1020:1.4 pgoyette-compat-0930:1.4 pgoyette-compat-0906:1.4 netbsd-7-2-RELEASE:1.4 pgoyette-compat-0728:1.4 netbsd-8-0-RELEASE:1.4 phil-wifi:1.4.0.28 phil-wifi-base:1.4 pgoyette-compat-0625:1.4 netbsd-8-0-RC2:1.4 pgoyette-compat-0521:1.4 pgoyette-compat-0502:1.4 pgoyette-compat-0422:1.4 netbsd-8-0-RC1:1.4 pgoyette-compat-0415:1.4 pgoyette-compat-0407:1.4 pgoyette-compat-0330:1.4 pgoyette-compat-0322:1.4 pgoyette-compat-0315:1.4 netbsd-7-1-2-RELEASE:1.4 pgoyette-compat:1.4.0.26 pgoyette-compat-base:1.4 netbsd-7-1-1-RELEASE:1.4 matt-nb8-mediatek:1.4.0.24 matt-nb8-mediatek-base:1.4 perseant-stdc-iso10646:1.4.0.22 perseant-stdc-iso10646-base:1.4 netbsd-8:1.4.0.20 netbsd-8-base:1.4 prg-localcount2-base3:1.4 prg-localcount2-base2:1.4 prg-localcount2-base1:1.4 prg-localcount2:1.4.0.18 prg-localcount2-base:1.4 pgoyette-localcount-20170426:1.4 bouyer-socketcan-base1:1.4 pgoyette-localcount-20170320:1.4 netbsd-7-1:1.4.0.16 netbsd-7-1-RELEASE:1.4 netbsd-7-1-RC2:1.4 netbsd-7-nhusb-base-20170116:1.4 bouyer-socketcan:1.4.0.14 bouyer-socketcan-base:1.4 pgoyette-localcount-20170107:1.4 netbsd-7-1-RC1:1.4 pgoyette-localcount-20161104:1.4 netbsd-7-0-2-RELEASE:1.4 localcount-20160914:1.4 netbsd-7-nhusb:1.4.0.12 netbsd-7-nhusb-base:1.4 pgoyette-localcount-20160806:1.4 pgoyette-localcount-20160726:1.4 pgoyette-localcount:1.4.0.10 pgoyette-localcount-base:1.4 netbsd-7-0-1-RELEASE:1.4 netbsd-7-0:1.4.0.8 netbsd-7-0-RELEASE:1.4 netbsd-7-0-RC3:1.4 netbsd-7-0-RC2:1.4 netbsd-7-0-RC1:1.4 netbsd-5-2-3-RELEASE:1.3 netbsd-5-1-5-RELEASE:1.3 netbsd-6-0-6-RELEASE:1.3 netbsd-6-1-5-RELEASE:1.3 netbsd-7:1.4.0.6 netbsd-7-base:1.4 yamt-pagecache-base9:1.4 yamt-pagecache-tag8:1.3 netbsd-6-1-4-RELEASE:1.3 netbsd-6-0-5-RELEASE:1.3 tls-earlyentropy:1.4.0.4 tls-earlyentropy-base:1.4 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.4 riastradh-drm2-base3:1.4 netbsd-6-1-3-RELEASE:1.3 netbsd-6-0-4-RELEASE:1.3 netbsd-5-2-2-RELEASE:1.3 netbsd-5-1-4-RELEASE:1.3 netbsd-6-1-2-RELEASE:1.3 netbsd-6-0-3-RELEASE:1.3 netbsd-5-2-1-RELEASE:1.3 netbsd-5-1-3-RELEASE:1.3 netbsd-6-1-1-RELEASE:1.3 riastradh-drm2-base2:1.4 riastradh-drm2-base1:1.4 riastradh-drm2:1.4.0.2 riastradh-drm2-base:1.4 netbsd-6-1:1.3.0.72 netbsd-6-0-2-RELEASE:1.3 netbsd-6-1-RELEASE:1.3 netbsd-6-1-RC4:1.3 netbsd-6-1-RC3:1.3 agc-symver:1.3.0.70 agc-symver-base:1.3 netbsd-6-1-RC2:1.3 netbsd-6-1-RC1:1.3 yamt-pagecache-base8:1.3 netbsd-5-2:1.3.0.66 netbsd-6-0-1-RELEASE:1.3 yamt-pagecache-base7:1.3 netbsd-5-2-RELEASE:1.3 netbsd-5-2-RC1:1.3 matt-nb6-plus-nbase:1.3 yamt-pagecache-base6:1.3 netbsd-6-0:1.3.0.64 netbsd-6-0-RELEASE:1.3 netbsd-6-0-RC2:1.3 tls-maxphys:1.3.0.62 tls-maxphys-base:1.4 matt-nb6-plus:1.3.0.60 matt-nb6-plus-base:1.3 netbsd-6-0-RC1:1.3 yamt-pagecache-base5:1.3 yamt-pagecache-base4:1.3 netbsd-6:1.3.0.58 netbsd-6-base:1.3 netbsd-5-1-2-RELEASE:1.3 netbsd-5-1-1-RELEASE:1.3 yamt-pagecache-base3:1.3 yamt-pagecache-base2:1.3 yamt-pagecache:1.3.0.56 yamt-pagecache-base:1.3 cherry-xenmp:1.3.0.54 cherry-xenmp-base:1.3 bouyer-quota2-nbase:1.3 bouyer-quota2:1.3.0.52 bouyer-quota2-base:1.3 matt-mips64-premerge-20101231:1.3 matt-nb5-mips64-premerge-20101231:1.3 matt-nb5-pq3:1.3.0.50 matt-nb5-pq3-base:1.3 netbsd-5-1:1.3.0.48 netbsd-5-1-RELEASE:1.3 netbsd-5-1-RC4:1.3 matt-nb5-mips64-k15:1.3 netbsd-5-1-RC3:1.3 netbsd-5-1-RC2:1.3 netbsd-5-1-RC1:1.3 netbsd-5-0-2-RELEASE:1.3 matt-nb5-mips64-premerge-20091211:1.3 matt-premerge-20091211:1.3 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.3 matt-nb4-mips64-k7-u2a-k9b:1.3 matt-nb5-mips64-u1-k1-k5:1.3 matt-nb5-mips64:1.3.0.46 netbsd-5-0-1-RELEASE:1.3 jym-xensuspend-nbase:1.3 netbsd-5-0:1.3.0.44 netbsd-5-0-RELEASE:1.3 netbsd-5-0-RC4:1.3 netbsd-5-0-RC3:1.3 netbsd-5-0-RC2:1.3 jym-xensuspend:1.3.0.42 jym-xensuspend-base:1.3 netbsd-5-0-RC1:1.3 christos-time_t-nbase:1.3 christos-time_t:1.3.0.40 christos-time_t-base:1.3 netbsd-5:1.3.0.38 netbsd-5-base:1.3 matt-mips64-base2:1.3 matt-mips64:1.3.0.36 mjf-devfs2:1.3.0.34 mjf-devfs2-base:1.3 netbsd-4-0-1-RELEASE:1.3 wrstuden-revivesa-base-3:1.3 wrstuden-revivesa-base-2:1.3 wrstuden-fixsa-newbase:1.3 wrstuden-revivesa-base-1:1.3 yamt-pf42-base4:1.3 yamt-pf42-base3:1.3 hpcarm-cleanup-nbase:1.3 yamt-pf42-baseX:1.3 yamt-pf42-base2:1.3 wrstuden-revivesa:1.3.0.32 wrstuden-revivesa-base:1.3 yamt-pf42:1.3.0.30 yamt-pf42-base:1.3 keiichi-mipv6:1.3.0.28 keiichi-mipv6-base:1.3 matt-armv6-nbase:1.3 matt-armv6-prevmlocking:1.3 wrstuden-fixsa-base-1:1.3 netbsd-4-0:1.3.0.26 netbsd-4-0-RELEASE:1.3 cube-autoconf:1.3.0.24 cube-autoconf-base:1.3 netbsd-4-0-RC5:1.3 netbsd-4-0-RC4:1.3 netbsd-4-0-RC3:1.3 netbsd-4-0-RC2:1.3 netbsd-4-0-RC1:1.3 matt-armv6:1.3.0.22 matt-armv6-base:1.3 matt-mips64-base:1.3 hpcarm-cleanup:1.3.0.20 hpcarm-cleanup-base:1.3 netbsd-3-1-1-RELEASE:1.3 netbsd-3-0-3-RELEASE:1.3 wrstuden-fixsa:1.3.0.18 wrstuden-fixsa-base:1.3 abandoned-netbsd-4-base:1.3 abandoned-netbsd-4:1.3.0.12 netbsd-3-1:1.3.0.14 netbsd-3-1-RELEASE:1.3 netbsd-3-0-2-RELEASE:1.3 netbsd-3-1-RC4:1.3 netbsd-3-1-RC3:1.3 netbsd-3-1-RC2:1.3 netbsd-3-1-RC1:1.3 netbsd-4:1.3.0.16 netbsd-4-base:1.3 netbsd-3-0-1-RELEASE:1.3 netbsd-3-0:1.3.0.10 netbsd-3-0-RELEASE:1.3 netbsd-3-0-RC6:1.3 netbsd-3-0-RC5:1.3 netbsd-3-0-RC4:1.3 netbsd-3-0-RC3:1.3 netbsd-3-0-RC2:1.3 netbsd-3-0-RC1:1.3 netbsd-2-0-3-RELEASE:1.3 netbsd-2-1:1.3.0.8 netbsd-2-1-RELEASE:1.3 netbsd-2-1-RC6:1.3 netbsd-2-1-RC5:1.3 netbsd-2-1-RC4:1.3 netbsd-2-1-RC3:1.3 netbsd-2-1-RC2:1.3 netbsd-2-1-RC1:1.3 netbsd-2-0-2-RELEASE:1.3 netbsd-3:1.3.0.6 netbsd-3-base:1.3 netbsd-2-0-1-RELEASE:1.3 netbsd-2:1.3.0.4 netbsd-2-base:1.3 netbsd-2-0-RELEASE:1.3 netbsd-2-0-RC5:1.3 netbsd-2-0-RC4:1.3 netbsd-2-0-RC3:1.3 netbsd-2-0-RC2:1.3 netbsd-2-0-RC1:1.3 netbsd-2-0:1.3.0.2 netbsd-2-0-base:1.3 netbsd-1-6-PATCH002-RELEASE:1.2 netbsd-1-6-PATCH002:1.2 netbsd-1-6-PATCH002-RC4:1.2 netbsd-1-6-PATCH002-RC3:1.2 netbsd-1-6-PATCH002-RC2:1.2 netbsd-1-6-PATCH002-RC1:1.2 netbsd-1-6-PATCH001:1.2 netbsd-1-6-PATCH001-RELEASE:1.2 netbsd-1-6-PATCH001-RC3:1.2 netbsd-1-6-PATCH001-RC2:1.2 netbsd-1-6-PATCH001-RC1:1.2 nathanw_sa_end:1.2.8.3 nathanw_sa_before_merge:1.2 fvdl_fs64_base:1.2 nathanw_sa_base:1.2 netbsd-1-6-RELEASE:1.2 netbsd-1-6-RC3:1.2 netbsd-1-6-RC2:1.2 netbsd-1-6-RC1:1.2 netbsd-1-6:1.2.0.10 netbsd-1-6-base:1.2 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH002:1.2 netbsd-1-5-PATCH001:1.2 nathanw_sa:1.2.0.8 netbsd-1-5-RELEASE:1.2 netbsd-1-5-BETA2:1.2 netbsd-1-5-BETA:1.2 netbsd-1-5-ALPHA2:1.2 netbsd-1-5:1.2.0.6 netbsd-1-5-base:1.2 minoura-xpg4dl:1.2.0.4 minoura-xpg4dl-base:1.2 wrstuden-devbsize-base:1.2 wrstuden-devbsize:1.2.0.2 wrstuden-devbsize-19991221:1.2; locks; strict; comment @# @; 1.4 date 2013.04.05.20.15.42; author christos; state Exp; branches; next 1.3; 1.3 date 2003.01.18.11.33.18; author thorpej; state Exp; branches 1.3.56.1 1.3.62.1; next 1.2; 1.2 date 99.12.03.06.37.34; author explorer; state Exp; branches 1.2.2.1 1.2.8.1; next 1.1; 1.1 date 99.11.14.18.34.15; author explorer; state Exp; branches; next ; 1.3.56.1 date 2014.05.22.11.36.54; author yamt; state Exp; branches; next ; commitid HJV5p3BoaVY5KwBx; 1.3.62.1 date 2013.06.23.06.21.06; author tls; state Exp; branches; next ; commitid NYFFXRB0xCbrHHUw; 1.2.2.1 date 99.12.27.18.29.54; author wrstuden; state Exp; branches; next ; 1.2.8.1 date 2001.11.16.16.20.44; author thorpej; state Exp; branches; next 1.2.8.2; 1.2.8.2 date 2002.05.02.16.56.33; author nathanw; state Exp; branches; next 1.2.8.3; 1.2.8.3 date 2003.01.08.19.34.20; author thorpej; state Exp; branches; next ; desc @@ 1.4 log @split init and errno to a separate file. No point in growing rtld 10K. @ text @# $NetBSD: Makefile.inc,v 1.3 2003/01/18 11:33:18 thorpej Exp $ .include # Our sources .PATH: ${.CURDIR}/thread-stub SRCS+= __isthreaded.c thread-stub.c thread-stub-init.c @ 1.3 log @Merge the nathanw_sa branch. @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.2 1999/12/03 06:37:34 explorer Exp $ d8 1 a8 1 SRCS+= __isthreaded.c thread-stub.c @ 1.3.56.1 log @sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments") @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.3 2003/01/18 11:33:18 thorpej Exp $ d8 1 a8 1 SRCS+= __isthreaded.c thread-stub.c thread-stub-init.c @ 1.3.62.1 log @resync from head @ text @d1 1 a1 1 # $NetBSD$ d8 1 a8 1 SRCS+= __isthreaded.c thread-stub.c thread-stub-init.c @ 1.2 log @add. This holds the global __isthreaded variable, to indicate that threading is (or is not) present. @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.1 1999/11/14 18:34:15 explorer Exp $ d8 1 a8 1 SRCS+= __isthreaded.c pthread-stub.c @ 1.2.8.1 log @Add __indr_reference stubs so that an a.out libc works on its own (a.out doesn't support __weak_alias). @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.2 1999/12/03 06:37:34 explorer Exp $ d8 1 a8 1 SRCS+= __isthreaded.c pthread-indr.c pthread-stub.c @ 1.2.8.2 log @Adapt to new dispatch-vector thread interface. @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.2.8.1 2001/11/16 16:20:44 thorpej Exp $ d8 1 a8 1 SRCS+= __isthreaded.c pthread-stub.c @ 1.2.8.3 log @Rewrite the way libpthread provides thread primitives to libc, using strong and weak aliases (the way cancelation points are handled). Work around lame Unix static library semantics which could cause the wrong thread primitives or cancelation point functions to be included in a statically-linked program. THIS IS AN ABI CHANGE. People running the nathanw_sa branch should ensure that their libc and libpthread are in sync after updating. @ text @d1 1 a1 1 # $NetBSD$ d8 1 a8 1 SRCS+= __isthreaded.c thread-stub.c @ 1.2.2.1 log @Pull up to last week's -current. @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.2 1999/12/03 06:37:34 explorer Exp $ @ 1.1 log @add stub thread functions. These are not (yet) used, and always return success. They are weak-aliased, so if linked with a real pthreads library the correct magic will happen. @ text @d1 1 a1 1 # $NetBSD$ d8 1 a8 1 SRCS+= pthread-stub.c @