From 6c0862a94f44320b37d22742c5fca8a80d0bc6f5 Mon Sep 17 00:00:00 2001 From: Ivan Shapovalov Date: Fri, 9 Sep 2016 03:36:49 +0300 Subject: [PATCH] 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. --- common_arm.h | 1 - common_mips.h | 1 - 2 files changed, 2 deletions(-) diff --git a/common_arm.h b/common_arm.h index 6bf8368..27fa76b 100644 --- a/common_arm.h +++ b/common_arm.h @@ -105,7 +105,6 @@ static inline int blas_quickdivide(blasint x, blasint y){ #define PROLOGUE \ .arm ;\ .global REALNAME ;\ - .func REALNAME ;\ REALNAME: #define EPILOGUE diff --git a/common_mips.h b/common_mips.h index ae12694..5a28814 100644 --- a/common_mips.h +++ b/common_mips.h @@ -80,7 +80,6 @@ static inline int blas_quickdivide(blasint x, blasint y){ #define PROLOGUE \ .arm ;\ .global REALNAME ;\ - .func REALNAME ;\ REALNAME: #define EPILOGUE -- 2.7.4