Browse Source

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

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

Originally committed as revision 5120 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Sam Hocevar Diego Biurrun 19 years ago
parent
commit
5f112e1f96
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      libavcodec/libpostproc/mangle.h
  2. +2
    -0
      libavutil/common.h

+ 2
- 0
libavcodec/libpostproc/mangle.h View File

@@ -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


+ 2
- 0
libavutil/common.h View File

@@ -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


Loading…
Cancel
Save