From 8520b6345c80cb220cb240c2e6411ace36920b17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Thu, 19 Apr 2007 20:09:43 +0000 Subject: [PATCH] add .type foo, %function directives for the benefit of debuggers based on patch by Matthieu Castet, castet ! matthieu $ free ! fr Originally committed as revision 8761 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/armv4l/simple_idct_armv5te.S | 7 +++++++ libavcodec/armv4l/simple_idct_armv6.S | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/libavcodec/armv4l/simple_idct_armv5te.S b/libavcodec/armv4l/simple_idct_armv5te.S index 28bee06438..31c5032f5d 100644 --- a/libavcodec/armv4l/simple_idct_armv5te.S +++ b/libavcodec/armv4l/simple_idct_armv5te.S @@ -42,6 +42,7 @@ w26: .long W26 w57: .long W57 .align + .type idct_row_armv5te, %function .func idct_row_armv5te idct_row_armv5te: str lr, [sp, #-4]! @@ -262,6 +263,7 @@ row_dc_only: .endm .align + .type idct_col_armv5te, %function .func idct_col_armv5te idct_col_armv5te: str lr, [sp, #-4]! @@ -336,6 +338,7 @@ idct_col_armv5te: .endfunc .align + .type idct_col_put_armv5te, %function .func idct_col_put_armv5te idct_col_put_armv5te: str lr, [sp, #-4]! @@ -455,6 +458,7 @@ idct_col_put_armv5te: .endfunc .align + .type idct_col_add_armv5te, %function .func idct_col_add_armv5te idct_col_add_armv5te: str lr, [sp, #-4]! @@ -608,6 +612,7 @@ idct_col_add_armv5te: .align .global simple_idct_armv5te + .type simple_idct_armv5te, %function .func simple_idct_armv5te simple_idct_armv5te: stmfd sp!, {v1, v2, v3, v4, v5, v6, v7, fp, lr} @@ -643,6 +648,7 @@ simple_idct_armv5te: .align .global simple_idct_add_armv5te + .type simple_idct_add_armv5te, %function .func simple_idct_add_armv5te simple_idct_add_armv5te: stmfd sp!, {a1, a2, v1, v2, v3, v4, v5, v6, v7, fp, lr} @@ -681,6 +687,7 @@ simple_idct_add_armv5te: .align .global simple_idct_put_armv5te + .type simple_idct_put_armv5te, %function .func simple_idct_put_armv5te simple_idct_put_armv5te: stmfd sp!, {a1, a2, v1, v2, v3, v4, v5, v6, v7, fp, lr} diff --git a/libavcodec/armv4l/simple_idct_armv6.S b/libavcodec/armv4l/simple_idct_armv6.S index 401e1910df..c5a019ed34 100644 --- a/libavcodec/armv4l/simple_idct_armv6.S +++ b/libavcodec/armv4l/simple_idct_armv6.S @@ -191,6 +191,7 @@ w57: .long W57 a2 = dest */ .align + .type idct_row_armv6, %function .func idct_row_armv6 idct_row_armv6: str lr, [sp, #-4]! @@ -245,6 +246,7 @@ idct_row_armv6: a2 = dest */ .align + .type idct_col_armv6, %function .func idct_col_armv6 idct_col_armv6: stmfd sp!, {a2, lr} @@ -275,6 +277,7 @@ idct_col_armv6: a3 = line size */ .align + .type idct_col_put_armv6, %function .func idct_col_put_armv6 idct_col_put_armv6: stmfd sp!, {a2, a3, lr} @@ -307,6 +310,7 @@ idct_col_put_armv6: a3 = line size */ .align + .type idct_col_add_armv6, %function .func idct_col_add_armv6 idct_col_add_armv6: stmfd sp!, {a2, a3, lr} @@ -391,6 +395,7 @@ idct_col_add_armv6: .align .global ff_simple_idct_armv6 + .type ff_simple_idct_armv6, %function .func ff_simple_idct_armv6 /* void ff_simple_idct_armv6(DCTELEM *data); */ ff_simple_idct_armv6: @@ -409,6 +414,7 @@ ff_simple_idct_armv6: .align .global ff_simple_idct_add_armv6 + .type ff_simple_idct_add_armv6, %function .func ff_simple_idct_add_armv6 /* ff_simple_idct_add_armv6(uint8_t *dest, int line_size, DCTELEM *data); */ ff_simple_idct_add_armv6: @@ -429,6 +435,7 @@ ff_simple_idct_add_armv6: .align .global ff_simple_idct_put_armv6 + .type ff_simple_idct_put_armv6, %function .func ff_simple_idct_put_armv6 /* ff_simple_idct_put_armv6(uint8_t *dest, int line_size, DCTELEM *data); */ ff_simple_idct_put_armv6: