summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
AgeCommit message (Collapse)Author
2017-10-11Add missing file.Mark Kettenis
ok patrick@
2017-10-04Update clang build infrastructure for LLVM 5.0.0.Patrick Wildt
2017-09-29Rev. 1.2 enabled UTF-8 by default.Ingo Schwarze
During subsequent Perl updates, all the documentation changes etc. got carried along, but the actual code change was deleted in Rev. 1.3 and never restored. Restore it now. Bug found by bentley@; OK afresh1@ bentley@.
2017-09-22A buffer over-read and heap overflow in perl's regexp may result inAndrew Fresh
a crash or memory leak. Fixes * CVE-2017-12883 (Buffer over-read) * CVE-2017-12837 (Heap overflow when compiling case-insensitive regexp) Patches by Karl Williamson
2017-09-11missing parts for arm64, dependencies needed.Marc Espie
spotted by deraadt@, fix turns out to be identical to more recent binutils.
2017-09-09Remove path support from perl OpenBSD::PledgeAndrew Fresh
ok guenther@ deraadt@ giovanni@
2017-08-23Update IO-Socket-IP to 0.39, bug fix needed for p5-Net-DNS 1.12.Alexander Bluhm
OK afresh1@ sthen@
2017-08-21When executing ssh, use "--" to indicate end of arguments before theTodd C. Miller
host name. Adapted from a MirBSD diff by Thorsten Glaser.
2017-08-16have -Wno-* work the same on gcc3 as well.Marc Espie
old patch, belated test by aoyama@, okay aoyama@
2017-08-14Add improvements to the DWARF frame unwinder to support xorguard.Mark Kettenis
ok mortimer@
2004-05-21GDB 6.1 (excluding .info files)Mark Kettenis
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
1996-09-04Import of binutils, gas, ld & gprof from Cygnus 960904 treeNiklas Hallqvist
2017-08-14Apply pre-built unicore patch - perl-5.24.2Andrew Fresh
OK bluhm@, Reads ok sthen@
2017-08-14Apply local patches - perl-5.24.2Andrew Fresh
OK bluhm@, Reads ok sthen@
2017-08-14Fix merge issues, remove excess files - match perl-5.24.2 distAndrew Fresh
OK bluhm@, Reads ok sthen@
2017-08-14Import perl-5.24.2Andrew Fresh
2017-08-01Zero out excess bytes in perl long doublesAndrew Fresh
From upstream commits by Niko Tyni <ntyni AT debian.org> * dd6885360b15e763e0706dc28555eea328de432d * 6b2c7479d6d33249c2385d8a36d8ee9e61e1a519 ok aja@
2017-07-28Implement -Oz as an alias for -Os here as well.Mark Kettenis
ok aoyama@
2017-07-28make warns about POST_INSTALL being empty.Marc Espie
other similar makefiles define POST_INSTALL = : so even the GNU guys are aware this might be non standard. fix it. okay krw@ kettenis@
2017-07-27ensure protoiize man pages installed in all cases (until we comeTheo de Raadt
to a different decision later) ok espie
2017-07-27don't double install ld, some people have already been lost tryingMarc Espie
to get out of these makefiles! okay kettenis@
2017-07-26get rid of flag clang doesn't grok (include -Werror in Configure, becauseMarc Espie
clang will not error out on unknown flags) okay millert@, deraadt@
2017-07-24build cpp on gcc4 architectures only, as clang ships with its ownRobert Nagy
ok naddy@
2017-07-24install gcc, g++ as gcc and g++ instead of cc, c++ and create linksRobert Nagy
to the latter on non-clang architectures and make sure we build gcc with itself because clang won't be able to build it ok naddy@
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.
2017-07-22Prefer the definition of a variable in the executable over a definitionMark Kettenis
in a shared library, even for commons. This is what the current generation of linkers (current bfd, gold, lld) do. This fixes the relocation R_X86_64_PC32 against `xxx' can not be used when making a shared object; recompile with -fPIC warnings that we have seen in ports with clang. This change is somewhat suspect as a similar change was reverted in upstream binutils at some point. However that was for another corner case on an architecture (s390) that we do not run on. Tested by naddy@, sthen@
2017-07-19more depends gc / yacc rules overhaulMarc Espie
okay millert@
2017-07-11protoize.1 isn't generated, so don't list it as a target, because itMarc Espie
fucks up make recognition of generated vs pre-existing file. also zap .PATH.1 thingy that's no longer needed at all.
2017-07-10remove misc. depend and yacc nits that no longer matter.Marc Espie
okay millert@
2017-07-09zap empty depends/silence empty installs.Marc Espie
okay millert@
2017-07-04Should have committed this two days ago, last part that ran during dependMarc Espie
can run normally
2017-07-04complete "nodepend" in sourceMarc Espie
- mix-up between .ALLSRC and .IMPSRC, compile the right gc.c file - add explicit targets for pre-generated stuff
2017-07-01provide both TRAP and NOP values for our architectures, then changeTheo de Raadt
elf.sc to FILL .text segment with TRAP. .init/.fini remain NOP FILL. It is possible that some of these TRAP values aren't perfect yet, but they can be changed. When doing so also change the ld.script and gap.o TRAP value. discussions with mortimer, ok kettenis
2017-06-28move all the post-Configure stuff to Makefile.bsd-wrapper1 instead of justMarc Espie
the man parts. just leave Configure and forwarding targets in Makefile.bsd-wrapper, this allows bsd.lib.mk to function normally without depend, because all the puzzle is here. okay millert@ afresh1@
2017-06-23Always include Makefile.dep, conditionally including it based on theJonathan Gray
existence of a .depend file can lead to various problems. The logic before rev 1.15 resulted in Makefile.dep always being included as DEPENDSFILE was never set so this returns to the old behaviour. ok espie@
2017-06-22i386 uses a intentional fallthrough between appended code blocks in .init,Theo de Raadt
which we cannot TRAPSLED FILL. This needs to be done a different way. diagnosis with kettenis
2017-06-21elf64_x86_64_plt0_entry had a hardcoded nop-sled, before the subsequentTheo de Raadt
plt entry. Since previous effective instruction is a a jmp, this can be a sequence of traps. ok mlarkin
2017-06-21Intra-segment traps instead of nops. Similar to kernel change, furtherTheo de Raadt
reduction in nopsleds in code and data segments (if those data segments ever become X, that is) ok mlarkin
2017-06-21Large nopsleds make it easier for ROP machinery to sloppily reach targets.Theo de Raadt
Convert these to "trapsleds' instead. Since these can occur inside fall-through blocks of code (and gcc sure isn't helping us by identifying those), convert most to "short jump over" followed a sequence of int3. This works for sled sizes 3-15, for i386 and amd64. Work by Todd Mortimer ok mlarkin
2017-06-21DEPENDSFILE comes from FreeBSD, we don't have it. replace it with itsMarc Espie
value .depend, so that the conditional is really used. okay guenther@
2017-06-16mark files as BUILDFIRST, or write explicit dependencies, so that mostMarc Espie
programs will build even without a make depend first. okay tb@ millert@
2017-06-12destroy lint remnants.Marc Espie
okay millert@ deraadt@
2017-06-04Replace ((2 << 31) - 1) with 0xffffffff, which is equivalent but doesn'tChristian Weisgerber
cause a shift overflow on a 32-bit arch (i386). ok kettenis@
2017-06-04Update to perl File::Path 2.13 for security fixesAndrew Fresh
Reccomended by upstream - jkeenan AT pobox.com OK sthen@
2017-05-31Make gcc move switch tables into .rodata instead of .text on i386/amd64Stefan Kempf
For C++, gcc has to make use of comdat sections instead of .gnu.linkonce sections for this because switch tables and functions would now end up in different .gnu.linkonce sections. This can cause ld to sometimes incorrectly discard the switch tables, which causes linker errors. With comdat sections, making the switch table and function sections belong together is more reliable. ok deraadt@
2017-04-28Install a few more x86 intrinsics header files.Mark Kettenis
spotted by espie@
2017-04-20Install clflushoptintrin.h and move pkuintrin.h such that the list isMark Kettenis
properly sorted. pointed out by espie@
2017-04-17Take a more radical approach to disabling colours: pretend we don'tPascal Stumpf
HAVE_TERMINFO in our local config.h. Some of the lower levels of LLVM don't seem to respect our default setting. As a result, delete the -ltermlib dependency. Note that this breaks -fcolor-diagnostics=auto. However, fixing the whole codebase is out of scope for now ... Prompted by an instance found in the AsmParser by deraadt@ ok kettenis@ patrick@
2017-04-17Change build infrastructure to allow building both gcc and clang. ThisMark Kettenis
doesn't actually flip the switch yet, so aarch64 continues to be the only architecture for which we build clang. ok jsg@, deraadt@