Skip to content

Commit

Permalink
arm: Declare symbols as .type function
Browse files Browse the repository at this point in the history
  • Loading branch information
dg0yt authored Dec 3, 2024
1 parent 0578a89 commit dc90563
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions common_arm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dc90563

Please sign in to comment.