bfd/
[deliverable/binutils-gdb.git] / bfd / linker.c
index 6ad32ba9535be2ba6e5d23dcffa3253798bbe6e2..10b4467944f0efe484498d075694dac4b03d40c3 100644 (file)
@@ -2756,7 +2756,9 @@ default_indirect_link_order (bfd *output_bfd,
     }
 
   /* Get and relocate the section contents.  */
-  sec_size = input_section->size;
+  sec_size = (input_section->rawsize > input_section->size
+             ? input_section->rawsize
+             : input_section->size);
   contents = bfd_malloc (sec_size);
   if (contents == NULL && sec_size != 0)
     goto error_return;
This page took 0.02356 seconds and 4 git commands to generate.