Re: [NEW-PATCH] exec: allow > 2GB executables to run on 64-bit systems

2007-12-06 Thread Andi Kleen
> Thanks Andi -- I just tested open_exec() w/O_LARGEFILE on an > i386 with a 2.5GB+ binary (mostly debuginfo), and it works as > expected. Interesting to note that the test binary couldn't > be compiled with i386 gcc, but it could be built with x86_64 > gcc -m32. I guess the i386 binutils or gcc

Re: [NEW-PATCH] exec: allow > 2GB executables to run on 64-bit systems

2007-12-06 Thread Dave Anderson
Andi Kleen wrote: Since Dave didn't post an updated patch. This is how I think what the patch should be. I also changed sys_uselib just to be complete. Thanks Andi -- I just tested open_exec() w/O_LARGEFILE on an i386 with a 2.5GB+ binary (mostly debuginfo), and it works as expected. Interest