git: DragonFly_RELEASE_4_6 kernel - Fix memcpy assembly ABI

Matthew Dillon dillon at
Sat Aug 6 21:27:19 PDT 2016

commit adab1d794e75802c6a562f3753bee0971a054be4
Author: Matthew Dillon <dillon at>
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

Summary of changes:
 sys/platform/pc64/x86_64/support.s | 4 ++++
 1 file changed, 4 insertions(+)

DragonFly BSD source repository

More information about the Commits mailing list