[Pixman] [PATCH 01/13] MIPS: Fix exported symbols in public API.

Nemanja Lukic nemanja.lukic at rt-rk.com
Fri Jun 27 09:05:38 PDT 2014


---
 pixman/pixman-mips-dspr2-asm.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/pixman/pixman-mips-dspr2-asm.h b/pixman/pixman-mips-dspr2-asm.h
index cab122d..11849bd 100644
--- a/pixman/pixman-mips-dspr2-asm.h
+++ b/pixman/pixman-mips-dspr2-asm.h
@@ -72,7 +72,10 @@
 #define LEAF_MIPS32R2(symbol)                           \
                 .globl  symbol;                         \
                 .align  2;                              \
+#ifdef __ELF__
+                .hidden symbol;                         \
                 .type   symbol, @function;              \
+#endif
                 .ent    symbol, 0;                      \
 symbol:         .frame  sp, 0, ra;                      \
                 .set    push;                           \
-- 
1.7.3



More information about the Pixman mailing list