summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/amd64
AgeCommit message (Expand)AuthorFilesLines
2020-10-21Save and restore the MXCSR register and the FPU control word such thatkettenis3-3/+15
2020-10-18SYS___threxit cannot fail, but this integration looks like a gadget.deraadt1-1/+2
2020-10-01Mark top-level frame for new thread in both CFI and with zeroguenther1-1/+9
2020-08-23amd64: TSC timecounter: prefix RDTSC with LFENCEcheloha1-4/+4
2020-07-08Clean up the amd64 userland timecounter implementation a bit:kettenis1-10/+10
2020-07-06Add support for timeconting in userland.pirofti2-2/+44
2019-10-26Stop exporting the internal _mcount symbol as that's only referencedguenther1-1/+0
2019-05-10Apply retpoline protection to the indirect call to the thread startfuncguenther1-2/+7
2019-03-30Add retguard macros to setjmp/longjmp on amd64. Knocks out some usefulmortimer3-21/+33
2019-03-15Remove FBSDID.kevlo1-4/+1
2018-07-10In asm.h ensure NENTRY uses the old-school nop-sled align, but change standardderaadt1-1/+1
2018-07-03Add retguard macros for libc.mortimer23-23/+72
2018-05-28Clear the sign bit in the QNAN constants used by strtof, strtod and strtold,jmatthew1-4/+4
2018-01-18Instead of trying to handle ffs() with the normal rename-mark-hidden-and-aliasguenther1-2/+3
2017-11-29clang doesn't propagate attributes like "asm labels" and "visibility(hidden)"guenther3-5/+17
2017-08-19Don't need .text before ENTRY(), also minor spacing cleanupsderaadt2-7/+6
2017-08-19Put _map table into .rodata instead of .textderaadt1-3/+2
2017-08-15Copy files from ../librthread in preparation for moving functionalityguenther1-0/+26
2016-09-10Clang ignores a .weak directive before a function is actually defined. Sokettenis2-4/+4
2016-09-06Remove branch prediction hints from conditional branch instructions. Thesekettenis1-3/+3
2016-05-29Switch from calling obsolete sig{block,setmask} to directly using theguenther2-21/+27
2016-05-12Using a 3-word buffer in the openbsd.randomdata segment, XOR swizzlederaadt3-21/+80
2016-05-09Remove sigreturn declaration and the now-unused libc syscall stubguenther1-57/+0
2016-05-07Use a Thread Information Block in both single and multi-threaded programs.guenther10-224/+52
2016-03-21The asm in the MD_DISABLE_KBIND macro was too fragile and broke alpha and hppa.guenther1-26/+0
2016-03-20Rearrange C runtime bits: now that ld.so exports environ and __progname,guenther1-0/+26
2015-12-11"the the" -> "the" in commentmmcc1-2/+2
2015-11-14Split the non-syscall ASM bits from SYS.h into DEFS.h and use that in theguenther13-41/+80
2015-10-27Wrap the remaining math functions in libc: __fpclassify*(), __flt_rounds(),guenther3-5/+7
2015-10-23Merge the sigaction() and sigprocmask() overloads/wrappers from libpthreadguenther2-4/+6
2015-10-17Rename SYSEXIT() to SYSCALL_END() for consistency with most other archs.guenther5-25/+14
2015-09-13Wrap <stdlib.h> so that calls go direct and the symbols not in theguenther2-3/+2
2015-09-13Do provide hidden _libc_* aliases for sig{block,setmask} and use them inguenther2-22/+6
2015-09-05Adds hidden _libc_FOO aliases for the system call stubs.guenther7-34/+38
2015-08-31Add framework for resolving (pun intended) libc namespace issues, usingguenther11-31/+53
2015-08-26Hide many (194!) symbols that nothing should be using.guenther5-81/+12
2015-08-22Explicitly list the symbols permitted to be exported by libc.guenther1-0/+18
2015-06-17Set FUNC symbol sizes of auto-generated and hand-written syscall wrappers.uebayasi10-14/+40
2015-06-12Reuse SYSENTRY_HIDDEN() in SYSENTRY(); no functional changes.uebayasi1-2/+2
2015-06-01Put END() matching _ENTRY() (== ENTRY() w/o prof).uebayasi1-1/+2
2015-06-01Put END() matching ENTRY().uebayasi1-1/+2
2015-05-29Put END() where appropriate.uebayasi4-10/+12
2015-05-29Put obvious END() macros that match ENTRY() entries.uebayasi12-12/+51
2015-05-29Sprinkle END() in some straightforward *.S files that have ENTRY(). Theuebayasi10-5/+17
2015-05-15Make index/rindex weak aliases of strchr/strrchr since they are notmillert2-4/+4
2015-04-21Eliminate the last uses of *fork's second syscall return register; the pidguenther1-3/+3
2015-04-07Make pthread_atfork() track the DSO that called it like atexit() does,guenther2-7/+26
2015-03-31Simplify fork/vfork logic: the kernel has handled returning zero in the childguenther2-15/+3
2015-01-04remove code for ancient gcc.daniel1-7/+1
2014-12-09Import new amd64 assembly versions of strchr/index, strrchr/rindex,reyk5-95/+442