[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/kern
On Apr 21, 2013, at 2:15 AM, David Laight <david%l8s.co.uk@localhost> wrote:
> On Sat, Apr 20, 2013 at 02:17:17PM -0700, Matt Thomas wrote:
>> On Apr 20, 2013, at 11:04 AM, Christos Zoulas
>> <christos%NetBSD.org@localhost> wrote:
>>> Module Name: src
>>> Committed By: christos
>>> Date: Sat Apr 20 18:04:41 UTC 2013
>>> Modified Files:
>>> src/sys/kern: kern_exec.c
>>> Log Message:
>>> don't attempt to load elf64 on 32 bit machines
>> if the load address doesn't fit in 4GB.
>> I've run elf64(n64) on mips n32 kernel with no problems.
> Isn't an n32 kernel a 64bit one that uses 32bit pointers?
> A little unusual.
> Doesn't that require a COMPAT_64 layer in the kernel?
> Since user pointers will be 64bit and kernel ones only 32.
I cheated and used objcopy to convert a N32 binary to N64.
Main Index |
Thread Index |