- tcc -vv: show cross-libtcc1.a correctly (and more)
commite41730f11a993c64e50f4842b8aec3f888c801c1
authorgrischka <grischka>
Sat, 20 Aug 2022 10:58:56 +0000 (20 12:58 +0200)
committergrischka <grischka>
Sat, 24 Sep 2022 07:46:17 +0000 (24 09:46 +0200)
tree133259d38eecfadf1ef5caba307b739cc37afb96
parent414c22c67b749abfb132620907e64780a24eb241
- tcc -vv: show cross-libtcc1.a correctly (and more)

(As long as it is in the default install location and was not
moved elsewhere into the library search path manually)

Also:
- libtcc.c:
  - error1(): show correct line with "In file included from ..."
  - support "tcc -Bxxx -vv"
  - tcc_new()/tcc_compile(): Don't create elf sections for tcc -E
- tccdbg.c:
  - tcc -E -g : revert 1de025c13a5f499c8956412f36e1bffbe4c88b7b
    Let's keep things simple, everybody understands 'do_debug'
    and dState is set by tcov too (but no debug sections).
- tccgen.c:
  - avoid the extra parameter for gind()
    (from c3e3a07ed413a6cb8c1a2b033eb2df07941fead7)
  - vla func params: use skip_or_save_block() and enable
    VT_LVAL (see 313855c232710378e1d3fad4fb4455991b9f45e9)
  - cleanup nocode_wanted a bit
- tccelf.c:
  - tccelf_end_file(): don't try to translate zero-sym relocs
    (seems to happen with asm "jmp 0x1000")
  - version_add(): do not make "ld-linux.so" DT_NEEDED
libtcc.c
tcc.c
tcc.h
tccdbg.c
tccelf.c
tccgen.c
tccpp.c
tests/tcctest.c
x86_64-gen.c