aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-21 04:13:24 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-21 04:13:24 +0000
commit52cea45760128eba0cc6108f3809e52bee553f9f (patch)
tree743b61263c0ab709ad2a7c827eff019d868afe93
parent511a00911549751db9254e5d81c1fcc1723db57e (diff)
downloadglibc-52cea45760128eba0cc6108f3809e52bee553f9f.zip
glibc-52cea45760128eba0cc6108f3809e52bee553f9f.tar.gz
glibc-52cea45760128eba0cc6108f3809e52bee553f9f.tar.bz2
Update.
* sysdeps/unix/sysv/linux/init-first.c (init): Remove personality call. It should not be necessary andis harmful for Alpha.
-rw-r--r--ChangeLog3
-rw-r--r--Makefile2
-rw-r--r--NAMESPACE56
-rw-r--r--manual/stdio.texi3
-rw-r--r--sysdeps/unix/sysv/linux/init-first.c7
5 files changed, 62 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 3c35713..3141a9e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
1999-08-20 Ulrich Drepper <drepper@cygnus.com>
+ * sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
+ call. It should not be necessary andis harmful for Alpha.
+
* sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
type. [PR libc/1269]
diff --git a/Makefile b/Makefile
index 2000f27..87eeeb0 100644
--- a/Makefile
+++ b/Makefile
@@ -255,7 +255,7 @@ distribute := README README.libm INSTALL FAQ FAQ.in NOTES NEWS BUGS \
version.h shlib-versions rpm/Makefile rpm/template \
rpm/rpmrc glibcbug.in abi-tags stub-tag.h \
test-skeleton.c include/des.h Versions.def \
- INTERFACE CONFORMANCE \
+ INTERFACE CONFORMANCE NAMESPACE \
$(addprefix scripts/, \
rellns-sh config.sub config.guess \
mkinstalldirs move-if-change install-sh \
diff --git a/NAMESPACE b/NAMESPACE
new file mode 100644
index 0000000..4d43a5d
--- /dev/null
+++ b/NAMESPACE
@@ -0,0 +1,56 @@
+Header Prefix Suffix
+
+aio.h aio_, lio_, AIO_, LIO_
+complex.h cerf{,f,l}, cerfc{,f,l}, cexp2{,f,l},
+ cexpm1{,f,l}, clog10{,f,l}, clog1p{,f,l},
+ clog2{,f,l}, clgamma{,f,l}, ctgamma{,f,l}
+ctype.h is[a-z], to[a-z]
+dirent.h d_
+errno.h E
+fcntl.h l_
+glob.h gl_, GLOB_
+grp.h gr_
+inttypes.h PRI[a-zX], SCN[a-zX]
+limits.h _MAX
+locale.h LC_[A-Z]
+mqueue.h mq_, MQ_
+ndbm.h dbm_
+poll.h pd_, ph_, ps_
+pthread.h pthread_, PTHREAD_
+pwd.h pw_
+regex.h re_, rm_
+sched.h sched_, SCHED_
+semaphore.h sem_, SEM_
+signal.h sa_, uc_, SIG[A-Z], SIG_[A-Z],
+ ss_, sv_
+ si_, SI_, sigev_, SIGEV_, sival_
+stdint.h int*_t, uint*_t, INT*_MAX, INT*_MIN,
+ INT*_C, UINT*_MAX, UINT*_MIN, UINT*_C
+stdlib.h str[a-z]
+string.h str[a-z], wcs[a-z]
+stropts.h bi_, ic_, l_, sl_, str_
+sys/ipc.h ipc_
+sys/mman.h shm_, MAP_, MCL_, MS_, PROT_
+sys/msg.h msg
+sys/resource.h rlim_, ru_
+sys/sem.h sem
+sys/shm.h shm
+sys/stat.h st_
+sys/statvfs.h f_
+sys/time.h fds_, it_, tv_, FD_
+sys/times.h tms_
+sys/uio.h iov_
+sys/utsname.h uts_
+sys/wait.h si_, W[A-Z], P_
+termios.h c_
+time.h tm_
+ clock_, timer_, it_, tv_,
+ CLOCK_, TIMER_
+ucontext.h uc_, SS_
+ulimit.h UL_
+utime.h utim_
+utmpx.h ut_ _LVL, _TIME, _PROCESS
+wchar.h wcs[a-z]
+wctype.h is[a-z], to[a-z]
+wordexp.h we_
+ANY header _t
diff --git a/manual/stdio.texi b/manual/stdio.texi
index 6610ae5..0f82864 100644
--- a/manual/stdio.texi
+++ b/manual/stdio.texi
@@ -3901,7 +3901,8 @@ make_message_string (const char *a, int b)
This section describes how you can make a stream that gets input from an
arbitrary data source or writes output to an arbitrary data sink
-programmed by you. We call these @dfn{custom streams}.
+programmed by you. We call these @dfn{custom streams}. The functions
+and types described here are all GNU extensions.
@c !!! this does not talk at all about the higher-level hooks
diff --git a/sysdeps/unix/sysv/linux/init-first.c b/sysdeps/unix/sysv/linux/init-first.c
index b8ee2bd..93adb90 100644
--- a/sysdeps/unix/sysv/linux/init-first.c
+++ b/sysdeps/unix/sysv/linux/init-first.c
@@ -128,13 +128,6 @@ init (int argc, char **argv, char **envp)
__libc_fatal ("FATAL: kernel too old\n");
}
- /* The `personality' system call takes one argument that chooses
- the "personality", i.e. the set of system calls and such. We
- must make this call first thing to disable emulation of some
- other system that might have been enabled by default based on
- the executable format. */
- __personality (PER_LINUX);
-
/* Set the FPU control word to the proper default value if the
kernel would use a different value. (In a static program we
don't have this information.) */