OSDN Git Service

arm: Add EXTERN_ASM to the .func and .type declarations for exported symbols
authorMartin Storsjö <martin@martin.st>
Tue, 4 Feb 2014 14:28:24 +0000 (16:28 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 7 Feb 2014 13:14:06 +0000 (15:14 +0200)
commite3fec3f095ab5ea08ee662942d98526aaf5e3635
tree41414a90ac705c8b06255a2d8004c28bdbed8c16
parent5bcbb516f2ff45290ef7995b081762e668693672
arm: Add EXTERN_ASM to the .func and .type declarations for exported symbols

This makes the generated assembly more internally consistent,
avoiding declaring two labels for the same function (for cases
where EXTERN_ASM is empty) and not declaring a separate unprefixed
label in other cases.

This also makes sure the .func and .type delcarations have the same
prefix. They have previously not been used on the platforms
that have prefixed symbols on arm (iOS), but gas-preprocessor
has recently started using the .func declarations for adding
.thumb_func declarations for such functions.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavutil/arm/asm.S