Browse Source

Conditionally compile ELF-specific ARM assembly bits that fail on Windows CE.

patch by Martin Storsjö, martin martin st

Originally committed as revision 19514 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Martin Storsjö Diego Biurrun 16 years ago
parent
commit
e21a892163
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      libavcodec/arm/asm.S

+ 6
- 0
libavcodec/arm/asm.S View File

@@ -21,18 +21,24 @@
#include "config.h"

.macro require8, val=1
#ifdef __ELF__
.eabi_attribute 24, \val
#endif
.endm

.macro preserve8, val=1
#ifdef __ELF__
.eabi_attribute 25, \val
#endif
.endm

.macro function name, export=0
.if \export
.global \name
.endif
#ifdef __ELF__
.type \name, %function
#endif
.func \name
\name:
.endm


Loading…
Cancel
Save