Documentation for the new mtag commands
[deliverable/binutils-gdb.git] / bfd / peXXigen.c
index 83bbac51af78653bc612232596ab1ca378edfa86..14daf4f6e57faac0bb3aa9b764aff0c1956844d9 100644 (file)
@@ -380,7 +380,7 @@ _bfd_XXi_swap_aux_out (bfd *  abfd,
          H_PUT_32 (abfd, in->x_file.x_n.x_offset, ext->x_file.x_n.x_offset);
        }
       else
-       memcpy (ext->x_file.x_fname, in->x_file.x_fname, FILNMLEN);
+       memcpy (ext->x_file.x_fname, in->x_file.x_fname, sizeof (ext->x_file.x_fname));
 
       return AUXESZ;
 
@@ -935,10 +935,10 @@ _bfd_XXi_swap_scnhdr_out (bfd * abfd, void * in, void * out)
 
   ss = scnhdr_int->s_vaddr - pe_data (abfd)->pe_opthdr.ImageBase;
   if (scnhdr_int->s_vaddr < pe_data (abfd)->pe_opthdr.ImageBase)
-    _bfd_error_handler ("%pB:%.8s: section below image base",
+    _bfd_error_handler (_("%pB:%.8s: section below image base"),
                         abfd, scnhdr_int->s_name);
   else if(ss != (ss & 0xffffffff))
-    _bfd_error_handler ("%pB:%.8s: RVA truncated", abfd, scnhdr_int->s_name);
+    _bfd_error_handler (_("%pB:%.8s: RVA truncated"), abfd, scnhdr_int->s_name);
   PUT_SCNHDR_VADDR (abfd, ss & 0xffffffff, scnhdr_ext->s_vaddr);
 
   /* NT wants the size data to be rounded up to the next
This page took 0.089833 seconds and 4 git commands to generate.