CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2018/01/18 01:23:44
Modified files:
lib/libc/include: namespace.h
lib/libc/string: ffs.c
lib/libc/hidden: string.h
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
Log message:
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@