HomeFreeBSD

amd64: convert libc bcopy to a C func to avoid future bloat

Description

amd64: convert libc bcopy to a C func to avoid future bloat

The function is of limited use and is an almost a direct clone of
memmove/memcpy (with arguments swapped). Introduction of ERMS variants
of string routines would mean avoidable growth of libc.

bcopy will get redefined to a __builtin_memmove later on with this
symbol only left for compatibility.

Reviewed by: kib
Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D17539

Details

Provenance
mjgAuthored on
Reviewer
kib
Differential Revision
D17539: amd64: convert libc bcopy to a C func to avoid future bloat
Parents
rS339347: amd64: import updated kernel memmove to libc
Branches
Unknown
Tags
Unknown