summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
AgeCommit message (Collapse)Author
2021-06-25minimalistic diff to use %ld instead of %d for ptrdiff printingTheo de Raadt
2021-06-24add some aarch64 bits missed in Makefile.in 1.6Jonathan Gray
ok deraadt@ drahn@
2021-06-24repair missing dependencies against bfd.h for riscv64Theo de Raadt
ok jsg drahn
2021-06-23help the debugger look in ports for external parts like PadWalkerMarc Espie
and Readline. feedback and okay afresh1@
2021-06-21correct riscv64 blocksTheo de Raadt
discussion with espie kettenis jsg
2021-06-09Remove pledgenames() from OpenBSD::Pledge perl moduleAndrew Fresh
Pointed out by deraadt@, this is not what that that incomplete table is for. While the code has been there for several years, I haven't found a use for it, which is good because it would have been wrong. While here, update my name.
2021-05-19Revert hack to build clang with -static on riscv64.Dale Rahn
This 'requirement' was due to a bug in dtors which has been corrected. reminded by jsg@
2021-05-14On riscv64, dynamically linked clang binary fails with:Dale Rahn
libc++abi: Pure virtual function called! By statically linking clang (and *-tblgen) this problem is worked around at least for now.
2021-05-05riscv64 binutils 'support'Dale Rahn
Enable just enough of binutils to be a functional compilation system with llvm doing the heavy lifting. With corrections suggested by reviewers. ok jsg@ kettenis@
2021-05-05Fix backtrace command with kernel core.asou
ok mpi@
2011-04-24Here comes the easter bunnytils 2.17 (the last version released against aMiod Vallat
licence mere mortals can understand the terms of); will be connected to the build on an arch-by-arch basis. Testsuites and generated files have been intentionnaly omitted from this import. Peer pressure and ok from at least drahn@ pirofti@ deraadt@
2021-05-03recognise a small number of riscv relocations in readelfJonathan Gray
ok kettenis@
2021-05-03don't build gdb on riscv64Jonathan Gray
2021-05-01regen llvm man pages from rst withJonathan Gray
cd /usr/src/gnu/llvm/llvm/docs gmake -f Makefile.sphinx man cd /usr/src/gnu/llvm/clang/docs gmake -f Makefile.sphinx man cmake -DLLVM_ENABLE_SPHINX=ON -DLLDB_INCLUDE_TESTS=OFF /usr/src/gnu/llvm/lldb/ make docs-lldb-man
2021-04-29regenJonathan Gray
2021-04-29add RISCVJonathan Gray
2021-04-29riscv64 clang support.Dale Rahn
With several fixes from review integrated. ok patrick@
2021-04-28Update clang build infrastructure for LLVM 11.1.0.Patrick Wildt
Heavy lifting by mortimer@, thank you so much!
2021-04-16Add a workaround to avoid wrong code generated by m88k gcc.Kenji Aoyama
NATIVE_TO_UNI is defined as follows in utf8.h: -- #define NATIVE_TO_UNI(ch) ((UV) ((ch) | 0)) -- and UV is 'unsigned long' on m88k. Details are at: https://github.com/Perl/perl5/issues/18655 help and ok afresh1@
2021-03-04Never automatically rewrite perl/dist/Devel-PPPort/t/01_test.tAndrew Fresh
We are never going to update the files that generate this test and the interaction with "cvs up" means we can accidentally hit it when they hange between releases but permissions when building the system prevent us from writing the update and breaks the build. Found by naddy@, krw@, and deraadt@
2019-02-13Import perl-5.28.1Andrew Fresh
looking good sthen@, Great! bluhm@
2021-03-01Apply pre-built unicore patch, remove excess files - perl-5.32.1Andrew Fresh
OK sthen@
2021-03-01Apply local patches, remove excess files - perl-5.32.1Andrew Fresh
OK sthen@
2021-03-01Fix merge issues, remove excess files - match perl-5.32.1 distAndrew Fresh
OK sthen@
2021-03-01Import perl-5.32.1Andrew Fresh
OK sthen@
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
2002-10-27stock perl 5.8.0 from CPANTodd C. Miller
2021-02-20Recommit upstream alignment fix plus libperl version bumpAndrew Fresh
This reapplies commit e0lLUzj1XNW7pJMh and moves libperl to 21.0 The ABI change appears to be fine after XS modules are rebuilt. OK sthen@
2021-02-16Revery previous hash alignment fixAndrew Fresh
Unintentionally changes ABI and breaks perl ports
2021-02-16Backport upstream perl 64bit hash alignment fixesAndrew Fresh
Different flags triggering new compiler optimizations means that luck has run out on this working by chance with the strict alignment of octeon. Upstream issue: https://github.com/Perl/perl5/issues/18555 This is a combination of three commits from upstream. https://github.com/Perl/perl5/commit/d18575f18c6ee61ce80492e82cae7361358d570a https://github.com/Perl/perl5/commit/6027b190154088fbbcbde08a80c49531e4e4c012 https://github.com/Perl/perl5/commit/f43079cb514e3d0be0036424695438ae3fb58451 works on all arch deraadt@
2021-02-14Shuffle how lldb register contexts are built.mortimer
Instead of using #if defined(__arch__) to include / exclude the entire contents of the NativeRegisterContext implementations, use a single NativeRegisterContextOpenBSD_arch which includes the right arch specific register context, and provides a dummy implementation for unsupported architectures. This allows building lldb on architectures which do not have a register context implementation so it can be used as a remote client. ok patrick@
2021-02-11When clang was changed to -fcommon, perl's P_hash_{seed,state} variablesTheo de Raadt
moved into BSS in the .o, with padding rules following the types -- they are both char[]. Since P_hash_seed is (system-dependent) not a multiple of 8, P_hash_state gets layed out misaligned, which sucks because the hash functions demand 64-bit alignment for both variables. There is the possibility of using misalignment macros, but this is not cheap. Could also use kernel-trap fault repair, but the performance would really suck for something so crucial. The correct fix would be for upstream to declare these types as uint64[], we have requested that in https://github.com/Perl/perl5/issues/18555 In the meantime, carry a diff to roundup P_hash_seed to 64-bit alignment so that P_hash_state will land aligned. ok afresh1
2021-02-10only amd64 & arm64 lldb work at the momentTheo de Raadt
2021-02-09Build and install lldb.Patrick Wildt
Discussed with deraadt@
2021-01-28Extern dwarf2_loc_mark_labels. Fixes compiation with -fno-common.mortimer
ok deraadt@
2021-01-28Explicitly enable -fcommon, rather than untangle common symbols.mortimer
ok deraadt@
2020-12-02Fix a bug that GDB could not show the symbols of the core dump it wasasou
generated with the static linked ELF file. ok mpi@
2020-12-01Implement Loongson 2F BTB bug workaround in clangVisa Hankala
This adapts the -mfix-loongson2f-btb workaround from as(1) to LLVM/clang. Because LLVM emits machine code directly without using assembly as intermediary form, the workaround has to be applied in the compiler backend in addition to the integrated assembler. Discussed with miod@ OK mortimer@
2020-11-10Sort list of archs in alphabetical order.Patrick Wildt
From Brad ok mortimer@
2020-10-12Disable retguard for clang build.mortimer
Fixes build on powerpc
2020-10-12Add RETGUARD implementation for powerpc and powerpc64.mortimer
ok deraadt@ kettenis@
2020-09-30Add minimal support for OpenBSD/powerpc64.Mark Kettenis
2020-09-16Avoid generating a core dump during make build. The Perl configureAlexander Bluhm
test program "try" already has a signal handler for SIGSEGV, but OpenBSD generates a SIGBUS. Also set a handler for the latter to exit cleanly. from deraadt@; OK afresh1@
2020-08-09Update build infrastructure for LLVM 10.0.1.Patrick Wildt
2020-08-03Update build infrastructure for LLVM 10.0.0.Patrick Wildt
ok hackroom@ tested by plenty
2020-07-31Use consistent types in comparison to fix build with clang 10.Visa Hankala
Instead of just checking if *namep is NULL, also check if the string pointed by *namep is empty. This is probably the original intent of the code. OK kettenis@ jsg@ deraadt@
2020-07-23change bfd amd64 ELF_MAXPAGESIZE from 1M to 4KJonathan Gray
An amd64 clang 10 binary built with lld 10 would abort after calling execve(2) if it had been stripped. PT_LOAD segment aligment being changed by strip was the cause. Changing to 4K matches lld and results in a working binary after strip. Introducing ELF_MINPAGESIZE of 4K (which is ELF_MAXPAGESIZE if not defined by the arch) would have also worked but we don't support large pages in userland. ok kettenis@
2020-07-22Add a few missing elocations.Mark Kettenis
ok jasper@