diff options
author | Geza Lore <gezalore@gmail.com> | 2015-10-12 13:13:00 +0100 |
---|---|---|
committer | Henrik Gramner <henrik@gramner.com> | 2016-01-21 23:19:46 +0100 |
commit | d39c229e54d6a5a7d9bb89e9fe5b086a95c9cca9 (patch) | |
tree | eeeb03b08ee5725e31d5034a56bfa0907da570fc /libavcodec | |
parent | d3662777e070b297ead7c23883d1a7e77d37193f (diff) | |
download | ffmpeg-streaming-d39c229e54d6a5a7d9bb89e9fe5b086a95c9cca9.zip ffmpeg-streaming-d39c229e54d6a5a7d9bb89e9fe5b086a95c9cca9.tar.gz |
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.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/x86/proresdsp.asm | 2 | ||||
-rw-r--r-- | libavcodec/x86/simple_idct10.asm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/proresdsp.asm b/libavcodec/x86/proresdsp.asm index edfd2f7..16fc262 100644 --- a/libavcodec/x86/proresdsp.asm +++ b/libavcodec/x86/proresdsp.asm @@ -48,7 +48,7 @@ cextern w7_min_w5 %include "libavcodec/x86/simple_idct10_template.asm" -section .text align=16 +SECTION .text %macro idct_fn 0 cglobal prores_idct_put_10, 4, 4, 15 diff --git a/libavcodec/x86/simple_idct10.asm b/libavcodec/x86/simple_idct10.asm index cd83d61..5dee533 100644 --- a/libavcodec/x86/simple_idct10.asm +++ b/libavcodec/x86/simple_idct10.asm @@ -65,7 +65,7 @@ CONST_DEC w7_min_w5, W7sh2, -W5sh2 %include "libavcodec/x86/simple_idct10_template.asm" -section .text align=16 +SECTION .text %macro idct_fn 0 cglobal simple_idct10, 1, 1, 16 |