Browse Source

* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Defer

merging sections when not relocating.
gdb-premipsmulti-2000-06-06-branch
DJ Delorie 27 years ago
parent
commit
6eec49fcec
  1. 5
      ld/ChangeLog
  2. 9
      ld/emultempl/pe.em

5
ld/ChangeLog

@ -1,3 +1,8 @@
1999-09-29 Andrew Haley <aph@cygnus.com>
* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Defer
merging sections when not relocating.
1999-09-28 Mumit Khan <khan@xraylith.wisc.edu>
* pe-dll.c (process_def_file): Move the offset lookup from here to

9
ld/emultempl/pe.em

@ -1028,9 +1028,12 @@ gld_${EMULATION_NAME}_place_orphan (file, s)
hold_section = s;
hold_section_name = xstrdup (secname);
dollar = strchr (hold_section_name, '$');
if (dollar != NULL)
*dollar = '\0';
if (!link_info.relocateable)
{
dollar = strchr (hold_section_name, '$');
if (dollar != NULL)
*dollar = '\0';
}
hold_use = NULL;
lang_for_each_statement (gld${EMULATION_NAME}_place_section);

Loading…
Cancel
Save