summary refs log tree commit diff
path: root/hurd
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1996-09-21 20:05:50 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1996-09-21 20:05:50 +0000
commit8a080f40d83e12be3af8a5cbfb1f6a2f65bc9981 (patch)
tree3c206c61897359b4ce667a1f8ea4c8e2c1f73ce1 /hurd
parent8de8ca1b9429b95aab124e2351d0c45fcf2a369e (diff)
downloadglibc-8a080f40d83e12be3af8a5cbfb1f6a2f65bc9981.tar.gz
glibc-8a080f40d83e12be3af8a5cbfb1f6a2f65bc9981.tar.xz
glibc-8a080f40d83e12be3af8a5cbfb1f6a2f65bc9981.zip
*** empty log message ***
Sat Sep 21 14:59:22 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

	* shlib-versions (*-*-gnu*): Increment libc to 0.2 for upcoming
	binary distribution.

	* sysdeps/mach/hurd/Makefile (rtld-installed-name): Provide
	definition to override dangerous one in Makeconfig.

	* hurd/Makefile (install-headers-nosubdir): Install <rpc/netdb.h>.
	($(includedir)/rpc/netdb.h): New rule.
	[ This is XXX until sunrpc can be built; <rpc/netdb.h> is
	essential. ]

Fri Sep 20 16:06:06 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

	* sysdeps/mach/hurd/i386/init-first.c (_dl_start): Add definition,
	to guarantee link errors if this is included in ld.so.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/Makefile9
-rw-r--r--hurd/hurdinit.c3
2 files changed, 11 insertions, 1 deletions
diff --git a/hurd/Makefile b/hurd/Makefile
index 873e695297..363aeeaa98 100644
--- a/hurd/Makefile
+++ b/hurd/Makefile
@@ -68,6 +68,15 @@ distribute += hurdmalloc.h
 include ../mach/Machrules
 include ../Rules
 
+# XXX sunrpc doesn't build yet for Hurd, but one of its headers is
+# crucial nontheless.  So sysdeps/mach/hurd/Makefile elides sunrpc
+# from $(subdirs), and this rule arranges for the header in question
+# to get installed.
+install-headers-nosubdir: $(includedir)/rpc/netdb.h
+$(includedir)/rpc/netdb.h: $(top_srcdir)/sunrpc/rpc/netdb.h
+	$(do-install)
+
+
 # intr-rpc.defs defines the INTR_INTERFACE macro to make the generated RPC
 # stubs import <hurd/signal.h> and #define __mach_msg to
 # _hurd_intr_rpc_mach_msg.
diff --git a/hurd/hurdinit.c b/hurd/hurdinit.c
index df10b5d955..bc2334e69f 100644
--- a/hurd/hurdinit.c
+++ b/hurd/hurdinit.c
@@ -31,6 +31,8 @@ struct hurd_port *_hurd_ports;
 unsigned int _hurd_nports;
 mode_t _hurd_umask;
 sigset_t _hurdsig_traced;
+char **__libc_argv;
+
 
 error_t
 _hurd_ports_use (int which, error_t (*operate) (mach_port_t))
@@ -165,7 +167,6 @@ _hurd_setproc (process_t procserver)
 {
   error_t err;
   mach_port_t oldmsg;
-  extern char **__libc_argv;
 
   /* Give the proc server our message port.  */
   if (err = __proc_setmsgport (procserver, _hurd_msgport, &oldmsg))