open-plc-utils: new package
[buildroot-gz.git] / package / pixman / 0002-Fix-C-pre-processor-issues-in-LEAF_MIPS32R2.patch
blobb898fa5e656f1b5ae3bd2ad7fb5548030f1eb6b3
1 pixman: Fix C pre-processor issues in LEAF_MIPS32R2
3 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
5 From 3a60aa8d574f4dfc4fa3ddb13aaa13c7d955105b Mon Sep 17 00:00:00 2001
6 From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
7 Date: Thu, 11 Sep 2014 10:24:10 +0100
8 Subject: [PATCH] Fix C pre-processor issues in LEAF_MIPS32R2
10 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
11 ---
12 pixman/pixman-mips-dspr2-asm.h | 4 ++--
13 1 files changed, 2 insertions(+), 2 deletions(-)
15 diff --git a/pixman/pixman-mips-dspr2-asm.h b/pixman/pixman-mips-dspr2-asm.h
16 index 11849bd..b2696d0 100644
17 --- a/pixman/pixman-mips-dspr2-asm.h
18 +++ b/pixman/pixman-mips-dspr2-asm.h
19 @@ -72,10 +72,10 @@
20 #define LEAF_MIPS32R2(symbol) \
21 .globl symbol; \
22 .align 2; \
23 -#ifdef __ELF__
24 + .if __ELF__; \
25 .hidden symbol; \
26 .type symbol, @function; \
27 -#endif
28 + .endif; \
29 .ent symbol, 0; \
30 symbol: .frame sp, 0, ra; \
31 .set push; \
32 --
33 1.7.1