<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/libexec/ld.so/alpha/rtld_machine.c, branch jd/histogram</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/libexec/ld.so/alpha/rtld_machine.c?h=jd%2Fhistogram</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/libexec/ld.so/alpha/rtld_machine.c?h=jd%2Fhistogram'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-12-07T22:57:47Z</updated>
<entry>
<title>Disable ltrace for objects linked with -znow, as at least on amd64, linking</title>
<updated>2019-12-07T22:57:47Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2019-12-07T22:57:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d9337de30c60a295621aec3876b442e235b05c93'/>
<id>urn:sha1:d9337de30c60a295621aec3876b442e235b05c93</id>
<content type='text'>
that was deletes the lazy relocation trampoline which ltrace currently
depends on

problem reported by tb@
directional feedback kettenis@
ok mpi@
</content>
</entry>
<entry>
<title>Prefer the size-independent ELF identifiers over the size-specific ones.</title>
<updated>2019-10-23T19:55:08Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2019-10-23T19:55:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e3b0f1d9f0b66ddbbaef7c091ed4b0707106a624'/>
<id>urn:sha1:e3b0f1d9f0b66ddbbaef7c091ed4b0707106a624</id>
<content type='text'>
Strip superfluous parens from return statements while here.

Done programatically with two perl invocations

idea ok kettenis@ drahn@
ok visa@
</content>
</entry>
<entry>
<title>Delete some obsolete debugging #ifdefs blocks</title>
<updated>2019-10-05T00:08:50Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2019-10-05T00:08:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d6b8755eabe45a0eb83f5f85c8d365d23653dbc9'/>
<id>urn:sha1:d6b8755eabe45a0eb83f5f85c8d365d23653dbc9</id>
<content type='text'>
ok mlarkin@, mpi@, krw@, deraadt@
</content>
</entry>
<entry>
<title>Factor out TEXTREL mprotecting from the per-arch files into _dl_rtld(),</title>
<updated>2019-08-06T04:01:41Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2019-08-06T04:01:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=90273bfb6a9670b47465d315bcdd9bfb5678fb5a'/>
<id>urn:sha1:90273bfb6a9670b47465d315bcdd9bfb5678fb5a</id>
<content type='text'>
hiding the actual grotty bits in inline functions

ok mpi@
</content>
</entry>
<entry>
<title>Simplify _dl_find_symbol().  Currently, it returns three values:</title>
<updated>2019-08-04T23:51:45Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2019-08-04T23:51:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=143e5accc158c0698519f1aed096f85b567edde3'/>
<id>urn:sha1:143e5accc158c0698519f1aed096f85b567edde3</id>
<content type='text'>
 - the symbol it found, returned via the second argument
 - the base offset of the the object it was found in, via the return value
 - optionally: the object it was found in, returned via the last argument

Instead, return a struct with the symbol and object pointers and let the
caller get the base offset from the object's obj_base member.  On at least
aarch64, amd64, mips64, powerpc, and sparc64, a two word struct like this
is passed in registers.

ok mpi@, kettenis@
</content>
</entry>
<entry>
<title>Make alpha less special: _dl_boot_bind() is written to complete</title>
<updated>2018-11-22T21:37:29Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2018-11-22T21:37:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c9db2c6cc9c28bf8ff81d191ed1dd7b77a021120'/>
<id>urn:sha1:c9db2c6cc9c28bf8ff81d191ed1dd7b77a021120</id>
<content type='text'>
relocation of ld.so's GOT without using it, so _reloc_alpha_got()
merely made the call to _dl_boot_bind() from asm simpler...while
itself being a call that required special handling.

diff and muild baking by miod@
ok guenther@
</content>
</entry>
<entry>
<title>Finish ld.so's transition to GNU_RELRO: eliminate support for using</title>
<updated>2018-11-16T21:15:47Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2018-11-16T21:15:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=252050682a87ce44092ddc6588d4cdbd16b96613'/>
<id>urn:sha1:252050682a87ce44092ddc6588d4cdbd16b96613</id>
<content type='text'>
__got_{start,end} to find a region to mark read-only.  It was only used
for binaries that didn't have a GNU_RELRO segment, but all archs have
been using that for over a year.  Since support for insecure-PLT layouts
on powerpc and alpha have been removed, all archs handle GNU_RELRO the
same way and the support can be moved from the MD code to the MI code.

ok mpi@
</content>
</entry>
<entry>
<title>Delete support for non-secureplt binaries.  The secure PLT format has been</title>
<updated>2018-11-12T02:33:42Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2018-11-12T02:33:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9e9d93fd91b2d5582827eefa42ba79177e9ee925'/>
<id>urn:sha1:9e9d93fd91b2d5582827eefa42ba79177e9ee925</id>
<content type='text'>
the default for years and ports doesn't appear to have anything patching
to use the old format.

ok deraadt@
</content>
</entry>
<entry>
<title>__plt_{start,end} are no longer generated or necessary, having been</title>
<updated>2017-10-10T04:49:10Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-10-10T04:49:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d6291a7b1c0a58bcc5fd0ecc31b158badc3eeafe'/>
<id>urn:sha1:d6291a7b1c0a58bcc5fd0ecc31b158badc3eeafe</id>
<content type='text'>
superseded by the generic ?WX and RELRO support.  Stop trying to look
up and use them.

ok kettenis@ deraadt@
</content>
</entry>
<entry>
<title>correct format strings, ok guenther</title>
<updated>2017-02-16T13:31:10Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2017-02-16T13:31:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d9d17dbfb3f018b38d40510eee9e02861ce0e4a5'/>
<id>urn:sha1:d9d17dbfb3f018b38d40510eee9e02861ce0e4a5</id>
<content type='text'>
</content>
</entry>
</feed>
