* ldlang.c (print_output_section_statement): Print all lines
authorSteve Chamberlain <sac@cygnus>
Wed, 14 Sep 1994 04:55:00 +0000 (04:55 +0000)
committerSteve Chamberlain <sac@cygnus>
Wed, 14 Sep 1994 04:55:00 +0000 (04:55 +0000)
to the map file.

ld/ChangeLog
ld/ldlang.c

index 0a95eb262c0d9a83f062a97a31e04a601d324468..00294c87bbecf8d2cd40877d7d84d4e323210ca3 100644 (file)
@@ -1,3 +1,8 @@
+Tue Sep 13 20:47:58 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * ldlang.c (print_output_section_statement): Print all lines
+       to the map file.
+
 Tue Sep 13 16:30:11 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
 
        * ldlang.c (load_symbols): Check for archive before object.  Use
index da12d8980d60015577a7ac755fba13410df8ef7c..4bd40e5c886a5d8c0159ba27454208cc6f3a636e 100644 (file)
@@ -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 ();