diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-05-25 01:50:37 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-05-25 01:50:37 +0000 |
commit | 7d9beec775b5679d1583ba2332020d9267a90156 (patch) | |
tree | 5cb87773b1594265bb54f1223c35253764c4e015 /libavutil/internal.h | |
parent | e9356be524da842c3e8d3bc423f649cbac97bb0f (diff) | |
download | ffmpeg-streaming-7d9beec775b5679d1583ba2332020d9267a90156.zip ffmpeg-streaming-7d9beec775b5679d1583ba2332020d9267a90156.tar.gz |
Add LABEL_MANGLE() to export label symbols from inside asm blocks.
Originally committed as revision 18934 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/internal.h')
-rw-r--r-- | libavutil/internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h index a41a946..c9bab52 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -99,6 +99,9 @@ # define offsetof(T,F) ((unsigned int)((char *)&((T *)0)->F)) #endif +/* Use to export labels from asm. */ +#define LABEL_MANGLE(a) EXTERN_PREFIX #a + // Use rip-relative addressing if compiling PIC code on x86-64. #if ARCH_X86_64 && defined(PIC) # define LOCAL_MANGLE(a) #a "(%%rip)" |