summaryrefslogtreecommitdiff
path: root/pixman
diff options
context:
space:
mode:
authorJames Cowgill <james410@cowgill.org.uk>2015-05-05 16:39:38 +0100
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2015-05-07 12:49:09 +0300
commitcf086d4949092861dc3729465a3881d229cc1060 (patch)
tree457d89a0b52827457786021b69132a3197a6a9de /pixman
parent6f14bae79ed490b6f3fd9d66b51d843c0522543e (diff)
downloadpixman-cf086d4949092861dc3729465a3881d229cc1060.tar.gz
MIPS: Drop #ifdef __ELF__ in definition of LEAF_MIPS32R2
Commit 6d2cf40166d8 ("MIPS: Fix exported symbols in public API") attempted to add a .hidden assembly directive, conditional on the code being compiled for an ELF target. Unfortunately the #ifdef added was already inside a macro and wasn't expanded properly by the preprocessor. Fix by removing the check. It's unlikely there are many non-ELF MIPS systems around anyway. Fixes: Bug 83358 (https://bugs.freedesktop.org/83358) Fixes: 6d2cf40166d8 ("MIPS: Fix exported symbols in public API") Signed-off-by: James Cowgill <james410@cowgill.org.uk> Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Cc: Nemanja Lukic <nemanja.lukic@rt-rk.com> Acked-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'pixman')
-rw-r--r--pixman/pixman-mips-dspr2-asm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/pixman/pixman-mips-dspr2-asm.h b/pixman/pixman-mips-dspr2-asm.h
index 11849bd..e44edd6 100644
--- a/pixman/pixman-mips-dspr2-asm.h
+++ b/pixman/pixman-mips-dspr2-asm.h
@@ -72,10 +72,8 @@
#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; \