* 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:
Danny Smith
2003-01-01 10:00:39 +00:00
parent 4f66b246ba
commit 353549d744
6 changed files with 85 additions and 6 deletions

View File

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