aboutsummaryrefslogtreecommitdiff
path: root/include/ldsodefs.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-10-19 15:22:14 +0000
committerUlrich Drepper <drepper@redhat.com>1998-10-19 15:22:14 +0000
commitce85d65bae842fad22fa8e9cb4ad122daeef7831 (patch)
tree88b5d68fe4b1be9132a7a85840f001ff1a86c1b7 /include/ldsodefs.h
parent816e6eb5a786594223586976c08e337bc08b6f4e (diff)
downloadglibc-ce85d65bae842fad22fa8e9cb4ad122daeef7831.tar
glibc-ce85d65bae842fad22fa8e9cb4ad122daeef7831.tar.gz
glibc-ce85d65bae842fad22fa8e9cb4ad122daeef7831.tar.bz2
glibc-ce85d65bae842fad22fa8e9cb4ad122daeef7831.zip
Update.
1998-10-19 Ulrich Drepper <drepper@cygnus.com> * 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 <pb@nexus.co.uk> * 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 <pb@nexus.co.uk> * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid and setfsuid. 1998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> * 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.
Diffstat (limited to 'include/ldsodefs.h')
-rw-r--r--include/ldsodefs.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/ldsodefs.h b/include/ldsodefs.h
new file mode 100644
index 0000000000..ffc7b3c067
--- /dev/null
+++ b/include/ldsodefs.h
@@ -0,0 +1,15 @@
+/* We must use the appropriate version for the system. */
+#ifdef __ELF__
+# include <elf/ldsodefs.h>
+#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