Mercurial > mplayer.hg
changeset 30278:e1e31e655bef
Document some of the ext_stub magic.
author | reimar |
---|---|
date | Sat, 16 Jan 2010 15:04:17 +0000 |
parents | e15646d685c5 |
children | 023a32b18911 |
files | loader/win32.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/loader/win32.c Sat Jan 16 15:02:49 2010 +0000 +++ b/loader/win32.c Sat Jan 16 15:04:17 2010 +0000 @@ -5326,6 +5326,8 @@ static WIN_BOOL WINAPI ext_stubs(void) { + // NOTE! these magic values will be replaced at runtime, make sure + // add_stub can still find them if you change them. volatile int idx = 0x0deadabc; // make sure gcc does not do eip-relative call or something like that void (* volatile my_printf)(char *, char *) = (void *)0xdeadfbcd;