Commit 8520b634 authored by Måns Rullgård's avatar Måns Rullgård

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
parent a1ce6110
...@@ -42,6 +42,7 @@ w26: .long W26 ...@@ -42,6 +42,7 @@ w26: .long W26
w57: .long W57 w57: .long W57
.align .align
.type idct_row_armv5te, %function
.func idct_row_armv5te .func idct_row_armv5te
idct_row_armv5te: idct_row_armv5te:
str lr, [sp, #-4]! str lr, [sp, #-4]!
...@@ -262,6 +263,7 @@ row_dc_only: ...@@ -262,6 +263,7 @@ row_dc_only:
.endm .endm
.align .align
.type idct_col_armv5te, %function
.func idct_col_armv5te .func idct_col_armv5te
idct_col_armv5te: idct_col_armv5te:
str lr, [sp, #-4]! str lr, [sp, #-4]!
...@@ -336,6 +338,7 @@ idct_col_armv5te: ...@@ -336,6 +338,7 @@ idct_col_armv5te:
.endfunc .endfunc
.align .align
.type idct_col_put_armv5te, %function
.func idct_col_put_armv5te .func idct_col_put_armv5te
idct_col_put_armv5te: idct_col_put_armv5te:
str lr, [sp, #-4]! str lr, [sp, #-4]!
...@@ -455,6 +458,7 @@ idct_col_put_armv5te: ...@@ -455,6 +458,7 @@ idct_col_put_armv5te:
.endfunc .endfunc
.align .align
.type idct_col_add_armv5te, %function
.func idct_col_add_armv5te .func idct_col_add_armv5te
idct_col_add_armv5te: idct_col_add_armv5te:
str lr, [sp, #-4]! str lr, [sp, #-4]!
...@@ -608,6 +612,7 @@ idct_col_add_armv5te: ...@@ -608,6 +612,7 @@ idct_col_add_armv5te:
.align .align
.global simple_idct_armv5te .global simple_idct_armv5te
.type simple_idct_armv5te, %function
.func simple_idct_armv5te .func simple_idct_armv5te
simple_idct_armv5te: simple_idct_armv5te:
stmfd sp!, {v1, v2, v3, v4, v5, v6, v7, fp, lr} stmfd sp!, {v1, v2, v3, v4, v5, v6, v7, fp, lr}
...@@ -643,6 +648,7 @@ simple_idct_armv5te: ...@@ -643,6 +648,7 @@ simple_idct_armv5te:
.align .align
.global simple_idct_add_armv5te .global simple_idct_add_armv5te
.type simple_idct_add_armv5te, %function
.func simple_idct_add_armv5te .func simple_idct_add_armv5te
simple_idct_add_armv5te: simple_idct_add_armv5te:
stmfd sp!, {a1, a2, v1, v2, v3, v4, v5, v6, v7, fp, lr} stmfd sp!, {a1, a2, v1, v2, v3, v4, v5, v6, v7, fp, lr}
...@@ -681,6 +687,7 @@ simple_idct_add_armv5te: ...@@ -681,6 +687,7 @@ simple_idct_add_armv5te:
.align .align
.global simple_idct_put_armv5te .global simple_idct_put_armv5te
.type simple_idct_put_armv5te, %function
.func simple_idct_put_armv5te .func simple_idct_put_armv5te
simple_idct_put_armv5te: simple_idct_put_armv5te:
stmfd sp!, {a1, a2, v1, v2, v3, v4, v5, v6, v7, fp, lr} stmfd sp!, {a1, a2, v1, v2, v3, v4, v5, v6, v7, fp, lr}
......
...@@ -191,6 +191,7 @@ w57: .long W57 ...@@ -191,6 +191,7 @@ w57: .long W57
a2 = dest a2 = dest
*/ */
.align .align
.type idct_row_armv6, %function
.func idct_row_armv6 .func idct_row_armv6
idct_row_armv6: idct_row_armv6:
str lr, [sp, #-4]! str lr, [sp, #-4]!
...@@ -245,6 +246,7 @@ idct_row_armv6: ...@@ -245,6 +246,7 @@ idct_row_armv6:
a2 = dest a2 = dest
*/ */
.align .align
.type idct_col_armv6, %function
.func idct_col_armv6 .func idct_col_armv6
idct_col_armv6: idct_col_armv6:
stmfd sp!, {a2, lr} stmfd sp!, {a2, lr}
...@@ -275,6 +277,7 @@ idct_col_armv6: ...@@ -275,6 +277,7 @@ idct_col_armv6:
a3 = line size a3 = line size
*/ */
.align .align
.type idct_col_put_armv6, %function
.func idct_col_put_armv6 .func idct_col_put_armv6
idct_col_put_armv6: idct_col_put_armv6:
stmfd sp!, {a2, a3, lr} stmfd sp!, {a2, a3, lr}
...@@ -307,6 +310,7 @@ idct_col_put_armv6: ...@@ -307,6 +310,7 @@ idct_col_put_armv6:
a3 = line size a3 = line size
*/ */
.align .align
.type idct_col_add_armv6, %function
.func idct_col_add_armv6 .func idct_col_add_armv6
idct_col_add_armv6: idct_col_add_armv6:
stmfd sp!, {a2, a3, lr} stmfd sp!, {a2, a3, lr}
...@@ -391,6 +395,7 @@ idct_col_add_armv6: ...@@ -391,6 +395,7 @@ idct_col_add_armv6:
.align .align
.global ff_simple_idct_armv6 .global ff_simple_idct_armv6
.type ff_simple_idct_armv6, %function
.func ff_simple_idct_armv6 .func ff_simple_idct_armv6
/* void ff_simple_idct_armv6(DCTELEM *data); */ /* void ff_simple_idct_armv6(DCTELEM *data); */
ff_simple_idct_armv6: ff_simple_idct_armv6:
...@@ -409,6 +414,7 @@ ff_simple_idct_armv6: ...@@ -409,6 +414,7 @@ ff_simple_idct_armv6:
.align .align
.global ff_simple_idct_add_armv6 .global ff_simple_idct_add_armv6
.type ff_simple_idct_add_armv6, %function
.func ff_simple_idct_add_armv6 .func ff_simple_idct_add_armv6
/* ff_simple_idct_add_armv6(uint8_t *dest, int line_size, DCTELEM *data); */ /* ff_simple_idct_add_armv6(uint8_t *dest, int line_size, DCTELEM *data); */
ff_simple_idct_add_armv6: ff_simple_idct_add_armv6:
...@@ -429,6 +435,7 @@ ff_simple_idct_add_armv6: ...@@ -429,6 +435,7 @@ ff_simple_idct_add_armv6:
.align .align
.global ff_simple_idct_put_armv6 .global ff_simple_idct_put_armv6
.type ff_simple_idct_put_armv6, %function
.func ff_simple_idct_put_armv6 .func ff_simple_idct_put_armv6
/* ff_simple_idct_put_armv6(uint8_t *dest, int line_size, DCTELEM *data); */ /* ff_simple_idct_put_armv6(uint8_t *dest, int line_size, DCTELEM *data); */
ff_simple_idct_put_armv6: ff_simple_idct_put_armv6:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment