projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75344f2
)
Replace memcpy with memmove
author
H.J. Lu
<hjl.tools@gmail.com>
Wed, 7 Nov 2012 05:57:24 +0000
(
05:57
+0000)
committer
H.J. Lu
<hjl.tools@gmail.com>
Wed, 7 Nov 2012 05:57:24 +0000
(
05:57
+0000)
* section.c (bfd_get_section_contents): Replace memcpy
with memmove.
bfd/ChangeLog
patch
|
blob
|
history
bfd/section.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index a2fb2967df74332a9349b1ccd57e94655498473a..90f5e781b34effe434006a6e0216dd7ff6bd46ac 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,8
@@
+2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
+
+ * section.c (bfd_get_section_contents): Replace memcpy
+ with memmove.
+
2012-11-07 Hans-Peter Nilsson <hp@axis.com>
PR binutils/14481
diff --git
a/bfd/section.c
b/bfd/section.c
index ab5635b4b5f307a61f697264fdae52445ba6ec71..6fd7d8ec02053ac300b634328859c4a322118662 100644
(file)
--- a/
bfd/section.c
+++ b/
bfd/section.c
@@
-1546,7
+1546,7
@@
bfd_get_section_contents (bfd *abfd,
return FALSE;
}
- mem
cpy
(location, section->contents + offset, (size_t) count);
+ mem
move
(location, section->contents + offset, (size_t) count);
return TRUE;
}