diff options
| author | Mark Wielaard <[email protected]> | 2014-04-13 17:39:57 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2014-04-18 11:46:51 +0200 |
| commit | 3232479483cad695d1872b879128a23da3953a7d (patch) | |
| tree | 775fd4f2dc1620baa75c96e7d1e73fb882b57671 /libelf/elf_update.c | |
| parent | f7cdc74ed34adc539186385342d99b357c3dbb6b (diff) | |
Remove mudflap build option.
The --enable-mudflap configure build has been broken for 2 years without
anybody apparently noticing. GCC 4.9 removed mudflap support. Before
release we now run make distcheck with valgrind support. Removal of the
mudflap configure option simplifies the build a little.
Signed-off-by: Mark Wielaard <[email protected]>
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) |
