PR 9766
[deliverable/binutils-gdb.git] / binutils / nm.c
index 1dbf47e84a9201482111b13540a2216e842c47cb..e11568ab33d46c9938dfef1ca8846d51d024dd4d 100644 (file)
@@ -449,7 +449,8 @@ filter_symbols (bfd *abfd, bfd_boolean dynamic, void *minisyms,
 
       if (keep)
        {
-         memcpy (to, from, size);
+         if (to != from)
+           memcpy (to, from, size);
          to += size;
        }
     }
This page took 0.023611 seconds and 4 git commands to generate.