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. */
12 /* Previously in TinyCC, ELF sections defined in assembly would always have the
23 execute bit not set, so you would get segmentation faults when code in these
34 sections 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 @@
1−AAAAAAAAA
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