* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Enable runtime
relocation by default. (compute_dll_image_base): Avoid linking into cygwin dll address space.
This commit is contained in:
parent
bf943cbb7f
commit
2c7fd14a3b
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-07-09 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Enable runtime
|
||||||
|
relocation by default.
|
||||||
|
(compute_dll_image_base): Avoid linking into cygwin dll address space.
|
||||||
|
|
||||||
2005-07-08 Alan Modra <amodra@bigpond.net.au>
|
2005-07-08 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* ldlang.c (wild_sort): Formatting.
|
* ldlang.c (wild_sort): Formatting.
|
||||||
|
|
|
@ -135,7 +135,7 @@ gld_${EMULATION_NAME}_before_parse (void)
|
||||||
config.dynamic_link = TRUE;
|
config.dynamic_link = TRUE;
|
||||||
config.has_shared = 1;
|
config.has_shared = 1;
|
||||||
link_info.pei386_auto_import = -1;
|
link_info.pei386_auto_import = -1;
|
||||||
link_info.pei386_runtime_pseudo_reloc = FALSE;
|
link_info.pei386_runtime_pseudo_reloc = -1;
|
||||||
|
|
||||||
#if (PE_DEF_SUBSYSTEM == 9) || (PE_DEF_SUBSYSTEM == 2)
|
#if (PE_DEF_SUBSYSTEM == 9) || (PE_DEF_SUBSYSTEM == 2)
|
||||||
#if defined TARGET_IS_mipspe || defined TARGET_IS_armpe
|
#if defined TARGET_IS_mipspe || defined TARGET_IS_armpe
|
||||||
|
@ -667,7 +667,7 @@ static unsigned long
|
||||||
compute_dll_image_base (const char *ofile)
|
compute_dll_image_base (const char *ofile)
|
||||||
{
|
{
|
||||||
unsigned long hash = strhash (ofile);
|
unsigned long hash = strhash (ofile);
|
||||||
return 0x60000000 | ((hash << 16) & 0x0FFC0000);
|
return 0x61300000 + ((hash << 16) & 0x0FFC0000);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue