Commit graph

  • 806b3f987e stdatomic: fix warnings Dmitry Selyutin 2021-03-17 00:29:45 +03:00
  • 1ff8679e79 stdatomic: refactor parser and generator Dmitry Selyutin 2021-02-14 21:41:59 +03:00
  • d0d0c8b688 [macOS]: arm64, define both __aarch64__ and __arm64__ which are tested by standard include files. WIP Christian Jullien 2021-02-21 11:56:16 +01:00
  • 310d49668e [macOS]: arm64, add OBJ-arm64-osx lib object list. Christian Jullien 2021-02-21 11:32:59 +01:00
  • ac8af47d7f [macOS]: arm64, correctly find clang which is not a symblink from cc Christian Jullien 2021-02-21 10:54:49 +01:00
  • e8bff295f9 [macOS]: arm64, very early stage of Big Sur M1 native port. Christian Jullien 2021-02-21 08:38:39 +01:00
  • 97800177c9 tccgen: gen_cast(): detect 'cast from void' error grischka 2021-01-26 22:25:53 +01:00
  • 72f1dea537 tccelf: use rodata_section, use more rodata in tcc itself grischka 2021-02-01 15:10:58 +01:00
  • 02795106e1 tccelf: use plt-reloc instead of relocplt grischka 2021-01-28 14:20:05 +01:00
  • e4f151c4cd tccgen: fix "Allow declared arrays to be initialized..." grischka 2021-02-18 08:43:04 +01:00
  • a1d10c8bde
    Fix unnecessary symbol collision CodeHz 2021-02-18 20:41:47 +08:00
  • 5201312cb2 Fix segfault with nested flex array structs Michael Matz 2021-02-15 23:58:18 +01:00
  • 3658c29b43 Add config pie option herman ten brugge 2021-02-15 19:14:48 +01:00
  • 87dcba16eb Fix tcov align and lock herman ten brugge 2021-02-15 19:10:13 +01:00
  • f5b8444739 Fix declared arrays without size herman ten brugge 2021-02-15 19:05:26 +01:00
  • dd5b546bf7 stdatomic: atomic_init routine Dmitry Selyutin 2021-02-14 21:38:04 +03:00
  • 355897a920 Allow declared arrays to be initialized without an explicit size Arthur Williams 2021-02-13 18:37:25 -08:00
  • d7f2775af8 Fix endless recursion due to type scoping Michael Matz 2021-02-13 03:20:44 +01:00
  • 24c94fff09
    arm-asm: Add vcvt Danny Milosavljevic 2021-02-11 14:19:05 +01:00
  • f1fb23a661
    arm-asm: Update comment Danny Milosavljevic 2021-02-11 00:22:47 +01:00
  • 30814dfacf Don't use stale section data pointers Michael Matz 2021-02-13 00:35:29 +01:00
  • 468e59206b Clear vtop.sym if saving on stack Michael Matz 2021-02-13 00:24:29 +01:00
  • ce8814cdd6 Avoid array overflow Michael Matz 2021-02-12 23:46:21 +01:00
  • c4ae326a1d Revert "Long double Constant problem" Michael Matz 2021-02-12 22:52:05 +01:00
  • 405aef9155 Long double Constant problem ayush-varshney 2021-02-11 08:49:58 +01:00
  • fbef90a703 Fix a VLA problem Michael Matz 2021-02-03 04:30:11 +01:00
  • d6f2d58158
    Relicensing TinyCC Danny Milosavljevic 2021-02-02 14:06:48 +01:00
  • ad16628c9e Make sure to escape paths in generated make dependencies Riccardo Schirone 2021-01-30 00:50:55 +01:00
  • 2ac8568503
    arm-asm: Support immediate values without "#" (Unified Assembly Language) Danny Milosavljevic 2021-01-24 14:19:30 +01:00
  • 458457590d stdatomic: fix atomic_init parameters Dmitry Selyutin 2021-01-28 00:13:53 +03:00
  • 9d862be1e7 stdatomic: fix is_memory_model check Dmitry Selyutin 2021-01-28 00:13:07 +03:00
  • 1c255baad5 test coverage update herman ten brugge 2021-01-27 13:27:10 +01:00
  • 65773a5300 stdatomic: c11 prefix; migrate to models macros Dmitry Selyutin 2021-01-27 13:32:48 +03:00
  • 5053fd03a7 stdatomic: memory models as macros Dmitry Selyutin 2021-01-27 13:26:48 +03:00
  • 02ea864ad2 stdatomic: deplusification; LLVM notice Dmitry Selyutin 2021-01-27 13:25:12 +03:00
  • f2e7742aea stdatomic: stdatomic.h header Dmitry Selyutin 2021-01-26 23:39:14 +03:00
  • 719a6b3a16 stdatomic: emit function calls Dmitry Selyutin 2021-01-26 21:24:58 +03:00
  • a110287c31 stdatomic: atomic builtins parsing support Dmitry Selyutin 2021-01-26 16:29:07 +03:00
  • 557b4a1f6d configure chmod 755 etc. grischka 2021-01-26 16:51:20 +01:00
  • 25628cffe5
    arm-asm: Add vmsr, vmrs Danny Milosavljevic 2021-01-26 10:22:10 +01:00
  • 1c9d999114 arm-asm: Implement "vmov.f32 Sn, Rd", "vmov.f32 Rd, Sn", "vmov.f64 Dm, Rd, Rn", "vmov.f64 Rd, Rn, Dm" Danny Milosavljevic 2021-01-22 19:49:56 +01:00
  • 90343eba3a arm-asm: Mostly factor out VFP register reference parsing to parse_operand Danny Milosavljevic 2021-01-22 15:55:40 +01:00
  • 0416594071 arm-asm: Add vmov Danny Milosavljevic 2021-01-22 03:33:25 +01:00
  • b82e52a497 arm-asm: Add vmla, vmls, vnmls, vnmla, vmul, vnmul, vadd, vsub, vdiv, vneg, vabs, vsqrt, vcmp, vcmpe Danny Milosavljevic 2021-01-22 01:20:07 +01:00
  • 104037a4c5
    arm-asm: Raise error if user tries to use a shift instruction with an immediate source operand Danny Milosavljevic 2021-01-25 00:29:02 +01:00
  • 1ed4b6ba1a debug_modes, re-unalign, cleanups grischka 2021-01-24 16:20:48 +01:00
  • 5043268cb1 Fix unaligned access arm (openbsd) herman ten brugge 2021-01-24 11:28:26 +01:00
  • 38eaf9b3a7 Fix compiler warnings utf8 code herman ten brugge 2021-01-23 19:21:33 +01:00
  • b40a88ea46 Use arm assembler in lib dir herman ten brugge 2021-01-23 19:08:59 +01:00
  • bc6c0c34c1 implement test coverage herman ten brugge 2021-01-23 18:17:38 +01:00
  • 66de1550ab
    arm-asm: Add vpush, vpop, vldm, vldmia, vldmdb, vstm, vstmia, vstmdb Danny Milosavljevic 2021-01-21 21:59:47 +01:00
  • e350058532
    arm-asm: Add svc Danny Milosavljevic 2021-01-23 14:20:06 +01:00
  • 2e87eb18ab
    arm-asm: Improve build with MSVC Danny Milosavljevic 2021-01-21 21:56:10 +01:00
  • 3fc55e15e8
    arm-asm: Enable VFP when invoking GNU as for testing VFP instructions Danny Milosavljevic 2021-01-21 20:28:55 +01:00
  • cdbb55396c
    arm-asm: Add vldr, vstr Danny Milosavljevic 2021-01-14 13:23:11 +01:00
  • 31dde11ad5
    arm-asm: Add ldc2, ldc2l, stc2, stc2l Danny Milosavljevic 2021-01-14 02:43:35 +01:00
  • 7900a6bb61
    arm-asm: Add ldc, ldcl, stc, stcl Danny Milosavljevic 2021-01-13 12:25:12 +01:00
  • d1a6c4aefa
    arm-asm: Add mcr, mrc Danny Milosavljevic 2021-01-13 03:16:56 +01:00
  • a1dad7a9f7
    arm-asm: Add cdp2 Danny Milosavljevic 2021-01-12 23:48:54 +01:00
  • 036a7fe7d4
    arm-asm: Add cdp Danny Milosavljevic 2021-01-12 23:43:54 +01:00
  • 593bed9b52 Fix arm NetBSD cross compilation Christian Jullien 2021-01-19 08:58:24 +01:00
  • d60d2bb60e
    arm-asm: Make "!" optional in asm_block_data_transfer_opcode Danny Milosavljevic 2021-01-18 16:11:45 +01:00
  • 704c8163fd re-add accidentally deleted printf("\n"); to tests2/97*.c Petr Skocik 2021-01-18 08:28:31 +01:00
  • ffb95c2e0c Better handling of UCNs in strings Petr Skocik 2021-01-17 22:21:07 +01:00
  • 6b614c4deb OpenBSD: arm fix herman ten brugge 2021-01-17 20:43:15 +01:00
  • debe8d013d Use $targetos instead of a second call to uname Christian Jullien 2021-01-17 11:45:23 +01:00
  • a2987fef19 configure automatically detects correct arm configuration on NetBSD Christian Jullien 2021-01-17 09:02:00 +00:00
  • 53f7d8baf4 conftest correctly detects NetBSD and OpenBSD for TRIPLET_OS Christian Jullien 2021-01-17 08:49:37 +01:00
  • f5f8326531 FreeBSD: arm port is fully supported and added to cross list Christian Jullien 2021-01-16 16:25:22 +01:00
  • 5aba20f270 BSD: arm support herman ten brugge 2021-01-16 07:01:59 +01:00
  • 757eccd1d2
    arm-asm: Raise error if user tries to use PC for offset register of single data transfer Danny Milosavljevic 2021-01-12 15:51:07 +01:00
  • 007839597f
    arm-asm: Implement ldr and str with shifted register offset Danny Milosavljevic 2021-01-12 15:26:52 +01:00
  • 1d7b233562 Remove strip logic form configure script, keep a deprecated warning message when --strip-binaries is still used. Christian Jullien 2021-01-14 07:10:41 +01:00
  • 13f6e8a866 OpenBSD: arm support typo (WIP) herman ten brugge 2021-01-13 19:58:19 +01:00
  • 96e3923239 OpenBSD: arm support update (WIP) herman ten brugge 2021-01-13 19:41:04 +01:00
  • 20dbfe99b8 --strip-binaries is deprecates, build never strips, use 'make install-strip' to install stripped binaries Christian Jullien 2021-01-13 18:51:23 +01:00
  • 23989cbcf3 OpenBSD: arm support (WIP) herman ten brugge 2021-01-13 13:20:36 +01:00
  • d5c78ce655 Add more supported systems for cross test Christian Jullien 2021-01-13 09:34:37 +01:00
  • c35f61b958 Fix ./configure strip test Christian Jullien 2021-01-13 07:56:05 +01:00
  • d7d470b357 ./configure always stripped binaries even if --strip-binaries was unset Christian Jullien 2021-01-13 07:27:46 +01:00
  • 56f74f2eeb Add shstrtab name in tccelf.c herman ten brugge 2021-01-12 21:41:41 +01:00
  • 62c0c4c77a tccelf.c: factor out elf_output_obj() grischka 2021-01-12 15:13:30 +01:00
  • c74c6ed61a Serveral updates herman ten brugge 2021-01-12 18:06:23 +01:00
  • 28646b559d fix cross compiling on openbsd herman ten brugge 2021-01-12 09:59:52 +01:00
  • ecdee4a697 arm64: Fix loading from constant address herman ten brugge 2021-01-12 08:46:05 +01:00
  • 00d467d44c OpenBSD: use portable strtoll instead of strtonum to allow cross-compilation test Christian Jullien 2021-01-12 08:12:40 +01:00
  • 4d254312be Remove gaps between RELX sections update herman ten brugge 2021-01-12 07:40:45 +01:00
  • 64d5db7635 *BSD: fix broken Makefile on all BSD systems. Christian Jullien 2021-01-12 07:08:39 +01:00
  • c9bdfcedb4 Remove gaps between RELX sections herman ten brugge 2021-01-12 06:59:51 +01:00
  • cd91ea658a OpenBSD: x86 update herman ten brugge 2021-01-11 19:26:10 +01:00
  • bbc7070c82 make test: run cross-test always grischka 2021-01-09 15:04:46 +01:00
  • 42220676d7 OpenBSD: x86 use few clang compatible C types Christian Jullien 2021-01-11 12:19:09 +01:00
  • db6dd66047 OpenBSD: -arm- Add more R_ARM* constants in elf.h. Christian Jullien 2021-01-11 07:21:57 +01:00
  • 6f27eca785 OpenBSD: Add 2 new R_ARM constants to be handled by arm-link.c Christian Jullien 2021-01-10 19:02:55 +01:00
  • 1018ee8749 OpenBSD: aarch64 99% working, armv7 WIP. Christian Jullien 2021-01-10 11:56:14 +01:00
  • ef7c4388e7 OpenBSD: elfinterp location looks the same for all architectures. i386 WIP Christian Jullien 2021-01-10 07:23:03 +01:00
  • 0e74965d7f make install always strips, only install-strip target should do Christian Jullien 2021-01-10 05:57:52 +01:00
  • 68744e3260 OpenBSD: Add static link support herman ten brugge 2021-01-09 20:35:54 +01:00
  • a3524bd780 OpenBSD: Fix warning and other *BSD builds. Christian Jullien 2021-01-09 17:36:13 +01:00
  • e6d15a5df1 OpenBSD: add a workaround to find the versioned shared lib as no .so symlink exist. Christian Jullien 2021-01-09 15:38:26 +01:00