summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNemanja Lukic <nemanja.lukic@rt-rk.com>2014-06-27 18:05:38 +0200
committerSøren Sandmann Pedersen <ssp@redhat.com>2014-07-03 13:35:21 -0400
commit6d2cf40166d81bfc63108504c8022dc4fec37ff5 (patch)
tree7751334ad5f6ba49ac436c2de115b5c74469c885
parent5a2edb3f2c2cfde6b25ac614e2004a9f78583d74 (diff)
MIPS: Fix exported symbols in public API.
-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; \