2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>
* pseudo-reloc.c (do_pseudo_reloc): Make static. * pseudo-reloc-list.c: New file. * crt1.c (_pei386_runtime_relocator): Declare. (__mingw_CRTStartup): Call it. * dllcrt1.c (_pei386_runtime_relocator): Declare. (DllMainCRTStartup): Call it. * Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to libmingw32.a. 2003-01-01 Egor Duda <deo@logos-m.ru> * pseudo-reloc.c: New file.
This commit is contained in:
@@ -47,6 +47,9 @@
|
||||
* a-good-idea use of include. */
|
||||
#include "init.c"
|
||||
|
||||
|
||||
extern void _pei386_runtime_relocator (void);
|
||||
|
||||
extern int main (int, char **, char **);
|
||||
|
||||
/*
|
||||
@@ -203,6 +206,10 @@ __mingw_CRTStartup ()
|
||||
*/
|
||||
_mingw32_init_fmode ();
|
||||
|
||||
|
||||
/* Adust references to dllimported data that have non-zero offsets. */
|
||||
_pei386_runtime_relocator ();
|
||||
|
||||
/*
|
||||
* Call the main function. If the user does not supply one
|
||||
* the one in the 'libmingw32.a' library will be linked in, and
|
||||
|
Reference in New Issue
Block a user