bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 3/5] exec: Remove #ifdef 0-out code doing nothing.


From: Justus Winter
Subject: [PATCH 3/5] exec: Remove #ifdef 0-out code doing nothing.
Date: Thu, 15 Aug 2013 18:41:52 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]