tinycc/lib
Michael Matz 57ba50e611 macos: support bounds checking
* non-process-shared POSIX semaphores aren't supported on
  Darwin, we use the dispatch framework
* dlsym segfaults with RTLD_NEXT from JIT code, so we must not
  even try this for -run.  So we need to know in __bound_init
  if called from -run code, or from normal code, which means passing
  this down also from __bt_init and hence from the stub added in
  tcc_add_btstub
* Darwin uses different structures for <ctype.h> facilities, this
  merely adds a warning about this
* __libc_freeres doesn't exist
* for non -run modus the context (.prog_base member) is constructed
  incorrectly (uses symbol zero for trying to get at the load bias,
  which doesn't really work that way), on Mach-O this errors out
  (and could also error out on ELF).  For now deactivate this, which
  makes backtraces not be symbolic on MacOS for not -run.
2020-06-20 22:14:56 +02:00
..
alloca86_64-bt.S bcheck cleanup 2019-12-14 13:26:18 +01:00
alloca86_64.S bcheck cleanup 2019-12-14 13:26:18 +01:00
alloca86-bt.S tccgen: nodata_wanted fix, default ONE_SOURCE, etc... 2017-07-23 21:24:11 +02:00
alloca86.S tccgen: nodata_wanted fix, default ONE_SOURCE, etc... 2017-07-23 21:24:11 +02:00
alloca-arm.S cross-compilers: allow individual configuration 2017-02-23 08:41:57 +01:00
armeabi.c cross-compilers: allow individual configuration 2017-02-23 08:41:57 +01:00
armflush.c arm: Don't override syscall implementation 2019-11-06 01:01:56 +11:00
bcheck.c macos: support bounds checking 2020-06-20 22:14:56 +02:00
bt-dll.c tccrun.c: standalone backtraces with -bt[N] or -b 2020-01-17 22:58:39 +01:00
bt-exe.c macos: support bounds checking 2020-06-20 22:14:56 +02:00
bt-log.c Fix gcc10 warnings 2020-05-23 20:27:43 +02:00
dsohandle.c Define __dso_handle in libtcc1.a 2019-06-22 01:38:43 +02:00
fetch_and_add_arm64.S Fix fetch_and_add code 2020-06-18 07:21:48 +02:00
fetch_and_add_arm.S Fix fetch_and_add code 2020-06-18 07:21:48 +02:00
fetch_and_add_riscv64.S Fix fetch_and_add code 2020-06-18 07:21:48 +02:00
lib-arm64.c riscv: Implement long double support 2019-09-01 23:13:20 +02:00
libtcc1.c tccgen: nodata_wanted fix, default ONE_SOURCE, etc... 2017-07-23 21:24:11 +02:00
Makefile macos: support bounds checking 2020-06-20 22:14:56 +02:00
va_list.c stdarg: always have the __builtin_va_* available 2020-04-15 22:06:52 +02:00