summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2021-07-24Pretty print ELF machine name as "RISC-V"Jeremie Courreges-Anglas
Instead of "<unknown>: f3". ok kettenis@
2021-07-11Optimize gadget fixups for MOV instructions.mortimer
Instead of swapping registers around, we can just use the REV version of the same instruction, which has the same effect but encodes differently and does not result in return bytes in the binary. This reduces the number of xchg instructions resulting from gadget fixing. Prompted by ratchov@, with input from millert@ and sthen@. ok sthen@
2021-06-28Fix base-gcc -Wno-error=uninitializedJeremie Courreges-Anglas
base-gcc always errored out when -Werror was passed and -Wuninitialized triggered, even when -Wno-error=uninitialized was passed. Deemed correct by Miod
2021-06-25minimalistic diff to use %ld instead of %d for ptrdiff printingTheo de Raadt
2021-06-25Pull in support from a future clang for __GCC_HAVE_SYNC_COMPARE_AND_SWAP_xTheo de Raadt
defines because we need it now from https://reviews.llvm.org/D91784 ok mlarkin kettenis
2020-08-03Import LLVM 10.0.0 release including clang, lld and lldb.Patrick Wildt
ok hackroom tested by plenty
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-11remove netbsd specific LIBRARY section; ok jcaJason McIntyre
2021-06-10Minor mandoc -Tlint fixesJeremie Courreges-Anglas
ok mortimer@
2021-06-10IndentationJeremie Courreges-Anglas
ok mortimer@
2021-06-10No RCS IDs in shlib_version filesJeremie Courreges-Anglas
ok mortimer@
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-06-09Enable libexecinfo.mortimer
With some build plumbing help from jsg@ ok kettenis@ sthen@
2021-06-09Add libexecinfo.mortimer
Based on NetBSD implementation, without the libelf dependency. Architectures which have libunwind use libunwind, and others use a stub implementation that does nothing since __builtin methods are unreliable. Much feedback and help from jca@. ok kettenis@ sthen@
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-14Initial enablment of EMULTLS on RiscVDale Rahn
Uncertain if this is 100% correct, however this enables self hosting using clang.
2020-08-03Import LLVM 10.0.0 release including clang, lld and lldb.Patrick Wildt
ok hackroom tested by plenty
2021-05-11Since ld.lld doesn't properly support R_RISCV_RELAX relocations, switch theMark Kettenis
default to -no-relax. ok drahn@
2020-08-03Import LLVM 10.0.0 release including clang, lld and lldb.Patrick Wildt
ok hackroom tested by plenty
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-05-01arvm7 -> armv7Jonathan Gray
2020-08-03Import LLVM 10.0.0 release including clang, lld and lldb.Patrick Wildt
ok hackroom tested by plenty
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-28Build libcompiler_rt for riscv64Dale Rahn
ok kettenis@
2021-04-28Enable libunwind on riscv64Dale Rahn
getWCookie() is an OpenBSD addition that is needed on new architectures. ok kettenis@
2021-04-28Update build infrastructure for libc++ and libc++abi version 11.1.0.Patrick Wildt
2021-04-28Merge libc++, libc++abi and libunwind version 11.1.0.Patrick Wildt
2021-04-28Import libc++ 11.1.0 release.Patrick Wildt
2021-04-28Import libc++abi 11.1.0 release.Patrick Wildt
2021-04-28Import libunwind 11.1.0 release.Patrick Wildt
2021-04-28Update clang build infrastructure for LLVM 11.1.0.Patrick Wildt
Heavy lifting by mortimer@, thank you so much!
2021-04-28Merge LLVM 11.1.0.Patrick Wildt
2021-04-28Import LLVM 11.1.0 release including clang, lld and lldb.Patrick Wildt
2020-08-03Import LLVM 10.0.0 release including clang, lld and lldb.Patrick Wildt
ok hackroom tested by plenty
2020-08-03Import LLVM 10.0.0 release including clang, lld and lldb.Patrick Wildt
ok hackroom tested by plenty
2021-04-21Fix __builtin_bitreverse32 on 32-bit PowerPCgkoehler
This is a backport from LLVM 11. Before this fix, code using __builtin_bitreverse32 was crashing SIGILL because clang-10 emitted a 64-bit rldicl/clrldi instruction. The SIGILL only happened on 32-bit cpus, not on the G5. The code for LLVM 11 uses __builtin_bitreverse, so clang-10 needs this fix to build clang-11. https://github.com/llvm/llvm-project/commit/a5d161c119d5a https://reviews.llvm.org/D77946 ok kettenis@
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@