mirror of
https://github.com/mirror/tinycc.git
synced 2026-08-22 11:23:27 +08:00
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_...
This commit is contained in:
@@ -11,12 +11,15 @@
|
||||
96_nodata_wanted.c:25: warning: assignment makes integer from pointer without a cast
|
||||
96_nodata_wanted.c:25: warning: nonportable conversion from pointer to char/short
|
||||
|
||||
[test_data_suppression]
|
||||
suppression off
|
||||
static data: 8 - 8.0 - 8.0 - main - static string
|
||||
static bitfields: 333 44 555555 6 7
|
||||
data length is not 0
|
||||
text length is not 0
|
||||
suppression on
|
||||
data length is 0
|
||||
text length is 0
|
||||
[test_data_suppression_off]
|
||||
data:
|
||||
8 - 8.0 - 8.0 - main - static string
|
||||
333 44 555555 6 7
|
||||
size of data/text:
|
||||
non-zero/non-zero
|
||||
# 111/193
|
||||
|
||||
[test_data_suppression_on]
|
||||
size of data/text:
|
||||
zero/zero
|
||||
# 0/0
|
||||
|
||||
Reference in New Issue
Block a user