summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2019-05-27fix core dump reported by Adam Thomson; ok tb@Otto Moerbeek
2019-05-25Install the new perldelta as man pagesAndrew Fresh
2019-05-24Update to perl 5.28.2Andrew Fresh
Minor bugfixes and documentation improvments. See perldelta for details. https://metacpan.org/pod/release/SHAY/perl-5.28.2/pod/perldelta.pod OK bluhm@
2010-09-24Perl 5.12.2 from CPANTodd C. Miller
2019-05-17stop using the moribund MLINKS bsd.man.mk feature;Ingo Schwarze
no functional change intended; OK patrick@
2019-05-17stop using the moribund MLINKS bsd.man.mk feature;Ingo Schwarze
no functional change intended; OK millert@
2019-05-16Stop using the moribund MLINKS bsd.man.mk feature for Perl manuals.Ingo Schwarze
It was only used in a very unsystematic way for a small minority of Perl manual pages anyway, and using it consistently would entail unsustainable maintenance workload. Using input from afresh1@ espie@ and Grinnz#p5p; OK afresh1@ espie@ jmc@.
2019-05-16Stop using the moribund MLINKS bsd.man.mk feature for clang(1).Ingo Schwarze
Patch clang.rst such that "gmake -f Makefile.sphinx man" keeps working. Using input from jsg@; OK patrick@; "no worries" deraadt@
2019-05-13Add support for -znoretpolineplt and make -zretpolineplt the default.Philip Guenther
Affects i386 and amd64 only. ok deraadt@ kettenis@
2019-05-05The perldoc(1) program wants to support the MANWIDTH environmentIngo Schwarze
variable and fall back to what stty(1) reports, and it does so with nroff(1), but it didn't with mandoc(1) because it didn't know how to pass the desired width to mandoc. Teach it to use "-O width=". OK afresh1@. I noticed the unimplemented feature when Andrew Daugherity asked on tech@ what the point of a certain patch in FreeBSD is (which it turns out we don't need).
2019-05-05Like we already do for pod2man(1), always let perldoc(1) produce man(7)Ingo Schwarze
output in UTF-8 encoding on OpenBSD. The consumer is always mandoc(1) on OpenBSD, which can always handle UTF-8 input (no matter what LC_CTYPE is) and which always produces useful output: UTF-8 for LC_CTYPE=*.UTF-8 or ASCII otherwise, in particular for LC_CTYPE=C. Patch written after afresh1@ reported that "perldoc -oman" output looked bad in both output modes. OK afresh1@.
2019-05-04Fix Pod::Perldoc::ToMan and use it as the default perldoc formatterAndrew Fresh
From Andrew Daugherity <andrew.daugherity () gmail ! com> Corrections to fix and OK millert@, suggestions and OK schwarze@
2019-05-01default to not verboseTheo de Raadt
2019-05-01only do the "when are we finished" countdown if at high verboseTheo de Raadt
2019-04-26add "elf64_sparc" emulation name so ELF SPARCV9 format can be explicitlyChristian Weisgerber
specified; suggested by and ok kettenis@
2019-04-25Also touch --param ssp-buffer-size when using retguard in lieu of themortimer
stack protector. Fixes 'unused arguments' warning when this argument is given. Noticed by robert@, ok robert@
2019-04-22Remove cast that truncates immediate operands to 32 bits. This fixesMark Kettenis
genassym.sh on sparc64 when using clang as the compiler. ok claudio@, deraadt@
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2019-04-20Restore previous section after setting the MIPS ABI marker. This keepsVisa Hankala
the .text section in use after the file header, improving compatibility with gcc. Without this change, module-level inline assembly blocks could end up into wrong section. OK kettenis@ guenther@
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2019-04-19On powerpc, link with -Wl,-relax as clang is a monster and code exceeds theMark Kettenis
maximum reachability of the PowerPC branch instructions. Also override NOPIE_FLAGS to avoid building code with -fno-pie as doing so is incompatible with secure-plt when using clang as the compiler. ok visa@, guenther@
2019-04-17retguard-cookie-in-register is slightly unstable on arm64, so surgicallyTheo de Raadt
disable it in upcoming 6.5 release. (phessler and mortimer have the details)
2019-04-15Use literals as format strings. This fixes an error reported by clang.Visa Hankala
OK deraadt@ millert@ kettenis@
2019-04-15Add a type cast to silence clang error about an implicit conversionVisa Hankala
from unsigned long to int. OK deraadt@ millert@ kettenis@
2019-04-04frame-pointer elimination has encountered some resistance in ports but weTheo de Raadt
are close to release, so punt the change till after-release easier for everyoned and especially naddy ok tedu
2019-04-03mortimer unlinked libobjc from the build, but didn't know how to cvs rm.Ted Unangst
I don't know much about compilers, but what I do have are a very particular set of skills. Skills I have acquired over a very long career.
2004-01-15move libobjc around to its own directory (from src/gnu/egcs/libobjc)Marc Espie
2019-04-02Enable frame pointer elimination on i386, amd64 and mips64 when givenmortimer
optimization flags. ok kettenis@ visa@
2019-04-02Do not install libLLVM.a. At present the clang tools are eitherTheo de Raadt
static-linked against private copy, or dynamic tools against the *.so, or ports use independent componented versions. Saves ~85MB in /usr. ok jsg
2019-04-02Emit variable length trap padding in retguard epilogue.mortimer
This adds more trap padding before the return while ensuring that the return is still in the same cache line. ok deraadt@
2019-04-01Consume SSP options when using retguard to prevent warnings.mortimer
ok millert@
2019-03-31If using retguard, we do not also need the stack protector.mortimer
ok deraadt@
2019-03-31Do not store the retguard cookie in frame in leaf functions if possible.mortimer
Makes things slightly faster and also improves security in these functions, since the retguard cookie can't leak via the stack. ok deraadt@
2019-03-20fix serious markup error: \B -> \fB to select bold fontIngo Schwarze
2019-03-06When linking libLLVM.a in clang and lld include it within theJonathan Gray
ld --start-group --end-group block. bfd ld seems to need this where lld doesn't.
2019-03-06Define LLVM_NATIVE_* in llvm-config.h like the result of a cmakeJonathan Gray
build so external users of Support/TargetSelect.h will work correctly. Previously these were defined via -D in CPPFLAGS. Fixes llvmpipe erroring out due to no targets being registered. ok patrick@
2019-03-05Allow make obj in libLLVM to succeed on non-LLVM architectures byPatrick Wildt
making sure LLVM_ARCH is set before including architecture-specific Makefiles. ok deraadt@
2019-03-05add llvm-config.1 from llvm-config.rstJonathan Gray
Generated with gmake and py-sphinx installed via cd /usr/src/gnu/llvm/docs && gmake -f Makefile.sphinx man
2019-03-05Build and install a shared libLLVM, llvm-config and llvm includes.Jonathan Gray
This is required to build the radeonsi Mesa driver. ok patrick@
2019-03-05build AMDGPU Target in addition to nativeJonathan Gray
2019-03-05libLLVM in base will be installed as libLLVM.so.major.minor with noJonathan Gray
symlink for libLLVM-7.so or libLLVM.so. Adjust llvm-config to cope and force llvm-config DyLibExists to true. This is specific to LLVM in base this patch should not be used in ports.
2019-03-05add Makefile for llvm-configJonathan Gray
A build time dependency on python is avoided by generating the arch specific list of library components in advance. A 'reconf' target is included to regenerate them. Approach discussed with patrick@
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2019-03-01Fix a crash: don't assume that all input files are ELF objectsJeremie Courreges-Anglas
ld(1) would try to free uninitialized memory when used with -r -b binary <fontfile> by ports/textproc/mupdf. Perform the same bfd type check as bfd_elf_match_symbols_in_sections(). Fix found the hard way, cheese and wine sponsor: miod. Almost identical fix already present upstream. Also set the freed pointer to NULL, just in case. ok tb@ sthen@
2019-02-26In preparation for reusing libLLVM component library Makefiles to buildJonathan Gray
libLLVM from a single directory avoid reused filenames by symlinking duplicated names with a prefix of the component library name so object file names will be unique. symlink approach suggested by deraadt@ ok patrick@
2019-02-26define LLVM_ENABLE_THREADS and LLVM_HAS_ATOMICSJonathan Gray
matches the result of building with cmake ok patrick@
2019-02-26use real format strings, resolve compiler warnings; ok millert@cheloha
2019-02-25add sources matching unresolved symbols seen using Mesa with libLLVMJonathan Gray
ok patrick@
2019-02-24Remove -S from install commandskn
As of usr.bin/xinstall/install.c revision 1.68, -S is a no-op and install(1) will always create files safely, thus clean the option usage from the tree. Diff from Lauri Tirkkonen <lotheac at iki dot fi>, thanks.
2019-02-22Improve the X86FixupGadgets pass:mortimer
- Target all four kinds of return bytes (c2, c3, ca, cb) - Fix up instructions using both ModR/M and SIB bytes - Force alignment before instructions with return bytes in immediates - Force alignment before instructions that have return bytes in their encoding - Add a command line switch to toggle the functionality. ok deraadt@