X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Fcoffswap.h;h=f75001e0d26b33820df4306f4f5921a62746abfc;hb=348fe36b1d64f12c60e08f6313520b3191663063;hp=7c0be221075f3668fa9d227bbd67964d363528cc;hpb=f717994fe84df26ec4e4fe4104e018ece8b5b9cf;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/coffswap.h b/bfd/coffswap.h index 7c0be22107..f75001e0d2 100644 --- a/bfd/coffswap.h +++ b/bfd/coffswap.h @@ -399,7 +399,7 @@ coff_swap_aux_in (bfd *abfd, #if FILNMLEN != E_FILNMLEN #error we need to cope with truncating or extending FILNMLEN #else - if (numaux > 1) + if (numaux > 1 && coff_data (abfd)->pe) { if (indx == 0) memcpy (in->x_file.x_fname, ext->x_file.x_fname,