cosmopolitan/libc/nexgen32e
Justine Tunney ff77f2a6af
Make improvements
- This change fixes a bug that allowed unbuffered printf() output (to
  streams like stderr) to be truncated. This regression was introduced
  some time between now and the last release.

- POSIX specifies all functions as thread safe by default. This change
  works towards cleaning up our use of the @threadsafe / @threadunsafe
  documentation annotations to reflect that. The goal is (1) to use
  @threadunsafe to document functions which POSIX say needn't be thread
  safe, and (2) use @threadsafe to document functions that we chose to
  implement as thread safe even though POSIX didn't mandate it.

- Tidy up the clock_gettime() implementation. We're now trying out a
  cleaner approach to system call support that aims to maintain the
  Linux errno convention as long as possible. This also fixes bugs that
  existed previously, where the vDSO errno wasn't being translated
  properly. The gettimeofday() system call is now a wrapper for
  clock_gettime(), which reduces bloat in apps that use both.

- The recently-introduced improvements to the execute bit on Windows has
  had bugs fixed. access(X_OK) on a directory on Windows now succeeds.
  fstat() will now perform the MZ/#! ReadFile() operation correctly.

- Windows.h is no longer included in libc/isystem/, because it confused
  PCRE's build system into thinking Cosmopolitan is a WIN32 platform.
  Cosmo's Windows.h polyfill was never even really that good, since it
  only defines a subset of the subset of WIN32 APIs that Cosmo defines.

- The setlongerjmp() / longerjmp() APIs are removed. While they're nice
  APIs that are superior to the standardized setjmp / longjmp functions,
  they weren't superior enough to not be dead code in the monorepo. If
  you use these APIs, please file an issue and they'll be restored.

