mirror of
https://github.com/ctm/syn68k.git
synced 2025-01-08 06:29:43 +00:00
Don't need -z execstack after all.
This commit is contained in:
parent
944f070990
commit
e33db7b097
@ -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
|
||||||
|
|
||||||
|
@ -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__) */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user