Source-Changes-D archive

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

Re: CVS commit: src/sys/kern




To: David Laight <david%l8s.co.uk@localhost>

Subject: Re: CVS commit: src/sys/kern

From: Matt Thomas <matt%3am-software.com@localhost>

Date: Sun, 21 Apr 2013 07:40:51 -0700


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.



References:

Re: CVS commit: src/sys/kern
From: Matt Thomas

Re: CVS commit: src/sys/kern
From: David Laight




Prev by Date: Re: CVS commit: src/sys/kern

Next by Date: Re: CVS commit: src/lib/libc/locale

Previous by Thread: Re: CVS commit: src/sys/kern

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index