]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
linux-user: Remove MAP_DENYWRITE from elfload.c
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 29 Jul 2025 21:33:58 +0000 (11:33 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 29 Aug 2025 21:04:04 +0000 (07:04 +1000)
The last use of this fallback was removed in bf858897b769.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
linux-user/elfload.c

index c0326928d45f8e1aaf38d58e28891e01eb57c2a0..8b92fba0f0abd9278a2a9edb23097bc9011c2042 100644 (file)
@@ -105,11 +105,6 @@ int info_is_fdpic(struct image_info *info)
     return info->personality == PER_LINUX_FDPIC;
 }
 
-/* this flag is uneffective under linux too, should be deleted */
-#ifndef MAP_DENYWRITE
-#define MAP_DENYWRITE 0
-#endif
-
 #if TARGET_BIG_ENDIAN
 #define ELF_DATA        ELFDATA2MSB
 #else