pe-dll.c (pe_exe_fill_sections): Call lang_reset_memory_regions before

lang_size_sections.
This commit is contained in:
Nick Clifton 2005-08-10 16:46:30 +00:00
parent a38a2e96b0
commit 38975f9eab
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-08-10 Nick Clifton <nickc@redhat.com>
* pe-dll.c (pe_exe_fill_sections): Call lang_reset_memory_regions
before lang_size_sections.
2005-08-09 Alan Modra <amodra@bigpond.net.au>
* emulparams/hppa64linux.sh (LARGE_SECTIONS): Remove .tbss.

View File

@ -2636,6 +2636,7 @@ pe_dll_fill_sections (bfd *abfd, struct bfd_link_info *info)
bfd_set_section_size (filler_bfd, reloc_s, reloc_sz);
/* Resize the sections. */
lang_reset_memory_regions ();
lang_size_sections (NULL, TRUE);
/* Redo special stuff. */
@ -2666,6 +2667,7 @@ pe_exe_fill_sections (bfd *abfd, struct bfd_link_info *info)
bfd_set_section_size (filler_bfd, reloc_s, reloc_sz);
/* Resize the sections. */
lang_reset_memory_regions ();
lang_size_sections (NULL, TRUE);
/* Redo special stuff. */