summaryrefslogtreecommitdiff
path: root/pixman/pixman-arm-neon-asm.h
diff options
context:
space:
mode:
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>2014-04-10 09:41:38 +0300
committerSøren Sandmann <ssp@redhat.com>2014-04-21 20:38:09 -0400
commit5f661ee719be25c3aa0eb0d45e0db23a37e76468 (patch)
tree5262f96ff4b009cfe999ed718b3125b101f396f4 /pixman/pixman-arm-neon-asm.h
parentab587b444cf9ac1ee421b9942befc509b52cb109 (diff)
downloadpixman-5f661ee719be25c3aa0eb0d45e0db23a37e76468.tar.gz
ARM: use pixman_asm_function in internal headers
The two ARM headers contained open-coded copies of pixman_asm_function, replace these. Since it seems customary that ARM headers do not use CPP include guards, rely on the .S files to #include "pixman-arm-asm.h" first. They all do now. v2: Fix a build failure on rpi by adding one #include.
Diffstat (limited to 'pixman/pixman-arm-neon-asm.h')
-rw-r--r--pixman/pixman-arm-neon-asm.h20
1 files changed, 4 insertions, 16 deletions
diff --git a/pixman/pixman-arm-neon-asm.h b/pixman/pixman-arm-neon-asm.h
index d0d92d7..bdcf6a9 100644
--- a/pixman/pixman-arm-neon-asm.h
+++ b/pixman/pixman-arm-neon-asm.h
@@ -631,14 +631,8 @@ local skip1
src_basereg_ = 0, \
mask_basereg_ = 24
- .func fname
- .global fname
- /* For ELF format also set function visibility to hidden */
-#ifdef __ELF__
- .hidden fname
- .type fname, %function
-#endif
-fname:
+ pixman_asm_function fname
+
push {r4-r12, lr} /* save all registers */
/*
@@ -945,14 +939,8 @@ fname:
src_basereg_ = 0, \
mask_basereg_ = 24
- .func fname
- .global fname
- /* For ELF format also set function visibility to hidden */
-#ifdef __ELF__
- .hidden fname
- .type fname, %function
-#endif
-fname:
+ pixman_asm_function fname
+
.set PREFETCH_TYPE_CURRENT, PREFETCH_TYPE_NONE
/*
* Make some macro arguments globally visible and accessible