NetBSD/sys/lib
maxv ca08b3e761 Make copystr() a MI C function, part of libkern and shared on all
architectures.

Notes:

 - On alpha and ia64 the function is kept but gets renamed locally to avoid
   symbol collision. This is because on these two arches, I am not sure
   whether the ASM callers do not rely on fixed registers, so I prefer to
   keep the ASM body for now.
 - On Vax, only the symbol is removed, because the body is used from other
   functions.
 - On RISC-V, this change fixes a bug: copystr() was just a wrapper around
   strlcpy(), but strlcpy() makes the operation less safe (strlen on the
   source beyond its size).
 - The kASan, kCSan and kMSan wrappers are removed, because now that
   copystr() is in C, the compiler transformations are applied to it,
   without the need for manual wrappers.

Could test on amd64 only, but should be fine.
2020-06-30 16:20:00 +00:00
..
libgnuefi
libkern Make copystr() a MI C function, part of libkern and shared on all 2020-06-30 16:20:00 +00:00
libsa Support loading boot.cfg from non file-system based devices. 2020-06-27 17:22:12 +00:00
libunwind Explicitly compile libunwind with vfp3 because gcc-8 defaults to neon 2019-11-17 22:53:33 +00:00
libx86emu
libz