tinycc/lib
herman ten brugge baacb0f52a OpenBSD: runtime fixes
After this commit we can compile and run code with some limitations.
- The dlsym function is broken so this makes -run and bound checking
  not work all the time. Make -k test does work for most code.
- You have to do:
    ln -s /usr/lib/libN.so.x.y /usr/lib/libN.so
  for all .so files in /usr/lib.
  OpenBSD uses opendir/readdir to find the correct so file. This is
  not the way other platforms do this.
  Also the .a versions do not have all symbols that are present in the .so
  files.

tcc.h:
- Use different dynamic loader

elf.h:
- Add SHT_X86_64_UNWIND

tccelf.c:
- Do not use -dl
- Add required NOTE section
- Add extra dynamic tags
- Allow SHT_X86_64_UNWIND/SHT_NOTE in tcc_load_object_file

tccrun.c:
- Uses MAP_FIXED because without the offset between exec and data section
  becomes too big for x86_64

lib/bcheck.c:
- Do not use __libc_freeres

tests/tcctest.c:
- aligned_function also disabled for __GNUC__ == 4
2020-12-07 08:27:10 +01:00
..
alloca86_64-bt.S rework leading underscores 2020-07-06 13:00:47 +02:00
alloca86_64.S rework leading underscores 2020-07-06 13:00:47 +02:00
alloca86-bt.S Bound checking fixes 2020-10-01 17:09:09 +02:00
alloca86.S rework leading underscores 2020-07-06 13:00:47 +02:00
alloca-arm.S cross-compilers: allow individual configuration 2017-02-23 08:41:57 +01:00
armeabi.c cross-compilers: allow individual configuration 2017-02-23 08:41:57 +01:00
armflush.c arm: Don't override syscall implementation 2019-11-06 01:01:56 +11:00
bcheck.c OpenBSD: runtime fixes 2020-12-07 08:27:10 +01:00
bt-dll.c rework leading underscores 2020-07-06 13:00:47 +02:00
bt-exe.c Fix testcase 114 for macos 2020-09-17 08:22:53 +02:00
bt-log.c rework leading underscores 2020-07-06 13:00:47 +02:00
dsohandle.c Define __dso_handle in libtcc1.a 2019-06-22 01:38:43 +02:00
fetch_and_add_arm64.S Fix fetch_and_add code 2020-06-18 07:21:48 +02:00
fetch_and_add_arm.S Call __bound_main_arg at startup 2020-06-22 14:55:27 +02:00
fetch_and_add_riscv64.S Fix fetch_and_add code 2020-06-18 07:21:48 +02:00
lib-arm64.c Fix conversions of subnormals to long double 2020-07-15 22:02:02 +02:00
libtcc1.c libtcc1.c: cleanup fp2ull 2020-09-17 20:25:31 +02:00
Makefile some cleanups related to recent commits 2020-07-06 13:00:47 +02:00
va_list.c Struct va_arg fix 2020-09-17 08:42:28 +02:00