summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2010-05-08Some fixes from upstream to make this compile with gcc4.Mark Kettenis
ok jsg@, miod@
2010-05-08Install libsupc++ header files as well.Mark Kettenis
ok robert@
2010-05-07Add the bits of code I wrote for the ports gcc that are necessary to handleMark Kettenis
StackGhost on sparc64.
2010-05-07Add some missing HAVE_AS_SPARC defines necessary to make exception handlingMark Kettenis
work on sparc64.
2010-05-07Bring over changes from gcc3 (and gcc4 in ports) to make C++ exceptionMark Kettenis
handling work with shared libraries.
2010-05-07Add infrastructure to build libstdc++-v3 for gcc4Robert Nagy
ok kettenis@, marco@
2010-05-07Add openbsd config headers for libstdc++-v3Robert Nagy
2010-05-06Don't try to create /usr/bin; mtree will have taken care of that.Christian Weisgerber
ok kettenis@
2010-05-06Add missing cleandir targetRobert Nagy
2010-05-06Our libc provides ssp, so use that.Robert Nagy
2010-05-05Compile the additional sources to handle exceptionsRobert Nagy
2010-05-04We don't include gettext, dgettext or dcgettext as gcc's builtins, so don'tFederico G. Schwindt
check the arguments. Fixes autocrap tests in c++, which otherwise fail with "error: nonnull argument with out-of-range operand number". miod@ ok
2010-05-04fix .asm handling on powerpc and unify with alpha; ok drahn@Christian Weisgerber
2010-05-04add infrastructure to build GCC 4.2.1 for OpenBSD/alpha; ok kettenis@Christian Weisgerber
2010-05-04Merge from gcc3 our configuration for alpha, including these localChristian Weisgerber
changes: * Do not force -msmall-data if -fpic and -mlarge-data if -fPIC. 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). * -Wstack-larger-than support. * Disable stack frame checking in the prologue under OpenBSD, unless you compile with -fstack-check, for consistency with other platforms. * -mno-ieee option to disable IEEE mode. ok kettenis@
2010-05-03install cpp at /usr/libexec/ as with gcc2/3Dale Rahn
2010-05-02Use the newly built compiler for bootstrap purposes, more is needed forDale Rahn
actual cross support.
2010-05-02Disable MASK_HARD_QUAD like we did for gcc3.Mark Kettenis
2010-05-02Add support for floating-point registers on OpenBSD/hppa.Mark Kettenis
2010-05-02Add missing -fPIC or hppa.Mark Kettenis
2010-04-29Implement -Wvariable-decl.Mark Kettenis
ok robert@
2010-04-29#undef GLOBAL_ASM_OPMarco Peereboom
suggestion kettenis ok drahn
2010-04-29Ignore file info on nm output when looking for global functions to hide.Dale Rahn
'looks reasonable' kettenis@
2010-04-29Backout last commit. This has not been shown to the appropriate people andMark Kettenis
almost certainly breaks non-powerpc targets.
2010-04-29Fix a couple of crtsavres issues found after initial checkin. closer now.Dale Rahn
2010-04-29Add the bits to compile a working powerpc kernel. This is a work inMarco Peereboom
progress. most of the smarts from drahn, ok drahn
2010-04-28Enable -fwrapv by default. It's what many programmers expect and accordingMark Kettenis
to miod@ "has a history of being required to build security concerned software". ok guenther@, jsg@, robert@
2010-04-26Work around the fact that our .comm directive is somewhat non-standard.Mark Kettenis
2010-04-26clean up a bitRobert Nagy
2010-04-25Add infrastructure to build GCC 4.2.1 for OpenBSD/hppa.Mark Kettenis
2010-04-25Add hppa support, loosely based on the existing GCC 3.3.5 support. Many bitsMark Kettenis
removed that are now unnecessary.
2010-04-05let perldoc -f use mandoc.Marc Espie
okay millert@
2010-03-27Use prev_nonnote_insn() in push_frame_in_operand(); ok miod@Otto Moerbeek
2010-03-27Prevent uninitialized use of prev in replace_return_reg() and useOtto Moerbeek
prev_nonnote_insn() in push_frame_in_operand; ok miod@
2010-03-25Fix from readline 5.0 via Alexandr Shadchin to for a bug that preventsNicholas Marriott
some programs working correctly in tmux and screen. From the readline changelog: w. Fixed a bug in the callback read-char interface to make it work when a readline function pushes some input onto the input stream with rl_execute_next (like the incremental search functions). ok deraadt
2010-03-18Backport fix of negative bignums from binutils 2.16:Mark Kettenis
2004-08-10 Mark Mitchell <mark@codesourcery.com> * expr.c (operand): Handle the "~", "-", and "!" operators applied to bignums. http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/expr.c.diff?cvsroot=src&only\ _with_tag=MAIN&r2=1.52&r1=1.51&f=u Fixes the problem mentioned here: http://llvm.org/bugs/show_bug.cgi?id=6528 ok jsg@, miod@
2010-03-18Make C++ exception handling work on mips64.Mark Kettenis
ok miod@
2010-02-24merge more local changes:Robert Nagy
- disable unsafe builtins - create a stub for -Wbounded - move strict aliasing to -O3
2010-02-21Backport a small fragment of a gcc 3.4 fix preventing too much recursion inMiod Vallat
simplify_shift_const(), and only do this on mips64 platforms, because we are too late in the release cycle. This change has the nice side effect of preventing a wrong overoptimistic optimization on mips64, when masking bit 31 of a long; which in turns causes python to misbehave. Help and ok otto@
2010-02-03Add a new option to the mips64 gas, -mfix-loongson2f-btb. This optionMiod Vallat
is intended to be used when compiling kernel code which will run on a Loongson 2E or 2F processor, and inserts an explicit BTB clear operation before every jump through a register (jr or jalr instructions), unless that register is k0 or k1, or we are in .set noat. This is a reliable, although aggressive, workaround for the misbehaviour of the branch prediction engine of many Loongson 2F processors with regard to the Branch Translation Buffer, for which an official errata has yet to be published, and for which the Loongson suggested workaround apparently only works due to pipeline side effects, but requires all the executable kernel code to be located in CKSEG0/CKSEG1. These changes are inspired by a backport of the Loongson binutils 2.19 patch to binutils 2.18; the idea of doing an aggressive BTB clear is mine. This causes no functional change to code compiled without the -mfix-loongson2f-btb option. ``looks reasonable'' kettenis@
2010-02-03Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependentMiod Vallat
files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@
2010-01-30Make sure the previous node is not a NOTE; prevents ICE on loongson.Otto Moerbeek
Actually we should probably look further than just the immediate predecessor here. ok miod@
2010-01-10Fix use of `enumeral_type' in template type unification error as seenFederico G. Schwindt
when compiling boost 1.41. From http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17327 via Markus Hennecke <markus-hennecke at markus-hennecke dot de>. miod@ tested and ok
2010-01-10remove references to docs we no longer install;Jason McIntyre
2010-01-05When cleaning, remove generated file and avoid removing some files thatTodd C. Miller
are checked in.
2010-01-05Ignore CVS dir in private copy of libscan like real one does.Todd C. Miller
2010-01-05Ignore CVS dir in private copy of libscan like real one does.Todd C. Miller
2010-01-04Skip revision control dirs when looking for extensions. Fixes buildingTodd C. Miller
in non-obj dir.
2010-01-03blank lines not allowed outside literal context;Ingo Schwarze
syntax errors found by mandoc(1), also required to fix the mandoc build; ok jmc@
2009-12-14Fix "cvs [update aborted]: out of memory; can not reallocate 5242880 bytes"Stefan Sperling
when checking out xenocara from a server running OpenBSD/amd64. While processing RCS deltas, don't allocate twice as much memory as needed when copying a line vector to a vector which has less lines. Also, when switching back from a branch to trunk while searching an RCS file for a revision, free the trunklines vector immediately after lines saved in it have been copied back into the currentlines vector. Somehow, these two changes together make the problem go away. ok tobias@, "this has been a serious annoyance" sthen@, "sure" deraadt@