summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
AgeCommit message (Collapse)Author
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-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-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-15We need to include Makefile.inc hereRobert 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-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-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@
2009-08-09Initialize all the InputFieldData members correctly. Fixes a crash whenFederico G. Schwindt
going for example to http://thawte.com/. deraadt@ otto@ ok
2009-08-09Do not access s[strlen(s) - 1] without checking first that s is not anMiod Vallat
empty string.
2009-08-08Actually, add --enable-debug to configure so -g is not stripped if specifiedFederico G. Schwindt
and remove the patch from configure so we don't need to worry in the future.
2009-08-08allow to compile lynx with debug symbols.Federico G. Schwindt
deraadt@ ok
2009-08-01Revert previous change which enabled symbol visibility support; appears toMiod Vallat
break some applications in ports in at least amd64 and sparc64. Tracked down by martynas@ and mgrimm@
2009-07-26- revert thread model posix since it broke the build for hppa. will revistKurt Miller
when all archs are fully tested and working. - major bump libstdc++
2009-07-25- enable thread model posix for gcc 3 which makes dwarf2 exceptionKurt Miller
handling thread safe and enables thread safety for libstdc++ - include -D_REENTRANT when -pthread cpp arg is present (needed so boost can detect -pthread on the command line). - bump libstdc++ major See faq/current.html for instructions on how to correctly build userland for this change. okay kettenis@
2009-07-24add compat support to gdb so that it can deal with libpthread with andKurt Miller
without the _thread_ctx_offset private symbol. okay kettenis@
2009-07-22Fix the configure test for symbol visibility support; the current testMiod Vallat
tries to check for an old, known to be flawed, ld version, but the in-tree ld causes a false positive.
2009-07-12remove a semicolon at the end of an if statement, alreadyJonathan Gray
removed in upstream gdb sources. ok kettenis@
2009-06-24Correct the prototype of ffecom_gfrt_basictype() to match theJonathan Gray
function, this change was made in the 3.4.0 release of gcc. ok deraadt@