From dc905636d12efa91b2e690ab2b1f07de45f0a6d2 Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Tue, 3 Dec 2024 07:42:44 +0100 Subject: [PATCH] arm: Declare symbols as .type function --- common_arm.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/common_arm.h b/common_arm.h index 80aabc7b02..d6291018b1 100644 --- a/common_arm.h +++ b/common_arm.h @@ -102,9 +102,16 @@ static inline int blas_quickdivide(blasint x, blasint y){ #if defined(ASSEMBLER) && !defined(NEEDPARAM) +#if !defined(__APPLE__) && !defined(_WIN32) +#define OPENBLAS_ARM_TYPE_FUNCTION .type REALNAME, %function ; +#else +#define OPENBLAS_ARM_TYPE_FUNCTION +#endif + #define PROLOGUE \ .arm ;\ .global REALNAME ;\ + OPENBLAS_ARM_TYPE_FUNCTION \ REALNAME: #define EPILOGUE