From a6fc80300fc9eb49beca243612d018787ec293d4 Mon Sep 17 00:00:00 2001 From: Dan Field Date: Mon, 26 Aug 2019 15:04:51 -0700 Subject: [PATCH] Add an __LLVM,__asm section for clang builds on ARM --- AUTHORS | 1 + arm/filter_neon.S | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/AUTHORS b/AUTHORS index 79a3d1036..c1f119bba 100644 --- a/AUTHORS +++ b/AUTHORS @@ -35,6 +35,7 @@ Authors, for copyright and licensing purposes. * Google Inc. - Matt Sarett - Mike Klein + - Dan Field The build projects, the build scripts, the test scripts, and other files in the "projects", "scripts" and "tests" directories, have other 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