mirror of
https://github.com/openbsd/src.git
synced 2026-06-18 15:23:33 +02:00
8beb114a13
in clang brought in with the llvm 22 update: commit 5d0e26e571c08dc4c0b2a25ed6c9f845f054fa76 Author: Koakuma <koachan@protonmail.com> Date: Tue Apr 29 07:36:32 2025 +0700 [compiler-rt] Make sure __clzdi2 doesn't call itself recursively on sparc64 (#136737) On 64-bit platforms, libgcc doesn't ship with __clzsi2, so __builtin_clz gets lowered to __clzdi2. A check already exists for GCC, but as of commit 8210ca019839fc5430b3a95d7caf5c829df3232a clang also lowers __builtin_clz to __clzdi2 on sparc64. Update the check so that building __clzdi2 with clang/sparc64 also works. ok tb@, deraadt@
$OpenBSD: README,v 1.2 2016/09/03 22:32:04 benno Exp $ This directory contains software that is Gigantic and Nasty but Unavoidable. Some, but not all, of the software in this subtree follows special rules, i.e. licences other than BSD. So: - check the history of external code before importing it. - for GPL software be ready to arrange for copyright papers somewhat in advance if you want to work on it (the FSF takes a few months to process these). Otherwise, changes might not make it to the main distribution, and may need some further maintenance over time, or risk getting lost. Some internal changes are acceptable, but OpenBSD can't afford to maintain a complete separate toolchain on its own.