|
From: Tom H. <to...@co...> - 2005-03-29 13:53:09
|
A number of routines in vg_mylibc.c are simple wrappers around system calls which means that they are OS and/or platform specific and shouldn't be in the core code. In fact a number of them are currently disabled on amd64 because the system call they need to make is different there to x86-linux. One obvious answer would be to move them into the linux or x86-linux/amd64-linux directories as appropriate. They would to keep the VG_() designation though as it would be OS dependent whether they needed to be in the OS or platform directory and therefore have a VGO_() or VGP() designation. The only one that have been moved so far seems to be mmap which was done by creating a VGP_DO_MMAP macro although that is also used in a number of other places. Does anybody have any opinions on how best to deal with with this? and is anybody already working on resolving this or is it clear for me to take a look at it? Tom -- Tom Hughes (to...@co...) http://www.compton.nu/ |