diff options
author | 2013-02-07 22:33:58 +0000 | |
---|---|---|
committer | 2013-02-07 22:33:58 +0000 | |
commit | 3accb18c44bd1bcb0bec290d513e285f6dcb6e03 (patch) | |
tree | 9097ff2ce9d3a81704a56979076d36b0706885fc | |
parent | apache modules as .so too (diff) | |
download | wireguard-openbsd-3accb18c44bd1bcb0bec290d513e285f6dcb6e03.tar.xz wireguard-openbsd-3accb18c44bd1bcb0bec290d513e285f6dcb6e03.zip |
Sync with reality. Partially revert 1.28 since gcc 3 is back in town. Also
mention collect2 ctor wrapper only exists on vax, and sjlj exceptions only
remain on vax on m88k as of today.
-rw-r--r-- | share/man/man1/gcc-local.1 | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/share/man/man1/gcc-local.1 b/share/man/man1/gcc-local.1 index ded5621a448..9c11fa044e5 100644 --- a/share/man/man1/gcc-local.1 +++ b/share/man/man1/gcc-local.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gcc-local.1,v 1.34 2013/01/06 21:53:49 martynas Exp $ +.\" $OpenBSD: gcc-local.1,v 1.35 2013/02/07 22:33:58 miod Exp $ .\" .\" Copyright (c) 2002 Marc Espie .\" Copyright (c) 2003 Anil Madhavapeddy @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 6 2013 $ +.Dd $Mdocdate: February 7 2013 $ .Dt GCC-LOCAL 1 .Os .Sh NAME @@ -35,7 +35,7 @@ .Ox uses derivatives of .Xr gcc 1 -versions 2.95.3 or 4.2.1, +versions 2.95.3, 3.3.6 or 4.2.1, depending on machine architecture. In all cases, the software comes with specific modifications for @@ -48,11 +48,10 @@ does not search under for include files nor for libraries: as a system compiler, it only searches the system paths by default. .It -On most architectures, +On all architectures where the stack is non-executable, trampoline code marks the smallest possible area around the trampoline stub executable using -.Xr mprotect 2 , -since the stack area is by default non-executable. +.Xr mprotect 2 . .It Trampoline code generation is disabled by default. Code requiring trampolines will not compile without @@ -125,15 +124,18 @@ This exposes latent bugs for 64-bit architectures, where a terminating 0 will expand to a 32-bit int, and not a full-fledged 64-bits pointer. .It -On some platforms, +On vax, .Nm gcc still uses .Xr setjmp 3 / .Xr longjmp 3 - style exceptions, and so needs extra fixes beyond the pure 2.95.3 release. +.Po so-called +.Dq sjlj +exceptions are also used on aviion, luna88k and mvme88k +.Pc .It -On a few -platforms (mostly a.out), +On a.out platforms (i.e vax), .Nm gcc uses a linker wrapper to write stubs that call global constructors and destructors. @@ -222,6 +224,8 @@ This behavior can be restored with will not move variables initialized with the value zero from the data section to the bss section. The default behaviour of +.Nm gcc 3.3.6 +and .Nm gcc 4.2.1 on other systems is to perform this action, which can be restored for .Ox |