From 38975f9eab9c0440a0863af398bc10049efe8333 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 10 Aug 2005 16:46:30 +0000 Subject: [PATCH] pe-dll.c (pe_exe_fill_sections): Call lang_reset_memory_regions before lang_size_sections. --- ld/ChangeLog | 5 +++++ ld/pe-dll.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 8046b4e0a95..b6b007984cd 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2005-08-10 Nick Clifton + + * pe-dll.c (pe_exe_fill_sections): Call lang_reset_memory_regions + before lang_size_sections. + 2005-08-09 Alan Modra * emulparams/hppa64linux.sh (LARGE_SECTIONS): Remove .tbss. diff --git a/ld/pe-dll.c b/ld/pe-dll.c index e89c8b911ac..88e7eda365a 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. */ -- 2.30.2