From ce85d65bae842fad22fa8e9cb4ad122daeef7831 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 19 Oct 1998 15:22:14 +0000 Subject: Update. 1998-10-19 Ulrich Drepper * include/ldsodefs.h: New file. * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h. Remove change to avoid using _CALL_DL_FCT. * iconv/gconv_db.c: Likewise. * iconv/gconv_dl.c: Likewise. * iconv/skeleton.c: Likewise, here for DL_CALL_FCT. * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h. * nss/nsswitch.c: Likewise. * nss/nsswitch.h: Likewise. 1998-10-19 Philip Blundell * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the required libraries. * login/Makefile (otherlibs): Likewise. * nscd/Makefile (otherlibs): Likewise. * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs). * debug/Makefile (install-bin): Only build catchsegv if using ELF. * inet/Makefile: Add -DSTATIC_NSS to CFLAGS. 1998-10-19 Philip Blundell * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid and setfsuid. 1998-10-19 Andreas Jaeger * nscd/connections.c: Fix typos in comments and strings. * nscd/nscd.conf: Update according to recent changes to nscd. * nscd/cache.c (prune_cache): Remove wrong comment. copy_posix.mask for copy instruction. --- include/ldsodefs.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 include/ldsodefs.h (limited to 'include') diff --git a/include/ldsodefs.h b/include/ldsodefs.h new file mode 100644 index 0000000..ffc7b3c --- /dev/null +++ b/include/ldsodefs.h @@ -0,0 +1,15 @@ +/* We must use the appropriate version for the system. */ +#ifdef __ELF__ +# include +#else +/* We have no dynamic loading. Define the macros we need here as dummy + versions. */ +# ifndef _LDSODEFS_H +# define _LDSODEFS_H 1 + +/* Call a function through a pointer. */ +# define _CALL_DL_FCT(fctp, args) (*fctp) args +# define CALL_DL_FCT(fctp, args) (*fctp) args + +# endif /* ldsodefs.h */ +#endif -- cgit v1.1