PROBLEM:	(QAR 39134)		(Patch ID: OSF360-350097)
********
Program translated with FreePort Express (SunOS --> Digital UNIX)
binary translator does not run correctly.

The problem is due to calls to mmap() specifying /dev/zero. 
The address returned was other than the address (hint) provided. 

Compile and run the following program to verify the problem exists:

#include <stdio.h>
#include <sys/types.h>
#include <fcntl.h>
#include <sys/mman.h>

main(argc, argv)
int argc;
char **argv;
{
        int fd;
        char *addr;

        if((fd = open("/dev/zero", O_RDWR)) == -1) {
                perror("mmap: open");
                exit(1);
        }

        if((addr = mmap(0x20000000, 8192, PROT_READ|PROT_WRITE,
                        MAP_PRIVATE, fd, 0L)) == (void *)-1) {
                perror("mmap: mmap");
                exit(1);
        }
        close(fd);

        if (addr == (char *)0x20000000)
                printf("SUCCESS\n");
        else
                printf("FAILURE: mapped /dev/zero at address 0x%lx\n", addr);
        exit(0);
}


FILE(s):

/usr/sys/BINARY/devz.o		subset OSFBIN350
CHECKSUM: 00497      6	   RCS: 1.1.10.2 (devz.c)
---------------------

