Mercurial > mplayer.hg
view loader/wrapper.h @ 21797:14061bc22cb3
fix gprof support (aka work around gprof's brain dead design)
as stated here: http://sourceware.org/binutils/docs-2.17/gprof/Implementation.html
mcount() is a symbol reserved by gprof to perform instrumentation, so we shouldn't declare a symbol that has this name
Fixes issue discussed here:
date: Jan 3, 2007 3:17 PM
subject: [MPlayer-advusers] gcc, mplayer and profile (mcount)
author | gpoirier |
---|---|
date | Thu, 04 Jan 2007 16:00:27 +0000 |
parents | ee76aa308c0a |
children | c98c9e7f3bd0 |
line wrap: on
line source
#ifndef _WRAPPER_H #define _WRAPPER_H #include <inttypes.h> typedef struct { uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax; } reg386_t; typedef int (*wrapper_func_t)(void *stack_base, int stack_size, reg386_t *reg, uint32_t *flags); extern wrapper_func_t report_entry, report_ret; extern void (*wrapper_target)(void); extern int wrapper(void); extern int null_call(void); #endif /* _WRAPPER_H */