ld: Fix printed sizes in map file
[deliverable/binutils-gdb.git] / ld / ldlang.c
index df7f65948636a24a1fd26602af65189e0a1a7dfb..eedcb7f4050c82b8cb12818551cc2a582fd3bcd2 100644 (file)
@@ -4653,7 +4653,7 @@ print_input_section (asection *i, bfd_boolean is_discarded)
        size = 0;
     }
 
-  minfo ("0x%V %W %pB\n", addr, size, i->owner);
+  minfo ("0x%V %W %pB\n", addr, TO_ADDR (size), i->owner);
 
   if (size != i->rawsize && i->rawsize != 0)
     {
@@ -4669,7 +4669,7 @@ print_input_section (asection *i, bfd_boolean is_discarded)
          --len;
        }
 
-      minfo (_("%W (size before relaxing)\n"), i->rawsize);
+      minfo (_("%W (size before relaxing)\n"), TO_ADDR (i->rawsize));
     }
 
   if (i->output_section != NULL
This page took 0.023194 seconds and 4 git commands to generate.