Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add retguard macros for libc. | 2018-07-03 | 1 | -2/+4 | |
| | | | | ok deraadt | ||||
* | Instead of trying to handle ffs() with the normal rename-mark-hidden-and-alias | 2018-01-18 | 1 | -2/+3 | |
| | | | | | | | 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@ | ||||
* | Split the non-syscall ASM bits from SYS.h into DEFS.h and use that in the | 2015-11-14 | 1 | -2/+2 | |
| | | | | | | non-syscall .S source ok millert@ miod@ | ||||
* | Add framework for resolving (pun intended) libc namespace issues, using | 2015-08-31 | 1 | -3/+3 | |
| | | | | | | | | | | | | 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@ | ||||
* | Sprinkle END() in some straightforward *.S files that have ENTRY(). The | 2015-05-29 | 1 | -1/+2 | |
| | | | | resulting *.o have "FUNC" symbols with size set. | ||||
* | things for amd64; from art@ | 2004-01-28 | 1 | -0/+18 | |