From: Alan Modra Date: Thu, 24 May 2001 08:19:32 +0000 (+0000) Subject: * write.c (write_object_file): Set finalize_syms = 1 before X-Git-Tag: dberlin-typesystem-branchpoint~467 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e027f3e8a4613fdc2a7db63dab2b723528445865;p=platform%2Fupstream%2Fbinutils.git * write.c (write_object_file): Set finalize_syms = 1 before size_seg is called. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 07cb17a..01cc017 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-05-24 Alan Modra + + * write.c (write_object_file): Set finalize_syms = 1 before + size_seg is called. + 2001-05-23 Thiemo Seufer * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add ISA_MIPS64 as 64 bit diff --git a/gas/write.c b/gas/write.c index 7e9317f..7b9e080 100644 --- a/gas/write.c +++ b/gas/write.c @@ -1574,13 +1574,14 @@ write_object_file () if (!changed) break; } + /* Relaxation has completed. Freeze all syms. */ + finalize_syms = 1; + bfd_map_over_sections (stdoutput, size_seg, (char *) 0); #else relax_and_size_all_segments (); -#endif /* BFD_ASSEMBLER */ - - /* Relaxation has completed. Freeze all syms. */ finalize_syms = 1; +#endif /* BFD_ASSEMBLER */ #if defined (BFD_ASSEMBLER) && defined (OBJ_COFF) && defined (TE_GO32) /* Now that the segments have their final sizes, run through the