Add an __LLVM,__asm section for clang builds on ARM

This commit is contained in:
Dan Field 2019-08-26 15:04:51 -07:00 committed by Cosmin Truta
parent 5e8b45c436
commit a6fc80300f
2 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,7 @@ Authors, for copyright and licensing purposes.
* Google Inc. * Google Inc.
- Matt Sarett - Matt Sarett
- Mike Klein - Mike Klein
- Dan Field
The build projects, the build scripts, the test scripts, and other The build projects, the build scripts, the test scripts, and other
files in the "projects", "scripts" and "tests" directories, have other files in the "projects", "scripts" and "tests" directories, have other

View File

@ -20,6 +20,10 @@
.section .note.GNU-stack,"",%progbits /* mark stack as non-executable */ .section .note.GNU-stack,"",%progbits /* mark stack as non-executable */
#endif #endif
#ifdef __clang__
.section __LLVM,__asm
#endif
#ifdef PNG_READ_SUPPORTED #ifdef PNG_READ_SUPPORTED
/* Assembler NEON support - only works for 32-bit ARM (i.e. it does not work for /* Assembler NEON support - only works for 32-bit ARM (i.e. it does not work for