Only mark segment 0 as executable on 64-bit systems.  There it is harmless as we have a proper X bit in the page tables.  On 32-bit systems kernel .text is handled by an IBAT, so we don't need page table entries that are executable in the kernel pmap.
Only mark segment 0 as executable on 64-bit systems.  There it is harmless as
we have a proper X bit in the page tables.  On 32-bit systems kernel .text is
handled by an IBAT, so we don't need page table entries that are executable
in the kernel pmap.

ok mpi@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars