projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR 9766
[deliverable/binutils-gdb.git]
/
binutils
/
nm.c
diff --git
a/binutils/nm.c
b/binutils/nm.c
index 1dbf47e84a9201482111b13540a2216e842c47cb..e11568ab33d46c9938dfef1ca8846d51d024dd4d 100644
(file)
--- a/
binutils/nm.c
+++ b/
binutils/nm.c
@@
-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.