History

fix: tests broken by use of assembly

Jonathan M. Wilbur committed 2 years ago

Commit 1cee0901 parent f15008d4 files · +1 −1Browse files

Unified · Split

4 files
  1. tests/exec_section_in_asm.c +1 −0
  2. tests/tests2/133_exec_section_in_asm.expect +0 −1
  3. tests/tests2/133_exec_section_in_c.c +0 −0
  4. tests/tests2/133_exec_section_in_c.expect +0 −0
tests/exec_section_in_asm.crenamed from tests/tests2/133_exec_section_in_asm.c+1−0
@@ -1,3 +1,4 @@
1/* This test only works on x86-64. */
1/* Previously in TinyCC, ELF sections defined in assembly would always have the2/* Previously in TinyCC, ELF sections defined in assembly would always have the
2execute bit not set, so you would get segmentation faults when code in these3execute bit not set, so you would get segmentation faults when code in these
3sections was exectuted. This file is a minimal example of a file that will put4sections was exectuted. This file is a minimal example of a file that will put
tests/tests2/133_exec_section_in_asm.expect+0−1
@@ -1 +0,0 @@
1AAAAAAAAA
tests/tests2/133_exec_section_in_c.crenamed from tests/tests2/134_exec_section_in_c.c+0−0

File renamed without changes.

tests/tests2/133_exec_section_in_c.expectrenamed from tests/tests2/134_exec_section_in_c.expect+0−0

File renamed without changes.

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