cosmopolitan/libc/log
Justine Tunney 69f4152f38 Always initialize thread local storage
We had previously not enabled TLS in MODE=tiny in order to keep the
smallest example programs (e.g. life.com) just 16kb in size. But it
was error prone doing that, so now we just always enable it because
this change uses hacks to ensure it won't increase life.com's size.

This change also fixes a bug on NetBSD, where signal handlers would
break thread local storage if SA_SIGINFO was being used. This looks
like it might be a bug in NetBSD, but it's got a simple workaround.
2022-07-19 00:21:46 -07:00
..
thunks Make improvements 2022-05-12 06:45:36 -07:00
addr2linepath.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
appendresourcereport.c Make improvements 2022-04-28 09:57:07 -07:00
attachdebugger.c Do code cleanup use duff device linenoise i/o 2022-04-22 18:56:52 -07:00
backtrace.internal.h Apply even more fixups 2022-06-12 11:57:00 -07:00
backtrace2.c Get redbean -X running in blinkenlights again 2022-07-16 11:52:45 -07:00
backtrace3.c Make improvements to locking 2022-06-19 01:30:12 -07:00
bsd.h Add chibicc 2020-12-06 16:20:21 -08:00
check.h Make improvements 2022-05-12 06:45:36 -07:00
checkaligned.c Make improvements 2022-05-12 06:45:36 -07:00
checkfail.c Make some touchups 2022-07-15 18:07:34 -07:00
checkfail_ndebug.c Make improvements 2022-05-12 06:45:36 -07:00
color.internal.h Make exciting improvements 2022-03-18 03:02:00 -07:00
commandvenv.c Make improvements 2022-04-28 09:57:07 -07:00
countbranch.h Make exciting improvements 2022-03-18 03:02:00 -07:00
countbranch_data.S Add ASAN guards to some asm data structures 2022-03-18 13:02:57 -07:00
countbranch_report.c Make exciting improvements 2022-03-18 03:02:00 -07:00
countexpr.h Make exciting improvements 2022-03-18 03:02:00 -07:00
countexpr_data.S Add ASAN guards to some asm data structures 2022-03-18 13:02:57 -07:00
countexpr_report.c Make improvements 2022-04-24 10:06:05 -07:00
cxaprintexits.c Make some quick fixes and cleanup 2022-06-26 02:58:36 -07:00
die.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
err.c Change license 2020-12-27 17:18:44 -08:00
errx.c Change license 2020-12-27 17:18:44 -08:00
flogf.c Change license 2020-12-27 17:18:44 -08:00
gdb.h Make improvements 2022-03-16 13:40:10 -07:00
gdbexec.c Make major improvements to redbean and libraries 2021-04-18 12:34:15 -07:00
gdbpath.c Change license 2020-12-27 17:18:44 -08:00
gdbsync.c Change license 2020-12-27 17:18:44 -08:00
getcallername.c Improve memory safety 2021-10-13 17:27:13 -07:00
getsicodename.c Show crash reports on SIGSYS 2022-06-23 13:01:01 -07:00
getsymbolbyaddr.c Improve memory safety 2021-10-13 17:27:13 -07:00
getttycols.c Change license 2020-12-27 17:18:44 -08:00
internal.h Show crash reports on SIGSYS 2022-06-23 13:01:01 -07:00
leaks.c Bump redbean to 2.0.9 2022-07-09 05:50:05 -07:00
libfatal.internal.h Reduce Makefile dependencies by 4% 2022-05-23 15:07:01 -07:00
log.h Bump redbean to 2.0.9 2022-07-09 05:50:05 -07:00
log.mk Refactor some code 2022-05-28 14:09:21 -07:00
logerrno.c Make Cosmopolitan ANSI C89 compatible 2021-02-03 17:48:59 -08:00
logfile.initabi.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
loglevel.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
malloc_stats.c Improve synchronization 2022-04-15 15:31:55 -07:00
meminfo.c Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
memlog.c Add torture test for zipos file descriptors 2022-06-15 16:29:49 -07:00
memsummary.c Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
oncrash.c Always initialize thread local storage 2022-07-19 00:21:46 -07:00
oncrashthunks.S Show crash reports on SIGSYS 2022-06-23 13:01:01 -07:00
onkill.c Reduce makefile dependencies by 10% 2022-06-08 20:01:28 -07:00
perror.c Make minor improvements 2021-05-15 21:53:26 -07:00
printgarbage.c Make improvements 2022-04-24 10:06:05 -07:00
printgarbagenumeric.c Fix regression in _gclongjmp() 2021-08-19 09:34:24 -07:00
rop.h Further improve JSON serialization 2022-07-11 23:06:49 -07:00
showcrashreports.c Write more redbean unit tests 2022-07-08 23:10:02 -07:00
showcrashreportsearly.S Show crash reports on SIGSYS 2022-06-23 13:01:01 -07:00
startfatal.c Add syscalls to Blinkenlights and fix bugs 2022-05-13 13:31:21 -07:00
traceme.c Undiamond Python headers 2021-08-12 14:07:40 -07:00
traceme.h Undiamond Python headers 2021-08-12 14:07:40 -07:00
verr.c Add syscalls to Blinkenlights and fix bugs 2022-05-13 13:31:21 -07:00
verrx.c Change license 2020-12-27 17:18:44 -08:00
vflogf.c Perform some code cleanup 2022-06-23 10:21:07 -07:00
vwarn.c Change license 2020-12-27 17:18:44 -08:00
vwarnx.c Change license 2020-12-27 17:18:44 -08:00
warn.c Change license 2020-12-27 17:18:44 -08:00
warnx.c Change license 2020-12-27 17:18:44 -08:00