summary refs log tree commit diff stats
path: root/linux-user
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-07-29 11:33:58 -1000
committerRichard Henderson <richard.henderson@linaro.org>2025-08-30 07:04:04 +1000
commitdd1d0239a79c4e7947c901fcb1f232ecc0428a96 (patch)
tree28cad6b8ba90bd56a91226887f42dcfc6ae2408e /linux-user
parent5dcc0b62059e2330f2746fa691ac6791e9a14cc3 (diff)
downloadfocaccia-qemu-dd1d0239a79c4e7947c901fcb1f232ecc0428a96.tar.gz
focaccia-qemu-dd1d0239a79c4e7947c901fcb1f232ecc0428a96.zip
linux-user: Remove MAP_DENYWRITE from elfload.c
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>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/elfload.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index c0326928d4..8b92fba0f0 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -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