History log of /openbsd/lib/libc/arch/sparc64/string/ffs.S (Results 1 – 10 of 10)
Revision Date Author Comments
# 50caa7fd 13-Jan-2023 miod <miod@openbsd.org>

Move all data from .text section to .rodata, and update the code to
fetch them correctly when building PIC.

ok kettenis@


# 81621933 08-Dec-2022 guenther <guenther@openbsd.org>

_C_LABEL() and _ASM_LABEL() are no longer useful in the "everything
is ELF" world. Eliminate use of them in amd64, arm64, armv7, i386,
macppc, mips64, and sparc64 code.

ok deraadt@ jca@ krw@


# 83b65abb 18-Jan-2018 deraadt <deraadt@openbsd.org>

Wow, it cannot even be in .data...


# ec475ba1 18-Jan-2018 deraadt <deraadt@openbsd.org>

Sorry, the PIC macros cannot reach to .rodata....


# ae3cb403 18-Jan-2018 guenther <guenther@openbsd.org>

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 clan

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@

show more ...


# 9b9d2a55 31-Aug-2015 guenther <guenther@openbsd.org>

Add framework for resolving (pun intended) libc namespace issues, using
wrapper .h files and asm labels to let internal calls resolve directly and
not be overridable or use the PLT. Then, apply that

Add framework for resolving (pun intended) libc namespace issues, using
wrapper .h files and asm labels to let internal calls resolve directly and
not be overridable or use the PLT. Then, apply that framework to most of
the functions in stdio.h, string.h, err.h, and wchar.h. Delete the
should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here.

tests clean on i386, amd64, sparc64, powerpc, and mips64

naming feedback from kettenis@ and millert@
ok kettenis@

show more ...


# 32b97ded 22-Aug-2012 pascal <pascal@openbsd.org>

Convert cpp | as rules in bsd.lib.mk and lib/libc/sys/Makefile.inc to pure cc
invocations. This allows us to use the compiler builtin define __PIC__ to check
for PIC/PIEness rather than passing -DPI

Convert cpp | as rules in bsd.lib.mk and lib/libc/sys/Makefile.inc to pure cc
invocations. This allows us to use the compiler builtin define __PIC__ to check
for PIC/PIEness rather than passing -DPIC. Simplifies PIE work a lot.

ok matthew@, conceptually ok kurt@

show more ...


# 48f0b646 01-Oct-2004 jsg <jsg@openbsd.org>

add some missing $, ok djm@ 'That looks fine to me' millert@


# 6580fee3 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 11096442 29-Aug-2001 art <art@openbsd.org>

ffs from sparc and strlen from NetBSD.
(Don't ask me why our makefiles wouldn't accept using strlen.c)