diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2018-01-18 08:23:45 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2018-01-18 08:23:45 +0000 |
commit | 31d66bf6f1fb6a1506e492ffa59f8384cf4a0a06 (patch) | |
tree | 7886f6a86056870b07837d98d446575c4c9c34d4 /lib/libc/arch/alpha/string/ffs.S | |
parent | a030b7decd49004fc8ab4c43a316f359f4647822 (diff) |
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@
Diffstat (limited to 'lib/libc/arch/alpha/string/ffs.S')
-rw-r--r-- | lib/libc/arch/alpha/string/ffs.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/arch/alpha/string/ffs.S b/lib/libc/arch/alpha/string/ffs.S index 6600b3aeeb2..9e0dba4654c 100644 --- a/lib/libc/arch/alpha/string/ffs.S +++ b/lib/libc/arch/alpha/string/ffs.S @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs.S,v 1.3 2015/08/31 02:53:56 guenther Exp $ */ +/* $OpenBSD: ffs.S,v 1.4 2018/01/18 08:23:44 guenther Exp $ */ /* $NetBSD: ffs.S,v 1.3 1996/10/17 03:08:13 cgd Exp $ */ /* @@ -89,4 +89,5 @@ Ldone: Lallzero: bis zero, zero, v0 RET -END_WEAK(ffs) +END(ffs) +.protected ffs |