LIBTCCAPI tcc_relocate(s) : REMOVED 2nd argument
commitb671fc0594625eb5ac147ec83be6d0c1fc1a6ad5
authorgrischka <grischka>
Wed, 7 Feb 2024 06:42:56 +0000 (7 07:42 +0100)
committergrischka <grischka>
Fri, 9 Feb 2024 12:38:27 +0000 (9 13:38 +0100)
treee21e3d117d34e94375fd8ad7f017ea506b512c1f
parenta0ab99169e35c733a033417f55c35b3c0d0f7194
LIBTCCAPI tcc_relocate(s) : REMOVED 2nd argument

removed second argument for tcc_relocate(s). previous
'TCC_RELOCATE_AUTO' is now default and only behavior.

Rationale:
  In the past, the option to compile into memory provided by the
  user was introduced because only one TCCState could exist at a time.

  This is no longer a limitation.  As such it is also possible now to
  keep any number of compiled code snippets around together with their
  state in order to run them as needed.

- Also
  - LIBTCCAPI tcc_get_error_func/opaque() removed
  - tccrun/SELINUX: switch rx/rw mappings such that rx comes first
    (risc64-link.c:relocate_plt() does not like got < plt)
  - tcc_relocate_ex(): free local symbols and obsolete sections
    to reduce memory after tcc_relocate()
configure
libtcc.c
libtcc.h
tcc.h
tccdbg.c
tccelf.c
tccpe.c
tccrun.c
tests/abitest.c
tests/libtcc_test.c
tests/libtcc_test_mt.c