Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't need -z execstack after all.

  • Loading branch information...
commit e33db7b097a85ff396cb941e64f6a42c559cc205 1 parent 944f070
Clifford T. Matthews authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  test/Makefile.am
  2. +1 −1  test/driver.c
2  test/Makefile.am
View
@@ -19,7 +19,7 @@ testbattery.c: tests.c maketestbattery.pl
syngentest_LDADD = ../runtime/libsyn68k.a
-syngentest_LDFLAGS = -z execstack
+syngentest_LDFLAGS =
INCLUDES = -I$(srcdir)/include -I$(srcdir)/../include -I../include
2  test/driver.c
View
@@ -67,7 +67,7 @@ test_all_instructions (uint32 try_count)
#endif
uint8 *m = mmap (DESIRED_PTR,
(M_SIZE + SLOP + 4095) & ~4095,
- PROT_READ|PROT_WRITE,
+ PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_ANONYMOUS|MAP_FIXED|MAP_PRIVATE, -1, 0);
#endif /* defined (__linux__) */
Please sign in to comment.
Something went wrong with that request. Please try again.