[Midnightbsd-cvs] src [8785] trunk/sys/kern/imgact_elf.c: remove ia64 code
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Sep 25 23:11:51 EDT 2016
Revision: 8785
http://svnweb.midnightbsd.org/src/?rev=8785
Author: laffer1
Date: 2016-09-25 23:11:51 -0400 (Sun, 25 Sep 2016)
Log Message:
-----------
remove ia64 code
Modified Paths:
--------------
trunk/sys/kern/imgact_elf.c
Modified: trunk/sys/kern/imgact_elf.c
===================================================================
--- trunk/sys/kern/imgact_elf.c 2016-09-26 03:11:26 UTC (rev 8784)
+++ trunk/sys/kern/imgact_elf.c 2016-09-26 03:11:51 UTC (rev 8785)
@@ -819,16 +819,6 @@
if (phdr[i].p_memsz == 0)
break;
prot = __elfN(trans_prot)(phdr[i].p_flags);
-
-#if defined(__ia64__) && __ELF_WORD_SIZE == 32 && defined(IA32_ME_HARDER)
- /*
- * Some x86 binaries assume read == executable,
- * notably the M3 runtime and therefore cvsup
- */
- if (prot & VM_PROT_READ)
- prot |= VM_PROT_EXECUTE;
-#endif
-
if ((error = __elfN(load_section)(vmspace,
imgp->object, phdr[i].p_offset,
(caddr_t)(uintptr_t)phdr[i].p_vaddr + et_dyn_addr,
More information about the Midnightbsd-cvs
mailing list