diff options
author | Nick Clifton <nickc@redhat.com> | 2005-08-10 16:46:30 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-08-10 16:46:30 +0000 |
commit | 1fb5c0e8dd80ae82dfb3ebbc14ad1d31d574eaac (patch) | |
tree | 2737b40e482efa43115ad5b4ec94ce4d79d38519 /ld/pe-dll.c | |
parent | 258f8fa718514b1239e8af8077fe0c19501d1f9d (diff) | |
download | binutils-redhat-1fb5c0e8dd80ae82dfb3ebbc14ad1d31d574eaac.tar.gz |
pe-dll.c (pe_exe_fill_sections): Call lang_reset_memory_regions before
lang_size_sections.
Diffstat (limited to 'ld/pe-dll.c')
-rw-r--r-- | ld/pe-dll.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/pe-dll.c b/ld/pe-dll.c index e89c8b911a..88e7eda365 100644 --- a/ld/pe-dll.c +++ b/ld/pe-dll.c @@ -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. */ |