aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-10-19 00:45:33 +0000
committerRoland McGrath <roland@gnu.org>1998-10-19 00:45:33 +0000
commit7d25696a35c32b242425aa0e77d1b4d938d1262e (patch)
tree4c2c785ca45bfb4c5db226da603efc76bcd65744
parent3f804c953da3ed97d8f50a258e6ac9ce671ede31 (diff)
downloadglibc-7d25696a35c32b242425aa0e77d1b4d938d1262e.tar
glibc-7d25696a35c32b242425aa0e77d1b4d938d1262e.tar.gz
glibc-7d25696a35c32b242425aa0e77d1b4d938d1262e.tar.bz2
glibc-7d25696a35c32b242425aa0e77d1b4d938d1262e.zip
1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add _HURD_THREADVAR_DL_ERROR. * hurd/Makefile (user-interfaces): Add login, password. * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
-rw-r--r--ChangeLog9
-rw-r--r--hurd/Makefile4
-rw-r--r--hurd/hurd/threadvar.h3
-rw-r--r--sysdeps/mach/hurd/Makefile4
4 files changed, 18 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 29b0976d8c..f0da07fdf8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
+
+ * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
+ _HURD_THREADVAR_DL_ERROR.
+
+ * hurd/Makefile (user-interfaces): Add login, password.
+
+ * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
+
1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
[submitted 1998-08-06]
diff --git a/hurd/Makefile b/hurd/Makefile
index 441c66c78c..85aa30ab88 100644
--- a/hurd/Makefile
+++ b/hurd/Makefile
@@ -35,7 +35,9 @@ user-interfaces := $(addprefix hurd/,\
process process_request \
msg msg_reply msg_request \
exec exec_startup crash interrupt \
- fs fsys io term tioctl socket ifsock)
+ fs fsys io term tioctl socket ifsock \
+ login password \
+ )
server-interfaces := hurd/msg faultexc
routines = hurdstartup hurdinit \
diff --git a/hurd/hurd/threadvar.h b/hurd/hurd/threadvar.h
index b10efe9ada..55cb5af3e8 100644
--- a/hurd/hurd/threadvar.h
+++ b/hurd/hurd/threadvar.h
@@ -1,5 +1,5 @@
/* Internal per-thread variables for the Hurd.
- Copyright (C) 1994, 1995, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1994, 95, 97, 98 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -61,6 +61,7 @@ enum __hurd_threadvar_index
_HURD_THREADVAR_SIGSTATE, /* This thread's `struct hurd_sigstate'. */
_HURD_THREADVAR_DYNAMIC_USER, /* Dynamically-assigned user variables. */
_HURD_THREADVAR_MALLOC, /* For use of malloc. */
+ _HURD_THREADVAR_DL_ERROR, /* For use of -ldl and dynamic linker. */
_HURD_THREADVAR_MAX /* Default value for __hurd_threadvar_max. */
};
diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile
index 42e9a79e7b..f87f530d52 100644
--- a/sysdeps/mach/hurd/Makefile
+++ b/sysdeps/mach/hurd/Makefile
@@ -25,6 +25,10 @@ subdirs := $(filter-out sunrpc,$(subdirs)) # XXX skip broken dirs
# Look for generated header files where they get created.
includes += -I$(..)hurd -I$(common-objpfx)hurd/
+# We use the style `if (err = call(...))' a lot in the Hurd code,
+# where we have a lot of functions that return zero or an errno code.
++cflags += -Wno-parentheses
+
# Do not use any assembly code from sysdeps/unix (and subdirectories).
# This bypasses all the system call stubs and uses any existing posix or
# generic C files instead.