summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
AgeCommit message (Collapse)Author
2012-06-20Fix GCC's use of _POSIX_PRIORITY_SCHEDULING andMatthew Dempsky
_POSIX_THREAD_PRIORITY_SCHEDULING. POSIX 2001 states that they can be defined to -1 to indicate that the feature is not supported (which is how we define them), so it's not okay to just check whether or not they're defined. Arguably, SUSv2 allows GCC's usage, but we don't special case these feature flags for SUSv2, and these files need to be compilable in BSD and POSIX compat modes anyway. From Brad.
2012-06-10Change the Perl->C wrappers for mkdtemp and mkstemps to behave more likePhilip Guenthe
the File::Temp routines and call croak() (the C version of 'die') instead of returning an empty list. This lets pkg_add give good error messages when your $PKG_TMPDIR is mounted read-only. ok espie@
2012-05-21Fix binutils-2.17 configure script to build on amd64.Matthew Dempsky
ok miod
2012-05-20remove .cvsignore from cvs source dir, ok deraadtStuart Henderson
building cvs fails after a forgotten 'make obj', but the problem is tough to spot because the files which cause a problem are hidden from 'cvs up' output (even with 'cvs up -I !') because they're listed in .cvsignore.
2012-05-04Enable multi-threaded debugging on hppa.Mark Kettenis
2012-05-04Add __ic_invalidate_array to libgcc on sh.Mark Kettenis
ok miod@, jsg@
2012-04-18Enable multi-threaded debugging on powerpc.Mark Kettenis
2012-04-17Enable multi-threaded debugging on sparc64.Mark Kettenis
2012-04-17Explicitely request -fno-stack-protector on sh when building the unwinder,Miod Vallat
for unwind-dw2.c fails to build otherwise.
2012-04-16Don't attempt to mmap 0-length bss.Miod Vallat
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-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-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-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-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-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-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-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-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