exec/exec.c (load_section): Remove unused code. --- exec/exec.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-)
diff --git a/exec/exec.c b/exec/exec.c index 0d3ec69..48409c0 100644 --- a/exec/exec.c +++ b/exec/exec.c @@ -164,23 +164,7 @@ load_section (void *section, struct execdata *u) anywhere = u->info.elf.anywhere; if (! anywhere) addr += u->info.elf.loadbase; - else -#if 0 - switch (elf_machine) - { - case EM_386: - case EM_486: - /* On the i386, programs normally load at 0x08000000, and - expect their data segment to be able to grow dynamically - upward from its start near that address. We need to make - sure that the dynamic linker is not mapped in a conflicting - address. */ - /* mask = 0xf8000000UL; */ /* XXX */ - break; - default: - break; - } -#endif + if (anywhere && addr < vm_page_size) addr = vm_page_size; } -- 1.7.10.4