<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/Makefile, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/Makefile?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/Makefile?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-11-12T04:38:27Z</updated>
<entry>
<title>Now that libc.so has only five PLT entries on almost all our archs,</title>
<updated>2019-11-12T04:38:27Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2019-11-12T04:38:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a7697b137acf5acac115d81f6f8630b5e4e0913d'/>
<id>urn:sha1:a7697b137acf5acac115d81f6f8630b5e4e0913d</id>
<content type='text'>
link it with -znow

ok kettenis@ deraadt@ jca@
</content>
</entry>
<entry>
<title>Complete the ld.so boot cleanup: move most libc initialization from</title>
<updated>2019-06-02T01:03:01Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2019-06-02T01:03:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5c7d06e56e289f4145af6fe3394d5d581f2679bd'/>
<id>urn:sha1:5c7d06e56e289f4145af6fe3394d5d581f2679bd</id>
<content type='text'>
_csu_finish() to _libc_preinit(), which is an .init_array function
in shared libc (and mark it INITFIRST) or a .preinit_array function
in static libc, grabbing the _dl_cb callback there from ld.so.  Then
in _csu_finish(), invoke the dl_clean_boot() callback to free ld.so's
startup bits before main() gets control.

Other cleanups this permits:
 - move various startup structures into .data.rel.ro
 - the dl* stubs in libc can be strong and call the callbacks provided
   via _dl_cb
 - no longer need to conditionalize dlctl() calls on presence of _DYNAMIC

original concept and full diff ok kettenis@
ok deraadt@
</content>
</entry>
<entry>
<title>Link libc with compiler_rt not libgcc if COMPILER_VERSION is clang.</title>
<updated>2017-01-22T23:56:44Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2017-01-22T23:56:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=dc3e41872aff55972640993203531b723cd2438f'/>
<id>urn:sha1:dc3e41872aff55972640993203531b723cd2438f</id>
<content type='text'>
This is not a list of archs with compiler_rt as it is intended that
any arch switching to clang will have the required md bits added to
compiler_rt first.

ok kettenis@ patrick@
</content>
</entry>
<entry>
<title>Enable LIBREBUILD to construct libc.so.*.a</title>
<updated>2016-04-26T14:49:53Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2016-04-26T14:49:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=469d3e25856673ce40b234cfef8478d1d3347e31'/>
<id>urn:sha1:469d3e25856673ce40b234cfef8478d1d3347e31</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libc.so can't be unloaded, so move the hidden atexit() and pthread_atfork()</title>
<updated>2015-11-10T04:14:03Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-11-10T04:14:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6897476f8d3f1ad745809cc8163365f785e57a2d'/>
<id>urn:sha1:6897476f8d3f1ad745809cc8163365f785e57a2d</id>
<content type='text'>
stubs for the executable from crtbegin.o into libc, which lets them be
excluded from static links that don't use them.
For this, drop the normal crt{begin,end}S.o from libc.so: the .init and .fini
sections for libc aren't called at the right times anyway, so it's good that
they're unused.  libc.so just needs __guard_local and the .note.openbsd.ident
section, so add them to stack_protector.c for now (this will be improved)

"good time" deraadt@
</content>
</entry>
<entry>
<title>The only thing that was translated into multiple languages in OpenBSD</title>
<updated>2015-10-25T10:22:09Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2015-10-25T10:22:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a842d2067e48cb221cc63e9bbd12094e880e5954'/>
<id>urn:sha1:a842d2067e48cb221cc63e9bbd12094e880e5954</id>
<content type='text'>
are the errno messages and signal names.  Everything else is in
English.  We are not planning to translate more text.  Running a
mixed system with less than 1% of the text in native language makes
no sense.  So remove the NLS support from libc messages.  The
catopen(3) functions stay as they are.
OK stsp@ mpi@
</content>
</entry>
<entry>
<title>Add Symbols.map to CLEANFILES</title>
<updated>2015-08-29T06:08:49Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-08-29T06:08:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ef2f5304489669ee6fa52cf19772a2937da1ad06'/>
<id>urn:sha1:ef2f5304489669ee6fa52cf19772a2937da1ad06</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Explicitly list the symbols permitted to be exported by libc.</title>
<updated>2015-08-22T19:40:06Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-08-22T19:40:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a19629c66705a2f5992742536b69ba1b5722c5b2'/>
<id>urn:sha1:a19629c66705a2f5992742536b69ba1b5722c5b2</id>
<content type='text'>
This is primed with the current list of exported symbols so it doesn't
change the ABI yet, but will prevent unintentional additions in the future
and sets the stage for reductions.

ok deraadt@ kettenis@
</content>
</entry>
<entry>
<title>Nuke the machinery to sync libkern with libc, it's not been used in the</title>
<updated>2014-06-09T20:47:10Z</updated>
<author>
<name>miod</name>
<email>miod@openbsd.org</email>
</author>
<published>2014-06-09T20:47:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4e6fb4323cffa68d6ae130d74b2572e9374beb41'/>
<id>urn:sha1:4e6fb4323cffa68d6ae130d74b2572e9374beb41</id>
<content type='text'>
last 15 years and there is no point to use it in the future.

From Jean-Philippe Ouellet
</content>
</entry>
<entry>
<title>warn about implicit. misspelled function names in libc are deadly.</title>
<updated>2014-05-21T01:17:52Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2014-05-21T01:17:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=785db57bc92fd544c5490e2ff9a66fb0042458bd'/>
<id>urn:sha1:785db57bc92fd544c5490e2ff9a66fb0042458bd</id>
<content type='text'>
</content>
</entry>
</feed>
