On Fri, 30 May 2014, Janne Grunau wrote:

Not supported by Clang's integrated assembler. Since it just adds
debug information it can safely omitted.
---
configure               |  5 +++++
libavutil/aarch64/asm.S | 12 +++++++++---
libavutil/arm/asm.S     | 12 +++++++++---
3 files changed, 23 insertions(+), 6 deletions(-)

As concept this looks good, but I've got one detail below that needs to be tweaked

diff --git a/configure b/configure
index a148b93..6e2ab24 100755
--- a/configure
+++ b/configure
@@ -1468,6 +1468,7 @@ SYSTEM_FUNCS="

TOOLCHAIN_FEATURES="
    as_dn_directive
+    as_func
    asm_mod_q
    attribute_may_alias
    attribute_packed
@@ -3887,6 +3888,10 @@ if enabled asm; then
.endm
m x
EOF
+
+    check_as <<EOF && enable as_func
+.func test
+EOF

Please include .endfunc here as well. When building with ms armasm via gas-preprocessor, .func gets turned into PROC, and the assembler errors out if there's no matching ENDP.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to