diff options
author | Steve Chamberlain <sac@cygnus> | 1994-09-14 04:55:00 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1994-09-14 04:55:00 +0000 |
commit | 3deb20fbc10bc5031ed8cf2390f08dac4869bd23 (patch) | |
tree | e1687adb2ba1f28af7eb8da4115ed5bdc2084eb3 /ld/ldlang.c | |
parent | fcacfef6ae9044437f58f7b74af1825ab64b72fd (diff) | |
download | gdb-3deb20fbc10bc5031ed8cf2390f08dac4869bd23.zip gdb-3deb20fbc10bc5031ed8cf2390f08dac4869bd23.tar.gz gdb-3deb20fbc10bc5031ed8cf2390f08dac4869bd23.tar.bz2 |
* ldlang.c (print_output_section_statement): Print all lines
to the map file.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index da12d89..4bd40e5 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -1157,7 +1157,7 @@ print_output_section_statement (output_section_statement) print_address (section->vma); print_space (); print_size (section->_raw_size); - print_space(); + print_space (); print_size(section->_cooked_size); print_space (); print_alignment (section->alignment_power); @@ -1185,19 +1185,19 @@ print_output_section_statement (output_section_statement) { int b = exp_get_abs_int(output_section_statement->load_base, 0, "output base", lang_final_phase_enum); - printf("Output address %08x\n", b); + fprintf (config.map_file, "Output address %08x\n", b); } if (output_section_statement->section_alignment >= 0 || output_section_statement->section_alignment >= 0) { - printf("\t\t\t\t\tforced alignment "); - if ( output_section_statement->section_alignment >= 0) + fprintf (config.map_file, "\t\t\t\t\tforced alignment "); + if (output_section_statement->section_alignment >= 0) { - printf("section 2**%d ",output_section_statement->section_alignment ); + fprintf (config.map_file, "section 2**%d ",output_section_statement->section_alignment ); } if ( output_section_statement->subsection_alignment >= 0) { - printf("subsection 2**%d ",output_section_statement->subsection_alignment ); + fprintf (config.map_file, "subsection 2**%d ",output_section_statement->subsection_alignment ); } print_nl (); |