CVSROOT:        /cvs
Module name:    src
Changes by:     na...@cvs.openbsd.org   2018/10/05 09:13:55

Modified files:
        sys/arch/sh/include: endian.h 

Log message:
Provide an MD 64-bit byteswapping function build on 32-bit swaps
as we do on arm and i386.  Copied from arm.

If there are no MD byteswapping functions, MI macros are used.
These are wrapped by static inline functions to prevent multiple
evaluation of their argument.  If there are MD functions, they are
used directly and therefore we must implicitly guarantee that they
are safe from multiple evaluation.  Defining an MD function to an
MI macro breaks this promise.

ok deraadt@

Reply via email to