<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/gnu/usr.bin/binutils/ld/ldmain.c, branch jd/histogram</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/gnu/usr.bin/binutils/ld/ldmain.c?h=jd%2Fhistogram</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/gnu/usr.bin/binutils/ld/ldmain.c?h=jd%2Fhistogram'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2014-12-22T14:09:58Z</updated>
<entry>
<title>Teach ld(1) not to add a PT_INTERP entry for -static -pie.</title>
<updated>2014-12-22T14:09:58Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2014-12-22T14:09:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2d6de53b6832b1a63b46fdbe0f539ec82f5350ac'/>
<id>urn:sha1:2d6de53b6832b1a63b46fdbe0f539ec82f5350ac</id>
<content type='text'>
ok kurt@
</content>
</entry>
<entry>
<title>Backport @file support from binutils-2.17</title>
<updated>2014-08-31T13:40:02Z</updated>
<author>
<name>tobiasu</name>
<email>tobiasu@openbsd.org</email>
</author>
<published>2014-08-31T13:40:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a95e6fec581636af2a82a971254c0719e6204648'/>
<id>urn:sha1:a95e6fec581636af2a82a971254c0719e6204648</id>
<content type='text'>
@file allows reading command line arguments from a file. Gcc now uses this to
pass very long arguments lists to ld.

ok guenther@ miod@
</content>
</entry>
<entry>
<title>Add support for PIE-by-default in both ld and gcc.  This is a completely</title>
<updated>2012-08-28T18:59:28Z</updated>
<author>
<name>pascal</name>
<email>pascal@openbsd.org</email>
</author>
<published>2012-08-28T18:59:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9622a78f2d82a6ba6ae69b32a8dc97de1d2b5596'/>
<id>urn:sha1:9622a78f2d82a6ba6ae69b32a8dc97de1d2b5596</id>
<content type='text'>
different approach than the one taken in kurt@'s original diff, but deemed
better after discussion and diff exchange with kettenis@ and matthew@.

Lots of feedback by kettenis@ and matthew@, prodding and encouragement by
deraadt@.

ok kettenis@ matthew@
</content>
</entry>
<entry>
<title>Merge conflicts, bringing our changes back in:</title>
<updated>2004-11-02T20:44:57Z</updated>
<author>
<name>miod</name>
<email>miod@openbsd.org</email>
</author>
<published>2004-11-02T20:44:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=007c2a4539b8b8aaa95c5e73e77620090abe113b'/>
<id>urn:sha1:007c2a4539b8b8aaa95c5e73e77620090abe113b</id>
<content type='text'>
- extra $(SHELL) and sugar for make (so that files not mode +x still work)
- safer temp file handling
- our W^X binary layout changes in ld
- OpenBSD policy for library file selection in ld
- arm and m88k changes which were not merged in time for official 2.15
- bfd core file handling
- a couple typos

New for 2.15:
- ld(1) and as(1) manpages now generated at build time
- binutils/stabs.c reverted to use our in-tree libiberty for now
- we still use our VIA C3 crypto code over stock binutils, as it recognizes
  more instructions
- new emulations for OpenBSD on mips64 machines, to help OpenBSD/sgi
- relaxed %f# handling in gas on OpenBSD/sparc64 (same as was in 2.14)

Tested on all platforms by various people; special thanks to sturm@ and
otto@.
</content>
</entry>
<entry>
<title>Resolve merge conflicts, adjust method of W^X handing (.sh files)</title>
<updated>2004-05-17T21:54:18Z</updated>
<author>
<name>drahn</name>
<email>drahn@openbsd.org</email>
</author>
<published>2004-05-17T21:54:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c074d1c999f3e07019cd5e9a2f190b057ef3b935'/>
<id>urn:sha1:c074d1c999f3e07019cd5e9a2f190b057ef3b935</id>
<content type='text'>
remove testsuites (not useable) remove mmalloc (not part of new binutils).
</content>
</entry>
<entry>
<title>This is a project to modify executables so that they do not have any</title>
<updated>2003-01-17T20:50:13Z</updated>
<author>
<name>drahn</name>
<email>drahn@openbsd.org</email>
</author>
<published>2003-01-17T20:50:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=58cb065838343f5d972d625775790ebb89f56d88'/>
<id>urn:sha1:58cb065838343f5d972d625775790ebb89f56d88</id>
<content type='text'>
executable regions which are writable. If a section of an executable is
writable and executable, it is much easier for errant code to modify the
executable's behavior.

Two current areas in shared library environments which have this
critical problem are the GOT (Global Offset Table) and PLT (Procedure
Linkage Table). The PLT is required to be executable and both GOT and
PLT are writable on most architectures. On most ELF architecture
machines this would cause shared libraries to have data and BSS marked
as executable.

Padding to the linker script for programs and shared libraries/objects
to isolate the GOT and PLT into their own load sections in the
executables. This allows only the text(readonly) region and the PLT
region to be marked executable with the normal data and BSS not marked
as executable. The PLT region is still marked executable on most
architectures because the PLT lives in the "data" or "BSS" regions
and the dynamic loader will need to modify it. Since the GOT and PLT
should only ever be written by the dynamic linker, it will be modified
to mprotect those regions so that they are not writable during normal
execution. If the dynamic linker needs to modify the regions later,
(eg for lazy binding), it will mprotect the region, make the necessary
changes, and mprotect it back. Since it is possible to receive a
signal which would interrupt the program flow and perhaps cause the
dynamic linker to modify the same (or nearby) PLT references, it is now
necessary for signals to be blocked for the duration of the mprotect.
</content>
</entry>
<entry>
<title>resolve conflicts.</title>
<updated>2002-05-13T17:07:28Z</updated>
<author>
<name>fgsch</name>
<email>fgsch@openbsd.org</email>
</author>
<published>2002-05-13T17:07:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b55d46928a2b71c17e5349c93fca2971ba1cafa1'/>
<id>urn:sha1:b55d46928a2b71c17e5349c93fca2971ba1cafa1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Help stupid cvs fixing basic conflicts.</title>
<updated>2000-09-12T19:10:55Z</updated>
<author>
<name>espie</name>
<email>espie@openbsd.org</email>
</author>
<published>2000-09-12T19:10:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b305b0f1cb8417acb9d6ca66ca17b05cf1dc8fc9'/>
<id>urn:sha1:b305b0f1cb8417acb9d6ca66ca17b05cf1dc8fc9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge to Cygnus 961112 + add some support (not ready) for shared libs</title>
<updated>1996-11-23T03:32:19Z</updated>
<author>
<name>niklas</name>
<email>niklas@openbsd.org</email>
</author>
<published>1996-11-23T03:32:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e93f7393d476ad1c5192174ea92f14ecc97182e7'/>
<id>urn:sha1:e93f7393d476ad1c5192174ea92f14ecc97182e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge the Cygnus 960904 sources</title>
<updated>1996-09-04T18:58:30Z</updated>
<author>
<name>niklas</name>
<email>niklas@openbsd.org</email>
</author>
<published>1996-09-04T18:58:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0c6d0228f609db1d9eaf0172fc8b249c7896396c'/>
<id>urn:sha1:0c6d0228f609db1d9eaf0172fc8b249c7896396c</id>
<content type='text'>
</content>
</entry>
</feed>
