[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
- [PATCH 1/5] exec: remove support for transparently unbzip2ing executables, (continued)
- [PATCH 1/5] exec: remove support for transparently unbzip2ing executables, Justus Winter, 2013/08/15
- Re: [PATCH 1/5] exec: remove support for transparently unbzip2ing executables, Samuel Thibault, 2013/08/28
- Re: [PATCH 1/5] exec: remove support for transparently unbzip2ing executables, Justus Winter, 2013/08/29
- Re: [PATCH 1/5] exec: remove support for transparently unbzip2ing executables, Samuel Thibault, 2013/08/29
- Re: [PATCH 1/5] exec: remove support for transparently unbzip2ing executables, Justus Winter, 2013/08/29
- Re: [PATCH 1/5] exec: remove support for transparently unbzip2ing executables, Samuel Thibault, 2013/08/29
- Re: [PATCH 1/5] exec: remove support for transparently unbzip2ing executables, Justus Winter, 2013/08/29
- Re: [PATCH 1/5] exec: remove support for transparently unbzip2ing executables, Samuel Thibault, 2013/08/29
- Re: [PATCH 1/5] exec: remove support for transparently unbzip2ing executables, Richard Braun, 2013/08/29
- Re: [PATCH 1/5] exec: remove support for transparently unbzip2ing executables, Roland McGrath, 2013/08/29
[PATCH 3/5] exec: Remove #ifdef 0-out code doing nothing.,
Justus Winter <=
[PATCH 5/5] exec: remove the BFD code, Justus Winter, 2013/08/15
[PATCH 4/5] exec: Remove #ifdef 0-out code for user specified exec servers., Justus Winter, 2013/08/15
[PATCH 2/5] exec: remove support for transparently ungziping executables, Justus Winter, 2013/08/15