summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
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@
2009-12-13fix leaks found by parfait.Jonathan Gray
ok deraadt
2009-12-02reapply from mainline lynx, fix lost after local update. Okay deraadt.Paul Irofti
2008-04-27 (2.8.7dev.9) * pass a newline after the start of PRE-section in HTGopher.c to force the first newline between records to be seen and cause the lines to split (report by Ciprian Dorin Craciun) -TD
2009-11-17make this build on sparc64Robert Nagy
2009-11-16Fix generation of .IX entries that include characters escaped withTodd C. Miller
a backslash. Fix from Russ Allbery, the podlators maintainer.
2009-11-13Merge from the Sendmail CVS: fix potential memory leak: only setPhilip Guenthe
up data after all allocations succeeded, free previously allocated data if later allocation fails. Prompted by parfait and based on a patch from jsg@; additional bits from me and Claus Assmann of Sendmail. ok deraadt@
2009-11-04This typo in check_for_nested_with_variably_modified was present for 4 yearsRobert Nagy
and hampered the inliner without anyone noticing. fixes gcc bug #36367 reported by henning petersen
2009-11-03- apply fix from upstream git for CVE-2009-3626, which could cause perl toJasper Lievisse Adriaanse
crash on certain invalid UTF-8 codes. ok millert@ sthen@
2009-11-02Include the type override definitions and use the correct targetJonathan Gray
information so this works on i386 as well. ok robert@
2009-10-22Fix a typoTodd C. Miller
2009-10-18Replace mmap/default precompiled header support using a brk/sbrkKurt Miller
implementation since random mmap breaks the default approach. Note that gcc may not be compiled with PIE support or it will break this implementation too.
2009-10-16bring in proper lookup_name prototype so that its pointer returnMartynas Venckus
value doesn't get truncated to int - on 64-bit architectures. ok miod@, millert@, espie@
2009-10-15Makefile.inc also has to be included from hereRobert Nagy
2009-10-15merge some gcc-local(1) changes:Robert Nagy
- disable -fident by default - disable -fstrict-aliasing with -O2 - add support for -Wstack-larger-than-N (only for i386 and amd64 for now)
2009-10-15teach gcc about our kprintf and syslog format attributesRobert Nagy