- The .com appending magic has now been removed from APE Loader.
2023-10-03 06:17:16 -07:00
..
argc.S Improve memory safety 2021-10-13 17:27:13 -07:00
argc2.c Get LIBC_RUNTIME and LIBC_CALLS building on aarch64 2023-05-10 04:20:47 -07:00
argv.S Perform some minor code cleanup 2021-03-04 13:22:32 -08:00
argv2.c Get LIBC_RUNTIME and LIBC_CALLS building on aarch64 2023-05-10 04:20:47 -07:00
auxv.S Perform some minor code cleanup 2021-03-04 13:22:32 -08:00
auxv2.c Make progress towards aarch64 build 2023-05-10 04:20:46 -07:00
bench.h Make AARCH64 harder, better, faster, stronger 2023-05-15 02:15:34 -07:00
blink_linux_aarch64.S Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
blink_xnu_aarch64.S Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
cachesize.h Pay off more technical debt 2022-09-12 23:36:56 -07:00
checkstackalign.S Improve aarch64 native support some more 2023-06-04 08:58:47 -07:00
cpuid4.internal.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
crc32.h Make improvements 2023-09-18 21:04:47 -07:00
crc32init.c Make more progress on aarch64 2023-05-10 04:20:47 -07:00
djbsort-avx2.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
environ.S Make progress towards aarch64 build 2023-05-10 04:20:46 -07:00
environ2.c Get LIBC_RUNTIME and LIBC_CALLS building on aarch64 2023-05-10 04:20:47 -07:00
envp.c Make improvements for Actually Portable Emacs 2023-08-19 06:44:58 -07:00
ffs.h Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
gc.internal.h Pay off more technical debt 2022-09-12 23:36:56 -07:00
gc.S Make improvements 2023-10-03 06:17:16 -07:00
gclongjmp.S Make improvements 2023-10-03 06:17:16 -07:00
hascharacter.internal.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
identity.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
kbase36.c Get LIBC_FMT to build for aarch64 2023-05-10 04:20:47 -07:00
kcp437.S Replace COSMO define with _COSMO_SOURCE 2023-08-13 20:55:04 -07:00
kcpuids.h Auto-generate some documentation 2020-12-26 02:09:07 -08:00
kcpuids.S Perform some code cleanup 2022-06-23 10:21:07 -07:00
khalfcache3.S Introduce native support for MacOS ARM64 2023-05-20 04:17:03 -07:00
kompressor.h Replace COSMO define with _COSMO_SOURCE 2023-08-13 20:55:04 -07:00
ksha256.S Make progress towards aarch64 build 2023-05-10 04:20:46 -07:00
ksha512.S Make progress towards aarch64 build 2023-05-10 04:20:46 -07:00
ktens.c Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
ktensindex.S Make some minor fixups to bug reporting, etc. 2022-07-11 05:58:24 -07:00
ktolower.c Get LIBC_FMT to build for aarch64 2023-05-10 04:20:47 -07:00
ktoupper.c Get LIBC_FMT to build for aarch64 2023-05-10 04:20:47 -07:00
longjmp.S Add siglongjmp() for aarch64 2023-09-21 10:10:20 -07:00
lz4.h Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
macros.h Make improvements 2020-12-01 03:43:40 -08:00
macros.internal.inc Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
mcount.S Make considerably more progress on AARCH64 2023-05-12 22:42:57 -07:00
msr.internal.h Run clang-format on most sources 2023-04-27 05:44:32 -07:00
mul4x4adx.S Get --ftrace working on aarch64 2023-06-05 23:35:31 -07:00
mul6x6adx.S Get --ftrace working on aarch64 2023-06-05 23:35:31 -07:00
mul8x8adx.S Get --ftrace working on aarch64 2023-06-05 23:35:31 -07:00
nexgen32e.h Do some more aarch64 fixups 2023-05-10 04:20:47 -07:00
nexgen32e.mk Make improvements for Actually Portable Emacs 2023-08-19 06:44:58 -07:00
nt2sysv.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
nt2sysv.S Fix some behavioral issues on Windows 2023-07-09 09:59:22 -07:00
pcmpstr.inc Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
pid.c Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
program_invocation_name.S Add syscalls to Blinkenlights and fix bugs 2022-05-13 13:31:21 -07:00
program_invocation_name2.c Make considerably more progress on AARCH64 2023-05-12 22:42:57 -07:00
rdtsc.h Make improvements 2023-06-03 08:12:22 -07:00
rdtscp.h Run clang-format on most sources 2023-04-27 05:44:32 -07:00
rldecode.S Get --ftrace working on aarch64 2023-06-05 23:35:31 -07:00
runlevel.c Fix some behavioral issues on Windows 2023-07-09 09:59:22 -07:00
setjmp.S Introduce #include <cosmo.h> to toolchain users 2023-06-09 18:03:05 -07:00
sha.h Make numerous improvements 2021-09-28 01:52:34 -07:00
sha1.S Get --ftrace working on aarch64 2023-06-05 23:35:31 -07:00
sha1ni.S Get --ftrace working on aarch64 2023-06-05 23:35:31 -07:00
sha256.S Get --ftrace working on aarch64 2023-06-05 23:35:31 -07:00
sha256ni.S Get --ftrace working on aarch64 2023-06-05 23:35:31 -07:00
sha512.S Get --ftrace working on aarch64 2023-06-05 23:35:31 -07:00
stackframe.h Make improvements 2023-09-18 21:04:47 -07:00
threaded.c Hunt down more bugs 2023-07-03 18:43:29 -07:00
tinydivsi.greg.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
tinywcslen.greg.S Get --ftrace working on aarch64 2023-06-05 23:35:31 -07:00
tinywcsnlen.greg.S Get --ftrace working on aarch64 2023-06-05 23:35:31 -07:00
trampoline.h Replace .pushsection directives (#30) 2021-01-10 13:36:31 -08:00
uart.internal.h Add epoll and do more release readiness changes 2020-11-28 12:01:51 -08:00
vendor.internal.h Update tests and CPU detection for Blink 2023-01-18 00:56:09 -08:00
vidya.internal.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
x86compiler.h Initial import 2020-06-15 07:18:57 -07:00
x86feature.h Make progress towards aarch64 build 2023-05-10 04:20:46 -07:00
x86info.h Add SSL to redbean 2021-06-24 13:20:50 -07:00
x87conf.inc Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
xmm.S Make fixes and improvements 2023-07-09 05:21:11 -07:00
zip.S Rewrite .zip.o file linker 2023-06-10 09:29:44 -07:00