Browse Source

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.
tags/v0.2.20^2
Ivan Shapovalov 9 years ago
parent
commit
6c0862a94f
2 changed files with 0 additions and 2 deletions
  1. +0
    -1
      common_arm.h
  2. +0
    -1
      common_mips.h

+ 0
- 1
common_arm.h View File

@@ -105,7 +105,6 @@ static inline int blas_quickdivide(blasint x, blasint y){
#define PROLOGUE \
.arm ;\
.global REALNAME ;\
.func REALNAME ;\
REALNAME:

#define EPILOGUE


+ 0
- 1
common_mips.h View File

@@ -80,7 +80,6 @@ static inline int blas_quickdivide(blasint x, blasint y){
#define PROLOGUE \
.arm ;\
.global REALNAME ;\
.func REALNAME ;\
REALNAME:

#define EPILOGUE


Loading…
Cancel
Save