summaryrefslogtreecommitdiff
path: root/lib/libc/arch
AgeCommit message (Expand)Author
2022-01-11spellingJonathan Gray
2022-01-02Don't use *ENTRY_NB() with END_BUILTIN(), at least yetPhilip Guenther
2022-01-01Add ENTRY_NB() macro for doing an ASM function entry without settingPhilip Guenther
2021-12-13including sys/cdefs.h manually started as a result of netbsd trying toTheo de Raadt
2021-11-27Make brk() and sbrk() weak again to fix build with clang 13.Visa Hankala
2021-10-25Make brk() and sbrk() weak again as intended.Jeremie Courreges-Anglas
2021-10-25Make brk() and sbrk() weak again as intended.Mark Kettenis
2021-09-17sys/param.h is not needed in these filesTheo de Raadt
2021-07-25Consistently use __asm instead of asm/__asm__Jeremie Courreges-Anglas
2021-07-24riscv64 userland timecounter supportJeremie Courreges-Anglas
2021-07-24Fix strchr() and strrchr() on mips64Visa Hankala
2021-06-20We need to store the flagged passed to sigsetjmp(3) and use it inMark Kettenis
2021-06-19C version of fabs(), for nowTheo de Raadt
2021-05-17delete useless blank linesTheo de Raadt
2021-05-14Fix regression for _setjmp, fucntion does not use stack and adjustingDale Rahn
2021-05-09Change offsets to (N * 8) to reduce chance of register clobber and mistakes.Dale Rahn
2021-05-04sigpending(2) will never fail. Optimize the syscall stub accordingly likeMark Kettenis
2021-05-04Remove cerror dependancy from riscv64 asm syscalls.Dale Rahn
2021-05-04riscv64 brk()/sbrk() implementations,Dale Rahn
2021-05-02riscv64, fix HANDLE_ERRORDale Rahn
2021-04-30Fix linkage error due to fp* functions.Dale Rahn
2021-04-29riscv64 libcDale Rahn
2021-04-29riscv64 libcDale Rahn
2021-04-29riscv64 libc, more pieces.Dale Rahn
2021-04-29Clean up <machine/ieeefp.h> and make sure the rounding mode bits match theMark Kettenis
2021-04-28Implement __flt_rounds() for RISC-V. RISC-V is "interesting" since itMark Kettenis
2021-04-28riscv64 libc setjmp functions,Dale Rahn
2021-04-28Add signbitl.c that was missed as part of an earlier commit.Mark Kettenis
2021-04-28RISC-V does not implement trapping of floating point exceptions, so useMark Kettenis
2021-04-28riscv64 gdtoa supportDale Rahn
2021-04-28riscv64 libc string support,Dale Rahn
2021-04-27riscv64 libc floating point, a portion of the files are ready.Dale Rahn
2021-02-03Adding a hard-trap instruction after the __threxit syscall instructionKurt Miller
2020-12-13Geode CPU does not support SSE, so MXCSR does not exists there. AsAlexander Bluhm
2020-12-06On i386 setjmp(3) should store the FPU state and longjmp(3) restoreAlexander Bluhm
2020-12-06Introduce constants to access the setjmp(3) jmp_buf fields fromAlexander Bluhm
2020-11-28Add retguard to macppc kernel locore.S, ofwreal.S, setjmp.Sgkoehler
2020-11-07Actually m88k assembler can not handle 'nop' mnemonic, use a macro instead.Kenji Aoyama
2020-10-26Retguard asm macros for powerpc libc, ld.sogkoehler
2020-10-21Save and restore the MXCSR register and the FPU control word such thatMark Kettenis
2020-10-20Use a trap instruction that unconditionally terminates the process.Visa Hankala
2020-10-19Retguard sigsetjmp on powerpc64.mortimer
2020-10-19replace ad-hoc illegal instruction with the architecturally defined oneChristian Weisgerber
2020-10-19add retguard prologue/epilogueTheo de Raadt
2020-10-19Save and restore the FPCR register such that floating-point control modesMark Kettenis
2020-10-18Add powerpc64 retguard macros for setjmp / longjmp.mortimer
2020-10-18SYS___threxit cannot fail, but this integration looks like a gadget.Theo de Raadt
2020-10-16Adapt SYS.h to use retguard macros from asm.h, so that generated systemTheo de Raadt
2020-10-01Mark top-level frame for new thread in both CFI and with zeroPhilip Guenther
2020-08-23amd64: TSC timecounter: prefix RDTSC with LFENCEcheloha