Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround vpush/vpop instructions generation for non-FPU ARMv5 target
Issue #696 (bdwgc). When targeting armv5te architecture, clang-19, at least, emits vpush and vpop instructions for `__builtin_unwind_init()` regardless of compiler flags like `-mfloat-abi=soft`. As the target architecture lacks FPU, the generated code crashes. The patch prevents `HAVE_BUILTIN_UNWIND_INIT` macro definition for the case. * include/private/gcconfig.h [GC_GNUC_PREREQ(2,8) && __clang__ && __ARM_ARCH_5TE__] (HAVE_BUILTIN_UNWIND_INIT): Do not define; add comment.
- Loading branch information