tccgen: nodata_wanted fix, default ONE_SOURCE, etc...
commit4b3c6e74aba07d61e91b2e0ba7190483a0f9f000
authorgrischka <grischka>
Sun, 23 Jul 2017 19:24:11 +0000 (23 21:24 +0200)
committergrischka <grischka>
Sun, 23 Jul 2017 19:24:11 +0000 (23 21:24 +0200)
tree8e91e83762d9c60dd81182b9d423f8addb3532f2
parentfdc18d307aafce6e8833b0eb26c1313da88cfc9a
tccgen: nodata_wanted fix, default ONE_SOURCE, etc...

tccgen.c:
  doubles need to be aligned, on ARM.  The section_reserve()
  in init_putv does not do that.
-D ONE_SOURCE: is now the default and not longer needed. Also,
  tcc.h now sets the default native target.  These both make
  compiling tcc simple as "gcc tcc.c -o tcc -ldl" again.
arm-asm.c:
  enable pseudo asm also for inline asm
tests/tests2/Makefile:
  disable bitfield tests except on windows and x86_64
  and don't generate-always
tcc.c:
  fix a loop with -dt on errors
configure:
  print compiler version (as recognized)
tccpp.c:
  actually define symbols for tcc -dt
  clear static variables (needed for -dt or libtcc usage)
96_nodata_wanted.c:
  use __label__ instead of asm
lib/files:
  use native symbols (__i386__ etc.) instead of TCC_TARGET_...
25 files changed:
Makefile
arm-asm.c
configure
lib/Makefile
lib/alloca86-bt.S
lib/alloca86.S
lib/alloca86_64-bt.S
lib/alloca86_64.S
lib/bcheck.c
lib/libtcc1.c
lib/va_list.c
libtcc.c
tcc.c
tcc.h
tccgen.c
tccpp.c
tests/Makefile
tests/tests2/95_bitfields.c
tests/tests2/95_bitfields.expect [new file with mode: 0644]
tests/tests2/95_bitfields_ms.expect
tests/tests2/96_nodata_wanted.c
tests/tests2/96_nodata_wanted.expect
tests/tests2/Makefile
win32/build-tcc.bat
win32/lib/chkstk.S