#
a30f7a9e |
| 21-Jan-2018 |
kettenis <kettenis@openbsd.org> |
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
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.
Based on changes in Android/Bionic by Elliott Hughes.
ok patrick@
show more ...
|
#
18cddbba |
| 19-Jan-2018 |
jca <jca@openbsd.org> |
Partial revert of rev. 1.7, fixes build with clang
The error was: --8<-- ffs.S:57:2: error: unsupported relocation on symbol adrne r2, .L_ffs_table ^ -->8--
Minimal workaround suggested by deraadt@
Partial revert of rev. 1.7, fixes build with clang
The error was: --8<-- ffs.S:57:2: error: unsupported relocation on symbol adrne r2, .L_ffs_table ^ -->8--
Minimal workaround suggested by deraadt@, ok guenther@ kettenis@
show more ...
|
#
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 ...
|
#
f2133c79 |
| 18-Sep-2016 |
kettenis <kettenis@openbsd.org> |
Use unified syntax such that this compiles with both gcc and clang.
ok jsg@
|
#
38848718 |
| 06-Aug-2016 |
guenther <guenther@openbsd.org> |
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
ok kettenis@ deraadt@
|
#
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 ...
|
#
675c2d3e |
| 28-Oct-2009 |
deraadt <deraadt@openbsd.org> |
more rcsid/sccs cleanup
|
#
d45a0e27 |
| 01-Feb-2004 |
drahn <drahn@openbsd.org> |
ARGH, forgot tags.
|
#
d987040f |
| 01-Feb-2004 |
drahn <drahn@openbsd.org> |
arm libc support. From NetBSD. currently supports softfloat.
|