summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
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
2009-10-15only enable SF, DF, XF, TF modes in libgcc if we are building with gcc4, so ↵Robert Nagy
we can bootstrap with gcc3 first
2009-10-15fix at-file.texi pathRobert Nagy
2009-10-15We need to include Makefile.inc hereRobert Nagy
2009-10-15add target configuration for openbsdRobert Nagy
2009-10-15We need to include Makefile.inc hereRobert Nagy
2009-10-15Import a BSD make based infrastructure for building gcc, based on theRobert Nagy
same solution from FreeBSD. Don't even try to build it at the moment. This is commited so people can work on it in tree.
2009-10-15import of gcc-4.2.1, the last gcc release under GPLv2Robert Nagy
2009-10-14Better fix for treating IO-Compress as an extension that the one in 5.10.1,Todd C. Miller
http://perl5.git.perl.org/perl.git/commit/4cc80fc4cbbd82e20f7b14b6 Should fix static architectures like vax.
2009-10-13fix typoTodd C. Miller
2009-10-13No need for perlthanks binary when perlbug -T will do.Todd C. Miller
2009-10-13Add back bits mistakenly removed in rev 1.23Todd C. Miller
2009-10-13Somehow shasum snuck back in.Todd C. Miller
2009-10-13Fix mismergeTodd C. Miller
2009-10-13Merge in some local changes that got lost.Todd C. Miller
2009-10-12Add fopen_unlocked.c pex-unix.c pex-common.c unlink-if-ordinary.c toRobert Nagy
the list of built files and switch the md5.h header to the libiberty one. This change is needed by gcc4 and it is a major library crank for libiberty. tested by many people on many architectures and finally ok'd by deraadt@
2009-10-12remove troublesome file that broke the 5.10.1 mergeTodd C. Miller
2009-10-12remove editor backup file from MANIFESTTodd C. Miller
2009-10-12Undo keywork expansion by escaping the dollar signs as octalTodd C. Miller
2009-10-12Merge in perl 5.10.1; part twoTodd C. Miller
2009-10-12Merge in perl 5.10.1Todd C. Miller
2009-10-12import perl 5.10.1Todd C. Miller
2009-08-21Enable one only declarations on hppa/hppa64 which correctsKurt Miller
weak reference support in c++. okay kettenis@
2009-08-14- fix for pr 6196 from upstream gitJasper Lievisse Adriaanse
ok millert@