summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2012-01-09More efficient method of building the symlink tree that makes betterTodd C. Miller
use of awk. Slightly faster and works around an apparent namei or buffer cache related bug on arm. Requested and OK deraadt@
2012-01-06zap double copy of this file, as noticed by brad@Marc Espie
2012-01-05ignore vim's .*.swp files.Marc Espie
okay fgs@, millert@
2012-01-05Teach as(4) about cmpxchg16b on amd64.Mark Kettenis
ok miod@
2012-01-01Properly recognize threads in OpenBSD core dumps.Mark Kettenis
2011-12-31Properly recognize threads in OpenBSD core dumps.Mark Kettenis
2011-12-15Convert restrict -> __restrict. "restrict" is not a keyword in C90 andPascal Stumpf
C++98, so clang++ rightfully complains about it when in C++98 mode (the default). Found while investigating the other clang issue, with helpful input from espie@. ok jsg@
2011-12-15Remove the XXX_CHECK defines. This allows clang++ to include cstdioPascal Stumpf
without barfing about conflicting declarations. Issue reported by Amit Kulkarni, investigated by matthew@ and kettenis@. ok kettenis@
2011-12-15In duplicate_decls(), don't try to take advantage of the ``permanent_obstack''Miod Vallat
memory usage optimization, because this code is just bogus and causes access-beyond-allocated-size SIGSEGV in the wild. This is part of a larger diff (being worked on) backporting the removal of ``permanent_obstack'' completely from gcc, as done by the gcc folks in 3.x after they came to their senses (or got tired of dissecting coredumps on platforms with strong malloc implementations). Only affects m68k, m88k and vax; collecting dust in the m88k tree, commit triggered by sebastia@ via espie@ as this fixes the devel/gperf port on vax.
2011-12-04Restore MAX_OFILE_ALIGNMENT define (lost during the gcc3 -> gcc4 switch),Miod Vallat
and change ASM_OUTPUT_ALIGNED_COMMON to output an explicit .align directive, as gas will not compute it from the size (despite what comments elsewhere in gcc code say). This effectively makes __attribute__ ((aligned (N))) constructs work as intended for .bss objects. ok kettenis@
2011-11-25Final configuration bits for gcc4: require alignment of local arrays onMiod Vallat
word boundaries, and enable the builtins.c `one-byte memcpy' workaround.
2011-11-25Allow MD backend to prevent the optimization of a bcopy() or memmove() ofMiod Vallat
size 1 (the size being known at compile-time) into an inline mempcpy() expansion, which will in turn expand into a byte load and store operation. This expansion loses precious address alignment information at some point (because everybody knows that you can read a byte from any address, right?), and this loses bigtime on strict alignment platforms which lack the ability to accesse bytes directly, such as alpha (unless compiling with -mbwx and runnning on a BWX-capable cpu). An example of such call with size 1 is lib/libkvm/kvm.c line 780.
2011-11-25Gratuitous major crank for upcoming alpha switch to gcc 4, in order to haveMiod Vallat
different libstdc++.so majors. ok deraadt@
2011-11-21when testing COMPILER_VERSION don't assume the default case is gcc2Jonathan Gray
ok drahn@
2011-11-20don't use == when = was intendedJonathan Gray
ok kettenis@
2011-11-16Sync to ../binutils/Makefile.bsd-wrapper rev. 1.76:Ingo Schwarze
Always install addr2line(1), objcopy(1), and readelf(1) manuals, even on architectures with !ELF_TOOLCHAIN && !USING_NEW_BINUTILS. Such architectures do not yet exist, but both symmetry and fixing potential future issues early are good ideas. ok jsing@
2011-11-12Satisfy -Wbounded.Paul Irofti
Patch gyped from nicm@'s and jasper@'s work on the gdb port.
2011-11-12Unscrew the cross-gcc build after the bounds warning addition.Paul Irofti
Pointed out by sthen@, LGTM jsing@.
2011-11-09openbsd will never support __ARMEB__, so remove it hereJasper Lievisse Adriaanse
ok deraadt@
2011-11-02Remove '#if !defined(OpenBSD)' wrappers around wcsftime() and iswblank().Stefan Sperling
From brad. ok kettenis espie
2011-11-01Security fix for CVE-2011-2939, Perl decode_xs heap-based buffer overflow.Jasper Lievisse Adriaanse
ok espie@ millert@
2011-10-30Always install addr2line(1), objcopy(1), and readelf(1), even onIngo Schwarze
architectures with !ELF_TOOLCHAIN && !USING_NEW_BINUTILS (like vax, m68k). There is no need to reach around from usr.bin/Makefile into binutils; we always descend into either binutils or binutils-2.17. All is fine so far with binutils-2.17 since ia64 has USING_NEW_BINUTILS. tested on vax and ok deraadt@
2011-10-21change LINK_SPEC in such a way that -rdynamic will workJonathan Gray
(passes -export-dynamic to ld(1)) ok drahn@ miod@
2011-10-17Some wcsftime declarations were still wrapped in !defined(__OpenBSD__).Stefan Sperling
from brad; ok kettenis
2011-10-16libstdc++ (gcc2) major bump for safety. wscanf and wcsftime were added to libc.Stefan Sperling
2011-10-16Expose wscanf(3) and wcsftime(3) in the std:: namespace (gcc3) and bump major.Stefan Sperling
testing by naddy, final diff from kettenis
2011-10-16Expose wscanf(3) and wcsftime(3) in the std:: namespace (gcc4) and bump major.Stefan Sperling
2011-10-11Update Digest module to 1.17 (security fix).Remi Pointel
Thanks Emeric Boit for reporting me this. ok millert@ espie@
2011-09-27Enable previous find_barrier() pessimization also for non-PIC code too.Miod Vallat
2011-09-24Tell perl not to attempt to use LC_COLLATE or LC_NUMERIC which weTodd C. Miller
don't yet support. OK stsp@
2011-09-22Always install all manuals on all architectures.Ingo Schwarze
No more exceptions even for binutils. No more share/man in src/distrib/sets/lists/*/md.* ok deraadt@
2011-09-22Add missing ia64 bits.Mark Kettenis
2011-09-20In find_barrier(), be less aggressive when deciding how many instructionsMiod Vallat
can be put between two set of pc-relative loaded data if we are compiling PIC code; subsequent optimization passes are not as benign as what find_barrier() expects, leading to dreaded ``pcrel too far'' as(1) errors.
2011-09-19- enable thread model posix for gcc 3 which makes dwarf2 exceptionChristian Weisgerber
handling thread safe and enables thread safety for libstdc++ - bump libstdc++ major See faq/current.html for instructions on how to correctly build userland for this change. originally from kurt@, ok miod@
2011-09-19Don't unconditionally create the dynamic sections since that makes buildingMark Kettenis
static binaries impossible.
2011-09-18Override LIB2ADDEH on ia64. Probably not quite right, but at least this makesMark Kettenis
it possible to build a cross compiler, and we don't really care about exception handling until we have a kernel to run C++ code on anyway.
2011-09-15Port the -Wbounded extension from gcc3 to gcc4. Based on work started byNicholas Marriott
jasper@. This omits the sizeof(pointer) tracking which is very difficult to implement for gcc4 due to internal changes. Thanks to landry@ for running through a ports bulk build and both landry@ and jasper@ for fixing a few issues. ok deraadt millert jasper
2011-09-03Fix backtrace across signals on amd64Philip Guenthe
ok kettenis@
2011-08-04Don't use 128-bit long doubles for now (and perhaps forever). It isn'tMark Kettenis
implemented in hardware anyway.
2011-08-04Add support for hppa64.Mark Kettenis
ok deraadt@
2011-08-02After the MANIFEST-based symbolic link creation loop, there is a checkTheo de Raadt
for a specific link to see if things worked out. Add a check for the very last file in the MANIFEST, as well, since we are trying to spot a very odd bug where symbolic links are not being created. Hopefully this will help us diagnose it. ok guenther millert
2011-07-27Add support for OpenBSD/hppa64.Mark Kettenis
2011-07-26Add OpenBSD/hppa support.Mark Kettenis
2011-07-22update to lynx2.8.7rel.2, with local patches:Anil Madhavapeddy
- restore local lynx.cfg settings [avsm] - fix makefile races [espie] - read/write result checking fixes to avoid unsigned comparisons vs -1 [krw] - initialize all the InputFieldData members correctly [fgsch] - fix socklen_t test to include <sys/types.h> [miod] - fgets(3) returns NULL on error, not 0. No functional change [cloder] ok krw@, tests by Simon Kuhnle and Martin Pieuchot
2011-07-18Enable SJLJ C++ exceptions on arm here too.Matthieu Herrb
ok miod@, drahn@, kurt@
2011-07-10remove a duplicate definition of BadOp(), fixes compilation on i386Jonathan Gray
ok miod@
2011-07-08This was included in the diff which merged miod's WIP code, but was missedDale Rahn
when the code was committed a few days ago. noticed by kettenis.
2011-07-06Replace a comment asking for a particular order to build stuff inIngo Schwarze
by actual make rules to enforce that order. While here, correct the MANDIR which must no more contain "cat". krw@ also confirms that this lets binutils build with -j.
2011-07-06Finalize work on the math library. It's time to do this monsterMartynas Venckus
commit, and deal with problems (if any) in tree. Note that this adds the following functions. Ports with hacks might need adjustments. nexttoward(3), fma(3), nexttowardf(3), fmaf(3), acoshl(3), asinhl(3), atanhl(3), coshl(3), sinhl(3), tanhl(3), expl(3), expm1l(3), logl(3), log10l(3), log1pl(3), log2l(3), modfl(3), cbrtl(3), hypotl(3), powl(3), erfl(3), erfcl(3), lgammal(3), tgammal(3), ceill(3), floorl(3), lrintl(3), llrintl(3), roundl(3), lroundl(3), llroundl(3), truncl(3), fmodl(3), remainderl(3), remquol(3), nextafterl(3), nexttowardl(3), fmal(3). With this commit, our library implements all functionality required by C99. Documentation bits will follow.
2011-07-05Allow switching between binutils and binutils 2.17.Dale Rahn
NOTE: binutils-2.17 has not been tested on any archs. ok pirofti@