summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
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-30silence warning, as noticed with eric and landryMarc Espie
(gcc3 may need the same patch, untested yet)
2012-05-30Avoid errors with g++ -pedantic by removing throw() from the redeclaration ofPascal Stumpf
posix_memalign(). ok matthew@ guenther@
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-10fix warning. Reminded by landry@, I plain forgot to commit. This has been testedMarc Espie
for ages by now.
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-17Do not disable the stack protector by default anymore.Miod Vallat
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-15Use the proper symbol name for __guard in the workaround for theMiod Vallat
unable to find a register to spill in class 'R0_REGS' ICE when compiling PIC code. Similar to the MI targhooks.c change.
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@