diff options
Diffstat (limited to 'libelf/elf_update.c')
| -rw-r--r-- | libelf/elf_update.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libelf/elf_update.c b/libelf/elf_update.c index 31ba2537..54c20f50 100644 --- a/libelf/elf_update.c +++ b/libelf/elf_update.c @@ -69,14 +69,10 @@ write_file (Elf *elf, off_t size, int change_bo, size_t shnum) /* Try to map the file if this isn't done yet. */ if (elf->map_address == NULL && elf->cmd == ELF_C_WRITE_MMAP) { -#if _MUDFLAP - /* Mudflap doesn't grok that our mmap'd data is ok. */ -#else elf->map_address = mmap (NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, elf->fildes, 0); if (unlikely (elf->map_address == MAP_FAILED)) elf->map_address = NULL; -#endif } if (elf->map_address != NULL) |
