Revision 480cb7ed libavcodec/arm/asm.S

View differences:

libavcodec/arm/asm.S
26 26
#   define ELF @
27 27
#endif
28 28

  
29
        .macro require8, val=1
29
.macro  require8 val=1
30 30
ELF     .eabi_attribute 24, \val
31
        .endm
31
.endm
32 32

  
33
        .macro preserve8, val=1
33
.macro  preserve8 val=1
34 34
ELF     .eabi_attribute 25, \val
35
        .endm
35
.endm
36 36

  
37
        .macro function name, export=0
38
        .macro endfunc
37
.macro  function name, export=0
38
    .macro endfunc
39 39
ELF     .size   \name, . - \name
40 40
        .endfunc
41 41
        .purgem endfunc
42
        .endm
43
.if \export
42
    .endm
43
    .if \export
44 44
        .global EXTERN_ASM\name
45 45
EXTERN_ASM\name:
46
.endif
46
    .endif
47 47
ELF     .type   \name, %function
48 48
        .func   \name
49 49
\name:
50
        .endm
50
.endm
51 51

  
52
        .macro movrel rd, val
52
.macro  movrel rd, val
53 53
#if HAVE_ARMV6T2 && !CONFIG_PIC
54 54
        movw            \rd, #:lower16:\val
55 55
        movt            \rd, #:upper16:\val
56 56
#else
57 57
        ldr             \rd, =\val
58 58
#endif
59
        .endm
59
.endm
60 60

  
61 61
#if HAVE_VFP_ARGS
62 62
        .eabi_attribute 28, 1

Also available in: Unified diff