|
From: <ks...@bi...> - 2002-04-28 11:23:31
|
Hi, Recently, I tried to upgrade my notebook from linux-2.4.9-abi to linux-2.4.18-abi. And found the sco development tool 'ld' is broken in linux-2.4.18-abi. After digging in the problem, I found the mmap function implementation is different in these two patches. In linux-2.4.9-abi/abi/sco/sysent.c, svr4_mmap is used; in linux-2.4.18-abi/abi/sco/sysent.c, sco_mmap is used. After modifying linux-2.4.18-abi/abi/sco/mmap.c from mapaddr = do_mmap(file, addr, len, prot, flags | MAP_FIXED, off); to mapaddr = do_mmap(file, addr, len, prot, flags, off); the tool 'ld' works again. Is this modification safe ? K.S.Chen |