common_arm.h, common_mips.h: get rid of .func directives
authorIvan Shapovalov <intelfx@intelfx.name>
Fri, 9 Sep 2016 00:36:49 +0000 (03:36 +0300)
committerIvan Shapovalov <intelfx@intelfx.name>
Fri, 9 Sep 2016 00:37:11 +0000 (03:37 +0300)
.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.

common_arm.h
common_mips.h

index 6bf8368..27fa76b 100644 (file)
@@ -105,7 +105,6 @@ static inline int blas_quickdivide(blasint x, blasint y){
 #define PROLOGUE \
        .arm             ;\
        .global REALNAME ;\
-       .func   REALNAME  ;\
 REALNAME:
 
 #define EPILOGUE
index ae12694..5a28814 100644 (file)
@@ -80,7 +80,6 @@ static inline int blas_quickdivide(blasint x, blasint y){
 #define PROLOGUE \
        .arm             ;\
        .global REALNAME ;\
-       .func   REALNAME  ;\
 REALNAME:
 
 #define EPILOGUE