Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-15 | Tweak previous: rename it to fpround() to match FreeBSD | Philip Guenther | |
requested by kettenis@ | |||
2015-11-15 | I got a round tuit to rename round() to roundit() to avoid gcc warning. | Philip Guenther | |
ok deraadt@ | |||
2015-11-14 | Split the non-syscall ASM bits from SYS.h into DEFS.h and use that in the | Philip Guenther | |
non-syscall .S source ok millert@ miod@ | |||
2015-10-31 | Invoke the _HIDDEN() sigprocmask label rather than the public one. | Miod Vallat | |
2015-10-31 | This is sigprocmask, not sigpending. | Miod Vallat | |
2015-10-27 | Wrap the remaining math functions in libc: __fpclassify*(), __flt_rounds(), | Philip Guenther | |
and ldexp(). ok millert@ | |||
2015-10-23 | Merge the sigaction() and sigprocmask() overloads/wrappers from libpthread | Philip Guenther | |
into libc, and move pthread_sigmask() as well (just a trivial wrapper). This provides consistent handling of SIGTHR between single- and multi-threaded programs and is a step in the merge of all the libpthread overloads, providing some ASM and Makefile bits that the other wrappers will need. ok deraadt@ millert@ | |||
2015-10-18 | Pull in <float.h> instead of declaring __flt_rounds() locally | Philip Guenther | |
ok miod@ jsg@ | |||
2015-10-17 | Rename SYSEXIT() to SYSCALL_END() for consistency with most other archs. | Philip Guenther | |
No change in resulting object files ok millert@ | |||
2015-10-04 | Delete an inexplicable comment | Philip Guenther | |
2015-09-14 | vax deserves gdtoa love too! | Philip Guenther | |
2015-09-13 | Need SYS.h for END_STRONG() | Philip Guenther | |
2015-09-13 | Add hidden _libc_ aliases and symbol sizes | Philip Guenther | |
2015-09-13 | Add hidden _libc_ aliases and symbol sizes | Philip Guenther | |
prodded by semarie@ | |||
2015-09-13 | Uses angle brackets to include softfloat.h, and add the proper directory to | Miod Vallat | |
CFLAGS. ok guenther@ | |||
2015-09-13 | Wrap <stdlib.h> so that calls go direct and the symbols not in the | Philip Guenther | |
C standard are all weak. Apply __{BEGIN,END}_HIDDEN_DECLS to gdtoa{,imp}.h, hiding the arch-specific __strtorx, __ULtox_D2A, __strtorQ, __ULtoQ_D2A symbols. | |||
2015-09-13 | Do provide hidden _libc_* aliases for sig{block,setmask} and use them in | Philip Guenther | |
the ASM *setjmp implementations. Skip the PLT when calling them on amd64 (other archs to do this after testing) ok miod@ | |||
2015-09-10 | Adds hidden _libc_FOO aliases for the system call stubs. | Philip Guenther | |
Stop generating _brk and _sbrk symbols: they've already been hidden. Set the ELF symbol size on the syscall stubs. Give the __{min,cur}brk symbols a size and type, and hide more jump labels. alpha, arm, m88k, sh, sparc, and vax assistance miod@ hppa assistance kettenis@ ok deraadt@ miod@ | |||
2006-10-10 | Preliminary userland bits for OpenBSD/landisk, many things coming from | Miod Vallat | |
NetBSD. | |||
2015-09-09 | Backtrack a little bit and don't try to use the per-thread errno location if | Mark Kettenis | |
r2 is zero. Some upcoming changes will probably change the offset at which the errno pointer is stored, or might even store errno directly. Instead, call __errno to get the location of errno. Make sure we go through the PLT such that we call the version in libpthread if it is linked in. Set up r30 for this purpose. The ___cerrno function itself remains protected. ok guenther@ | |||
2015-09-05 | Fix previous: restore a PSEUDO_SUFFIX macro to actually handle errno and return | Philip Guenther | |
cone of shame guenther@ ok deraadt@ | |||
2015-09-05 | This is probably what guenther@ had in mind. | Miod Vallat | |
2015-09-05 | Adds hidden _libc_FOO aliases for the system call stubs. | Philip Guenther | |
Stop generating _brk and _sbrk symbols: they've already been hidden. Set the ELF symbol size on the syscall stubs. Give the __{min,cur}brk symbols a size and type, and hide more jump labels. ok deraadt@ | |||
2015-08-31 | use #function rather than @function on arm | Theo de Raadt | |
ok guenther | |||
2015-08-31 | Also add ALTEXIT_{STRONG,WEAK} to hppa64, copied from hppa. Document'em too | Philip Guenther | |
ok deraadt@ | |||
2015-08-31 | Add ALTEXIT_{STRONG,WEAK} to support wrapping of functions using ALTENTRY. | Philip Guenther | |
Fix memmove with that ok deraadt@ | |||
2015-08-31 | Add framework for resolving (pun intended) libc namespace issues, using | Philip Guenther | |
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@ | |||
2006-10-10 | Preliminary userland bits for OpenBSD/landisk, many things coming from | Miod Vallat | |
NetBSD. | |||
2015-08-27 | fix comment | Philip Guenther | |
2015-08-26 | Sync with other per-arch Symbols.list files | Philip Guenther | |
2015-08-26 | Hide many (194!) symbols that nothing should be using. | Philip Guenther | |
Delete exect(2); it wasn't portable across archs and nothing used it. ports test build by naddy@ ok deraadt@ kettenis@ | |||
2006-10-10 | Preliminary userland bits for OpenBSD/landisk, many things coming from | Miod Vallat | |
NetBSD. | |||
2015-08-25 | catch up | Miod Vallat | |
2015-08-23 | Make __cerror() use the per-thread errno location if r2 isn't zero. This way | Mark Kettenis | |
libpthread no longer has to override it which means that we can use a local call and can avoid setting up r30 as a _GLOBAL_OFFSET_TABLE_ pointer, which is hard the way the powerpc ABI works. For now we continue to provide __cerror as a weak symbol, but ___cerror is now protected and internal calls within libc now use ___cerror instead of __cerror. discussed with guenther@ | |||
2015-08-23 | Fetch the _GLOBAL_OFFSET_TABLE_ pointer in a way that's compatible with the | Mark Kettenis | |
Secure-PLT ABI. | |||
2015-08-23 | Set up r30 with the _GLOBAL_OFFSET_TABLE_ pointer as required by the | Mark Kettenis | |
Secure-PLT ABI. | |||
2015-08-22 | Explicitly list the symbols permitted to be exported by libc. | Philip Guenther | |
This is primed with the current list of exported symbols so it doesn't change the ABI yet, but will prevent unintentional additions in the future and sets the stage for reductions. ok deraadt@ kettenis@ | |||
2015-06-17 | Set FUNC symbol sizes of auto-generated and hand-written syscall wrappers. | Masao Uebayashi | |
Original diff from guenther@, adjusted by me. OK guenther@ | |||
2015-06-12 | Reuse SYSENTRY_HIDDEN() in SYSENTRY(); no functional changes. | Masao Uebayashi | |
2015-06-08 | At some point arm moved to a unified syntax for arm and thumb instructions. | Jonathan Gray | |
While binutils supports both "unified" and "divided" syntax (defaulting to divided) the integrated assembler in clang only supports unified names so switch some files to unified syntax. Similiar changes were made in bitrig and freebsd. No difference in objdump -d output. tested on zaurus by deraadt@, ok miod@ | |||
2015-06-01 | Since the __{div,rem}{l,q}{,u} special libc entry points use a specific | Miod Vallat | |
calling convention which conflicts over t11 usage with the secureplt calling convention, force these symbols to be `notype' rather `function', so that the linker will not attempt to use plt relocations for them in the absence of explicit relocation information. Note that these symbols are still public and still callable with the old plt convention, so existing binaries will still work with an updated libc, and no libc version change is necessary. | |||
2015-06-01 | Put END() matching _ENTRY() (== ENTRY() w/o prof). | Masao Uebayashi | |
2015-06-01 | Put END() matching ENTRY(). | Masao Uebayashi | |
2015-05-29 | Put END() where appropriate. | Masao Uebayashi | |
While here, kill redundant use of _C_LABEL() in ENTRY(). | |||
2015-05-29 | Put obvious END() macros that match ENTRY() entries. | Masao Uebayashi | |
2015-05-29 | Sprinkle END() in some straightforward *.S files that have ENTRY(). The | Masao Uebayashi | |
resulting *.o have "FUNC" symbols with size set. | |||
2015-05-26 | Bring back `1:' label removed by mistake in 1.7. Complained loudly about by gas | Miod Vallat | |
2.17, while 2.15 didn't care, which just caused a cold shiver accross my spine. | |||
2015-05-15 | Make index/rindex weak aliases of strchr/strrchr since they are not | Todd C. Miller | |
part of the ISO C standard and have also been dropped from POSIX. OK guenther@ kettenis@ | |||
2015-05-14 | Use STRONG_ALIAS instead of ALTENTRY. | Mark Kettenis | |
ok millert@ | |||
2015-05-12 | Put the right number of leading underscores in ___cerror and __cerror, for | Miod Vallat | |
the sake of libpthread. Probably missed during the a.out->ELF switch, I can't believe this went unnoticed for so long. |