Commit 3564dede authored by ramiro's avatar ramiro

Add LABEL_MANGLE() to export label symbols from inside asm blocks.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18934 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b73681d3
......@@ -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)"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment