summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
AgeCommit message (Collapse)Author
2007-03-03Add new FUNC/ENDFUNC macros to generate size/type (function) for ELFDale Rahn
with suggestsion from kettenis. ok miod@
2007-03-02Move landisk to hardware floating point. At the moment the FPU context isMiod Vallat
always saved upon context switches, as FPU registers are heavily used for long long computations (don't ask). Gcc default to -m4. Credits to drahn@ otto@ and deraadt@ for feedback and help testing. Upgrade procedure if you don't want to use the damn snapshots: - build and install new kernel, reboot off it - build new gcc, do not install it yet - make includes - install new gcc - build and install lib/csu and lib/libc - make build
2007-02-24replace 400 lines of md5 code in Digest::MD5's XS with 4 linesSimon Bertrang
that use our system md5(3) idea by espie@, help and ok millert@
2007-02-16Back-port a getpeername() fix from IO version 1.30.Todd C. Miller
Also add a missing defined() that fixes send on unix domain sockets.
2007-02-14remove GNU RCS implementation from the tree. Open RCS has been used for overNiall O'Higgins
a release now. prompted by deraadt@, ok joris@
2007-02-04upgrade documentation so it reflects the way MakeMaker currently fillsMarc Espie
the test framework. okay millert@
2007-02-01Ignore HASATTRIBUTE_UNUSED for C++ as our g++ does not grokTodd C. Miller
the __unused__ attribute. Also give XS functions C linkage. Patch taken from perl-current.
2007-01-31gcc 3.3 doesn't support __attribute__((unused)) in C++ mode. PatchTodd C. Miller
taken from the perl devel tree. Required to build C++-based perl extensions. OK espie@ (who had a slightly different patch).
2007-01-20-Wstack-larger-than support, copied from gcc2.Miod Vallat
2007-01-17Remove references to xm files that no longer exist. Taken from GCC 3.4.Marc Aurele La France
ok brad@
2007-01-07Make unwinding through kernel trap frames work on sparc64.Mark Kettenis
2007-01-06Make gcc(1) really ignore __attribute__((visibility)) if HAVE_GAS_HIDDEN isn'tMark Kettenis
defined. ok miod@
2006-12-26Make exception handling work on alpha.Mark Kettenis
tested by naddy@, deanna@; ok brad@
2006-12-23Remove trailing spaces in sed expression.Mark Kettenis
From Michael Small. Fixes PR 5300. ok otto@
2006-12-13Fix a few unitialized vars, all taken from gcc trunk, except theOtto Moerbeek
change in shl_sext_kind(). ok miod@ deraadt@
2006-11-30When using setproctitle() don't fall back into the non-setproctitle()Todd C. Miller
code. Fixes an environment corruption problem when $0 is modified. From Alexander Bluhm; this is perl bug #41008
2006-11-28Turn OVERRIDE_OPTIONS macro into a function, so that we can putMiod Vallat
preprocessor directives in it; then do our changes only if either OPENBSD_NATIVE or OPENBSD_CROSS is defined; then disable -fregmove for now. ok otto@
2006-11-22Improved cross build support for gcc on OpenBSD. allows the cross builtDale Rahn
compiler to have the same default options as native. The changes to cross build a native compiler is not quite complete. "Get this in" miod@
2006-11-21Use appropriate wait(2) macros to test for editor failure.Ray Lai
This also fixes an `&&' that was supposed to be an `&'. Reported by Alexey Dobriyan <adobriyan at gmail dot com>. ``I like it'' otto@.
2006-11-16let E<copy> be recognized for man documents as well.Marc Espie
Noticed by jasper@, work by millert@ and me, okay millert@
2006-11-16hack at build process some more, so that files are not rebuilt under src,Marc Espie
especially since we have the tools. problem reported by Ryan McBride, okay deraadt@, mcbride@
2006-11-15make sure pod parsers are in a sane state at beginning of parse.Marc Espie
pod2text and pod2man re-use the same parser on a list of files, and will lose some information if some intermediate documents produce unbalanced calls to begin_cmd/end_cmd. okay millert@
2006-11-14Do not align jump targets to cache line boundaries at -O2 on OpenBSD.Miod Vallat
2006-11-11Provide size and type of symbols so that it doesn't confuse ld when buildingDale Rahn
shared binaries/libraries.
2006-11-11OpenBSD defaults to dynamic linker of /usr/libexec/ld.soDale Rahn
2006-11-10Convert to use inf-ptrace.c.Mark Kettenis
2006-11-10Handle OpenBSD as well.Mark Kettenis
2006-11-10Yes, openbsd does not support shared libraries on sh yet, but why make it hard?Dale Rahn
2006-11-09Don't build profiled libperl; requested by deraadt@Todd C. Miller
2006-11-09Dont build all of the extra libgcc.a files, they are not needed forDale Rahn
native OpenBSD.
2006-11-09Initial stab at OpenBSD/sh support.Mark Kettenis
2006-11-09grok sh-*-openbsd*Theo de Raadt
2006-11-09no shlibs on sh yetTheo de Raadt
2006-11-06Move back to softfloat for now.Dale Rahn
2006-11-03Use __start (the symbol we provide) not start. ok miod@Dale Rahn
2006-10-31Fix infinite loop when passing object with 3+ base classes by value:Peter Stromberg
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18300 Needed by openoffice and boost on amd64 ok espie@ miod@
2006-10-28Make stack executable when doing trampolines on macppcPedro Martelletto
Okay espie@, kettenis@
2006-10-24fix a crash with --statistics. closing file in the wrong place.Ted Unangst
from dasn. ok deraadt
2006-10-18Under OpenBSD, do not force -msmall-data if -fpic and -mlarge-data if -fPIC.Miod Vallat
Instead, have both -fpic and -fPIC only select pic code generation, and use whatever memory mode is specified (with -mlarge-data being the implicit default). This means that -fpic and -fPIC will be equivalent by default under OpenBSD again, as was the case with gcc 2.x; this will help porter's lives. No consensus but a majority of developers in favour of this change (including martin@, pvalchev@, deraadt@ and I), so in it goes.
2006-10-13Add check for mkdtemp(3) failure. Prevents segfaults when TMPDIRRay Lai
or TMP are set to nonexistent directories. Fixes PR 5247, reported by Marcus Popp <mpopp at paranoidbsd dot org> OK millert@, jaredy@, and improvement by moritz@.
2006-10-11Default to -m4.Miod Vallat
2006-10-10fgets(3) returns NULL on error, not 0. No functional change, but it makesChad Loder
the code easier to read. OK deraadt
2006-10-08Define superH obsd-specific emulations for ld, and use it by default.Miod Vallat
2006-10-06Disable stack protector in OVERRIDE_OPTIONS regardless of the commandlineMiod Vallat
settings for now.
2006-10-06Early bits for a 32-bit SuperH toolchain, currently for little-endianMiod Vallat
systems only; more work is necessary in ld land.
2006-09-29garbage collect obsolete or unused macros - TARGET_ENDIAN_DEFAULT,Brad Smith
PREFERRED_DEBUGGING_TYPE and ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL. ok kettenis@ martin@
2006-09-25Use S_IS* macros insted of masking with S_IF* flags. The latter mayOtto Moerbeek
have multiple bits set, which lead to surprising results. Spotted by Paul Stoeber. ok kettenis@
2006-08-04unbreak MANPS builds;Jason McIntyre
ok espie
2006-07-23Do not build & install gdbtui.Mark Kettenis
2006-07-20Introduce a new compiler warning, -Wstack-larger-than-N, to reportMiod Vallat
functions which are too greedy in stack variables. This is intended to be used for kernel compiles, where this warning will be enabled for a reasonable size (after a few weeks grace period so that people can upgrade their compiler). Please note that this warning relies upon md code, and as such is only available on platforms OpenBSD runs on; also, the stack size being warned on is only the local variables size, regardless of the ABI stack usage requirements and the callee-saved registers; which means a function may be warning-clean yet need more stack space than meets the eye; the actual size being checked on may change to include these extras in the future.