* Makefile.in: Create libutil.a from bsdlib.o exports.
* bsdlib.cc (logwtmp): Move from syscalls.cc to here. (login): Ditto. (logout): Ditto. * winsup.h (EXPORT_ALIAS): New macro. * exec.cc: Define alias symbols using EXPORT_ALIAS macro. * syscalls.cc: Ditto. * times.cc: Ditto.
This commit is contained in:
@@ -35,8 +35,7 @@ execve (const char *path, char *const argv[], char *const envp[])
|
||||
return spawnve (_P_OVERLAY, path, argv, envp);
|
||||
}
|
||||
|
||||
extern "C" int _execve (const char *, char *const [], char *const [])
|
||||
__attribute__ ((alias ("execve")));
|
||||
EXPORT_ALIAS (execve, _execve)
|
||||
|
||||
extern "C" int
|
||||
execl (const char *path, const char *arg0, ...)
|
||||
|
Reference in New Issue
Block a user