Instead of trying to handle ffs() with the normal rename-mark-hidden-and-alias
authorguenther <guenther@openbsd.org>
Thu, 18 Jan 2018 08:23:44 +0000 (08:23 +0000)
committerguenther <guenther@openbsd.org>
Thu, 18 Jan 2018 08:23:44 +0000 (08:23 +0000)
commitae3cb403620ab940fbaabb3055fac045a63d56b7
treec9675235761df3e321bc80b853144e5c9788dfbc
parent04885a94308a89146f0865352110fc75e320d212
Instead of trying to handle ffs() with the normal rename-mark-hidden-and-alias
dance, mark it protected.  This works better for both gcc and clang: gcc
blocks overriding of internal calls, while clang permits inlining again.

ok otto@
lib/libc/arch/alpha/string/ffs.S
lib/libc/arch/amd64/string/ffs.S
lib/libc/arch/arm/string/ffs.S
lib/libc/arch/i386/string/ffs.S
lib/libc/arch/mips64/string/ffs.S
lib/libc/arch/sh/string/ffs.S
lib/libc/arch/sparc64/string/ffs.S
lib/libc/hidden/string.h
lib/libc/include/namespace.h
lib/libc/string/ffs.c