From 76dc39fe305d130dcc42ba0d8ae6fa42a725ad61 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Tue, 5 Feb 2002 07:07:21 +0000 Subject: [PATCH] * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise. --- ld/emultempl/hppaelf.em | 2 ++ ld/emultempl/ppc64elf.em | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ld/emultempl/hppaelf.em b/ld/emultempl/hppaelf.em index 0b49b63bbd..243d55bd34 100644 --- a/ld/emultempl/hppaelf.em +++ b/ld/emultempl/hppaelf.em @@ -226,6 +226,8 @@ hppaelf_layout_sections_again () add even more stubs. */ need_laying_out = 0; + lang_reset_memory_regions (); + /* Resize the sections. */ lang_size_sections (stat_ptr->head, abs_output_section, &stat_ptr->head, 0, (bfd_vma) 0, NULL); diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em index 655ddea021..7e524341bf 100644 --- a/ld/emultempl/ppc64elf.em +++ b/ld/emultempl/ppc64elf.em @@ -76,6 +76,8 @@ gld${EMULATION_NAME}_finish () need to adjust the stub size again. */ need_laying_out = 0; + lang_reset_memory_regions (); + /* Resize the sections. */ lang_size_sections (stat_ptr->head, abs_output_section, &stat_ptr->head, 0, (bfd_vma) 0, NULL); -- 2.34.1