aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2002-02-05 07:07:21 +0000
committerHans-Peter Nilsson <hp@axis.com>2002-02-05 07:07:21 +0000
commit76dc39fe305d130dcc42ba0d8ae6fa42a725ad61 (patch)
tree2379cac969440175c1c891c61af3c4eb187c6ac3 /ld/emultempl
parente3dc8847695c8f91bff0067d38e08969d482611f (diff)
downloadgdb-76dc39fe305d130dcc42ba0d8ae6fa42a725ad61.zip
gdb-76dc39fe305d130dcc42ba0d8ae6fa42a725ad61.tar.gz
gdb-76dc39fe305d130dcc42ba0d8ae6fa42a725ad61.tar.bz2
* emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/hppaelf.em2
-rw-r--r--ld/emultempl/ppc64elf.em2
2 files changed, 4 insertions, 0 deletions
diff --git a/ld/emultempl/hppaelf.em b/ld/emultempl/hppaelf.em
index 0b49b63..243d55b 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 655ddea..7e52434 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);