summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2012-04-14remove libf2c, hasn't been built since it was moved to ports in 2010.Jonathan Gray
ok miod@ espie@
2012-04-13Enable multi-threaded debugging on amd64.Mark Kettenis
2012-04-13Enable multi-threaded debugging on i386.Mark Kettenis
2012-04-13Add support for live debugging of multi-threaded code.Mark Kettenis
2012-04-13hook in requisite bits for OpenBSD::MkTemp to build and man.Marc Espie
2012-04-13extra .xs glue to use mkstemp and mkdtemp directlyMarc Espie
written by guenther@ about a year ago. discussed with him and millert@
2012-04-12Don't munge PID and TID together, since the way GDB displays them isn't veryMark Kettenis
helpful. Just provide the TID instead.
2012-04-12Revert change not intended to be committed.Kurt Miller
2012-04-12Remove incorrect -pthread preprocessor define _POSIX_THREADS and replaceKurt Miller
with _REENTRANT. Also remove undef _POSIX_THREADS in phread.h. From brad@comstyle.com. okay guenther@
2012-04-12the fpu control symbol on sh (__fpscr_values) suddenly becomes localJonathan Gray
instead of global with gcc4 and this ends up breaking things in hard to debug ways. So move the definition to csu instead of libgcc. ok miod@
2012-04-12backout gcc revision 112331 "optimized integer divide for SH4"Jonathan Gray
so we can use the existing sh libkern functions. ok miod@
2012-04-11Minimal threads support for i386.Mark Kettenis
2012-04-09Minimal threads support for mips64.Mark Kettenis
2012-04-08Minimal threads debug support for powerpc.Mark Kettenis
2012-04-07Minimal threads debug support for sparc64.Mark Kettenis
2012-04-07The wcookie is per-process, not per-thread.Mark Kettenis
2012-04-07Fix previous commit; the function signatures are different for our in-treeMark Kettenis
version of GDB compared to what's currently upstream.
2012-04-06Minimal threads debug support; enough to make attach and detach work.Mark Kettenis
Only amd64 for now; more architectures will follow.
2012-04-02In r1.2, instead of making -fno-ident the default, its semantics have beenPascal Stumpf
totally fucked up, effectively leading to inverted behaviour of the -fident and -fno-ident flags (while keeping the .ident string in by default). Revert it back to normal and default to -fno-ident. ok millert@
2012-03-31sync cvsignore patterns. ok sthen@Matthieu Herrb
2012-03-29Add ecoff as possible targets for the mips ports, to be able to muildMiod Vallat
ecoff moot blocks on sgi.
2012-03-28Default to -mfix-r4000 -mfix-r4400 when building in big endian mode. This isMiod Vallat
a lifesaver for R4000 and R4400 operation; without these, every int->long promotion occuring shortly after an integer multiplication (such as an array element access when the array item size is not a power of two) loses horribly, and panic^Whilarity ensues. This mostly causes assembly insns to be shuffled, but almost no code size growth and no noticeable performance hit on processors which do not need these insn placement workarounds.
2012-03-26Adjust the default "ignore" list for cvs;Stuart Henderson
- don't ignore "core", it gets in the way when we import certain things - ignore "*.core" to match the actual filenames we use for core dumps suggested by landry@ - ignore ".git" to avoid accidental imports of the directory when used locally "on top of" cvs various versions ok'd by landry@ todd@ espie@ phessler@ dcoppa@
2012-03-06Define NO_UNSAFE_BUILTINS, overlooked when local changes got merged to gcc4.Pascal Stumpf
Found by Brad. Also, consider stpcpy an unsafe builtin and prevent it from being optimised away. ok miod@
2012-03-04In preparation for getline and getdelim additions to libc, rename getline()Federico G. Schwindt
occurrences to get_line(). Based on a diff from Jan Klemkow <j-dot-klemkow-at-wemelug-dot-de> to tech.
2012-03-01Sync gcc3 and gcc4 knowledge of the kernel printf capabilities with reality:Miod Vallat
kprintf supports %z, doesn't support old ddb %n/%r%z anymore, and check of %b arguments have to occur on the next argument, like, duh. These changes will eventually allow for kernel to be compiled without -Wno-format, but some more casts or type changes are necessary, first. Discussed about six months ago at s2k11, time to put this in, so that I have no excuse not to work on the format fixes diffs.
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