<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/arch/powerpc/string, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/arch/powerpc/string?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/arch/powerpc/string?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-11-28T19:49:30Z</updated>
<entry>
<title>Add retguard to macppc kernel locore.S, ofwreal.S, setjmp.S</title>
<updated>2020-11-28T19:49:30Z</updated>
<author>
<name>gkoehler</name>
<email>gkoehler@openbsd.org</email>
</author>
<published>2020-11-28T19:49:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=15572fcf8c6bfa0588565cd23f393a5a1499ea57'/>
<id>urn:sha1:15572fcf8c6bfa0588565cd23f393a5a1499ea57</id>
<content type='text'>
This changes RETGUARD_SETUP(ffs) to RETGUARD_SETUP(ffs, %r11, %r12)
and RETGUARD_CHECK(ffs) to RETGUARD_CHECK(ffs, %r11, %r12)
to show that r11 and r12 are in use between setup and check, and to
pick registers other than r11 and r12 in some kernel functions.

ok mortimer@ deraadt@
</content>
</entry>
<entry>
<title>Retguard asm macros for powerpc libc, ld.so</title>
<updated>2020-10-26T22:07:05Z</updated>
<author>
<name>gkoehler</name>
<email>gkoehler@openbsd.org</email>
</author>
<published>2020-10-26T22:07:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d2c5a4743fb945f45b034a3a830a96f7e1bc695d'/>
<id>urn:sha1:d2c5a4743fb945f45b034a3a830a96f7e1bc695d</id>
<content type='text'>
Add retguard to some, but not all, asm functions in libc.  Edit SYS.h
in libc to remove the PREFIX macros and add SYSENTRY (more like
aarch64 and powerpc64), so we can insert RETGUARD_SETUP after
SYSENTRY.  Some .S files in this commit don't get retguard, but do
stop using the old prefix macros.

Tested by deraadt@, who put this diff in a macppc snap.
</content>
</entry>
<entry>
<title>Provide an optimized implementation of ffs(3) in libc on</title>
<updated>2020-06-26T20:16:21Z</updated>
<author>
<name>naddy</name>
<email>naddy@openbsd.org</email>
</author>
<published>2020-06-26T20:16:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=08b167769c18321999153a88ef267883b1cc33db'/>
<id>urn:sha1:08b167769c18321999153a88ef267883b1cc33db</id>
<content type='text'>
aarch64/powerpc/powerpc64, making use of the count leading
zeros instruction.  Also add a brief regression test.
ok deraadt@ kettenis@
</content>
</entry>
<entry>
<title>Add framework for resolving (pun intended) libc namespace issues, using</title>
<updated>2015-08-31T02:53:56Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-08-31T02:53:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9b9d2a55a62c8e82206c25f94fcc7f4e2765250e'/>
<id>urn:sha1:9b9d2a55a62c8e82206c25f94fcc7f4e2765250e</id>
<content type='text'>
wrapper .h files and asm labels to let internal calls resolve directly and
not be overridable or use the PLT.  Then, apply that framework to most of
the functions in stdio.h, string.h, err.h, and wchar.h.  Delete the
should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here.

tests clean on i386, amd64, sparc64, powerpc, and mips64

naming feedback from kettenis@ and millert@
ok kettenis@
</content>
</entry>
<entry>
<title>Make index/rindex weak aliases of strchr/strrchr since they are not</title>
<updated>2015-05-15T22:29:37Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2015-05-15T22:29:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=cb39b41371628601fbe4c618205356d538b9d08a'/>
<id>urn:sha1:cb39b41371628601fbe4c618205356d538b9d08a</id>
<content type='text'>
part of the ISO C standard and have also been dropped from POSIX.
OK guenther@ kettenis@
</content>
</entry>
<entry>
<title>asm version from libkern, but mempcy() remains tied to the</title>
<updated>2014-12-04T12:10:26Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2014-12-04T12:10:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f75309e96babac1409082958a02fcce668a61642'/>
<id>urn:sha1:f75309e96babac1409082958a02fcce668a61642</id>
<content type='text'>
MI syslog_r/abort version for the time being.
ok miod
</content>
</entry>
<entry>
<title>restructure libc/string + libc/arch/*/string coperation regarding</title>
<updated>2014-11-30T19:43:54Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2014-11-30T19:43:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5b859c19fe53bbea08f5c342e0a4470e99f883e1'/>
<id>urn:sha1:5b859c19fe53bbea08f5c342e0a4470e99f883e1</id>
<content type='text'>
(potentially) MD versions (function dependent, not filename dependent)
split out memcpy/memmove/bcopy and strchr/index/strrchr/rindex
Bring back amd64 .S versions

And the final touch: switch all architectures temporarily to MI
memcpy.c, which contains syslog + abort for overlapping copies.  A nice
harsh undefined behaviour.  We will clean the entire userland of the
remaining issues in this catagory, then switch to the optimised memcpy
which skips the memmove check.

I tried to cut this change into pieces, but testing each sub-step on
every architecture is too time consuming and mindnumbing.
ok miod
</content>
</entry>
<entry>
<title>junk space</title>
<updated>2009-04-29T18:21:46Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2009-04-29T18:21:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a28daedfc357b214be5c701aa8ba8adb29a7f1c2'/>
<id>urn:sha1:a28daedfc357b214be5c701aa8ba8adb29a7f1c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>missing parts from last commit</title>
<updated>1999-04-25T00:23:57Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>1999-04-25T00:23:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=62a742911104f98b9185b2c6b6007d9b1c36396c'/>
<id>urn:sha1:62a742911104f98b9185b2c6b6007d9b1c36396c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Check-in of powerpc library support.</title>
<updated>1996-12-21T20:42:21Z</updated>
<author>
<name>rahnds</name>
<email>rahnds@openbsd.org</email>
</author>
<published>1996-12-21T20:42:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a4afd6dad3fba28f80e70208181c06c482259988'/>
<id>urn:sha1:a4afd6dad3fba28f80e70208181c06c482259988</id>
<content type='text'>
NOTE: This will not work until the other pieces are checked in.
    This is primarily the NetBSD powerpc port, with modifications
	to support ELF.

</content>
</entry>
</feed>
