summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
AgeCommit message (Collapse)Author
2015-04-02Change gcc and ld semantics to make static PIE the default when invokingPascal Stumpf
'cc -static'. To explicitly request the legacy behaviour, use -nopie. For the few port affected by this, bumps will follow shortly. looks good to kettenis@, ok kurt@
2015-02-05Add missing check for stdint.h, needed for SIZE_MAX in xsize.h.Todd C. Miller
OK deraadt@
2015-01-27Stop linking to perlthanks, lost patch in the 5.20 updateAndrew Fresh
Thanks to didickman AT gmail for noticing.
2015-01-13Generate a PT_PHDR entry for static PIE binaries. Modern GDB needs this toMark Kettenis
do some sanity checking while it determines the load base. ok kurt@
2015-01-12Make putting a breakpoint on the first instruction of a program work.Mark Kettenis
Previously a breakpoint at the first instruction would force us to single-step. Depending on the single-step implementation this would make us step over the breakpoint and continue in many cases. Fix this by passing the address of the current instruction pointer which will skip the code that checks if we need to step over a breakpoint. A similar fix has been made upstream many moons ago. Fixes debugging static PIE on sparc64 and probably others that use some sort of software single-stepping.
2015-01-03Fix race condition in perl's ExtUtils::MakeMakerAndrew Fresh
Many thanks to Nathanael Rensen <nathanael at polymorpheus dot com> for tracking it down and supplying the patch. Has been reported upstream and the fix incorporated into a larger change https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/192
2014-12-30Make perl use our (arc4random backed) drand48 when unseededAndrew Fresh
uses srand48_deterministic if a seed is provided. seems fine millert@
2014-12-30self-relocating crt0 bits for sh, and enable static pie by default. With someMiod Vallat
archdep.h help from kettenis@
2014-12-27Change the default entry point from _start to __start.Mark Kettenis
ok kurt@, guenther@
2014-12-25Don't generate PLT entries for symbols defined in a regular object forMark Kettenis
-static -pie. On sparc64, avoid generating GLOB_DAT relocs and convert certain absolute relocs into RELATIVE relocs when we can for -static -pie. With this change we don't need -Wl,-Bsymbolic anymore when building -static -pie binaries. ok millert@, kurt@
2014-12-25Don't generate PLT entries for symbols defined in a regular object forMark Kettenis
-static -pie. On sparc64, avoid generating GLOB_DAT relocs and convert certain absolute relocs into RELATIVE relocs when we can for -static -pie. With this change we don't need -Wl,-Bsymbolic anymore when building -static -pie binaries. ok millert@, kurt@
2014-12-24Use an extension that installperl skips for the Config_heavy modificationsAndrew Fresh
2014-12-24Avoid /usr/local while building perl, but allow it for portsAndrew Fresh
commit it deraadt@
2014-12-22Teach ld(1) not to add a PT_INTERP entry for -static -pie.Mark Kettenis
ok kurt@
2014-12-22Teach ld(1) not to add a PT_INTERP entry for -static -pie.Mark Kettenis
ok kurt@
2002-05-13Import binutils-2.11.2Federico G. Schwindt
- only the binutils package (no gdb here) - don't import libiberty and texinfo, they are elsewhere - remove all .info* generated files
2014-12-07Don't make manpages from anything in Pod-Perldoc/corpusAndrew Fresh
OK ingo@
2014-12-07Do not install function(1), it is just an outdated copy of perlfunc(1).Ingo Schwarze
OK afresh1@ sthen@
2014-11-29Reapply a patch to stop rebuilding libperl with incorrect flagsAndrew Fresh
Help from miod@ and kettenis@ OK kettenis@ millert@
2014-11-26Make caretx a perl dependency, not just miniperlAndrew Fresh
OK millert@
2014-11-26Use perl's my_strlcat in DynaLoaderAndrew Fresh
OK millert@
2014-11-20partial_where points into the buffer that begins with buffer_startTodd C. Miller
so we need to use memmove() to handle the overlap. Sourceware PR 11456 OK deraadt@
2014-11-20use ${SHELL} to run scripts in the src treeTheo de Raadt
2014-11-19Bring in a change present in binutils 2.17 to allow sahf/lahfJonathan Gray
instructions on amd64. ok deraadt@ miod@ mlarkin@
2014-11-18Recognize dcbzl, backported from binutils-2.17.Martin Pieuchot
ok miod@, deraadt@
2014-11-18We have dbm.h, so unbreak the treeAndrew Fresh
2014-11-18Don't build support in perl for *dbm not in the base systemAndrew Fresh
OK millert@
2014-11-170, not 00Theo de Raadt
2014-11-17Re-add lost unicore files in perl-5.20.1Andrew Fresh
2014-11-17Regenerate unicore for perl-5.20.1Andrew Fresh
ok deraadt@ sthen@ espie@ miod@
2014-11-17Apply local patches to perl-5.20.1Andrew Fresh
ok deraadt@ sthen@ espie@ miod@
2014-11-17Fix merge conflicts, remove extra files, match upstream perl-5.20.1Andrew Fresh
ok deraadt@ sthen@ espie@ miod@
2014-11-17Import perl-5.20.1Andrew Fresh
2013-03-25import perl 5.16.3 from CPAN - worked on by Andrew Fresh and myselfStuart Henderson
2010-09-24Perl 5.12.2 from CPANTodd C. Miller
2008-09-29import perl 5.10.0 from CPANTodd C. Miller
2006-03-28perl 5.8.8 importTodd C. Miller
2003-12-03perl 5.8.2 from CPANTodd C. Miller
2002-10-27stock perl 5.8.0 from CPANTodd C. Miller
2000-04-06virgin perl 5.6.0Todd C. Miller
1999-04-29perl5.005_03Todd C. Miller
1999-04-29perl5.005_03Todd C. Miller
2014-11-10Disable -fgcse on vax at -O2, for it exposes code generation bugs (which mightMiod Vallat
not be in the cse code itself, actually). This is quite the pessimistic hammer but that's the best we can do until someone with enough motivation debugs this. Behind-the scenes tedious research of the issue by afresh1@ trying to get perl 5.20 to run on vax.
2014-11-10Make flag_gcse non-static.Miod Vallat
2014-10-26Fix a possibly infinite recursion in Perl Data::Dumper.Alexander Bluhm
Derived from Perl git commit http://perl5.git.perl.org/perl.git 19be3be6968e2337bcdfe480693fff795ecd1304 Add a configuration variable/option to limit recursion when dumping deep data structures. Defaults the limit to 1000, which can be reduced or increase, or eliminated by setting it to 0. This patch addresses CVE-2014-4330. This bug was found and reported by: LSE Leading Security Experts GmbH employee Markus Vervier. From Maximilian Pascher; OK schwarze@ afresh1@
2010-09-24Perl 5.12.2 from CPANTodd C. Miller
2014-10-21no more kerberos.Daniel Dickman
ok deraadt@, dcoppa@
2014-10-20Backport fix for binutils 11867: .quad directive not assembled correctly.Daniel Dickman
Alan Modra (and Alan's employer) graciously permitted use of his patch under GPLv2. ok kettenis@
2014-10-12Recognize, and ignore, -fstack-shuffle, in gcc 3, so that it may be used inMiod Vallat
the tree.
2014-09-10Add cpuid.h from clang r197399 with additional feature bits,Jonathan Gray
and defines for compatibility with the equivalent gcc header. cpuid.h was introduced in gcc 4.3 and a compatible header has been included with recent versions of clang. Earlier version ok miod@. Tested in a ports bulk build by landry@.