<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/csu/crtbeginS.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/csu/crtbeginS.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/csu/crtbeginS.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-01-09T16:42:38Z</updated>
<entry>
<title>Use static consistently with definitions of functions that have been</title>
<updated>2019-01-09T16:42:38Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2019-01-09T16:42:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a36635a7c3589c5da52fd2716a34be60855ef6d2'/>
<id>urn:sha1:a36635a7c3589c5da52fd2716a34be60855ef6d2</id>
<content type='text'>
declared static.

OK guenther@
</content>
</entry>
<entry>
<title>Move static variables from .data to .bss by not initializing them to zero</title>
<updated>2017-02-19T21:39:32Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-02-19T21:39:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=57ebedb7457c2a4c6683bf958705134029bbdfda'/>
<id>urn:sha1:57ebedb7457c2a4c6683bf958705134029bbdfda</id>
<content type='text'>
ok kettenis@
</content>
</entry>
<entry>
<title>Make crtbegin.c and crtbeginS.c consistent on stylistic points</title>
<updated>2017-01-21T05:46:56Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-01-21T05:46:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d1e58a60cc0a3ad66c1a6ecb4792d0c1b2fa88cb'/>
<id>urn:sha1:d1e58a60cc0a3ad66c1a6ecb4792d0c1b2fa88cb</id>
<content type='text'>
ok kettenis@
</content>
</entry>
<entry>
<title>Declare the symbols that label the .ctors, .dtors, .eh_frame, and .jcr</title>
<updated>2017-01-21T00:45:13Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-01-21T00:45:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b3fe29f4687edf2be8c3fc3433d38bd40593a33b'/>
<id>urn:sha1:b3fe29f4687edf2be8c3fc3433d38bd40593a33b</id>
<content type='text'>
sections as extern hidden arrays of indefinite size, so that the compiler
(well, clang) doesn't believe it knows the exact contents and thus optimize
things into infinite loops.  Actually set the symbols to be in the sections
and insert the leading and trailing values via __asm().

Problem pointed out by patrick@
testing and ok kettenis@
</content>
</entry>
<entry>
<title>Make pthread_atfork() track the DSO that called it like atexit() does,</title>
<updated>2015-04-07T01:27:06Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-04-07T01:27:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=514a545f8a3983d53b7de4e8dfcefe16c9496776'/>
<id>urn:sha1:514a545f8a3983d53b7de4e8dfcefe16c9496776</id>
<content type='text'>
unregistering callbacks if the DSO is unloaded.  Move the callback
handling from libpthread to libc, though libpthread still overrides the
inner call to handle locking and thread-library reinitialization.
Major version bump for both libc and libpthread.

verification that this fixes various ports ajacoutot@
asm assistance miod@; ok millert@ deraadt@
</content>
</entry>
<entry>
<title>gcc 2.x is dead</title>
<updated>2015-04-04T18:05:04Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-04-04T18:05:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fd7ad13f9e73a3dbdacb10746cf5478433753328'/>
<id>urn:sha1:fd7ad13f9e73a3dbdacb10746cf5478433753328</id>
<content type='text'>
ok millert@
</content>
</entry>
<entry>
<title>Move atexit(3) into crtbegin.c and certbeginS.c such that we can pass the</title>
<updated>2013-12-28T18:38:42Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2013-12-28T18:38:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=859c67c82abbbc6a47fd83e1b7b5305186273ffd'/>
<id>urn:sha1:859c67c82abbbc6a47fd83e1b7b5305186273ffd</id>
<content type='text'>
right __dso_handle and have dlopen'ed shared objects run their atexit handlers
when they get unloaded.  This is what Linux does, and several ports depend on
this behaviour (and will crash upon exit without this chang).

Based on an earlier diff from matthew@
Tested by ajacoutot@
ok deraadt@
</content>
</entry>
<entry>
<title>Reverse the order that ctors and dtors are run in accordance with</title>
<updated>2012-09-08T20:08:33Z</updated>
<author>
<name>matthew</name>
<email>matthew@openbsd.org</email>
</author>
<published>2012-09-08T20:08:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=195a2728498fa4d01244c8e88ba130b686a69875'/>
<id>urn:sha1:195a2728498fa4d01244c8e88ba130b686a69875</id>
<content type='text'>
GCC's documentation.  Fixes GNU C++'s init_priority attribute.

ok miod
</content>
</entry>
<entry>
<title>Add __guard_local as a hidden symbol to ld.so, kernel, and every</title>
<updated>2012-08-28T16:39:09Z</updated>
<author>
<name>matthew</name>
<email>matthew@openbsd.org</email>
</author>
<published>2012-08-28T16:39:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=32f715b81935dacebda5c1571d10f8436da94bc2'/>
<id>urn:sha1:32f715b81935dacebda5c1571d10f8436da94bc2</id>
<content type='text'>
executable and DSO (via crtbegin.c/crtbeginS.c).  Not used yet, but
needed before GCC can start emitting -fstack-protector code that uses
them instead of __guard.
</content>
</entry>
<entry>
<title>Sprinkle a few __used markers to prevent gcc4 from throwing away essential</title>
<updated>2010-05-01T11:32:43Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2010-05-01T11:32:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2f4dbec6ce417bd6972ce2733ebfc0df762c556d'/>
<id>urn:sha1:2f4dbec6ce417bd6972ce2733ebfc0df762c556d</id>
<content type='text'>
bits of code and data.  With this change gcc4 builds usable crt*.o on sparc64,
other architectures probably need some more love.

ok marco@, jsg@
</content>
</entry>
</feed>
