Commit 3e3bd77b authored by diego's avatar diego

Proper mangling information for symbols in OS X Mach-O shared objects.

patch by Samuel Hocevar, sam ..at.. zoy ..dot.. org


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5120 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7b2a94cf
......@@ -19,6 +19,8 @@
#else
#if defined(ARCH_X86_64) && defined(PIC)
#define MANGLE(a) #a"(%%rip)"
#elif defined(CONFIG_DARWIN)
#define MANGLE(a) "_" #a
#else
#define MANGLE(a) #a
#endif
......
......@@ -267,6 +267,8 @@ static inline float floorf(float f) {
# else
# if defined(ARCH_X86_64) && defined(PIC)
# define MANGLE(a) #a"(%%rip)"
# elif defined(CONFIG_DARWIN)
# define MANGLE(a) "_" #a
# else
# define MANGLE(a) #a
# endif
......
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