History

some reverts & fixes

workflow: - revert 'pinact for security' for readability from 831c3fa184e3b4a93f09c7fd04170b022596aafd tccpp.c: - remove code that allows tcc to parse numbers incorrectly (*) from 829c84852012426230b0bec0efcfc1609bf4665b tccgen.c: - Revert "Relaxed the 'incompatible pointer type' warning a bit" (*) from d9ec17d33427fce6f73c5b5bb9646d3b077bb4e4. tccrun.c: - remove support for -nostdlib -run for simplicity, we require "main" with tcc -run always tccpp.c: - Revert "Free all preprocessor memmory in case of error." from c96f0cad61dbaa16c826879f65d5614e86eda8f2 Remove TinyAlloc->limit instead. Thus it can do also bigger allocs. Big TokenStrings (like 200kb+ when compiling tcc) may come from inline functions or from large initializers. Makefile/configure: - use --config-pie for configuring tcc output only - use -fPIC with clang-x86_64 to avoid 32-bit relocs libtcc.c: - fix "tcc file.c -run" i.e. -run as last argument i386-gen.c: - PIC refactor (*) sorry, but code in tcc should have a minimum of generic relevance

grischka committed 10 months ago

Commit 5ec0e6f1 parent 518279d24 files · +298 −740Browse files

Showing the changes to .github (1 of 24 files). Show all

Unified · Split

.github/workflows/build.yml+13−13
@@ -9,7 +9,7 @@ jobs: · 8 unmodified lines
99 runs-on: ubuntu-22.04
1010 timeout-minutes: 2
1111 steps:
12− - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
12+ - uses: actions/checkout@v4
1313 - name: make & test tcc (x86_64-linux)
1414 run: ./configure && make && make test -k
1515
@@ -17,7 +17,7 @@ jobs: · 1 unmodified line
1717 runs-on: macos-15-intel
1818 timeout-minutes: 2
1919 steps:
20− - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
20+ - uses: actions/checkout@v4
2121 - name: make & test tcc (x86_64-osx)
2222 run: ./configure && make && make test -k
2323
@@ -25,7 +25,7 @@ jobs: · 1 unmodified line
2525 runs-on: macos-15
2626 timeout-minutes: 2
2727 steps:
28− - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
28+ - uses: actions/checkout@v4
2929 - name: make & test tcc (aarch64-osx)
3030 run: ./configure && make && make test -k
3131
@@ -33,7 +33,7 @@ jobs: · 1 unmodified line
3333 runs-on: windows-2025
3434 timeout-minutes: 6
3535 steps:
36− - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
36+ - uses: actions/checkout@v4
3737 - name: make & test tcc (x86_64-win32)
3838 shell: cmd
3939 run: |
@@ -44,7 +44,7 @@ jobs: · 4 unmodified lines
4444 C:\msys64\usr\bin\bash -l -c "pacman -S --noconfirm mingw-w64-x86_64-gcc"
4545 echo ::endgroup::
4646 C:\msys64\usr\bin\bash -l -c "./configure && make && make test -k"
47− - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
47+ - uses: ilammy/msvc-dev-cmd@v1
4848 with:
4949 arch: amd64
5050 - name: build with MSVC (x86_64-win32)
@@ -61,7 +61,7 @@ jobs: · 10 unmodified lines
6161 runs-on: windows-2025
6262 timeout-minutes: 6
6363 steps:
64− - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
64+ - uses: actions/checkout@v4
6565 - name: make & test tcc (i386-win32)
6666 shell: cmd
6767 run: |
@@ -72,7 +72,7 @@ jobs: · 4 unmodified lines
7272 C:\msys64\usr\bin\bash -l -c "pacman -S --noconfirm mingw-w64-i686-gcc"
7373 echo ::endgroup::
7474 C:\msys64\usr\bin\bash -l -c "./configure && make && make test -k"
75− - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
75+ - uses: ilammy/msvc-dev-cmd@v1
7676 with:
7777 arch: x86
7878 - name: build with MSVC (i386-win32)
@@ -89,8 +89,8 @@ jobs: · 10 unmodified lines
8989 runs-on: ubuntu-22.04
9090 timeout-minutes: 8
9191 steps:
92− - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
93− - uses: uraimo/run-on-arch-action@d94c13912ea685de38fccc1109385b83fd79427d # v3.0.1
92+ - uses: actions/checkout@v4
93+ - uses: uraimo/run-on-arch-action@v3
9494 name: make & test tcc (armv7-linux)
9595 with:
9696 arch: armv7
@@ -107,8 +107,8 @@ jobs: · 10 unmodified lines
107107 runs-on: ubuntu-22.04
108108 timeout-minutes: 8
109109 steps:
110− - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
111− - uses: uraimo/run-on-arch-action@d94c13912ea685de38fccc1109385b83fd79427d # v3.0.1
110+ - uses: actions/checkout@v4
111+ - uses: uraimo/run-on-arch-action@v3
112112 name: make & test tcc (aarch64-linux)
113113 with:
114114 arch: aarch64
@@ -125,8 +125,8 @@ jobs: · 10 unmodified lines
125125 runs-on: ubuntu-22.04
126126 timeout-minutes: 8
127127 steps:
128− - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
129− - uses: uraimo/run-on-arch-action@d94c13912ea685de38fccc1109385b83fd79427d # v3.0.1
128+ - uses: actions/checkout@v4
129+ - uses: uraimo/run-on-arch-action@v3
130130 name: make & test tcc (riscv64-linux)
131131 with:
132132 arch: riscv64

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t