debug_modes, re-unalign, cleanups
commit1ed4b6ba1a66a9836d325f0eb9c753d45518fb94
authorgrischka <grischka>
Sun, 24 Jan 2021 15:20:48 +0000 (24 16:20 +0100)
committergrischka <grischka>
Sun, 24 Jan 2021 17:00:33 +0000 (24 18:00 +0100)
tree06427348a67f7599e287a075b1b821b0d3a373c8
parent5043268cb187b668fff575baa50a8c48a282eb46
debug_modes, re-unalign, cleanups

tccgen.c: debug_modes
- don't waste debug function calls during normal execution.
libtcc.c:
- mem_debug: no C99 features in tcc please, for example
  ({compound expressions}): do not use.
tccgen.c: struct_layout:
- unaligned access is completely ok for most targets.
- Moreover the patch was triggering single byte mode even
  for normal aligned access (as with tcc's SymAttr)

static Sym label: don't do this

arm-gen.c:
- use some #ifdefs to explain some code
tccpp.c:
- cleanup UCN chars
libtcc.c:
- replace openbsd library search
configure:
- cleanup strip fallouts
tccgen.c:
- expr_cond(): remove an exotic optimization that eventually
  got fixed to do the contrary by a gv(RC_InT)
- pop_local_syms(): remove some args
- init_putv() : use write##le functions to avoid cross-compiler
  unaligned access
- __bt_init(): remove unused param 'mode'
13 files changed:
Makefile
arm-gen.c
configure [changed mode: 0755->0644]
lib/bt-exe.c
libtcc.c
riscv64-gen.c
tcc.h
tccelf.c
tccgen.c
tccpp.c
tccrun.c
tcctok.h
tests/tcctest.c