Skip to content

Commit

Permalink
Don't need -z execstack after all.
Browse files Browse the repository at this point in the history
  • Loading branch information
Clifford T. Matthews committed Jun 6, 2009
1 parent 944f070 commit e33db7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/Makefile.am
Expand Up @@ -19,7 +19,7 @@ testbattery.c: tests.c maketestbattery.pl


syngentest_LDADD = ../runtime/libsyn68k.a syngentest_LDADD = ../runtime/libsyn68k.a


syngentest_LDFLAGS = -z execstack syngentest_LDFLAGS =


INCLUDES = -I$(srcdir)/include -I$(srcdir)/../include -I../include INCLUDES = -I$(srcdir)/include -I$(srcdir)/../include -I../include


Expand Down
2 changes: 1 addition & 1 deletion test/driver.c
Expand Up @@ -67,7 +67,7 @@ test_all_instructions (uint32 try_count)
#endif #endif
uint8 *m = mmap (DESIRED_PTR, uint8 *m = mmap (DESIRED_PTR,
(M_SIZE + SLOP + 4095) & ~4095, (M_SIZE + SLOP + 4095) & ~4095,
PROT_READ|PROT_WRITE, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_ANONYMOUS|MAP_FIXED|MAP_PRIVATE, -1, 0); MAP_ANONYMOUS|MAP_FIXED|MAP_PRIVATE, -1, 0);
#endif /* defined (__linux__) */ #endif /* defined (__linux__) */


Expand Down

0 comments on commit e33db7b

Please sign in to comment.