summaryrefslogtreecommitdiff
path: root/arm
diff options
context:
space:
mode:
authorDan Field <dnfield@google.com>2019-08-26 15:04:51 -0700
committerCosmin Truta <ctruta@gmail.com>2020-05-17 20:00:46 -0400
commita6fc80300fc9eb49beca243612d018787ec293d4 (patch)
treeede7a31cd64a42fcfdb0c183b4bb1ee1d26dff78 /arm
parent5e8b45c436c1c1bef18b3a8e18b4f0b980e946fc (diff)
downloadlibpng-a6fc80300fc9eb49beca243612d018787ec293d4.tar.gz
Add an __LLVM,__asm section for clang builds on ARM
Diffstat (limited to 'arm')
-rw-r--r--arm/filter_neon.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arm/filter_neon.S b/arm/filter_neon.S
index 2308aad13..e7f3e291d 100644
--- a/arm/filter_neon.S
+++ b/arm/filter_neon.S
@@ -20,6 +20,10 @@
.section .note.GNU-stack,"",%progbits /* mark stack as non-executable */
#endif
+#ifdef __clang__
+.section __LLVM,__asm
+#endif
+
#ifdef PNG_READ_SUPPORTED
/* Assembler NEON support - only works for 32-bit ARM (i.e. it does not work for