diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-02-19 15:30:12 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-02-19 15:30:12 +0100 |
commit | 5c9d8f4fc5318fc740ec2a16bac5b8a29e7eb52d (patch) | |
tree | efe0fb80bdefbd723d88244d47ea737a5d942ad4 /defs.h | |
parent | 1ba85436def7da80971aeb902fbc6e52997a46fa (diff) | |
download | strace-5c9d8f4fc5318fc740ec2a16bac5b8a29e7eb52d.tar.gz strace-5c9d8f4fc5318fc740ec2a16bac5b8a29e7eb52d.tar.bz2 strace-5c9d8f4fc5318fc740ec2a16bac5b8a29e7eb52d.tar.xz |
Make it possible to to do test builds for NOMMU architectures
And while using it, I discovered that -D doesn't work too well
on NOMMU. Added a comment about it.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'defs.h')
-rw-r--r-- | defs.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -123,6 +123,9 @@ extern char *stpcpy(char *dst, const char *src); * This needs Linux kernel 3.4.x or later to work. */ #define USE_SEIZE 1 +/* For forcing NOMMU build, set to 1 */ +#define NOMMU_SYSTEM 0 + #if defined(MIPS) && _MIPS_SIM == _MIPS_SIM_ABI32 # define LINUX_MIPSO32 @@ -211,7 +214,7 @@ extern long ptrace(int, int, char *, long); # define PTRACE_POKEUSER PTRACE_POKEUSR #endif -#ifdef USE_SEIZE +#if USE_SEIZE # undef PTRACE_SEIZE # define PTRACE_SEIZE 0x4206 # undef PTRACE_INTERRUPT |