git: DragonFly_RELEASE_4_6 kernel - Fix memcpy assembly ABI
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Aug 6 21:27:19 PDT 2016
commit adab1d794e75802c6a562f3753bee0971a054be4
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sat Aug 6 21:25:26 2016 -0700
kernel - Fix memcpy assembly ABI
* memcpy must return the original (dst) argument, and wasn't for the kernel.
Nothing used it explicitly, but gcc sometimes decides to call memcpy and
assumes the correct return value. It was just luck that it hasn't up until
now.
Summary of changes:
sys/platform/pc64/x86_64/support.s | 4 ++++
1 file changed, 4 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/adab1d794e75802c6a562f3753bee0971a054be4
--
DragonFly BSD source repository
More information about the Commits
mailing list