tcc-stupidos/lib
grischka dd2e5f8b06 tccelf: cleanup sort_sections() & etc. fixes
with -Wl,-oformat=binary, executable code should come first.
(for linux kernel image for example)

Also:
- simplify RELRO sections: create them as readonly, but add
  SHF_WRITE flag later when needed (i.e. relocations do exist)
- tcc.h etc: exclude eh_frames on non-elf platforms
- tccelf.c:tcc_load_object_file(): don't load debug sections when
  linking without -g (special dwarf case in relocate_section()
  wont work when dwlo/hi were not initialized).
- tcc.c: avoid loop if something fails (ret < 0) without message
  (while failing without message should not happen either)
- tccelf.c:tcc_load_alacarte: give message
- tccpp.c: treat '# 123xyz' in asm file as comment
- lib/Makefile: cleanup
- libtcc.c: tcc_add_library(): fallback to try filename as is
  (also remove tcc_add_library_err())
2024-11-17 21:39:38 +01:00
..
alloca-bt.S tcc/lib: reduce number of files 2021-08-03 22:49:18 +02:00
alloca.S tcc/lib: reduce number of files 2021-08-03 22:49:18 +02:00
armeabi.c lib/armeabi.c: fix zero from/to double conversion 2023-04-25 08:59:42 +02:00
armflush.c Use arm assembler in lib dir 2021-01-23 19:08:59 +01:00
atomic.S Fix atomic test_and_set and clear 2022-11-17 05:57:21 -06:00
bcheck.c Print bound region when bound checking error occurs 2024-11-09 08:34:10 +01:00
bt-dll.c bcheck: remove "tcc_location()" & x86_64 double fix 2023-09-06 22:42:21 +02:00
bt-exe.c tccrun: exit() via rt_longjmp() 2024-02-15 18:45:49 +01:00
bt-log.c tccrun: review last changes 2024-02-19 17:45:44 +01:00
builtin.c Allow building lib with gcc/clang 2022-12-17 09:37:37 +01:00
dsohandle.c Define __dso_handle in libtcc1.a 2019-06-22 01:38:43 +02:00
lib-arm64.c Add support for apple m1 2022-11-16 12:52:51 -06:00
libtcc1.c riscv: libtcc1.c support some builtins for __riscv 2024-03-21 13:33:27 +01:00
Makefile tccelf: cleanup sort_sections() & etc. fixes 2024-11-17 21:39:38 +01:00
runmain.c Fix win64 noreturn problem 2024-02-28 07:37:09 +01:00
stdatomic.c add MemoryBarrier marco define; tested gcc msvc 2024-02-08 11:13:51 +08:00
tcov.c Add tcov support in Makefile 2023-08-31 11:09:49 +02:00
va_list.c Struct va_arg fix 2020-09-17 08:42:28 +02:00