summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pixman/pixman-mips-dspr2-asm.h3
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; \