tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
lib
/
libc
/
arch
/
arm
/
string
/
at
jcs
11 files
Makefile.inc
remove duplicate strrchr.c entry in SRCS ok deraadt@
10 years ago
_memcpy.S
Stop exporting _memcpy, an implementation detail of bcopy/memcpy/memmove
8 years ago
bcopy.S
Address the clang 13 "changed binding to STB_WEAK" warning on arm (32bit): * add _?ENTRY_NB to arm/asm.h * make sure ld.so's arm asm bits see the same includes as libc * switch libc's arm bits to the generic DEFS.h * switch arm ASM bits from ENTRY to ENTRY_NB as necessary
3 years ago
bzero.S
Address the clang 13 "changed binding to STB_WEAK" warning on arm (32bit): * add _?ENTRY_NB to arm/asm.h * make sure ld.so's arm asm bits see the same includes as libc * switch libc's arm bits to the generic DEFS.h * switch arm ASM bits from ENTRY to ENTRY_NB as necessary
3 years ago
ffs.S
Implement ffs(3) using the CLZ instructions which has been available ever since ARMv5. Should be much faster but more importantly it removes the data table from .text which could introduce unwanted ROP gadgets.
8 years ago
memcmp.S
Use internal names for __errno, _memcpy, memset, and {,_}{set,long}jmp Eliminate pointless use of PIC_SYM() Split out DEFS.h from SYS.h like some other archs
9 years ago
memcpy.S
clang doesn't propagate attributes like "asm labels" and "visibility(hidden)" to builtins like mem{set,cpy,move} and __stack_smash_handler. So, when building with clang, instead mark those as protected visibility to get rid of the PLT relocations. We can't take the address of them then, but that's ok: it's a build-time error not a run-time error.
8 years ago
memmove.S
clang doesn't propagate attributes like "asm labels" and "visibility(hidden)" to builtins like mem{set,cpy,move} and __stack_smash_handler. So, when building with clang, instead mark those as protected visibility to get rid of the PLT relocations. We can't take the address of them then, but that's ok: it's a build-time error not a run-time error.
8 years ago
memset.S
clang doesn't propagate attributes like "asm labels" and "visibility(hidden)" to builtins like mem{set,cpy,move} and __stack_smash_handler. So, when building with clang, instead mark those as protected visibility to get rid of the PLT relocations. We can't take the address of them then, but that's ok: it's a build-time error not a run-time error.
8 years ago
strcmp.S
Use internal names for __errno, _memcpy, memset, and {,_}{set,long}jmp Eliminate pointless use of PIC_SYM() Split out DEFS.h from SYS.h like some other archs
9 years ago
strncmp.S
Use internal names for __errno, _memcpy, memset, and {,_}{set,long}jmp Eliminate pointless use of PIC_SYM() Split out DEFS.h from SYS.h like some other archs
9 years ago