[PATCH] mpi: Fix powerpc32 build
dirk.eibach at gdsys.cc
dirk.eibach at gdsys.cc
Wed Apr 25 14:09:06 CEST 2018
From: Dirk Eibach <dirk.eibach at gdsys.cc>
The ENTRY macro is called with C format parameter.
Adding a second underscore breaks the build.
Signed-off-by: Dirk Eibach <dirk.eibach at gdsys.cc>
---
mpi/powerpc32/syntax.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/mpi/powerpc32/syntax.h b/mpi/powerpc32/syntax.h
index 5d4af9f0..fa69b64b 100644
--- a/mpi/powerpc32/syntax.h
+++ b/mpi/powerpc32/syntax.h
@@ -45,10 +45,10 @@
#define CALL_MCOUNT /* no profiling */
#define ENTRY(name) \
- ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(name); \
- ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name), at function) \
+ ASM_GLOBAL_DIRECTIVE name; \
+ ASM_TYPE_DIRECTIVE (name, at function) \
.align ALIGNARG(2); \
- C_LABEL(name) \
+ name: \
CALL_MCOUNT
#define EALIGN_W_0 /* No words to insert. */
@@ -63,11 +63,11 @@
/* EALIGN is like ENTRY, but does alignment to 'words'*4 bytes
past a 2^align boundary. */
#define EALIGN(name, alignt, words) \
- ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(name); \
- ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name), at function) \
+ ASM_GLOBAL_DIRECTIVE name; \
+ ASM_TYPE_DIRECTIVE (name, at function) \
.align ALIGNARG(alignt); \
EALIGN_W_##words; \
- C_LABEL(name)
+ name:
#undef END
#define END(name) \
--
2.16.3
More information about the Gcrypt-devel
mailing list