tccrun: 'tcc_relocate()' twice no longer supported
commita7cd016d713ce749f707f9e3793f56c13672e791
authorgrischka <grischka>
Sun, 11 Feb 2024 12:13:13 +0000 (11 13:13 +0100)
committergrischka <grischka>
Tue, 13 Feb 2024 23:56:36 +0000 (14 00:56 +0100)
treecbd54f1bb66ad3297a805ec4cb15b769c1b9fb2c
parent7b9f19eaab7e568a7c7a42725da812377a588f50
tccrun: 'tcc_relocate()' twice no longer supported

- abort with notice when tcc_relocate() is called with the
  former two-step method
- support backtrace & bcheck not only with tcc_run() but also
  for directly called functions from tcc_get_symbol(); enable
  witn 'tcc_set_options("-bt/-b");'
- move struct rt_context and debug sections into compiled code
  for TCC_OUTPUT_MEMORY also
- protect access (g_rc) with semaphore
Also:
- add armv7/aarch4/riscv64 github tests (qemu emulated)
- win32/build-tcc.bat: build cross compiler only with -x
13 files changed:
.github/workflows/build.yml
Makefile
configure
lib/bt-exe.c
lib/bt-log.c
libtcc.c
tcc.h
tccdbg.c
tccelf.c
tccpe.c
tccrun.c
tests/Makefile
win32/build-tcc.bat