common_arm.h, common_mips.h: get rid of .func directives
.func/.endfunc are gcc/gas-specific directives for generating stabs debug information (and nothing more). This is near-useless now because DWARF is commonly used, and not implemented in Clang. Hence building OpenBLAS with Clang fails, and there is no sane way to detect GCC vs. anything else with preprocessor definitions. Hence, just remove these directives.
This commit is contained in:
@@ -105,7 +105,6 @@ static inline int blas_quickdivide(blasint x, blasint y){
|
||||
#define PROLOGUE \
|
||||
.arm ;\
|
||||
.global REALNAME ;\
|
||||
.func REALNAME ;\
|
||||
REALNAME:
|
||||
|
||||
#define EPILOGUE
|
||||
|
||||
@@ -80,7 +80,6 @@ static inline int blas_quickdivide(blasint x, blasint y){
|
||||
#define PROLOGUE \
|
||||
.arm ;\
|
||||
.global REALNAME ;\
|
||||
.func REALNAME ;\
|
||||
REALNAME:
|
||||
|
||||
#define EPILOGUE
|
||||
|
||||
Reference in New Issue
Block a user