tinycc/lib
herman ten brugge 039e4ec2a4 Call __bound_main_arg at startup
This uses a glibc feature present since constructor/destructor support was added.

Modify tccrun.c to call constructor with argc, argcv, envp.
In lib/bcheck.c use these values to register them in the splay tree.
Remove HAS_ENVIRON is lib/bcheck.c as it is not needed any more.
Modify win32/lib/crt1.c/win32/lib/dllcrt1.c/win32/lib/wincrt1.c to also
call constructor with argc, argcv, envp.
While implementing I saw that tccrun did nog call main with envp. Fixed it.
Also fix fetch_and_add_arm.S to make it work on armv6 (raspberry pi default).
2020-06-22 14:55:27 +02:00
..
alloca86_64-bt.S macos: Fix asm-c-connect-test 2020-06-20 22:17:08 +02:00
alloca86_64.S macos: various fixes 2020-06-20 22:14:56 +02: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 Call __bound_main_arg at startup 2020-06-22 14:55:27 +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 Call __bound_main_arg at startup 2020-06-22 14:55:27 +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: more adjustments for OSX systems 2020-06-20 22:17:06 +02:00
va_list.c stdarg: always have the __builtin_va_* available 2020-04-15 22:06:52 +02:00