Add ENTRY_NB() macro for doing an ASM function entry without setting
authorguenther <guenther@openbsd.org>
Sat, 1 Jan 2022 23:47:14 +0000 (23:47 +0000)
committerguenther <guenther@openbsd.org>
Sat, 1 Jan 2022 23:47:14 +0000 (23:47 +0000)
commitec0f1ad61759066f4a02361ba4c792430af069db
tree0f26e8b1781af6c6484cae97c550246aee5fd0fe
parent05d7ee9d87bebc7e27f1da329d76fa1a8bba8f51
Add ENTRY_NB() macro for doing an ASM function entry without setting
the binding to global (NB == "no binding"), as clang 13 is now
warning about changing the binding from global to weak.

This first pass does amd64 and sparc64 and pulls DEFS.h out of the
per-arch directory to a common directory; others to follow

ok kettenis@
13 files changed:
lib/libc/Makefile.inc
lib/libc/arch/DEFS.h [new file with mode: 0644]
lib/libc/arch/amd64/DEFS.h [deleted file]
lib/libc/arch/amd64/string/bcmp.S
lib/libc/arch/amd64/string/bzero.S
lib/libc/arch/amd64/string/memmove.S
lib/libc/arch/amd64/sys/brk.S
lib/libc/arch/amd64/sys/sbrk.S
lib/libc/arch/sparc64/SYS.h
lib/libc/arch/sparc64/sys/brk.S
lib/libc/arch/sparc64/sys/sbrk.S
sys/arch/amd64/include/asm.h
sys/arch/sparc64/include/asm.h