summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorGeza Lore <gezalore@gmail.com>2015-10-12 13:13:00 +0100
committerHenrik Gramner <henrik@gramner.com>2016-01-21 23:19:46 +0100
commitd39c229e54d6a5a7d9bb89e9fe5b086a95c9cca9 (patch)
treeeeeb03b08ee5725e31d5034a56bfa0907da570fc /libavcodec
parentd3662777e070b297ead7c23883d1a7e77d37193f (diff)
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.asm2
-rw-r--r--libavcodec/x86/simple_idct10.asm2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/proresdsp.asm b/libavcodec/x86/proresdsp.asm
index edfd2f7c02..16fc262aeb 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 cd83d61b44..5dee533de0 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