Newer mips kernels (post 4.7.0) assign execute permissions to loadable
program segments which originally did not have them as per the
information provided in the elf file itself.
Include mips32/mips64 in the list of architectures for which the address
space manager should allow the kernel to report execute permissions in
sync_check_mapping_callback.
Patch by Stefan Maksimovic.
have a sloppyXcheck mode which we enable on x86 and s390 - in this
mode we allow the kernel to report execute permission when we weren't
expecting it but not vice versa. */
-# if defined(VGA_x86) || defined (VGA_s390x)
+# if defined(VGA_x86) || defined (VGA_s390x) || \
+ defined(VGA_mips32) || defined(VGA_mips64)
sloppyXcheck = True;
# else
sloppyXcheck = False;