kernel - Fix memcpy assembly ABI
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 7 Aug 2016 04:25:26 +0000 (21:25 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 7 Aug 2016 04:27:17 +0000 (21:27 -0700)
commitadab1d794e75802c6a562f3753bee0971a054be4
treea1b36b8a703e155cab7117e39019bf28a1734b9b
parent09b0c4f7695482a72fee5c8f590cca31fe6a68c3
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.
sys/platform/pc64/x86_64/support.s