• Martin Storsjö's avatar
    arm: Add EXTERN_ASM to the .func and .type declarations for exported symbols · e3fec3f0
    Martin Storsjö authored
    
    
    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: default avatarMartin Storsjö <martin@martin.st>
    e3fec3f0