[FFmpeg-cvslog] r18934 - trunk/libavutil/internal.h
ramiro
subversion
Mon May 25 03:50:37 CEST 2009
Author: ramiro
Date: Mon May 25 03:50:37 2009
New Revision: 18934
Log:
Add LABEL_MANGLE() to export label symbols from inside asm blocks.
Modified:
trunk/libavutil/internal.h
Modified: trunk/libavutil/internal.h
==============================================================================
--- trunk/libavutil/internal.h Mon May 25 02:31:52 2009 (r18933)
+++ trunk/libavutil/internal.h Mon May 25 03:50:37 2009 (r18934)
@@ -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)"
More information about the ffmpeg-cvslog
mailing list