lkml.org 
[lkml]   [2001]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] Re: Linux 2.4.5-ac6
On Tue, Jun 05, 2001 at 08:32:50PM +0200, Maciej W. Rozycki wrote:
> ((current->personality & ADDR_LIMIT_32BIT) ? 0x40000000 : TASK_SIZE / 2)
>
> to support 32-bit binaries. So if the personality is set appropriately
> for netscape, mmap() should work fine as is, placing maps in the low 4GB.

This works perfectly with ELF, but unfortunately netscape isn't recognized
as 32 bit binary.

> No need to patch arch_get_unmapped_area(), but OSF/1 compatibility code
> might need fixing. I suppose an OSF/1 binary must have an appropriate
> flag set in its header after building with the -taso option so that the
> system knows the binary wants 32-bit addressing.

I'm not sure if COFF headers have such flag at all. I'll check this.

Ivan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:54    [W:0.567 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site