This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Possible bug in sysdeps/unix/sysv/linux/powerpc/mmap64.c


On Sun, May 20, 2001 at 05:20:45PM -0700, Richard Henderson wrote:
> On Sun, May 20, 2001 at 09:53:01AM -0700, H . J . Lu wrote:
> > I believe every port should implelement the mmap2 system call.
> 
> And the 64-bit ports would do this why?
> 

Of course, mmap2 is for 32-bit ports. Ok, let me rephrase

1. All 32-bit ports should have the mmap2 system call and use
sysdeps/unix/sysv/linux/mmap64.c.
2. All 64-bit ports don't need mmap2 and should have a dummy
sysdeps/unix/sysv/linux/$arch/mmap64.c.

You have to provide a dummy mmap64.c for your 64-bit port today. With
my mmap64.c patch, all 32-bit ports can use the same mmap64.c unlike
today, each 32-bit port does the same thing for mmap64.c. It is
ridiculous.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]