Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/compiler-rt: Remove floating point definitions
Browse files Browse the repository at this point in the history
pahole does not support generating type information for float/double.

Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com>
heatd committed Oct 22, 2023
1 parent 7c81204 commit 90d1169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/lib/compiler-rt/builtins/int_types.h
Original file line number Diff line number Diff line change
@@ -123,7 +123,7 @@ static __inline tu_int make_tu(du_int h, du_int l) {

// FreeBSD's boot environment does not support using floating-point and poisons
// the float and double keywords.
#if defined(__FreeBSD__) && defined(_STANDALONE)
#if (defined(__FreeBSD__) && defined(_STANDALONE)) || defined(__is_onyx_kernel)
#define CRT_HAS_FLOATING_POINT 0
#else
#define CRT_HAS_FLOATING_POINT 1

0 comments on commit 90d1169

Please sign in to comment.