2017-02-14 02:03:29 +08:00
|
|
|
*~
|
|
|
|
\#*
|
|
|
|
.#*
|
2010-06-12 22:26:37 +08:00
|
|
|
*.o
|
|
|
|
*.a
|
2014-11-26 11:40:14 +08:00
|
|
|
*.exe
|
2017-02-14 02:03:29 +08:00
|
|
|
*.dll
|
|
|
|
*.obj
|
|
|
|
*.pdb
|
|
|
|
*.lib
|
|
|
|
*.exp
|
2014-11-26 11:40:14 +08:00
|
|
|
*.log
|
2017-02-14 02:03:29 +08:00
|
|
|
*.bz2
|
|
|
|
*.zip
|
|
|
|
.gdb_history
|
|
|
|
a.out
|
2002-08-18 21:27:16 +08:00
|
|
|
tcc_g
|
|
|
|
tcc
|
2017-02-14 02:03:29 +08:00
|
|
|
*-tcc
|
2017-02-23 15:41:57 +08:00
|
|
|
libtcc*.def
|
2017-02-14 02:03:29 +08:00
|
|
|
|
2017-02-23 15:41:57 +08:00
|
|
|
config*.h
|
2020-12-18 07:33:44 +08:00
|
|
|
*_.h
|
2017-02-23 15:41:57 +08:00
|
|
|
config*.mak
|
2003-05-24 22:18:56 +08:00
|
|
|
config.texi
|
2017-02-14 02:03:29 +08:00
|
|
|
conftest*
|
Add dwarf support
The new gcc12 release does not support stabs any more.
This was a good reason to add support for dwarf.
The stabs code still works and is used if configure option --dwarf
is not used.
Tested on x86_64, i386, arm, arm64, riscv64 with dwarf-5.
Some debuggers may not support dwarf-5. Try using older dwarf versions
i that case.
The tccmacho.c code probably need some support for dwarf.
arm-gen.c, arm64-gen.c, i386-gen.c, riscv64-gen.c, x86_64-gen.
- fix get_sym_ref symbol size
arm-link.c, arm64-link.c, i386-link.c, riscv64-link.c, x86_64-link.c
- add R_DATA_32U
libtcc.c:
- parse -gdwarf option
tcc.c:
- add dwarf option
tcc.h:
- add dwarf option and sections
tccelf.c:
- init dwarf sections
- avoid adding sh_addr for dwarf sections
- remove dwarf relocs for output dll
- add dwarf sections for tccrun
tccgen.c:
- add dwarf defines + global data
- add dwarf_* functions
- mix dwarf code with stabs code
- a trick is used to emit function name in .debug_line section so
only this section has to be parsed instead of .debug_info and
.debug_abbrev.
- fix init debug_modes
tccrun.c:
- add dwarf sections in rt_context
- init them in tcc_run
- add new dwarf code rt_printline_dwarf to find file/function
dwarf.h:
- New file
tcc-doc.texi:
- document dwarf
configure:
- add dwarf option
lib/Makefile
- change -gstabs into -gdwarf
lib/bt-exe.c, tests/tests2/Makefile, tests/tests2/126_bound_global:
- Add __bound_init call
- Add new testcase to test it
2022-05-05 15:10:37 +08:00
|
|
|
c2str
|
2010-06-21 00:48:16 +08:00
|
|
|
tags
|
2014-11-26 11:40:14 +08:00
|
|
|
TAGS
|
2017-02-14 02:03:29 +08:00
|
|
|
tcc.1
|
2022-05-08 05:16:13 +08:00
|
|
|
*.pod
|
2017-02-14 02:03:29 +08:00
|
|
|
tcc-doc.html
|
|
|
|
tcc-doc.info
|
|
|
|
|
|
|
|
win32/doc
|
WIN32/64 only: Added C99 math functions: tgamma(), tgammaf(), lgamma(), lgammaf(), cbrt(), cbrtf(), log2(), log2f(), exp2(), exp2f().
The gamma() functions are accurate to 13 digits over the full range. Returns INFINITY / NAN identical to other compiler's math libs.
#include <stdio.h>
#include <math.h>
int main() {
double x;
for (x = -7.0; x <= 520.0; x += 1.0) {
printf("tgamma/lgamma %6.3f: %20.13g %20.13g\n", x/3, tgamma(x/3.0), lgamma(x/3.0));
}
printf("tgamma/lgamma %g: %20.13g %20.13g\n", 0.00000234, tgamma(0.00000234), lgamma(0.00000234));
printf("log2, exp2, cbrt, cbrt: %.15g %.15g %.15g %.15g\n", log2(1024), exp2(10), cbrt(-10), cbrt(10));
}
2020-11-14 07:02:58 +08:00
|
|
|
win32/examples/libtcc_test.c
|
2017-02-14 02:03:29 +08:00
|
|
|
win32/libtcc
|
|
|
|
win32/lib/32
|
|
|
|
win32/lib/64
|
|
|
|
win32/include/float.h
|
WIN32/64 only: Added C99 math functions: tgamma(), tgammaf(), lgamma(), lgammaf(), cbrt(), cbrtf(), log2(), log2f(), exp2(), exp2f().
The gamma() functions are accurate to 13 digits over the full range. Returns INFINITY / NAN identical to other compiler's math libs.
#include <stdio.h>
#include <math.h>
int main() {
double x;
for (x = -7.0; x <= 520.0; x += 1.0) {
printf("tgamma/lgamma %6.3f: %20.13g %20.13g\n", x/3, tgamma(x/3.0), lgamma(x/3.0));
}
printf("tgamma/lgamma %g: %20.13g %20.13g\n", 0.00000234, tgamma(0.00000234), lgamma(0.00000234));
printf("log2, exp2, cbrt, cbrt: %.15g %.15g %.15g %.15g\n", log2(1024), exp2(10), cbrt(-10), cbrt(10));
}
2020-11-14 07:02:58 +08:00
|
|
|
win32/include/stdalign.h
|
2017-02-14 02:03:29 +08:00
|
|
|
win32/include/stdarg.h
|
|
|
|
win32/include/stdbool.h
|
|
|
|
win32/include/stddef.h
|
WIN32/64 only: Added C99 math functions: tgamma(), tgammaf(), lgamma(), lgammaf(), cbrt(), cbrtf(), log2(), log2f(), exp2(), exp2f().
The gamma() functions are accurate to 13 digits over the full range. Returns INFINITY / NAN identical to other compiler's math libs.
#include <stdio.h>
#include <math.h>
int main() {
double x;
for (x = -7.0; x <= 520.0; x += 1.0) {
printf("tgamma/lgamma %6.3f: %20.13g %20.13g\n", x/3, tgamma(x/3.0), lgamma(x/3.0));
}
printf("tgamma/lgamma %g: %20.13g %20.13g\n", 0.00000234, tgamma(0.00000234), lgamma(0.00000234));
printf("log2, exp2, cbrt, cbrt: %.15g %.15g %.15g %.15g\n", log2(1024), exp2(10), cbrt(-10), cbrt(10));
}
2020-11-14 07:02:58 +08:00
|
|
|
win32/include/stdnoreturn.h
|
2017-02-14 02:03:29 +08:00
|
|
|
win32/include/varargs.h
|
|
|
|
win32/include/tcclib.h
|
|
|
|
|
|
|
|
tests/tcctest[1234]
|
|
|
|
tests/tcctest.gcc
|
2017-12-13 00:57:20 +08:00
|
|
|
tests/*.out*
|
2017-02-14 02:03:29 +08:00
|
|
|
tests/*.ref
|
|
|
|
tests/*.txt
|
|
|
|
tests/*.gcc
|
|
|
|
tests/*-cc*
|
|
|
|
tests/*-tcc*
|
|
|
|
tests/libtcc_test
|
2019-12-11 07:37:18 +08:00
|
|
|
tests/libtcc_test_mt
|
2017-12-13 00:57:20 +08:00
|
|
|
tests/asm-c-connect
|
|
|
|
tests/asm-c-connect-sep
|
2017-02-14 02:03:29 +08:00
|
|
|
tests/vla_test
|
|
|
|
tests/hello
|
|
|
|
tests/tests2/fred.txt
|
2020-03-21 23:57:00 +08:00
|
|
|
libtcc.dylib
|