diff options
author | Alan Modra <amodra@bigpond.net.au> | 2001-05-24 08:19:32 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2001-05-24 08:19:32 +0000 |
commit | 572c02cb7e5172aafd23adf9d4f1c187d6cb4a54 (patch) | |
tree | 5eeb5345bcdae32eeb4f76307f13c7cf10aee635 /gas/write.c | |
parent | 23e43eb0fdf5bfd25daa0f7b14d2bf7b0533eafd (diff) | |
download | binutils-redhat-572c02cb7e5172aafd23adf9d4f1c187d6cb4a54.tar.gz |
* write.c (write_object_file): Set finalize_syms = 1 before
size_seg is called.
Diffstat (limited to 'gas/write.c')
-rw-r--r-- | gas/write.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gas/write.c b/gas/write.c index 7e9317fb30..7b9e08039e 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 |