* emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.

* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
This commit is contained in:
Hans-Peter Nilsson 2002-02-05 07:07:21 +00:00
parent e3dc884769
commit 76dc39fe30
2 changed files with 4 additions and 0 deletions

View File

@ -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);

View File

@ -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);