From cc602061ee860b041013397e27a036b85cd87b09 Mon Sep 17 00:00:00 2001 From: Geza Lore Date: Mon, 18 Jan 2016 00:21:51 +0100 Subject: x86inc: Add debug symbols indicating sizes of compiled functions Some debuggers/profilers use this metadata to determine which function a given instruction is in; without it they get can confused by local labels (if you haven't stripped those). On the other hand, some tools are still confused even with this metadata. e.g. this fixes `gdb`, but not `perf`. Currently only implemented for ELF. Signed-off-by: Anton Khirnov --- libavcodec/x86/proresdsp.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/x86') diff --git a/libavcodec/x86/proresdsp.asm b/libavcodec/x86/proresdsp.asm index a0e97b3951..5a329cb898 100644 --- a/libavcodec/x86/proresdsp.asm +++ b/libavcodec/x86/proresdsp.asm @@ -54,7 +54,7 @@ cextern pw_8 cextern pw_512 cextern pw_1019 -section .text align=16 +SECTION .text ; interleave data while maintaining source ; %1=type, %2=dstlo, %3=dsthi, %4=src, %5=interleave -- cgit v1.2.3