1 Thu Jun 6 07:32:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
3 * resolv/gethnamaddr.c (struct hstorage): Make NAME field a pointer.
4 (_gethtbyname2): Remove ALIAS variable.
5 Initialize NAME field of SELF and TARGET to 0.
6 Add SELF_NAME_SIZE static variable.
7 Add loop to call gethostname until the space we allocated is enough.
8 Use malloced strings instead of fixed size buffers.
9 <stdlib.h>, <unistd.h>: New includes.
10 * sysdeps/generic/sys/socket.h (PF_INET6, AF_INET6): New macros.
12 * sysdeps/mach/hurd/errlist.c (_sys_errlist): Add EILSEQ.
13 (_sys_nerr): Initialize to 107.
14 Update _HURD_ERRNOS consistency check.
16 * stdlib/canonicalize.c (canonicalize): Use pathconf for PATH_MAX,
19 * login/login.c [!PATH_MAX] (PATH_MAX): Define to be 1024 if not
22 * sysdeps/mach/hurd/setitimer.c (timer_thread): Supply SIGCODE
23 argument to __msg_sig_post_request.
25 * hurd/hurdmalloc.c: Changes to bring in line with the hurd
27 (more_memory): Use assert_perror instead of MACH_CALL.
28 "cthread_internals.h": Include removed.
29 (realloc): Use LOG2_MIN_SIZE.
30 (LOG2_MIN_SIZE): New macro.
31 (realloc): Don't bother allocating a new block if the
32 new size request fits in the old one and doesn't waste any space.
33 Only free the old block if we successfully got a new one.
34 [MCHECK] (struct header): New type.
35 (union header): Only define if !MCHECK.
36 (HEADER_SIZE, HEADER_NEXT, HEADER_FREE, HEADER_CHECK): New macros.
37 [MCHECK] (MIN_SIZE): Add correct definition for this case.
38 (more_memory, malloc, free, realloc): Use above macros, and add
39 appropiate checks & frobs in MCHECK case.
41 Thu Jun 6 02:00:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
43 * Makerules (distinfo-vars): Don't write constant line to frob sources.
44 * Make-dist (sources): Append $(elided-routines) and $(extra-libs)
47 Tue Jun 4 22:03:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
49 * sysdeps/m68k/fpu/__math.h: Define long double versions of
52 * sysdeps/m68k/fpu/e_asinl.c, sysdeps/m68k/fpu/e_atanl.c,
53 sysdeps/m68k/fpu/e_acosl.c, sysdeps/m68k/fpu/e_expl.c,
54 sysdeps/m68k/fpu/e_fmodl.c, sysdeps/m68k/fpu/e_log10l.c,
55 sysdeps/m68k/fpu/e_logl.c, sysdeps/m68k/fpu/e_powl.c,
56 sysdeps/m68k/fpu/e_remainderl.c, sysdeps/m68k/fpu/e_scalbl.c,
57 sysdeps/m68k/fpu/e_sinhl.c, sysdeps/m68k/fpu/e_sqrtl.c,
58 sysdeps/m68k/fpu/k_cosl.c, sysdeps/m68k/fpu/k_sinl.c,
59 sysdeps/m68k/fpu/k_tanl.c, sysdeps/m68k/fpu/s_atanl.c,
60 sysdeps/m68k/fpu/s_ceill.c, sysdeps/m68k/fpu/s_cosl.c,
61 sysdeps/m68k/fpu/s_expm1l.c, sysdeps/m68k/fpu/s_fabsl.c,
62 sysdeps/m68k/fpu/s_finitel.c, sysdeps/m68k/fpu/s_floorl.c,
63 sysdeps/m68k/fpu/s_frexpl.c, sysdeps/m68k/fpu/s_ilogbl.c,
64 sysdeps/m68k/fpu/s_isinfl.c, sysdeps/m68k/fpu/s_isnanl.c,
65 sysdeps/m68k/fpu/s_ldexpl.c, sysdeps/m68k/fpu/s_log1pl.c,
66 sysdeps/m68k/fpu/s_logbl.c, sysdeps/m68k/fpu/s_modfl.c,
67 sysdeps/m68k/fpu/s_rintl.c, sysdeps/m68k/fpu/s_scalbnl.c,
68 sysdeps/m68k/fpu/s_significandl.c, sysdeps/m68k/fpu/s_sinl.c,
69 sysdeps/m68k/fpu/s_tanhl.c, sysdeps/m68k/fpu/s_tanl.c: New files.
71 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_fmod.c,
72 sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_sin.c,
73 sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/s_atan.c,
74 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_ilogb.c,
75 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_ldexp.c,
76 sysdeps/m68k/fpu/s_modf.c: Define generic functions using FUNC and
77 float_type with appropriate defaults.
79 * sysdeps/m68k/fpu/e_acosf.c, sysdeps/m68k/fpu/e_fmodf.c,
80 sysdeps/m68k/fpu/k_cosf.c, sysdeps/m68k/fpu/k_sinf.c,
81 sysdeps/m68k/fpu/k_tanf.c, sysdeps/m68k/fpu/s_atanf.c,
82 sysdeps/m68k/fpu/s_frexpf.c, sysdeps/m68k/fpu/s_ilogbf.c,
83 sysdeps/m68k/fpu/s_isinff.c, sysdeps/m68k/fpu/s_ldexpf.c,
84 sysdeps/m68k/fpu/s_modff.c: Include the corresponding double
85 versions with appropriate definitions to get float functions,
86 instead of defining them directly.
88 * sysdeps/m68k/fpu/acos.c: File removed.
89 * sysdeps/m68k/fpu/asin.c: File removed.
90 * sysdeps/m68k/fpu/atan.c: File removed.
91 * sysdeps/m68k/fpu/atan2.c: File removed.
92 * sysdeps/m68k/fpu/atanh.c: File removed.
93 * sysdeps/m68k/fpu/ceil.c: File removed.
94 * sysdeps/m68k/fpu/cos.c: File removed.
95 * sysdeps/m68k/fpu/cosh.c: File removed.
96 * sysdeps/m68k/fpu/drem.c: File removed.
97 * sysdeps/m68k/fpu/exp.c: File removed.
98 * sysdeps/m68k/fpu/expm1.c: File removed.
99 * sysdeps/m68k/fpu/fabs.c: File removed.
100 * sysdeps/m68k/fpu/fl.h: File removed.
101 * sysdeps/m68k/fpu/floor.c: File removed.
102 * sysdeps/m68k/fpu/fmod.c: File removed.
103 * sysdeps/m68k/fpu/frexp.c: File removed.
104 * sysdeps/m68k/fpu/isinf.c: File removed.
105 * sysdeps/m68k/fpu/isinfl.c: File removed.
106 * sysdeps/m68k/fpu/isnan.c: File removed.
107 * sysdeps/m68k/fpu/isnanl.c: File removed.
108 * sysdeps/m68k/fpu/ldexp.c: File removed.
109 * sysdeps/m68k/fpu/log.c: File removed.
110 * sysdeps/m68k/fpu/log10.c: File removed.
111 * sysdeps/m68k/fpu/log1p.c: File removed.
112 * sysdeps/m68k/fpu/logb.c: File removed.
113 * sysdeps/m68k/fpu/pow.c: File removed.
114 * sysdeps/m68k/fpu/rint.c: File removed.
115 * sysdeps/m68k/fpu/sin.c: File removed.
116 * sysdeps/m68k/fpu/sinh.c: File removed.
117 * sysdeps/m68k/fpu/sqrt.c: File removed.
118 * sysdeps/m68k/fpu/tan.c: File removed.
119 * sysdeps/m68k/fpu/tanh.c: File removed.
121 Thu Jun 6 00:02:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
123 * sysdeps/unix/sysv/linux/syscalls.list: Add select (the syscall name
125 * sysdeps/unix/sysv/linux/select.S: File removed.
127 * sysdeps/unix/sysv/linux/m68k/select.S: File removed; obsolete with
128 current kernels, generic linux version is fine.
130 * locale/Makefile: Add vpath for %.gperf to programs.
132 * Make-dist (+tsrcs): Variable removed.
133 (dist): Process $^ here instead of using $(+tsrcs).
135 * sysdeps/unix/sysv/linux/Makefile (install-others): Don't set.
136 ($(includedir)/sys/syscall.h): Target removed.
137 (sysdep_headers): Add syscall-list.h.
138 ($(objpfx)syscall-%.[dh]): New rule to build syscall-list.[dh].
139 (generated): Add those.
140 * sysdeps/unix/sysv/linux/syscall.h: Include <syscall-list.h>.
142 Wed Jun 5 15:57:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
144 * misc/sys/syscall.h: New file.
145 * misc/Makefile (headers): Add sys/syscall.h.
147 * time/tzfile.h, time/private.h, time/zdump.c, time/zic.c,
148 time/africa, time/asia, time/australasia, time/europe,
149 time/northamerica, time/southamerica: Updated from ADO 96h.
151 * Make-dist (all-headers): Filter $(sysdep_headers) out of $(headers).
152 (try-sysdeps, +sysdep-names): Check sysdeps/libm-ieee754 too.
154 * Makerules (distinfo-vars): Add sysdep_headers.
155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Append to
156 this instead of $(headers).
157 * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
158 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
160 * Make-dist [subdirs-dirs]: Don't prefix $(subdir-dirs) with
161 $(subdir); we are already there.
163 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: Removed.
165 * mach/Machrules: Undo last change.
166 (mach-generated): List .uh and .__h files only for $(user-interfaces),
167 not for each .h in $(interface-headers); server-interfaces have no .uh
170 Wed Jun 5 15:42:51 1996 Miles Bader <miles@gnu.ai.mit.edu>
172 * mach/Machrules (%_server.uh, %_server.__h): New rules, so that the
173 corrsponding .defs file with without the `_server' will be used.
175 * mach/Makefile (mach/mach_interface.defs): Renamed from
177 (mach/memory_object_user.defs): New variable.
179 Wed Jun 5 15:10:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
181 * Make-dist [subdir-dirs]: Set vpath for %, not just %.c.
183 * locale/Makefile (subdir-dirs): New variable.
185 Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
187 * Makerules (distinfo-vars): Add sysdep_routines.
189 * mach/Machrules (include-%.defs): New canned sequence.
190 Change all uses of `#include <$*.defs>' in cmds to use it.
191 * mach/Makefile (mach_interface.defs): New variable, set to mach.defs.
193 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle RESOLVE being
194 null in all cases but R_386_COPY.
197 Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
199 * sysdeps/unix/bsd/ultrix4/mips/Dist: Updated.
200 * sysdeps/unix/bsd/ultrix4/Dist: Removed.
201 * sysdeps/unix/sysv/sysv4/Dist: Updated.
202 * sysdeps/unix/sysv/sco3.2.4/Dist: Removed.
203 * sysdeps/unix/sysv/irix4/Dist: Updated.
204 * sysdeps/unix/sysv/linux/i386/Dist: Removed.
205 * sysdeps/unix/sysv/Dist: Updated.
206 * sysdeps/unix/bsd/sun/sunos4/Dist: Removed.
207 * sysdeps/unix/bsd/sony/newsos4/Dist: Removed.
208 * sysdeps/gnu/Dist: New file.
209 * sysdeps/alpha/Dist: Updated.
210 * sysdeps/mach/hurd/Dist: Updated.
212 * Make-dist [subdir-dirs]: Set a vpath for %.c.
214 * Make-dist (README): Fix typo in cvs cmd.
216 * elf/dl-lookup.c (_dl_lookup_symbol): Fix typos in last change.
217 Comment out ref to nonexistent _dl_close.
219 Tue Jun 4 21:01:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
221 * math/Makefile (libm-support, libm-calls): New variables.
222 (libm-routines): Construct this from those.
223 (calls): New variable.
224 (routines): Construct this from it.
226 * resolv/res_debug.c: Add missing #include <ctype.h>.
228 * sysdeps/unix/getlogin.c: Must pass struct utmp ptr to getutline_r.
229 * sysdeps/unix/getlogin_r.c: Likewise.
231 * sysdeps/libm-ieee754/w_hypotl.c: Fix typo.
233 * sysdeps/libm-ieee754/w_cabsl.c: __cabsl_complex -> __cabs_complexl
235 * math/Makefile (long-m-routines): Define recursive variable as
236 $(long-m-$(long-double-fcts)).
237 (long-m-yes): Put list of routines here.
238 (long-c-routines, long-c-yes): Likewise.
240 * sysdeps/unix/sysv/linux/schedbits.h: File removed.
242 * sysdeps/i386/Makefile (long-double-fcts): New variable, set to yes.
243 * sysdeps/m68k/Makefile: Likewise.
245 * math/Makefile [$(long-double-fcts)!=yes] (CPPFLAGS): Append
248 * sysdeps/mach/hurd/getlogin_r.c: New file.
250 Wed Jun 5 02:11:30 1996 Ulrich Drepper <drepper@cygnus.com>
252 * io/Makefile (routines): Add ttyname_r.
254 * resolv/res_debug.c, resolv/resolv.h: Update from bind-4.3.4-T4A.
256 * sysdeps/libm-i387/e_asinl.S, sysdeps/libm-i387/e_atan2l.S,
257 sysdeps/libm-i387/e_expl.S, sysdeps/libm-i387/e_fmodl.S,
258 sysdeps/libm-i387/e_log10l.S, sysdeps/libm-i387/e_logl.S,
259 sysdeps/libm-i387/e_remainderl.S, sysdeps/libm-i387/e_scalbl.S,
260 sysdeps/libm-i387/e_sqrtl.S, sysdeps/libm-i387/s_atanl.S,
261 sysdeps/libm-i387/s_cosl.S, sysdeps/libm-i387/s_ilogbl.S,
262 sysdeps/libm-i387/s_log1pl.S, sysdeps/libm-i387/s_logbl.S,
263 sysdeps/libm-i387/s_scalbnl.S, sysdeps/libm-i387/s_sinl.S,
264 sysdeps/libm-i387/s_tanl.S: New files. i387 assembler versions
265 of `long double' math functions.
267 * sysdeps/libm-ieee754/k_standard.c: Add handling for errors
268 in long double functions.
270 * sysdeps/libm-ieee754/s_ilogbl.c, sysdeps/libm-ieee754/s_logbl.c,
271 sysdeps/libm-ieee754/s_modfl.c: New files. Generic versions
272 of `long double' math functions.
274 * sysdeps/libm-ieee754/s_isinf.c [NO_LONG_DOUBLE]: Add string
277 * sysdeps/libm-ieee754/w_acoshl.c, sysdeps/libm-ieee754/w_acosl.c,
278 sysdeps/libm-ieee754/w_asinl.c, sysdeps/libm-ieee754/w_atan2l.c,
279 sysdeps/libm-ieee754/w_atanhl.c, sysdeps/libm-ieee754/w_cabsl.c,
280 sysdeps/libm-ieee754/w_coshl.c, sysdeps/libm-ieee754/w_dreml.c,
281 sysdeps/libm-ieee754/w_expl.c, sysdeps/libm-ieee754/w_fmodl.c,
282 sysdeps/libm-ieee754/w_gammal.c, sysdeps/libm-ieee754/w_gammal_r.c,
283 sysdeps/libm-ieee754/w_hypotl.c, sysdeps/libm-ieee754/w_j0l.c,
284 sysdeps/libm-ieee754/w_j1l.c, sysdeps/libm-ieee754/w_jnl.c,
285 sysdeps/libm-ieee754/w_lgammal.c, sysdeps/libm-ieee754/w_lgammal_r.c,
286 sysdeps/libm-ieee754/w_log10l.c, sysdeps/libm-ieee754/w_logl.c,
287 sysdeps/libm-ieee754/w_powl.c, sysdeps/libm-ieee754/w_remainderl.c,
288 sysdeps/libm-ieee754/w_scalbl.c, sysdeps/libm-ieee754/w_sinhl.c,
289 sysdeps/libm-ieee754/w_sqrtl.c: New files. Wrapper functions
290 around long double function implementations.
292 * sysdeps/posix/ttyname_r.c (ttyname_r): Use _D_EXACT_NAMLEN
293 to determine length of directory entry name.
295 * posix/Makefile (routines): Add getlogin_r.
296 * posix/unistd.h: Add prototype for getlogin_r.
297 * sysdeps/stub/getlogin_r.c: New file. Reentrant version of
298 getlogin function, specified in P1003.1c/D6. Stub version.
299 * sysdeps/unix/getlogin.c (getlogin): Use ttyname_r instead of
300 ttyname. This avoids saving and restoring the old content.
301 Also use setutent_r, getutline_r and endutent_r instead of
302 accing UTMP file directly.
303 * sysdeps/unix/getlogin_r.c: New file. Reentrant version of
304 getlogin function, specified in P1003.1c/D6.
306 Tue Jun 4 20:10:09 1996 J.T. Conklin <jtc@cygnus.com>
308 * sysdeps/libm-i387/s_finitef.S: Fix mask for exponent.
310 Tue Jun 4 18:57:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
312 * elf/dl-lookup.c (_dl_lookup_symbol): Grok magical undefined symbols
313 _GNU_libc_dl_{open,close,symbol} and resolve them to dl functions.
315 * elf/rtld.c (rtld_map): Renamed to _dl_rtld_map, made global.
316 * elf/link.h: Declare _dl_rtld_map.
318 * elf/dl-lookup.c (_dl_symbol_value): New function.
319 * elf/link.h: Declare it.
321 * elf/dladdr.c: Remove #include <setjmp.h>, we don't use it.
323 * shlib-versions: Set libdl=2.
325 * elf/dl-deps.c (_dl_map_object_deps): Use a linked list of alloca'd
326 elements and then scan it to fill the single malloc'd array, instead
327 of using realloc to grow the array in the first pass. _dl_map_object
328 may do some mallocs that break our stream of reallocs, and the minimal
329 realloc can't handle that.
331 * elf/dl-init.c (_dl_init_next): Take argument, link_map whose
332 searchlist describes the piece of the DT_NEEDED graph to be
334 * elf/link.h: Update prototype.
335 * sysdeps/i386/dl-machine.h (RTLD_START): Pass _dl_loaded as argument
337 * sysdeps/m68k/dl-machine.h: Likewise.
338 * elf/dl-deps.c (_dl_open): Pass new object as arg to _dl_init_next.
340 * elf/link.h (struct link_map): Add `l_reserved' member, soaking up
341 extra bits in last byte.
342 * elf/dl-deps.c (_dl_map_object_deps): Use that for mark bit to avoid
343 putting dup elts in search list.
345 * elf/dlclose.c: Use MAP->l_searchlist to find deps to close.
347 * elf/dlsym.c: Don't tweak linked list. Scope array given to
348 _dl_lookup_symbol does the right thing.
350 * elf/Makefile (subdir_lib): Change this target to lib-noranlib.
351 (lib-noranlib): Depend on on $(extra-objs).
353 * errno.h: Move __END_DECLS out of #ifdef's so it matches
356 Tue Jun 4 02:25:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
358 * stdio-common/vfprintf.c [USE_IN_LIBIO] (size_t): Don't define as
359 macro. _IO_size_t is just an alias for the real size_t anyway.
361 * elf/Makefile (libdl-routines): Add dladdr.
362 * elf/dladdr.c: New file.
363 * elf/dlfcn.h (Dl_info): New typedef.
364 (dladdr): Declare it.
366 * sysdeps/libm-i387/s_finite.S: Use `setne' instead of `setnel'.
368 * intl/l10nflist.c: Fix conditional on #include <argz.h>.
370 * libio/stdio.h (FOPEN_MAX, FILENAME_MAX, TMP_MAX, L_tmpnam): Macros
371 removed. Instead, include <stdio_lim.h>.
373 * libio/_G_config.h: New file.
374 * libio/Makefile (headers): Add _G_config.h.
376 * MakeTAGS (po/errlist.pot): Extract from sysdeps/gnu/errlist.c.
378 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Define
379 this macro too; current Linux kernels test that instead of
380 _LINUX_TYPES_DONT_EXPORT.
382 * elf/linux-compat.c (_init): Pass reloc_addr arg to _dl_lookup_symbol.
384 * elf/dl-lookup.c (_dl_lookup_symbol): Use l_searchlist.
386 * elf/dl-deps.c: New file.
387 * elf/Makefile (rtld-routines): Add dl-deps.
388 * elf/link.h: Declare _dl_map_object_deps, _dl_open.
389 * elf/rtld.c (dl_main): Use _dl_map_object_deps.
390 * elf/dlopen.c: Use _dl_open.
392 * elf/rtld.c (dl_main): Remove BEFORE_RTLD variable and list
393 frobnication based on its value. Detach RTLD_MAP from the chain if
394 its l_opencount is zero after loading deps.
396 * elf/dlfcn.h (RTLD_BINDING_MASK): New macro.
398 * elf/link.h (struct link_map): Replace l_deps_loaded flag member with
399 `struct link_map **l_searchlist' and `unsigned int l_nsearchlist'.
400 * elf/dl-lookup.c (_dl_lookup_symbol): Make SYMBOL_SCOPE arg an array
401 of two link_map ptrs. Search the maps in the l_searchlist of each
402 elt that is not null.
403 * elf/dl-reloc.c (_dl_relocate_object): Pass proper SCOPE array.
404 * elf/dl-runtime.c: Likewise.
405 * elf/dlsym.c: Likewise.
406 * elf/rtld.c (dl_main): Likewise.
408 * elf/dl-minimal.c (realloc): Support realloc of the block most
409 recently returned by the minimal malloc.
411 Tue Jun 4 00:16:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
413 * sysdeps/gnu/errlist.awk: Produce N_("..."), not _N("...").
415 * intl: Updated from gettext-0.10.13.
416 * intl/localealias.c, intl/dcgettext.c [_LIBC]: Define HAVE_ALLOCA.
418 * signal/siggetmask.c: New file. Wrapper around sigblock with
419 link_warning about obsolescence.
420 * signal/Makefile (routines): Add siggetmask.
422 * sysdeps/gnu/errlist.awk: New file, adapted from ...
423 * sysdeps/mach/hurd/errlist.awk: File removed, above file replaces it.
424 * sysdeps/mach/hurd/Makefile (errlist.c): Target removed.
425 * sysdeps/gnu/Makefile: New file.
426 (sysdeps/gnu/errlist.c): Make the errlist.c generation rule into this.
428 Mon Jun 3 21:03:54 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
430 * manual/errno.texi (Error Codes): Add placeholder items for missing
431 Linux/i386 errno codes, with perror text but no documentation.
432 Some existing perror texts changed.
434 * malloc/mcheck.c (freehook, reallochook): Handle null pointer args.
436 * hurd/hurdsig.c (_hurd_internal_post_signal): When setting ACT to
437 `ignore, resume the thread if SS_SUSPENDED, regardless of old action.
439 Sun Jun 2 20:14:30 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
441 * locale/programs/linereader.c (lr_open): Don't pass NULL to
442 xstrdup; fix memory leak.
443 (lr_close): Fix memory leak.
445 Mon Jun 3 15:58:22 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
447 * hurd/hurdsig.c (_hurd_internal_post_signal): When turning the action
448 for a HANDLE signal to IGNORE because the signal is blocked, clean
449 up any pending suspension left over from a call to resume.
451 Mon Jun 3 00:30:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
453 * elf/dl-lookup.c (_dl_lookup_symbol): Take new arg RELOC_ADDR and
454 don't allow a defn resolving to that address.
456 * elf/link.h: Update prototype and comment.
457 * elf/dl-runtime.c (fixup): Define local `resolve' function and pass
458 it to elf_machine_relplt.
459 * elf/dl-reloc.c (_dl_relocate_object: resolve): Take new arg
460 RELOC_ADDR and pass it through to _dl_lookup_symbol.
461 * elf/do-rel.h (elf_dynamic_do_rel): Pass RESOLVE to elf_machine_rel
462 instead of calling it ourselves and passing its results.
463 (elf_dynamic_do_rel): RESOLVE fn takes new arg RELOC_ADDR.
464 * elf/rtld.c (dl_main): Pass 0 for RELOC_ADDR to _dl_lookup_symbol.
465 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove SYM_LOADADDR
466 arg. Add RESOLVE function ptr arg. Call *RESOLVE as necessary.
467 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
468 * sysdeps/stub/dl-machine.h: Likewise.
470 Sun Jun 2 14:56:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
472 * csu/initfini.c (_fini): Add extern decl for i_am_not_a_leaf.
474 * elf/dlfcn.h (dl_open_mode): Enumerated type removed.
475 (RTLD_LAZY, RTLD_NOW): Define these as macros instead.
476 (RTLD_GLOBAL): New macro.
477 (dlopen): Take arg of type int instead of dl_open_mode.
478 * elf/dlopen.c: Likewise.
480 * math/math.h (_Mldbl): New macro, either produces L suffix or not.
481 (M_*): Use it for these constants.
483 * elf/dl-lookup.c (_dl_lookup_symbol): Arg NOSELF renamed to NOPLT.
484 Reject SHN_UNDEF defns iff NOPLT is nonzero.
485 * elf/link.h (_dl_lookup_symbol): Update prototype and comment.
486 * elf/dl-runtime.c (fixup): Pass 1 to _dl_lookup_symbol for NOPLT.
487 * elf/dlsym.c (dlsym): Pass 0.
488 * elf/rtld.c (dl_main): Likewise.
489 * elf/dl-reloc.c (_dl_relocate_object: resolve): Second arg R_OFFSET
490 replaced with NOPLT flag. Pass it through to _dl_lookup_symbol.
491 * elf/do-rel.h (elf_dynamic_do_rel): Update prototype of RESOLVE arg.
492 Pass `elf_machine_pltrel_p (R->r_type)' result as NOPLT flag value.
493 * sysdeps/i386/dl-machine.h (elf_machine_pltrel_p): New macro.
494 * sysdeps/m68k/dl-machine.h (elf_machine_pltrel_p): Likewise.
495 * sysdeps/stub/dl-machine.h (elf_machine_pltrel_p): Likewise.
497 * login/pututline_r.c: Fix typo in sizeof for DATA_TMP alloca.
499 * sysdeps/generic/gnu/types.h (__clock_t): New type.
501 Wed May 29 00:57:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
503 * sysdeps/unix/sysv/linux/gnu/types.h (__clock_t, __fsid_t): Define
505 * time/time.h (clock_t): Include <gnu/types.h> and define using
508 * time/Makefile (tests): Add test-tz.
510 * time/test-tz.c: New test.
512 * time/clocktest.c: Rewrite to test more meaningfully.
514 * sysdeps/unix/sysv/linux/syscalls.list: Add bdflush,
515 create_module, delete_module, get_kernel_syms, init_module,
518 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Define as 5
519 instead of SYMLOOP_MAX, which is nowhere to be found.
521 * sysdeps/unix/sysv/linux/sys/msq_buf.h,
522 sysdeps/unix/sysv/linux/sys/sem_buf.h,
523 sysdeps/unix/sysv/linux/sys/shm_buf.h [__USE_MISC]: Add more
524 control ops and datastructures.
526 * sysdeps/unix/sysv/linux/sys/io.h: New file declaring low-level
527 I/O related functions.
529 * sysdeps/unix/sysv/linux/sys/kdaemon.h: New file declaring kernel
530 daemon related functions/operations.
532 * sysdeps/unix/sysv/linux/sys/klog.h: New file declaring kernel
533 logging related functions/operations.
535 * sysdeps/unix/sysv/linux/sys/module.h: New file declaring kernel
536 module related functions/operations.
538 * sysdeps/unix/sysv/linux/speed.c: Only do "mention this twice" hack
539 for non-Alpha based Linux systems.
541 * sysdeps/unix/sysv/linux/alpha/speed.c: Remove.
543 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/module.h,
544 sys/io.h, sys/klog.h, and sys/kdaemon.h.
546 * sysdeps/unix/sysdep.h (END): Define empty END macro for
547 platforms that don't need some sort of end directive at the
550 * sysdeps/unix/make-syscalls.sh: Emit END($strong) at end of
551 syscall wrapper to allow correct generation of debugging
554 * sysdeps/unix/alpha/sysdep.h (END): Redefine to use .end
555 directive for both ELF and ECOFF.
556 (ret): Delete macro. It was a dangerous macro and unnecessary
557 since the Alpha assemblers recognizes "ret" as a macro themselves.
559 * sysdeps/gnu/utmpbits.h (struct utmp): Move ut_tv behind
560 ut_session to guarantee long alignment. This is important for
561 Linux/Alpha since ut_tv.tv_sec is 32 bits and time_t is 64 bits.
562 This will all get cleaned up as programs start to use ut_tv
565 * sysdeps/alpha/divrem.h: Include <sysdep.h> instead of <*/regdef.h>.
567 * sysdeps/alpha/bsd-_setjmp.S (setjmp): Renamed entry point to
570 * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
571 sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S,
572 sysdeps/alpha/copysign.S, sysdeps/alpha/divrem.h,
573 sysdeps/alpha/fabs.S, sysdeps/alpha/ffs.S, sysdeps/alpha/htonl.S,
574 sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
575 sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
576 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
577 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
578 sysdeps/unix/sysv/linux/alpha/llseek.S,
579 sysdeps/unix/sysv/linux/alpha/pipe.S,
580 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
581 sysdeps/unix/sysv/linux/alpha/sysdep.S: Use END macro instead of
584 * csu/initfini.c (_fini): Tell gcc that _fini is not a leaf
585 function by having it contain a dummy function call.
587 * configure.in (config_machine): Don't make ELF the default for
588 Linux/Alpha just yet (use --with-elf instead).
589 (.init/.fini check): Generate .text to ensure function start and
590 end are in same section.
592 * sysdeps/unix/bsd/osf/alpha/brk.S,
593 sysdeps/unix/sysv/linux/alpha/brk.S (__curbrk): Store the entire
594 break value, not just the low 32 bits to accomodate large
597 Tue May 28 10:46:04 1996 Richard Henderson <rth@tamu.edu>
599 * sysdeps/unix/sysv/linux/alpha/brk.S: Rather than attempt to
600 dynamically resolve _end for initializing __curbrk, support the
603 * sysdeps/alpha/bb_init_func.S: Don't make `init' an external symbol.
605 * sysdeps/alpha/bsd-_setjmp.S: The function is _setjmp not setjmp.
607 Sun May 26 22:17:38 1996 Richard Henderson <rth@tamu.edu>
609 * stdlib/lcong48_r.c, stdlib/seed48_r.c, stdlib/strtod.c,
610 stdlib/strtol.c: Include <string.h> for mem* and str* fns used.
612 Thu May 23 02:15:56 1996 David Mosberger-Tang <davidm@azstarnet.com>
614 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/io.h,
615 sys/klog.h, and sys/kdaemon.h.
617 * sysdeps/unix/sysv/linux/sys/io.h: New file.
618 * sysdeps/unix/sysv/linux/sys/klog.h: Ditto.
619 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Ditto.
621 * sysdeps/unix/alpha/sysdep.h (ret): Remove macro. It is
622 dangerous and unnecessary since both OSF/1 as and gas define "ret"
623 as a pseudo-instruction.
625 Sat Jun 1 17:18:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
627 * time/tzset.c (__tzset): Clear tz_rules name pointers after freeing
628 them. Bug found by David Mosberger-Tang.
630 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Use __ptr_t instead
633 * extra-lib.mk (extra-objs): Use patsubst intead of $(A:=B) syntax
634 to work around Make bug when A contains var ref.
636 Fri May 31 18:27:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
638 * string/string.h [__USE_MISC]: Declare basename; OSF/1 puts it here.
640 * sysdeps/unix/sysv/linux/syscalls.list (getpgid, setpgid): Define __
641 strong names and [gs]etpgid as weak aliases.
643 Thu May 30 11:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
645 * math/math_private.h (GET_LDOUBLE_EXP): Add missing backslash.
647 * po/header.pot: Replace with exact boilerplate pinard dictates.
649 * sysdeps/i386/strtok.S (Lillegal_argument): Remove this code to set
650 errno and the check that jumped to it.
652 * sysdeps/mach/hurd/Makefile (errnos.d): Use $(sed-remove-objpfx).
654 Thu May 30 03:21:57 1996 Ulrich Drepper <drepper@cygnus.com>
656 * FAQ: Document need of gperf program for developers.
658 * elf/elf.h: Fix typos in comments.
660 * libio/stdio.h [!__STRICT_ANSI__ || _POSIX_SOURCE]: Add
661 prototypes for `ctermid' and `cuserid'.
663 * locale/programs/locale.c: Switch to user selected locale
664 before printing variables.
666 * math/Makefile [$(long-double-fcts)==yes]: Define long-m-routines
667 and long-c-routines. Only if the `long double' data type is
668 available we need to compile the functions.
669 (libm-routines): Add $(long-m-routines).
670 (routines): Remove isinfl, isnanl. Use new file s_isinfl and
671 s_isnanl instead if `long double' is available.
673 * math/math.h: Include <mathcalls.h> again to define `long double'
676 * math/math_private.h: Define data types, prototypes and access
677 macros for `long double'.
679 * stdlib/stdlib.h: Add prototypes for `strtoll' and `strtoull'.
680 [GCC2 && OPTIMIZE]: Define strto{,u}ll as inline function which
681 calls __strto{,u}q_internal.
683 * stdlib/strfmon.c: Replace PTR by `void *'.
685 * stdlib/strtoq.c: Define strtoll as weak alias.
686 * stdlib/strtouq.c: Define strtoull as weak alias.
688 * string/tester.c: Correct `strsep' test.
690 * sysdeps/generic/strsep.c: Make compatible with BSD version.
691 Trailing characters of skip set are not skipped. In this case
692 empty tokens are returned.
694 * sysdeps/i386/isinfl.c, sysdeps/i386/isnanl.c,
695 sysdeps/ieee754/isinf.c, sysdeps/ieee754/isinfl.c,
696 sysdeps/ieee754/isnan.c, sysdeps/ieee754/isnanl.c: Removed. We
697 now use the versions part of libm.
699 * sysdeps/i386/strsep.S: Removed. Generic C version is of
701 * sysdeps/i386/strtok.S: Remove support for `strsep'.
703 * sysdeps/libm-i387/e_acosl.S, sysdeps/libm-i387/s_ceill.S,
704 sysdeps/libm-i387/s_copysignl.S, sysdeps/libm-i387/s_finitel.S,
705 sysdeps/libm-i387/s_floorl.S, sysdeps/libm-i387/s_isinfl.c,
706 sysdeps/libm-i387/s_isnanl.c, sysdeps/libm-i387/s_nextafterl.c,
707 sysdeps/libm-i387/s_rintl.S, sysdeps/libm-i387/s_significandl.S:
708 New i387 specific math functions implementing `long double'
711 * sysdeps/libm-ieee754/s_ceill.c,
712 sysdeps/libm-ieee754/s_copysignl.c,
713 sysdeps/libm-ieee754/s_fabsl.c, sysdeps/libm-ieee754/s_finitel.c,
714 sysdeps/libm-ieee754/s_floorl.c, sysdeps/libm-ieee754/s_isinfl.c,
715 sysdeps/libm-ieee754/s_isnanl.c,
716 sysdeps/libm-ieee754/s_nextafterl.c,
717 sysdeps/libm-ieee754/s_rintl.c, sysdeps/libm-ieee754/s_scalbnl.c,
718 sysdeps/libm-ieee754/s_significandl.c: New generic `long double'
719 versions of libm functions.
721 * sysdeps/libm-i387/e_exp.S: Add a few comments to explain the
724 * sysdeps/libm-i387/s_ceil.S, sysdeps/libm-i387/s_ceilf.S,
725 sysdeps/libm-i387/s_floor.S, sysdeps/libm-i387/s_floorf.S: Correct
726 handling of local variables. The old version created a stack
727 frame but stored the values outside.
729 * sysdeps/libm-ieee754/s_isinf.c, sysdeps/libm-ieee754/s_isnan.c
730 [!NO_LONG_DOUBLE]: Define alias with `long double' versions name.
732 Wed May 29 12:53:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
734 * login/pututline_r.c: Include sys/stat.h. Fix typos.
736 * version.h (VERSION): Set to 1.90.
738 * Makerules (distinfo-vars): Write extra-libs and *-routines for each
740 * MakeTAGS (sources): Add those sources.
742 * MakeTAGS (all-sources): Add $(others:=.c) and $(tests:=.c).
744 Wed May 29 08:53:08 1996 Miles Bader <miles@gnu.ai.mit.edu>
746 * hurd/report-wait.c (_S_msg_report_wait): Return `itimer' for the
749 * hurd/hurdinit.c (_hurd_init): Set _HURDSIG_TRACED before calling
752 Wed May 29 00:52:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
754 * string/tester.c (main): Fix strsep tests 6, 7, 20 to expect null
755 token instead of it being implicitly skipped.
757 * sysdeps/i386/fpu/__math.h (logb): Correct contraint from =u to =t.
758 Must operate on top of fp reg stack, not second from top.
760 * extra-lib.mk (alltypes-$(lib)): Don't append $(objpfx)$(lib).so.
761 (others): Instead, make this depend on it.
763 Tue May 28 04:38:10 1996 Ulrich Drepper <drepper@cygnus.com>
765 * limits.h: Change MB_LEN_MAX to 6. A 31-bit ISO 10646
766 character in UTF-8 encoding has that many bytes.
768 * locale/langinfo.h: New element _NL_CTYPE_MB_CUR_MAX.
769 * locale/categories.def: Add description of field _NL_CTYPE_MB_CUR_MAX.
770 * locale/Makefile (routines): Add mb_cur_max.
771 * locale/mb_cur_max.c: New file. This function gets called
772 when the macro MB_CUR_MAX is used.
773 * locale/C-ctype.c: Initialize new mb_cur_max field.
774 * locale/localeinfo.h: Change magic value because of incompatible
776 * locale/programs/ld-ctype.c: Determine value of mb_cur_max
777 according to current character set and write it out with the rest.
778 * stdlib/stdlib.h (MB_CUR_MAX): Not constant anymore. Get value
779 according to currently used locale for category LC_CTYPE by
780 calling the function __ctype_get_mb_cur_max.
782 Tue May 28 03:27:46 1996 Ulrich Drepper <drepper@cygnus.com>
784 * FAQ: Fix some typos.
785 Tell that for Linux the kernel header files are necessary.
787 * PROJECTS: New file. List of open jobs for glibc.
788 * Makefile (distribute): Add PROJECTS.
790 * crypt/GNUmakefile (headers): New variable. Mention crypt.h.
791 * crypt/crypt.h: Header for crypt functions.
793 * elf/elf.h: Add some new constants from recent Cygnus ELF
796 * login/getutid_r.c: Test for correct type.
797 Don't depend on ut_type and ut_id unless _HAVE_UT_TYPE and
798 _HAVE_UT_ID resp. are defined.
799 Make really compliant with specification.
801 * login/getutline_r.c, login/pututline_r.c: Don't depend on
802 ut_type and ut_id unless _HAVE_UT_TYPE and _HAVE_UT_ID resp. are
804 Make really compliant with specification.
806 * login/setutent_r.c: Don't depend on ut_type and ut_id unless
807 _HAVE_UT_TYPE and _HAVE_UT_ID resp. are defined.
809 * login/login.c, login/logout.c, login/logwtmp.c: Complete
810 rewrite. Now based on getut*/setut* functions.
812 * stdlib/strtol.c: Undo changes of Wed May 22 01:48:54 1996.
813 This prevented using this file in other GNU packages.
815 * sysdeps/gnu/utmpbits.h: Define _HAVE_UT_TYPE, _HAVE_UT_ID,
816 and _HAVE_UT_TV because struct utmp has these members.
818 * sysdeps/libm-i387/e_exp.S: Correct exp(+-Inf) case.
820 * utmp.h: New file. Wrapper around login/utmp.h.
822 Tue May 28 13:11:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
824 * elf/dl-error.c (struct catch): New type.
825 (catch): New static variable, struct catch *.
826 (catch_env, signalled_errstring, signalled_objname): Variables removed.
827 (_dl_signal_error): If CATCH is non-null, set its errstring and
828 objname members and jump to CATCH->env. If it is null, call
829 _dl_sysdep_fatal with a standard message.
830 * elf/rtld.c (dl_main): Explode `doit' function into dl_main's body.
831 No longer use _dl_catch_error.
833 * Makerules (sed-remove-objpfx): Avoid extra space in regexp due to
836 * sysdeps/unix/sysv/linux/i386/socket.S: Fix off-by-one error in
837 setting %ecx to 2nd syscall arg: we have pushed nothing, so function
838 args are found at 4(%esp), not 8(%esp).
840 Mon May 27 10:10:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
842 * Makefile ($(includedir)/stubs.h): Add missing backslash.
844 * sysdeps/unix/sysv/linux/i386/brk.c (__curbrk): Initialize it so it
847 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=termios] (headers):
850 * Makefile ($(includedir)/stubs.h): Print a msg if we do nothing.
852 * misc/sgtty.h: Add forward decl of struct sgttyb in case it is never
855 * sysdeps/unix/sysv/linux/termio.h: New file.
856 * sysdeps/unix/sysv/linux/Dist: Add it.
858 * sysdeps/unix/sysv/linux/ioctl-types.h: New file, wrapper around
859 kernel header <asm/termios.h>.
861 * misc/Makefile (headers): Add ioctl-types.h.
862 * sysdeps/generic/ioctl-types.h: New file.
863 * misc/sys/ioctl.h: Include <ioctl-types.h>.
864 (struct tchars, struct ltchars, struct sgttyb, struct winsize,
865 struct ttysize): Types moved there.
867 * Makefile ($(includedir)/stubs.h): Don't touch target if new one is
870 * time/Makefile (z.% rule): Generate generic zone%/ rule after
871 zone%/right/ and zone%/posix/ rules so they match first.
873 Sun May 26 15:15:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
875 * features.h [_GNU_SOURCE] (_BSD_SOURCE, _SVID_SOURCE,
876 _POSIX_SOURCE, _POSIX_C_SOURCE): Define these.
878 * time/Makefile (tzcompile): Add missing backslash.
880 * stdlib/ldiv.c: Deansideclized.
882 * wctype/wctype.h (__need_wint_t): Define this and include stddef.h.
883 [! _WINT_T] (wint_t): Conditionalize typedef on this in case pre-2.7.3
884 stddef.h doesn't define it.
885 * wcsmbs/wchar.h: Likewise.
886 * stdlib/strtod.c: Likewise.
888 * wcsmbs/wcstok.c: Fix argument name typo.
890 Sun May 26 19:39:53 1996 Ulrich Drepper <drepper@cygnus.com>
892 * intl/loadmsgcat.c (_nl_load_domain): Test correct variable
895 * string/Makefile (tester-ENV): New variable to suppress message
898 * string/tester.c: Add tests for strtok_r and strsep.
900 * sysdeps/i386/i486/strcat.S: Correct some more 8bit operation
901 <-> 32 bit operand conflicts.
903 * sysdeps/i386/strsep.S: Wrapper around <sysdeps/i386/strtok.S>
904 to produce strsep function.
905 * sysdeps/i386/strtok.S: Optimized implementation of strtok
907 * sysdeps/i386/strtok_r.S: Wrapper around <sysdeps/i386/strtok.S>
908 to produce strtok_r function.
910 * sysdeps/generic/strtok.c: Moved here from string/strtok.c.
911 Corrected example in comment.
913 * string/Makefile (routines): Add strtok_r.
914 * sysdeps/generic/strtok_r.c: New file. Implement reentrant version
916 * string/string.h: Add prototype for strtok_r.
917 * wcsmbs/wcstok.c: Handle illegal SAVE_PTR argument the same
920 Sun May 26 13:28:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
922 * time/tzset.c (__tzset): Ignore leading : in $TZ; always try tzfile
923 first and fall back to 1003.1 syntax only if it fails.
925 * time/Makefile (install-others): Also install posix/ZONE and
926 right/ZONE for each ZONE in $(zonenames).
927 (z.% rule): Generate rules for right/ZONE and posix/ZONE targets too,
928 the difference begin leapseconds vs /dev/null as 3rd dep. For
929 original ZONE targets use $(leapseconds), to be set in Makeconfig.
930 (target-zone-flavor): New variable.
931 (tzcompile): Use it to get the right -d for posix/ and right/ flavors.
932 * Makeconfig (leapseconds): New variable.
934 * mach/Machrules (%.udeps rule): Depend on Machrules.
935 Emit deps for .uh and .__h files.
936 (%.uh, %.__h rules): Don't depend on %.defs; use #include <$*.defs>
939 Sun May 26 01:06:47 1996 Ulrich Drepper <drepper@cygnus.com>
941 * stdlib/Makefile (routines): Add llabs, lldiv.
942 * stdlib/llabs.c: New file. Implementation of return
943 absolute value of long long argument.
944 * stdlib/lldiv.c: New file. Implementation of division with remainder
945 of long long argument.
946 * stdlib/stdlib.h [__USE_GNU] (lldiv_t): New type for lldiv
948 Define prototypes for lldiv and llabs functions.
950 * locale/C-collate.c: Initialize _NL_COLLATE_NRULES element.
952 * stdlib/strtod.c: Replace wchar_t with wint_t. The later is
953 really the type for a single wide character.
955 * string/strxfrm.c (print_val): Define separate version for
956 use as wcsxfrm. Here we don't need UTF8 encoding.
958 * wcsmbs/wchar.h: gcc-2.7.2-960517 finally introduces wint_t
959 in <stddef.h>. Use this value and only for older gcc version
961 (uwchar_t): Remove definition.
963 * wcsmbs/wcscmp.c, wcsmbs/wcscoll.c, wcsmbs/wcsncmp.c,
964 wcsmbs/wcsxfrm.c, wcsmbs/wmemcmp.c: : Don't use uwchar_t as unsigned
965 type. wint_t is intended for this.
967 Sat May 25 14:10:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
969 * sysdeps/unix/bsd/direntry.h: Use [1] instead of [0] for d_name to
970 quiet -ansi -pedantic.
971 * sysdeps/unix/common/direntry.h: Likewise.
973 * login/Makefile (headers): Add lastlog.h.
974 * login/lastlog.h: New file.
976 * login/Makefile (CFLAGS): Don't append -D_THREAD_SAFE.
977 * login/utmp.h [_REENTRANT || _THREAD_SAFE]: Replace this conditional
978 with #ifdef __USE_REENTRANT.
980 * features.h (__GNU_LIBRARY__): Set to 6.
981 [_GNU_SOURCE] (_POSIX_SOURCE, _POSIX_C_SOURCE, _BSD_SOURCE,
982 _SVID_SOURCE): Make sure they are all defined.
984 * sysdeps/unix/sysv/linux/gnu/types.h: Instead of including
985 <linux/posix_types.h>, define _LINUX_TYPES_DONT_EXPORT and then
986 include <linux/types.h>.
988 * resource/sys/resource.h: Remove trailing commas from enums.
990 Fri May 24 17:30:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
992 * sysdeps/generic/netinet/in.h: Remove trailing commas from enums.
993 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
995 * login/getutline_r.c: Include string.h.
997 * Rules (static-only-routines): Restore the rule to make these .so's
1000 * login/pututline_r.c: Use struct assignment instead of memcpy.
1002 * login/getutline_r.c: Use strncmp instead of comparing two pointers
1003 that will only be equal if you are overwriting the data and screwing
1006 Fri May 24 02:31:36 1996 Ulrich Drepper <drepper@cygnus.com>
1008 * sysdeps/unix/sysv/linux/speed.c: Add new speed value 460800.
1010 Thu May 23 23:09:33 1996 Ulrich Drepper <drepper@cygnus.com>
1012 * FAQ: Add answer for 100% source code compatibility to Linux
1013 libc by David Mosberger-Tang.
1015 Update from bind-4.3.4-T3B.
1016 * inet/arpa/inet.h: Add prototypes for inet_pton, inet_ntop,
1017 inet_nsap_addr, and inet_nsap_ntoa.
1018 * resolv/gethnamaddr.c: Correct compatibility problems (sprintf),
1019 remove fourth argument to inet_pton and correct handling of
1021 * resolv/inet_ntop.c: Correct compatibility problems (sprintf).
1022 * resolv/inet_pton.c: Remove fourth argument.
1023 * resolv/resolv.h: Remove prototypes for inet_nsap_addr and
1024 inet_nsap_ntoa. Now in <arpa/inet.h>.
1026 * stdlib/gmp-impl.h: Add prototypes for internal functions.
1028 Thu May 23 22:49:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1030 * Rules (subdir_install): Remove dep on sor-$(subdir).
1031 (static-only-routines): Removed variable and associated rules.
1033 Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com>
1035 * sysdeps/unix/sysv/linux/alpha/speed.c (speeds): Add entry for
1038 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
1040 * sysdeps/unix/sysv/linux/alpha/Makefile (headers): Add
1042 * sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h: New file.
1044 * sysdeps/libm-ieee754/s_scalbnf.c: Call __scalbnf instead of
1047 * sysdeps/generic/sigset.h (__sigismember, __sigaddset,
1048 __sigdelset): Add declaration to keep ANSI compilers quiet.
1050 * sysdeps/alpha/__math.h (cabs): Remove underscores from struct
1051 __cabs_complex member names in call to __hypot().
1053 * sysdeps/alpha/copysign.S, sysdeps/alpha/fabs.S: New files.
1055 * sysdeps/alpha/divrem.h: Renamed from sysdeps/alpha/divrem.S to avoid
1056 name collision with math library.
1058 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
1059 sysdeps/alpha/divqu.S, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
1060 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S: Include divrem.h instead
1063 * sysdeps/unix/alpha/sysdep.h: Include regdef.h. Define LEAF macro
1064 to simplify declaration of leaf functions.
1066 * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
1067 sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/ffs.S,
1068 sysdeps/alpha/htonl.S, sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
1069 sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
1070 sysdeps/alpha/udiv_qrnnd.S, sysdeps/unix/sysv/linux/alpha/brk.S,
1071 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
1072 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
1073 sysdeps/unix/sysv/linux/alpha/pipe.S,
1074 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
1075 sysdeps/unix/sysv/linux/alpha/syscall.S,
1076 sysdeps/unix/sysv/linux/alpha/start.S,
1077 sysdeps/unix/sysv/linux/alpha/sysdep.S: Remove include of regdef.h.
1078 sysdep.h includes it now. Replace ENTRY by LEAF with appropriate
1079 framesize declaration. Replace "lda pv,sym/jsr pv" by "jsr sym".
1081 * sysdeps/unix/sysv/linux/alpha/sysdep.h (NO_UNDERSCORES): Don't
1084 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Added getsockopt,
1087 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: File removed.
1089 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Modify to support
1090 dynamic recognition of platform type.
1091 (_bus_base): New function.
1093 * sysdeps/unix/sysv/linux/alpha/llseek.S: New file.
1095 * sunrpc/rpc/rpc.h, sunrpc/rpc/svc.h: Avoid nested comments since
1096 they produce ugly warnings by gcc.
1098 * posix/sys/types.h [__USE_MISC]: Add typedef for ulong.
1100 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
1102 * sysdeps/alpha/setjmp.S: Must establish global pointer before
1103 address of __sigsetjmp_aux can be loaded.
1105 Wed May 22 22:10:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1107 * stdlib/canonicalize.c: New file.
1108 * stdlib/stdlib.h: Declare canonicalize_file_name, realpath.
1109 * stdlib/Makefile (routines): Add canonicalize.
1111 * posix/unistd.h: Declare __canonicalize_directory_name_internal.
1113 Thu May 23 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
1115 * db/recno/rec_seq.c: Prevent `sccsid' definition by using the
1116 same #if condition as in the other db files.
1118 * intl/Makefile: Add -Wno-unused CFLAGS for compilation of
1119 bindtextdom.c, finddomain.c, and localealias.c.
1121 * intl/dcgettext.c: Don't define prototype for getcwd() when
1124 * libio/cleanup.c: Add prototype for _IO_register_cleanup.
1126 * libio/filedoalloc.c, libio/fileops.c, libio/iopopen.c: Don't
1127 define _POSIX_SOURCE unconditionally.
1129 * libio/filedoalloc.c, libio/iopopen.c: Include <unistd.h> if
1132 * libio/fileops.c (_IO_file_close_it): Don't sync file, call
1133 flush instead. This relaxes the rules from POSIX.1 about
1134 changing the active handle a bit.
1136 * libio/iofopncook.c (struct _IO_cookie_file): Move definition
1138 Add prototypes for local functions to prevent warnings.
1140 * libio/iopopen.c: Change prototypes for _IO_fork, _IO_pipe, and
1141 _IO_dup2 to contain complete parameter list.
1143 * libio/libio.h: Add definition of struct _IO_cookie_file.
1145 * libio/libioP.h: Add prototypes for _IO_vasprintf, _IO_vdprintf,
1148 * libio/memstream.c: Include <stdio.h>.
1150 * libio/stdio.h: Add prototypes for fopencookie,
1151 __stdio_gen_tempname, __vfscanf, __vsscanf, and __vsnprintf.
1153 * libio/strops.c: Avoid useless expression in `for' initializer.
1155 * locale/findlocale.c: Add some casts to prevent warnings.
1157 * locale/programs/locfile.c (write_locale_data): Don't use
1158 double `/' in locale binary file.
1160 * posix/unistd.h: Remove prototype for `reboot'.
1162 Update from bind-4.9.4-T1A.
1163 * resolv/Makefile (routines): Add inet_ntop and inet_pton.
1164 * resolv/arpa/nameser.h: Add definition of IN6ADDRSZ.
1165 * resolv/gethnamaddr.c, resolv/getnetnamadr.c, resolv/res_comp.c,
1166 resolv/res_debug.c, resolv/res_init.c
1168 * resolv/inet_ntop.c, resolv/inet_pton.c: New files.
1170 * resolv/resolv.h: Add RES_USE_INET6 flag.
1171 (__dn_isvalid): Renamed to __res_dnok.
1172 Add prototypes for __res_ownok and __res_mailok.
1174 * stdio-common/Makefile: Add -Wno-unused to CFLAGS for _itoa.c.
1176 * stdio-common/getline.c, stdio-common/vfscanf.c,
1177 sysdeps/posix/tempname.c: Don't use <ansidecl.h> anymore.
1179 * sysdeps/unix/sysv/linux/Makefile [$subdir == misc]
1180 (sysdep_routines): Add s_reboot.
1181 (install-others): Add $(includedir)/sys/syscall.h.
1182 New rule for $(includedir)/sys/syscall.h to produce from
1185 * sysdeps/unix/sysv/linux/reboot.c: New file. Make single
1186 argument function call 3 argument system call.
1188 * sysdeps/unix/sysv/linux/sys/reboot.h: New file. Linux specific
1189 definition for reboot function.
1191 * sysdeps/unix/sysv/linux/syscall.h: Remove old and obsolete
1194 * sysdeps/unix/sysv/linux/syscalls.list: Rename function for
1195 reboot syscall to __syscall_reboot.
1197 * wcsmbs/wchar.h: Protect prototypes for wcstof and wcstold by
1198 __USE_GNU, not USE_GNU.
1200 Tue May 21 21:55:49 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1202 * locale/programs/charset.c, locale/programs/ld-collate.c:
1203 Add casts to prevent warnings on 64-bit machines.
1205 * locale/programs/ld-monetary.c: Don't do unnecessary tests for
1206 int_frac_digits and frac_digits which only produce warnings.
1208 Mon May 13 23:45:29 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1210 * inet/arpa/inet.h: Backup return type of inet_addr to u_long.
1211 * resolv/inet_addr.c: Likewise.
1213 * resolv/Makefile (distribute): Add res_hconf.h
1214 (routines): Add res_hconf.
1216 * resolv/gethnamaddr.c: Add support for /etc/host.conf.
1218 * resolv/res_init.c: Initialize /etc/host.conf reader.
1220 * resolv/res_hconf.c, resolv/res_hconf.h: New files.
1221 Implementation of reading /etc/host.conf.
1223 Wed May 22 21:21:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1225 * Rules (%.out rules): Prepend $($*-ENV) to the command.
1227 * sysdeps/unix/sysv/linux/i386/brk.c (___brk_addr): Define as weak
1230 Wed May 22 19:37:27 1996 Miles Bader <miles@gnu.ai.mit.edu>
1232 * hurd/hurdexec.c (_hurd_exec): Pass INIT_TRACEMASK.
1233 * hurd/hurdmsg.c (set_int): Support INIT_TRACEMASK.
1235 Wed May 22 18:47:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1237 * sysdeps/mach/hurd/getcwd.c
1238 (_hurd_canonicalize_directory_name_internal): New function, broken out
1241 (__canonicalize_directory_name_internal): New function using it.
1243 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal): New
1244 function, broken out of __getcwd.
1247 Wed May 22 18:14:05 1996 Miles Bader <miles@gnu.ai.mit.edu>
1249 * string/argz-create.c (__argz_create): Correctly calculate length.
1251 * string/argz-extract.c (__argz_extract): Add terminating 0 entry.
1252 * hurd/hurdstartup.c (_hurd_startup): ... and don't so here.
1254 Wed May 22 17:22:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1256 * posix/glob.c [VMS]: Don't include <pwd.h>.
1257 [HAVE_VMSDIR_H]: Include "vmsdir.h".
1258 (glob) [VMS]: Don't grok ~.
1260 Wed May 22 14:46:53 1996 Miles Bader <miles@gnu.ai.mit.edu>
1262 * hurd/hurdstartup.c (_hurd_startup): Terminate the vectors we get
1263 back from argz_extract.
1265 Wed May 22 13:56:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1267 * configure.in: Remove checks for objdump, objcopy, and awk.
1268 * config.make.in (OBJDUMP, OBJCOPY, AWK): Variables removed.
1269 * Makefile (distribute): Remove extract-dynsym.
1270 * extract-dynsym: File removed.
1272 Tue May 21 22:17:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1274 * termios/cfmakeraw.c: Set MIN to 1 and TIME to 0.
1276 Wed May 22 01:48:54 1996 Ulrich Drepper <drepper@cygnus.com>
1278 * stdlib/strtol.c [!QUAD] (ULONG_MAX, LONG_MAX): Define these
1279 macros if they are not available.
1280 (WEAKNAME): New macro to declare argument as weak.
1281 Define function with __ prefix and add normal name as weak alias.
1283 * sysdeps/posix/euidaccess.c (S_IROTH, S_IWOTH, S_IXOTH): Defines
1284 these macros if not already available based on R_OK, W_OK, and
1287 Tue May 21 18:48:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1289 * misc/sys/syslog.h (__need___va_list): Define this instead of
1290 __need_va_list before including <stdarg.h>.
1292 * Makerules (o-iterator): Use $(object-suffixes-left) instead
1293 of $(object-suffixes) to produce repetitions; this is used for other
1294 lists than just that one.
1295 [versioned]: Use $(o-iterator) properly.
1297 * sysdeps/unix/sysv/linux/Implies: Include `gnu'.
1298 * sysdeps/mach/hurd/Implies: Likewise.
1300 Sat May 18 02:57:46 1996 Ulrich Drepper <drepper@cygnus.com>
1302 * login/Makefile: New file. This directory contains functions
1303 for user administration.
1304 * Makefile (subdirs): Add login.
1306 * misc/Makefile (headers): Remove utmp.h. Now in login/utmp.h.
1307 (extra-libs, libutil-routines): Ditto.
1308 * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c,
1309 misc/utmp.h: Moved to misc/.
1310 * login/login.c, login/login_tty.c, login/logout.c,
1311 login/logwtmp.c, login/utmp.h: Moved to here from misc/.
1313 * login/utmp.h: Split file. Definitions of data structures
1314 and constants are now in the system dependent utmpbits.h file.
1316 * login/setutent_r.c, login/setutent.c, login/endutent_r.c,
1317 login/endutent.c, login/getutent_r.c, login/getutent.c,
1318 login/getutid_r.c, login/getutid.c, login/getutline_r.c,
1319 login/getutline.c, login/pututline_r.c, login/pututline.c:
1320 New files. Routines to handle utmp-style files.
1322 * sysdeps/gnu/utmpbits.h: New file. Contains GNU/Linux
1323 specific definitions of utmp data structures and constants.
1325 * sysdeps/unix/sysv/utmpbits.h: Renamed from sysdeps/unix/sysv/utmp.h.
1327 * sysdeps/generic/utmpbits.h: New file. Generic (BSDish) version of
1328 definitions of utmp data structures and constants.
1330 Fri May 17 00:01:31 1996 Ulrich Drepper <drepper@cygnus.com>
1332 * locale/C-monetary.c: Default value for mon_decimal_point should be
1335 * stdio-common/printf.h: Remove Linux libc compatibility stuff.
1336 Add `extra' flag. Currently used in __printf_fp.
1338 * stdio-common/printf_fp.c (__guess_grouping): Renamed from
1339 `guess_grouping' and extend visibility to extern. This function
1340 is now used in `strfmon'.
1341 (__printf_fp): Recognize new bit flag in info struct. This
1342 triggers to use the grouping information and decimal point from
1343 the LC_MONETARY category instead of the LC_NUMERIC category.
1345 * stdio-common/vfprintf.c (process_arg): Correct major bug. In
1346 `complicated' loop we must not use the varargs because the args
1347 are already available in the ARGS_VALUE array.
1349 * stdlib/Makefile (headers): Add monetary.h.
1350 (routines): Add strfmon.
1351 * stdlib/monetary.h: New file. Header for strfmon function.
1352 * stdlib/strfmon.c: New file. Implement strfmon function to print
1353 monetary amounts according to current locale's rules.
1355 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: The kernel header is
1356 now (>= Linux-1.3.100) called <asm/vm86.h>.
1358 Thu May 16 00:31:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1360 * Makerules [versioned]: Make symlinks in the build directory, because
1361 the versioned names might be referenced by a DT_NEEDED in another
1364 Wed May 15 18:59:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1366 * manual/examples/longopt.c: Include stdlib.h and getopt.h.
1368 Tue May 14 03:36:21 1996 Ulrich Drepper <drepper@cygnus.com>
1370 * sysdeps/unix/sysv/linux/Makefile [$subdir == misc] (headers):
1371 Add sys/acct.h and sys/sysctl.h.
1373 Tue May 14 19:42:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1375 * sysdeps/generic/strrchr.c: Deansideclized.
1377 * elf/Makefile (ldd): Depend on Makefile.
1378 Find ld.so in $(slibdir) instead of $(libdir).
1380 * sysdeps/i386/strrchr.S: Use `testl $3, %esi' instead of `testb $3,
1381 %esi'; gas misassembles the latter into `testb $3, %dh'.
1383 * mach/Machrules (%.udeps rule): Do $(make-target-directory) first.
1385 Tue May 14 16:38:44 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1387 * sunrpc/getrpcent.c (interpret): Declare args. Rewrite parsing using
1390 Tue May 14 20:18:38 1996 Ulrich Drepper <drepper@cygnus.com>
1392 * time/Makefile (routines): Add strptime.
1393 * time/time.h: Add prototype for strptime.
1394 * time/strptime.c: New file. Implementation according to XPG4.
1396 Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1398 * libc-symbols.h (lint): Macro removed. The sunrpc code does some
1399 really stupid things #ifdef lint.
1401 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter): Fix
1402 struct member name: sc_eip -> eip.
1404 Mon May 13 19:52:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1406 * Makerules (stub-$(subdir)): Put cmds including cd inside (...) with
1407 output redirect outside it.
1409 * elf/Makefile (subdir_lib): Depend on ld.so.
1411 Sun May 12 22:52:22 1996 Bruce Elliott <belliott@accessone.com>
1413 * stdio-common/vfprintf.c: Correct handling of unsigned short
1416 Mon May 13 12:03:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1418 * extra-lib.mk (alltype-$(lib)): Put libs in $(objpfx) instead of
1420 * Makerules [install-lib.a]: Find them there.
1422 * sysdeps/unix/sysv/linux/i386/profil-counter.h: New file.
1424 * extra-lib.mk: Skip the hair if $(object-suffixes-$(lib)) is empty.
1426 * posix/glob.h [_AMIGA]: Remove `struct stat;' forward decl.
1428 * configure.in (--with-fp): Note in help string that it's the default.
1430 * locale/programs/ld-ctype.c (struct locale_ctype_t): Use u_int32_t
1431 instead of unsigned int for map_collection_max and map_collection_act.
1433 * stdio-common/vfprintf.c [USE_IN_LIBIO] (flockfile, funlockfile):
1434 Macros removed; they are in <stdio.h>.
1435 * stdio-common/vfscanf.c: Likewise.
1437 * posix/glob.c [_AMIGA]: Don't include <pwd.h>.
1438 (glob): Remove bogus & in call to globfree.
1439 [_AMIGA]: Use AmigaDOS file name conventions.
1441 * time/Makefile (zonenames): Target removed.
1442 (extra-objs): Remove it from here.
1443 Include the z.* files directly instead of including zonenames; use
1444 `-include' to not complain before they exist.
1446 * sysdeps/unix/Makefile: Find sysd-syscalls and s-proto.d with
1447 $(common-objpfx) instead of $(objpfx).
1449 * sysdeps/unix/bsd/telldir.c (seekdir, telldir): Use new struct member
1452 * Makerules [install-lib-non.a]: Find these things with $(objpfx)
1453 instead of $(common-objpfx).
1455 * Makeconfig (sysdep-configures): New variable.
1456 (config.status): Depend on $(sysdep-configures).
1458 Fri May 10 20:07:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1460 * sysdeps/unix/sysv/linux/profil.c: New file.
1462 Fri May 10 19:59:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1464 * sysdeps/m68k/Makefile (CFLAGS-setjmp.c): New variable.
1466 Fri May 10 19:55:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1468 * shlib-versions: Use libm=6 and libc=6 for m68k-linux.
1470 Sun May 12 11:16:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1472 * string/envz.c: Fix uses of unsigned to size_t.
1474 * Makerules ($(libdir)/libc.so): Make the file an ld script.
1476 * sysdeps/mach/hurd/configure.in: Don't grok --with-hurd option.
1478 * sysdeps/mach/configure.in: File removed.
1479 * sysdeps/mach/configure: File removed.
1481 * mach/Machrules (%.udeps rule): Write deps for %_server.[ch] too.
1482 (%_server.[ch] rule): Don't depend on %.defs; use #include to get
1483 installed .defs file.
1485 * stdio-common/vfprintf.c (flockfile, funlockfile): Define to
1486 nothing for stdio. Fix fUNlockfile -> funlockfile for libio.
1487 * stdio-common/vfscanf.c: Likewise.
1489 Sat May 11 13:43:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1491 * hurd/hurdfault.c: Include faultexc_server.h instead of faultexc.h.
1493 * mach/Machrules (%.ir rule): Don't produce deps for imports.
1495 * elf/dl-fini.c (_dl_fini): Clear L->l_init_called after calling fn.
1497 * Makerules (install): Depend on $(slibdir)/libc.so$(libc.so-version).
1498 [!subdir] ($(libdir)/libc.so, $(common-objpfx)/libc-syms.so): Protect
1499 these targets and install dep on $(libdir)/libc.so with this.
1501 * hurd/Makefile: Removed all rules and defns for using code from Hurd
1502 sources and installing headers from there.
1504 * sysdeps/mach/hurd/errnos.awk: Set in_mach_errors to FILENAME when we
1505 set it. In Mach error matching clause, only match if FILENAME is
1506 still the same value.
1508 * sysdeps/mach/hurd/Makefile: Don't include sysdeps/mach/Makefile;
1509 $(mach-srcdir) no longer exists.
1510 (hurd-srcdir): Variable removed.
1511 (includes): Don't append -I$(hurd-srcdir).
1512 (last-includes): Variable removed.
1513 Remove vpath specs using $(hurd-srcdir).
1514 (mach-errno-h): New canned sequence.
1515 ($(common-objpfx)errnos.d): New target, generated included makefile
1516 to determine absolute file names of Mach headers to search for error
1517 codes and set variable mach-errnos-deps.
1518 ($(common-objpfx)stamp-errnos): Depend on $(mach-errnos-deps) instead
1519 of prior explicit list.
1520 (generated): Add errnos.d, stamp-errnos.
1522 * mach/Machrules (some-if-rtn): New variable and target; compute deps
1523 of some if routine and make all if routines depend on that .d file
1524 instead of static list of .h files.
1526 * mach/Makefile (mach/mach_interface.defs,
1527 mach/memory_object_user.defs): Targets removed.
1528 ($(objpfx)mach-syscalls.mk): Tweak this kludge so it doesn't depend
1529 directly on Mach sources.
1531 * sysdeps/mach/Makefile (mach-srcdir): Variable removed.
1532 (includes): Don't append -I$(mach-srcdir).
1533 Remove vpath specs using $(mach-srcdir).
1535 * hurd/Makefile (server-interfaces): Add faultexc.
1536 (sig): Remove it from here.
1537 (fault%.[ch]): Rule removed.
1538 (MIGFLAGS-faultexc): New variable.
1540 * hurd/faultexc.defs: New file.
1542 * mach/Machrules (%.ustamp rule): Pass $(MIGFLAGS-$*) to mig.
1543 (%_server.[ch] rule): Likewise.
1545 * mach/Makefile: Removed all rules and defns for using code from Mach
1546 sources and installing headers from there.
1548 * Makeconfig [$(build-shared)=yes] (link-libc): Append
1549 $(libc.so-version) to libc.so.
1551 Fri May 10 18:36:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1553 * mach/Machrules (%.ustamp rule): Don't depend on %.defs.
1554 (%.udeps): New rule parallel to that one, generating included
1555 makefiles with -M output from `#include <%.defs>'.
1557 * Makerules (sed-remove-objpfx): Remove space before \ at eol.
1559 * Makefile (distribute): Add FAQ.
1560 * FAQ: New file contributed by drepper.
1562 * time/Makefile (headers): Add timebits.h.
1563 * sysdeps/unix/sysv/linux/timebits.h: New file.
1564 * sysdeps/stub/timebits.h: New file.
1565 * time/time.h (CLK_TCK): Define to CLOCKS_PER_SEC.
1566 (CLOCKS_PER_SEC): Remove this macro. Instead #include <timebits.h>.
1568 Fri May 10 16:22:44 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1570 * string/argz-create.c (__argz_create): Restore const keyword to
1572 * string/argz.h (__argz_create, argz_create): Restore const
1574 * string/envz.c (envz_get): Don't declare ENTRY const.
1576 Fri May 10 11:48:03 1996 Miles Bader <miles@gnu.ai.mit.edu>
1578 * string/argz.h (argz_create): Fix param type.
1579 * string/argz-create.c (__argz_create): Remove const from param type.
1580 * string/envz.c (envz_get): Remove const from return type.
1582 Fri May 10 09:41:54 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1584 * string/argz.h (__argz_create, argz_create): Omit const keyword
1585 from declaration of ARGV.
1586 * string/envz.h (envz_get): Omit const from declaration of return
1589 Thu May 9 09:17:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1591 * aclocal.m4 (AC_FD_MSG, AC_FD_CC): Fix these for autoconf weirdness.
1593 Cleanups in sunrpc code from NIIBE Yutaka <gniibe@mri.co.jp>.
1594 * sunrpc/clnt_tcp.c (clnttcp_create): Don't close *SOCKP if it's -1.
1595 * sunrpc/clnt_simp.c (callrpc): Don't close CRP->socket if it's
1597 * sunrpc/pmap_clnt.c (pmap_set): Don't close SOCKET, since
1598 CLNT_DESTROY already has.
1599 (pmap_unset): Likewise.
1600 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
1601 * sunrpc/pm_getport.c (pmap_getport): Likewise.
1602 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
1603 * sunrpc/portmap.c (callit): Likewise.
1605 * Makerules (versioned): Strip whitespace.
1607 * Rules (static-only-routines rule): Remove spurious space in dep.
1609 * misc/getusershell.c: Undo changes of 7 May 96 (rev 1.6).
1610 Cast string constants to char *.
1612 * posix/glob/SMakefile, posix/glob/SCOPTIONS, posix/glob/Makefile.ami:
1613 New files, AmigaDOS support from Aaron Digulla.
1614 * posix/Makefile (glob.tar): Add AmigaDOS support files.
1616 * sysdeps/unix/sysv/linux/net/if.h: New file.
1617 * sysdeps/unix/sysv/linux/Dist: Add it.
1618 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (headers): Add
1621 * Makeconfig (link-libc): Add libc.a after libc.so in link.
1623 * Rules (static-only-routines rule): Use empty.o instead of dummy.o.
1624 (empty.o): New target.
1625 (generated): Add empty.c, empty.o.
1627 * resolv: Code updated from BIND-4.9.3P2C3.
1629 * Rules (static-only-routines rule): Use dummy.o, not dummy.so.
1631 Wed May 8 20:04:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1633 * extract-dynsym: New file.
1634 * Makefile (distribute): Add it.
1635 * Rules (subdir_install): Depend on $(common-objpfx)sor-$(subdir).
1636 [! libc.so-version]: Clear static-only-routines.
1637 ($(common-objpfx)sor-$(subdir)): New target.
1638 [static-only-routines]: New static pattern rule for these .so's.
1639 * Makerules [libc.so-version] ($(slibdir)/libc.so): Target removed.
1640 [libc.so-version] ($(libdir)/libc.so, $(common-objpfx)libc-syms.so):
1641 New targets replace it.
1642 (install) [libc.so-version]: Depend on $(libdir)/libc.so instead of
1644 * io/Makefile (static-only-routines): New variable.
1645 * configure.in: Check for tools objdump and objcopy, and for awk.
1646 * config.make.in (OBJDUMP, OBJCOPY, AWK): New variables.
1648 Thu May 9 01:24:00 1996 Ulrich Drepper <drepper@cygnus.com>
1650 * locale/programs/config.h: Remove definition of wint_t.
1652 * locale/programs/ld-collate.c: Include <wchar.h> instead of
1655 * manual/time.texi: Add some more description for %U and %W
1656 format of strftime. Describe new format %V of strftime.
1658 * resolv/gethnamaddr.c: Prevent warning by preventing variable
1660 * stdio-common/_itoa.c: Ditto.
1662 Tue May 7 23:43:07 1996 Ulrich Drepper <drepper@cygnus.com>
1664 * libio/clearerr.c, libio/feof.c, libio/ferror.c, libio/fgetc.c,
1665 libio/fileno.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
1666 libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
1667 libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
1668 libio/iofputs.c, libio/iofread.c, libio/iofsetpos.c,
1669 libio/ioftell.c, libio/iofwrite.c, libio/iogetdelim.c,
1670 libio/iogets.c, libio/ioputs.c, libio/iosetbuffer.c,
1671 libio/iosetvbuf.c, libio/ioungetc.c, libio/iovsprintf.c,
1672 libio/libio.h, libio/putc.c, libio/putchar.c, libio/rewind.c,
1673 libio/stdio.h, stdio-common/printf_fp.c, stdio-common/vfprintf.c,
1674 stdio-common/vfscanf.c: Prepare for reentrant libio.
1676 * libio/clearerr_u.c, libio/feof_u.c, libio/ferror_u.c,
1677 libio/fputc_u.c, libio/getc_u.c, libio/getchar_u.c,
1678 libio/iofflush_u.c, libio/putc_u.c, libio/putchar_u.c: New files.
1679 Used in reentrant libio.
1681 * misc/getusershell.c: Prevent warnings.
1683 Wed May 8 12:08:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1685 * Makerules (install-lib.so rules): Undouble $s in target and dep
1686 parts of o-iterator-doit defns.
1687 (unversioned libraries install rule): Fix pattern.
1689 * mach/Makefile (mach-src-headers): Use $(base-machine) instead of
1691 ($(includedir)/machine): Likewise.
1693 * config.make.in (base-machine): New variable.
1694 * configure.in (machine): Move case stmt to set $machine out of sysdep
1695 dirs AC_CACHE_CHECK.
1696 (base_machine): New variable, set in that switch and AC_SUBST'd.
1698 * Makerules (stub-$(subdir)): Use file name in directory as output,
1701 * configure.in (MSGFMT): Use : if none found.
1703 * po/Makefile: Include ../Rules instead of ../Makerules.
1705 Tue May 7 23:18:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1707 * po/Makefile: New file.
1708 * Makefile (subdirs): Add po.
1710 * configure.in: Check for msgfmt.
1711 * config.make.in (MSGFMT): New variable.
1713 Sun May 5 23:49:10 1996 Ulrich Drepper <drepper@cygnus.com>
1715 * misc/Makefile (routines): Add swapoff.
1717 * sysdeps/unix/sysv/linux/Dist: Add sys/quota.h.
1719 * sysdeps/unix/sysv/linux/sys/quota.h: New file. Wrapper around
1722 Tue May 7 19:00:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1724 * string/argz-extract.c: Remove const from decl.
1725 * string/argz.h: Here too.
1727 * Makeconfig (version.mk): Fix regexp in sed cmd.
1728 Depend on $(..)Makeconfig.
1730 * GMP code updated from gmp-2.0 release.
1731 * stdlib/Makefile (mpn-routines): Removed add_1, added inlines.
1732 * sysdeps/generic/add_1.c: File removed.
1733 * stdlib/strtod.c: mp_limb is now mp_limb_t.
1734 * stdlib/fpioconst.c, stdlib/fpioconst.h: Likewise.
1735 * stdio-common/_itoa.c: Likewise.
1736 * stdio-common/printf_fp.c: Likewise.
1737 Don't include ansidecl.h.
1739 * sysdeps/mach/hurd/getcwd.c: Use io_identity instead of io_stat.
1741 * shlib-versions: New file.
1742 * Makerules (soversions.mk): New target, include file generated from
1743 shlib-versions. Moved shared library rules before installation rules.
1744 Rewrote shared library installation rules for versioned libraries.
1745 * math/Makefile (libm.so-version): Variable removed.
1747 * sysdeps/mach/hurd/i386/exc2signal.c: Use struct hurd_signal_detail.
1749 * hurd/report-wait.c (_S_msg_describe_ports): New function.
1751 * configure.in: Add AC_PROG_LN_S check.
1752 * config.make.in (LN_S): New variable.
1754 Sun May 5 03:10:44 1996 Ulrich Drepper <drepper@cygnus.com>
1756 * misc/efgcvt_r.c (ecvt_r): Work aroung gcc bug. gcc does
1757 not know about weak aliases now and optimizes necessary `if'
1760 * posix/unistd.h: Add swapoff prototype.
1762 * sysdeps/generic/confname.h: Add even more POSIX.4 symbols.
1764 * sysdeps/posix/fpathconf.c (__fpathconf): Get information
1765 for _PC_PATH_MAX from fstatfs function if available.
1767 * sysdeps/posix/sysconf.c: Add code to handle _SC_AIO_LISTIO_MAX,
1768 _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX,
1769 _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_RTSIG_MAX,
1770 _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, and
1772 * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
1774 * sysdeps/stub/swapoff.c: New file. Stub version for swapoff
1777 * sysdeps/unix/syscalls.list: Add swapoff.
1779 * sysdeps/unix/sysv/linux/Dist: Add sys/acct.h.
1781 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
1782 (sysdep_routines): Add mount, umount, llseek, setfsgid, setfsuid,
1783 sysinfo, and uselib.
1784 (headers): Add sys/sysinfo.h.
1786 * sysdeps/unix/sysv/linux/gethostid.c: Prevent warning.
1788 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == misc]
1789 (sysdep_routines): Add ioperm, iopl, and vm86.
1790 (headers): Add sys/perm.h and sys/vm86.h.
1792 * sysdeps/unix/sysv/linux/i386/sys/perm.h: New file. Contains
1793 prototypes for iopl and ioperm.
1795 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: New file. Contains
1798 * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. Add
1801 * sysdeps/unix/sysv/linux/sys/acct.h: New file. Contains
1802 prototypes for acct function.
1804 * sysdeps/unix/sysv/linux/sys/socket.h: Provide real header
1805 file with prototypes.
1807 * sysdeps/unix/sysv/linux/sys/sysinfo.h: New file. Contains
1808 prototype for sysinfo function.
1810 * sysdeps/unix/sysv/linux/syscalls.list: Add flock, ioperm, iopl,
1811 llseek, setfsgid, setfsuid, sysinfo, and uselib.
1813 * sysdeps/unix/sysv/linux/sysconf.c: Instead of duplicating
1814 posix/sysconf.c now only handle cases different to that
1817 Tue May 7 15:08:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
1819 * stdio/linewrap.c (__line_wrap_output): Renamed from lwoutput
1820 (all references changed). Now exported.
1822 * stdio/linewrap.c (struct data): Type deleted (moved to linewrap.h).
1823 (wrap_stream, unwrap_stream, lwclose, lwfileno, lwoutput,
1824 line_wrap_stream, line_unwrap_stream): Use struct line_wrap_data
1825 instead of struct data.
1826 (lwoutput, line_wrap_stream, line_unwrap_stream): Rename various
1827 occurences of `wrap' and `wrapmargin' to `wmargin'.
1828 (line_wrapped, line_wrap_lmargin, line_wrap_set_lmargin,
1829 line_wrap_rmargin, line_wrap_set_rmargin, line_wrap_wmargin,
1830 line_wrap_set_wmargin, line_wrap_point): New functions.
1831 * stdio/linewrap.h: New file.
1832 * stdio/Makefile (headers): Add linewrap.h.
1834 Tue May 7 14:19:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1836 * sysdeps/unix/sysv/linux/i386/Makefile: File removed.
1838 * stdio/stdio.h: Remove line_wrap_stream, line_unwap_stream decls.
1840 * sysdeps/unix/sysv/linux/schedbits.h: New file.
1842 Tue May 7 13:47:02 1996 Miles Bader <miles@gnu.ai.mit.edu>
1844 * stdio/linewrap.c (struct data): Make margin fields not-pointers.
1845 (lwoutput): Adjust uses acordingly.
1847 Tue May 7 10:51:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1849 * sysdeps/mach/hurd/fdatasync.c: New file.
1850 * sysdeps/mach/hurd/fsync.c: Pass new flag to file_sync.
1852 * sysdeps/mach/hurd/xmknod.c: Pass new flag to dir_link.
1853 * sysdeps/mach/hurd/symlink.c: Likewise.
1854 * sysdeps/mach/hurd/link.c: Likewise.
1855 * sysdeps/mach/hurd/bind.c: Likewise.
1856 * hurd/hurdsig.c (write_corefile): Likewise.
1858 * hurd/hurdsig.c (write_corefile): Pass cttyid port to crash server.
1860 * sysdeps/mach/hurd/fpathconf.c: RPC takes int pointer, not long int.
1862 * sysdeps/mach/hurd/_exit.c (_hurd_exit): Pass sigcode arg to
1864 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Likewise.
1866 * sysdeps/mach/hurd/wait4.c: Pass sigcode arg to proc_wait.
1868 * sysdeps/mach/hurd/rename.c: Pass new flag to dir_rename.
1870 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): Use struct
1872 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
1873 * hurd/hurd-raise.c (_hurd_raise_signal): Likewise.
1874 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1876 * sysdeps/mach/hurd/setitimer.c (restart_itimer): Likewise.
1878 * hurd/hurd/signal.h: Fix _hurd_exception2signal prototype.
1880 * hurd/hurdsig.c (write_corefile): Take const struct
1881 hurd_signal_detail * arg. Pass all details to crash_dump_task.
1882 (_hurd_internal_post_signal): Pass DETAIL to write_corefile.
1883 (_hurd_internal_post_signal: suspend): Pass code and error to
1886 * hurd/hurdprio.c (_hurd_priority_which_map): Pass flags arg to
1887 proc_getprocinfo by reference.
1889 * wcsmbs/wcwidth.c, wcsmbs/wcswidth.c: Fixed typos.
1891 * sysdeps/unix/sysv/linux/sys/mman.h: Fixed typo.
1893 * sysdeps/stub/sched_getp.c: Add missing #include <sys/types.h>.
1894 * sysdeps/stub/sched_sets.c: Likewise.
1895 * sysdeps/stub/sched_setp.c: Likewise.
1896 * sysdeps/stub/sched_rr_gi.c: Likewise.
1897 * sysdeps/stub/sched_gets.c: Likewise.
1899 * hurd/hurdsig.c: Use struct hurd_signal_detail.
1900 * hurd/hurd/fd.h (_hurd_fd_error): Likewise.
1901 * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Likewise.
1903 Mon May 6 09:51:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1905 * stdio/linewrap.c: New file.
1906 * stdio/Makefile (routines): Add linewrap.
1907 * stdio/stdio.h [__USE_GNU]: Declare line_wrap_stream,
1910 Mon May 6 14:53:26 1996 Ulrich Drepper <drepper@cygnus.com>
1912 * time/strftime.c (week): Add third parameter telling how
1913 many days must be in new year so that it is called week 1.
1914 (Following ISO 8601).
1915 Correct computation for %U and %V formats when day was first
1917 (strftime): Implement %V format according to Spec1170.
1919 Mon May 6 17:01:09 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1921 * hurd/hurd/signal.h (_hurd_intr_rpc_mach_msg): New declaration.
1923 Sat May 4 05:44:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1925 * hurd/hurd/sigpreempt.h (struct hurd_signal_preempter): Change
1926 prototype of `preempter' elt to use struct hurd_signal_detail.
1928 * hurd/hurd/signal.h (struct hurd_signal_detail): New type.
1929 (struct hurd_sigstate): Make `pending_data' member an array of that.
1930 Use the new type in several decls.
1932 * locale/setlocale.c (_nl_C_name): Variable removed.
1933 * locale/C_name.c: New file.
1934 (_nl_C_name): Put it here instead.
1935 * locale/Makefile (aux): Add C_name.
1937 * sysdeps/mach/hurd/dl-sysdep.c (open): Don't pass io port in
1938 auth_user_authenticate rpc.
1939 (open): Avoid using strtol in digit conversion for "fd/N" magic.
1940 (_dl_sysdep_start): Likewise for memobj name in magic switches.
1942 * elf/Makefile (reloc-link): New variable.
1943 (dl-allobjs.so): New target, link together $(rtld-routines).
1944 (librtld.so): Depend on that instead of the rtld components.
1945 (generated): Add dl-allobjs.so.
1947 * hurd/hurd-raise.c (_hurd_raise_signal): Pass sigcode in msg_sig_post
1950 * hurd/hurdmsg.c (_S_msg_set_environment): Use argz.h functions
1951 instead of _hurd_split_args.
1952 (_S_msg_*_exec_flags): Functions removed.
1953 (_S_msg_startup_dosync): Stub removed.
1955 Sat May 4 02:11:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1957 * sysdeps/mach/hurd/ptrace.c: Set _hurdsig_traced instead of
1958 EXEC_TRACED bit in _hurd_exec_flags.
1959 Pass sigcode arg in msg_sig_post_untraced rpc.
1961 * sysdeps/mach/hurd/access.c: Don't pass io port in
1962 auth_user_authenticate rpc.
1964 * posix/sched.h: Fix typos.
1966 * sysdeps/mach/hurd/fork.c: Use new critical section lock.
1967 Clear _hurdsig_traced instead of EXEC_TRACED.
1969 * sysdeps/stub/nanosleep.c (nanosleep): Fix typo.
1971 * wcsmbs/wcstol.c: Find strtol.c in ../stdlib.
1972 * wcsmbs/wcstof.c: Find strtod.c in ../stdlib.
1973 * wcsmbs/wcstod.c: Likewise.
1974 * wcsmbs/wcstold.c: Likewise.
1976 * wcsmbs/wcwidth.h: Find cname-lookup.h in ../wctype.
1978 * string/envz.c (envz_entry): Use const.
1979 (envz_get, envz_remove): Likewise.
1980 (envz_entry): Return char *, not const char *.
1982 * string/envz.h: Fix decl.
1984 * string/argz-create.c: Use const in prototype.
1985 * string/argz-next.c: Likewise.
1987 Fri May 3 13:32:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1989 * sysdeps/mach/hurd/sigprocmask.c: Pass sigcode arg to msg_sig_post.
1990 * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
1991 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
1992 * sysdeps/mach/hurd/kill.c: Likewise.
1994 * hurd/hurdexec.c (_hurd_exec): Use new critical section lock.
1995 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
1996 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Likewise.
1997 * hurd/thread-cancel.c (hurd_thread_cancel, hurd_check_cancel):
1999 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2000 * sysdeps/mach/hurd/sigaction.c: Likewise.
2002 * sysdeps/mach/hurd/errnos.awk: Don't use ARGV in comment; it can
2003 change meaninglessly.
2005 * hurd/hurd/signal.h (struct hurd_sigstate): Replace critical section
2006 flag with a spin lock.
2007 (_hurd_critical_section_lock): Use spin_try_lock on that to see if we
2008 get it. No need to take SS->lock at all.
2009 (_hurd_critical_section_unlock): Unlock SS->critical_section_lock
2010 instead of clearing the old flag member.
2011 * hurd/hurdsig.c (_hurd_internal_post_signal): Use spin_lock_locked to
2012 test the critical section state.
2014 * hurd/hurdinit.c (_hurd_init): Set _hurdsig_traced from the intarray.
2016 * hurd/hurdkill.c (_hurd_sig_post): Pass 0 sigcode in msg_sig_post.
2018 * hurd/hurdsig.c (_hurd_internal_post_signal): Test _hurdsig_traced
2019 instead of testing (_hurd_exec_flags & EXEC_TRACED).
2020 (_S_msg_sig_post): Take sigcode arg and pass it through.
2021 (_S_msg_sig_post_untraced): Likewise.
2022 (reauth_proc): Don't pass proc port in auth_user_authenticate.
2024 * hurd/setauth.c (_hurd_setauth): Don't pass object ports in
2025 auth_user_authenticate RPCs, just the one-off rendezvous port.
2026 * hurd/dtable.c (reauth_dtable): Likewise.
2027 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Likewise.
2029 * hurd/hurdexec.c (_hurd_exec): Pass 0 flags to file_exec.
2030 Pass sigcode arg to msg_sig_post.
2032 * string/argz.h (argz_create): Use const in prototype.
2034 * hurd/hurdinit.c (_hurd_proc_init): Test _hurdsig_traced instead of
2035 testing (_hurd_exec_flags & EXEC_TRACED).
2036 Pass sigcode arg to msg_sig_post.
2038 * hurd/hurd.h: Declare _hurdsig_traced.
2040 * string/argz.h (__argz_next): Cast ENTRY before returning it.
2042 * hurd/hurd/signal.h (_hurd_critical_section_unlock): Pass sigcode arg
2045 * hurd/path-lookup.c: New file.
2046 * hurd/Makefile (routines): Add path-lookup.
2047 * hurd/hurd/lookup.h: Declare file_name_path_scan,
2048 hurd_file_name_path_lookup.
2049 * hurd/hurd.h: Declare file_name_path_lookup.
2051 * sysdeps/mach/hurd/select.c: The io_select rpc no longer has a TAG_ID
2052 argument. Instead, use a separate reply port for each RPC and put them
2053 all in a port set to wait for slow replies.
2055 * intl/Makefile (CPPFLAGS): Change $(nlsdir) to $(i18ndir) in
2058 Fri May 3 03:14:02 1996 Ulrich Drepper <drepper@cygnus.com>
2060 * intl/Makefile (routines): Add l10nflist and explodename.
2061 (distribute): Add loadinfo.h and locale.alias.
2062 (install-others): New variable to install locale.alias.
2064 * intl/dcgettext.c, intl/finddomain.c, intl/gettextP.h,
2065 intl/loadmsgcat.c: Adapt for upcoming gettext-0.10.13. Some code
2066 is now shared with the locale implementation.
2068 * intl/explodename.c, intl/l10nflist.c, intl/loadinfo.h: New file.
2069 Extracted from finddomain.c. This is also used in the locale
2072 * intl/locale.alias: New file. Locale alias database compatible
2073 with X Window System's locale alias file. Can now be used in
2074 locale and gettext code.
2076 * libio/stdio.h: Add prototypes for asprint and vasprintf.
2078 * locale/C-collate.c, locale/C-ctype.c, locale/C-messages.c,
2079 locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c: Add new
2080 field in structure with name of locale ("C" in this case).
2082 * locale/Makefile (routines): Add findlocale.
2084 * locale/findlocale.c: New file. Instead of trying to load the
2085 directly described file we now try to be much smarter when this
2086 fails. Use the same code as gettext does.
2088 * locale/loadlocale.c, locale/setlocale.c: Rewrite to know about
2091 * locale/localeinfo.h: Adapt prototypes and declarations for new
2092 setlocale implementation. Remove definition of u32_t type. We
2093 now use u_int32_t from <sys/types.h>.
2095 * locale/programs/charset.h (ILLEGAL_CHAR_VALUE): Provide type
2098 * locale/programs/config.h, locale/lc-collate.c,
2099 locale/localeinfo.h, locale/programs/ld-collate.c,
2100 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
2101 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
2102 locale/programs/ld-time.c, locale/weight.h, string/strcoll.c:
2103 Change to use u_int32_t and u_int16_t.
2105 * locale/programs/localedef.c (construct_output_path): Change name
2106 of output locale to contain normalized form of the character set
2109 * string/Makefile (routines): Add agrz-ctsep and argz-next.
2110 (tests): Add tst-strlen.
2112 * string/argz-ctsep.c: New file. Implement reverse operation
2113 from argz-stringify.
2115 * string/argz-next.c: Non-inline version of function from argz.h.
2117 * string/argz.h, string/envz.h: Make usable as global header file.
2119 * string/envz.c: Fix declarations to use size_t where prototypes
2122 * string/tst-strlen.c: New file. Another test for critical
2123 situation in strlen implementations.
2125 * sysdeps/i386/i586/strlen.S: Fix bug with highest byte in word
2128 * wctype/test_wctype.c: Fix controlling comparison after change to
2129 32 bit character class array.
2131 Fri May 3 12:53:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2133 * sysdeps/unix/sysv/linux/sys/socket.h: Remove spurious doubled line.
2135 Thu May 2 22:50:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2137 * sysdeps/unix/sysv/linux/getpriority.c: New file.
2138 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getpriority.
2140 Thu May 2 22:41:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2142 * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_DEFAULT):
2143 Disable all exceptions.
2145 Thu May 2 22:33:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2147 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
2148 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
2149 sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
2150 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
2151 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
2152 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
2153 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
2154 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
2155 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c: Don't
2156 define __NO_MATH_INLINES, which is already defined on command
2159 Thu May 2 22:18:28 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2161 * sysdeps/libm-ieee754/e_j0f.c (__ieee754_j0f, __ieee754_y0f):
2162 Replace 0x80000000 by 0x48000000.
2163 * sysdeps/libm-ieee754/e_j1f.c (__ieee754_j1f): Likewise.
2165 Thu May 2 21:30:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2167 * sunrpc/svc_simple.c: Make global variable pl local to
2170 Thu May 2 00:24:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2172 * time/Makefile (tz-cflags): New variable.
2173 (CFLAGS-tzfile.c): New variable.
2174 (CFLAGS-zic.c): Add $(tz-cflags).
2175 (tz-cc): Remove variable.
2176 ($(objpfx)tzfile.o, $(objpfx)zic.o): Remove targets.
2178 Wed May 1 09:10:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2180 * sysdeps/mach/hurd/getcwd.c: Jump out of both loops when we find a
2181 name, instead of checking for reaching end of buffer, which happens
2182 when the match is the last entry in the buffer.
2184 * time/strftime.c: Use canonical autoconf nugget for time.h+sys/time.h
2187 Mon Apr 29 02:48:26 1996 Ulrich Drepper <drepper@cygnus.com>
2189 * ctype/ctype-info.c: (__ctype_width): New variable.
2190 (__ctype_names): Initialize correctly without offset.
2192 * locale/C-collate.c, locale/C-ctype.c,
2193 locale/C-messages.c, locale/C-monetary.c,
2194 locale/C-numeric.c, locale/C-time.c: Change copyright.
2196 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Correct
2197 endianess for initialization value.
2199 * locale/lc-ctype.c (current): Add parameter for offset.
2200 (__ctype32_b, __ctype_width): Add initialization for these
2203 * locale/programs/charmap.c: Finish support for WIDTH information.
2204 (new_width): New function.
2206 * locale/programs/charset.h (width_rule): new data structure.
2207 (charset_t): Add elements for width information.
2209 * locale/programs/ld-ctype.c (locale_ctype_t): Add element
2210 for width information.
2211 (allocate_arrays): Add new argument for charset.
2212 (ctype_finish): Make sure all characters named in charset
2213 width table are known to name table.
2214 (ctype_output): Correct handling of class and map name
2215 information and write out width information.
2216 (find_idx): Prepare for being called with NULL pointer as
2217 TABLE argument. This means only allocate name entry.
2218 (allocate_arrays): Correct handling of array element -1.
2219 Because EOF == -1 the value of element 127 must *not* be
2221 Fill width information from charset tables.
2223 * locale/programs/localedef.c (main): Correct loop over all
2224 categories after change of order from Thu Mar 28 14:22:51 1996.
2225 Add new charset argument to call of `write_all_categories'.
2227 * locale/programs/locales.h (ctype_finish, ctype_output): New
2230 * locale/programs/locfile.c (write_all_categories): Call
2231 `ctype_output' with additional argument charset.
2233 * posix/getconf.c (vars): Add _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
2234 and _POSIX_PRIO_IO definitions.
2236 * posix/posix2_lim.h: Add definition of _POSIX2_CHARCLASS_NAME_MAX
2237 and CHARCLASS_NAME_MAX.
2239 * posix/unistd.h: Document _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
2242 * stdlib/grouping.h: Prepare for use in wide string functions.
2244 * stdlib/stdlib.h: Correct prototypes for __strto*_internal
2247 * stdlib/strtod.c: Extend for use as `wcsto{f,d,ld}'.
2249 * stdlib/strtol.c: Extend for use as `wcsto{l,ul,q,uq}'.
2251 * string/strcoll.c: Extend for use as `wcscoll'.
2253 * string/strxfrm.c: Extend for use as `wcsxfrm'.
2255 * sysdeps/generic/confname.h: Add definition of _PC_SYNC_IO,
2256 _PC_ASYNC_IO, _PC_PRIO_IO and _SC_CHARCLASS_NAME_MAX.
2258 * sysdeps/generic/stpncpy.c: Correct return value.
2260 * sysdeps/posix/fpathconf.c: Add handling of _PC_SYNC_IO,
2261 _PC_ASYNC_IO, and _PC_PRIO_IO.
2263 * sysdeps/posix/sysconf.c: Add handling of _SC_REALTIME_SIGNALS,
2264 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
2265 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC,
2266 _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
2267 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES,
2268 _SC_SHARED_MEMORY_OBJECTS, and _SC_CHARCLASS_NAME_MAX.
2269 * sysdeps/stub/sysconf.c: Ditto.
2270 * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
2272 * sysdeps/unix/sysv/linux/Dist: Add sys/sysctl.h.
2274 * sysdeps/unix/sysv/linux/Makefile [subdir == misc]
2275 (sysdep_routines): Add s_sysctl and sysctl.
2277 * sysdeps/unix/sysv/linux/sys/mman.h: Add declaration of mremap.
2279 * sysdeps/unix/sysv/linux/sys/socket.h: New file. Wrapper
2280 around kernel header.
2282 * sysdeps/unix/sysv/linux/sys/sysctl.h: New file. Define
2283 interface to `sysctl' function.
2285 * sysdeps/unix/sysv/linux/syscalls.list: Add mremap and _sysctl.
2287 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of
2288 _SC_CHARCLASS_NAME_MAX.
2290 * sysdeps/unix/sysv/linux/sysctl.c: new file. Implement caller
2291 of _sysctl system call.
2293 * sysvipc/Makefile (routines): Add ftok.
2295 * sysvipc/ftok.c: use variable `proj_id' not `id'. Patch by
2296 David Mosberger-Tang.
2298 * wcsmbs/Makefile (routines): Add wcpcpy, wcpncpy, wcstol,
2299 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
2300 wcsxfrm, wcwidth, and wcswidth.
2302 * wcsmbs/wchar.h: Add declarations for wcpcpy, wcpncpy, wcstol,
2303 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
2304 wcsxfrm, wcwidth, and wcswidth.
2305 Declare internal interfaces for wcsto* functions.
2306 [OPTIMIZE]: Define inline functions for wcsto* functions to
2307 call internal interface functions.
2309 * wcsmbs/wcpcpy.c, wcsmbs/wcpncpy.c: New files. Implement non-
2310 standard function equivalent to stpcpy/stpncpy.
2312 * wcsmbs/wcscoll.c: Implement `wcscoll' function by using
2313 `strcoll' implementation.
2315 * wcsmbs/wcscpy.c, wcsmbs/wcsncpy.c: Use wint_t instead of
2318 * wcsmbs/wcstod.c: Implement `wcstod' function by using `strtod'
2320 * wcsmbs/wcstof.c: Same for `wcstof'.
2321 * wcsmbs/wcstold.c: Same for `strtold'.
2323 * wcsmbs/wcstol.c: Implement `wcstol' function by using `strtol'
2325 * wcsmbs/wcstoq.c: Same for `wcstoq'.
2326 * wcsmbs/wcstoul.c: Same for `wcstoul'.
2327 * wcsmbs/wcstouq.c: Same for `wcstouq'.
2329 * wcsmbs/wcswidth.c: Implement `wcswidth' function from X/Open
2331 * wcsmbs/wcwidth.c: Ditto for `wcwidth'.
2332 * wcsmbs/wcwidth.h: Common function for definitions of above two
2335 * wcsmbs/wcsxfrm.c: Implement `wcsxfrm function by using
2336 `strxfrm implementation.
2338 * wctype/wctype.c: Remove case for `wctype_t' being 16 bit type.
2340 * wctype/wctype.h (wint_t): Protect against multiple definition.
2341 (wctype_t): Always define as `unsigned long int'.
2343 * wctype.h: New file. Wrapper around wctype/wctype.h.
2345 Tue Apr 30 17:30:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
2347 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Add timeout argument to
2348 interrupt_operation call.
2349 (_hurdsig_interrupt_timeout): New variable.
2351 * hurd/report-wait.c (describe_number): Correctly allocate space
2352 in DESCRIPTION for the digits in I.
2354 Mon Apr 29 00:11:59 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2356 * hurd/hurdstartup.c (_hurd_split_args): Function removed.
2357 (_hurd_startup): Use argz functions.
2359 * hurd/hurdexec.c: Use argz functions.
2361 * errno.h [!__error_t_defined] (error_t): New type.
2362 * sysdeps/mach/hurd/errnos.awk: #define __error_t_defined after the
2363 typedef in errnos.h.
2365 * string/envz.c, string/envz.h: New files.
2366 * string/argz.h, string/argz-append.c, string/argz-count.c,
2367 string/argz-create.c, string/argz-delete.c, string/argz-extract.c,
2368 string/argz-insert.c, string/argz-stringify.c: New files.
2369 * string/Makefile (routines): Add envz, argz-*.
2370 (headers): Add argz.h, envz.h.
2372 Sun Apr 28 14:14:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2374 * sysdeps/unix/sysv/linux/i386/Makefile: New file.
2376 Wed Apr 24 17:35:30 Ulrich Drepper <drepper@cygnus.com>
2378 * inet/netinet/in.h, socket/sys/socket.h: Move to
2379 sysdeps/generic/netinet/in.h, sysdeps/generic/sys/socket.h.
2380 * netinet/in.h, sys/socket.h: Remove file.
2382 * misc/Makefile (routines): Add fdatasync.
2384 * posix/Makefile (headers): Add sched.h.
2385 (routines): Add nanosleep, sched_setp, sched_getp, sched_sets,
2386 sched_gets, sched_yield, sched_primax, sched_primin, sched_rr_gi.
2388 * posix/getconf.c (vars): Add entries for _POSIX_REALTIME_SIGNALS,
2389 _POSIX_PRIORITY_SCHEDULING, _POSIX_TIMERS, _POSIX_ASYNCHRONOUS_IO,
2390 _POSIX_PRIORITIZED_IO, _POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC,
2391 _POSIX_MAPPED_FILES, _POSIX_MEMLOCK, _POSIX_MEMLOCK_RANGE,
2392 _POSIX_MEMORY_PROTECTION, _POSIX_MESSAGE_PASSING,
2393 _POSIX_SEMAPHORES, _POSIX_SHARED_MEMORY_OBJECTS.
2395 * posix/sched.h: New file. Header for POSIX scheduling interface.
2397 * posix/unistd.h: Describe options from POSIX.4.
2398 Add declaration of fdatasync.
2400 * sysdeps/generic/confname.h: Add definition for
2401 _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS,
2402 _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO,
2403 _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
2404 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING,
2405 _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS.
2407 * sysdeps/generic/fdatasync.c: New file. Default implementation
2410 * sysdeps/generic/netinit/in.h: Moved to here from inet/netinet/in.h.
2412 * sysdeps/generic/schedbits.h: New file. System dependent
2413 defintion for POSIX.4 scheduling interface.
2415 * sysdeps/generic/sys/socket.h: Moved to here from socket/sys/socket.h.
2417 * sysdeps/stub/nanosleep.c, sysdeps/stub/sched_getp.c,
2418 sysdeps/stub/sched_gets.c, sysdeps/stub/sched_primax.c,
2419 sysdeps/stub/sched_primin.c, sysdeps/stub/sched_rr_gi.c,
2420 sysdeps/stub/sched_setp.c, sysdeps/stub/sched_sets.c,
2421 sysdeps/stub/sched_yield.c: New file: Stub implementation
2422 for systems missing these POSIX.4 system calls.
2424 * sysdeps/unix/sysv/linux/gnu/types.h,
2425 sysdeps/unix/sysv/linux/ioctls.h: Use kernel header for
2426 data type definitions.
2428 * sysdeps/unix/sysv/linux/netinet/in.h: New file. Linux
2431 * sysdeps/unix/sysv/linux/posix_opt.h: New file. Define POSIX
2432 options applicable for Linux.
2434 * sysdeps/unix/sysv/linux/syscalls.list: Add definitions for
2435 fdatasync, nanosleep, sched_setparam, sched_getparam,
2436 sched_setscheduler, sched_getscheduler, sched_yield,
2437 sched_get_priority_max, sched_get_priority_min, and
2438 sched_rr_get_interval.
2440 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of POSIX.4
2443 * sysdeps/unix/sysv/linux/termbits.h: Use kernel headers.
2445 * time/sys/time.h: Remove definition of `struct timespec'.
2447 * time/time.h (struct timespec): Move definition to here.
2449 Fri Apr 26 01:55:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2451 * malloc/mcheck.c (mabort): Use __libc_fatal only #ifdef _LIBC.
2453 Thu Apr 25 15:49:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
2455 * sysdeps/mach/hurd/getcwd.c (__getcwd): When we find a match in
2456 the scan for a name, avoid doing another readdir (which overwrites
2457 NENTRIES, and was resulting in a bogus ENOENT).
2459 * sysdeps/mach/hurd/fcntl.c (__fcntl): Add missing break after F_SETFL.
2461 Wed Apr 24 00:22:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2463 * stdio/internals.c (seek_to_target): Set errno if seek function
2464 returns the wrong offset.
2466 * wcsmbs/wcsrtombs.c [! EILSEQ] (EILSEQ): Define to EINVAL.
2467 * wcsmbs/wcrtomb.c: Likewise.
2469 * stdio-common/vfprintf.c: Include errno.h.
2471 Tue Apr 23 21:09:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
2473 * hurd/hurdsig.c (signal_allowed): For SIGIO/SIGURG, add a new
2474 variable, LUCKY, to use instead of setting D to -1 (which fouls
2477 Tue Apr 23 15:56:56 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2479 * config.h.in (HAVE_REGEX): New macro.
2481 * sysdeps/unix/syscalls.list: Add statfs, fstatfs.
2482 * io/Makefile (headers): Add sys/statfs.h, statfsbuf.h.
2483 (routines): Add statfs, fstatfs.
2484 * sysdeps/mach/hurd/statfs.c: New file.
2485 * sysdeps/mach/hurd/fstatfs.c: New file.
2486 * sysdeps/stub/fstatfs.c: New file.
2487 * sysdeps/stub/statfs.c: New file.
2488 * io/sys/statfs.h: New file.
2489 * sysdeps/generic/statfsbuf.h: New file.
2490 * sysdeps/unix/sysv/linux/statfsbuf.h: New file.
2492 Tue Apr 23 00:06:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2494 * malloc/Makefile (gmalloc-routines): Add valloc back here.
2495 (dist-routines): Remove it here.
2496 * malloc/valloc.c [_MALLOC_INTERNAL && GMALLOC_INHIBIT_VALLOC]
2497 (ELIDE_VALLOC): Define it.
2498 [! ELIDE_VALLOC]: Make whole file conditional on this.
2499 * malloc/malloc.h (valloc): Make decl conditional on
2500 [!GMALLOC_INHIBIT_VALLOC] instead of [!emacs].
2502 Mon Apr 22 00:02:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2504 * MakeTAGS: Include version.mk.
2505 (po/SYS_libc.pot): Add missing / in sed s cmd.
2507 Sat Apr 20 18:13:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2509 * Makerules (no-whole-archive): Test $(have-no-whole-archive), not
2510 $(libc_cv_ld_no_whole_archive).
2512 Sat Apr 20 17:07:17 1996 Ulrich Drepper <drepper@cygnus.com>
2514 * assert/assert.h, ctype/ctype.h, dirent/dirent.h, errno.h,
2515 grp/grp.h, io/fcntl.h, io/sys/stat.h, io/utime.h, locale/locale.h,
2516 math/math.h, misc/nlist.h, misc/sgtty.h, misc/sys/file.h,
2517 misc/sys/ioctl.h, misc/sys/uio.h, posix/sys/times.h,
2518 posix/sys/types.h, posix/sys/utsname.h, posix/sys/wait.h,
2519 posix/tar.h, posix/wordexp.h, pwd/pwd.h, resource/sys/vlimit.h,
2520 resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h,
2521 stdio-common/printf.h, stdlib/alloca.h, stdlib/stdlib.h,
2522 string/string.h, sysdeps/generic/sigaction.h,
2523 sysdeps/generic/sigset.h, sysdeps/generic/sys/ptrace.h,
2524 sysdeps/generic/sys/ptrace.h, sysdeps/unix/bsd/osf/sigaction.h,
2525 sysdeps/unix/sysv/linux/sys/ptrace.h,
2526 sysdeps/unix/sysv/minix/sigaction.h,
2527 sysdeps/unix/sysv/sco3.2.4/sigaction.h,
2528 sysdeps/unix/sysv/sysv4/sigaction.h,
2529 sysdeps/unix/sysv/sysv4/sigset.h, termios/termios.h,
2530 time/sys/time.h, time/time.h: Fix copyright comment.
2532 Fri Apr 19 00:49:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2534 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If uids and gids are
2535 not given in stack aux vector, fetch them with syscalls.
2537 * stdlib/rpmatch.c (rpmatch: try): Take new arg NOMATCH, return value
2538 for nonmatching nonerror (instead of !MATCH).
2539 (rpmatch): Use it, so we return -1 when NOEXPR doesn't match either.
2541 * resolv/getnetnamadr.c (getnetbyaddr): Use u_int32_t instead of
2542 unsigned long for variable NET2.
2544 * time/etcetera, time/europe, time/solar89: Updated from ADO's 96e.
2546 Tue Apr 9 14:37:31 1996 Ulrich Drepper <drepper@cygnus.com>
2548 * catgets/Makefile, catgets/catgets.c, catgets/catgetsinfo.h,
2549 catgets/config.h, catgets/gencat.c, catgets/nl_types.h,
2550 catgets/open_catalog.c: New files. Implementation of XPG4
2551 compliant catgets() function and needed tools.
2552 * Makefile (subdirs): Add catgets.
2554 Thu Apr 18 23:36:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2556 * math/Makefile (CPPFLAGS): Append -D__NO_MATH_INLINES.
2558 Wed Apr 10 20:48:43 1996 Ulrich Drepper <drepper@cygnus.com>
2560 * stdio-common/vfprintf.c: Correct some typos.
2562 * sysdeps/libm-ieee754/w_gammaf.c, sysdeps/libm-ieee754/w_lgamma.c,
2563 sysdeps/libm-ieee754/w_lgammaf.c: Reference signgam instead of
2566 Thu Apr 18 21:07:27 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2568 * Makerules (no-whole-archive): New variable.
2569 (build-shlib): Use it.
2570 * elf/Makefile (libdl.so): Use it.
2571 * configure.in (libc_cv_ld_no_whole_archive): New check for
2573 * config.make.in (have-no-whole-archive): New variable.
2575 * stdio-common/printf_fp.c: Increase fudge factor for BIGNUM_SIZE calc
2578 * Make-dist: Include version.mk.
2579 (version, release): Variables removed.
2580 * Makeconfig (version.mk): New target.
2582 Fri Apr 19 01:42:18 1996 Ulrich Drepper <drepper@cygnus.com>
2584 * locale/Makefile (headers): Add langinfo.h.
2585 (CPPFLAGS): Remove -Iliblib.
2587 Mon Apr 15 16:49:04 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2589 * malloc/memalign.c, malloc/malloc.h [__DJGPP__ == 1]: Elide memalign
2590 function and its declaration.
2592 Wed Apr 10 14:13:45 1996 Miles Bader <miles@gnu.ai.mit.edu>
2594 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Store
2595 MACH_PORT_DEAD in the thread reply-port variable before destroying
2596 the signal handler's reply port, to avoid infinite recursion.
2598 Mon Apr 8 18:27:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
2600 * sysdeps/mach/gettimeofday.c (__gettimeofday): Don't fail if the
2601 user passes in TZ, just zero it (emacs passes in a dummy variable,
2602 and rms says the hurd should be the one to change).
2604 Sun Apr 7 10:37:30 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2606 * sysdeps/mach/hurd/fork.c: Don't leak send rights to the child's proc
2609 Fri Apr 5 17:43:41 1996 Miles Bader <miles@gnu.ai.mit.edu>
2611 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Store
2612 MACH_PORT_DEAD in the thread reply-port variable before destroying
2613 the signal handler's reply port to avoid infinite recursion.
2614 * sysdeps/mach/hurd/mig-reply.c (__mig_dealloc_reply_port): Only
2615 attempt to destroy PORT if it's a valid port name.
2617 Wed Apr 3 17:10:44 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2619 * extra-lib.mk: Put libs in $(common-objpfx) instead of $(objpfx).
2620 * Makerules ($(install-lib) rules): Find libs with $(common-objpfx)
2621 instead of $(objpfx).
2623 Tue Apr 2 21:27:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2625 * posix/glob.c (glob_pattern_p): Avoid scanning past eos if
2626 the pattern ends with a backslash and quoting is enabled.
2627 * posix/fnmatch.c (fnmatch): Likewise; return FNM_NOMATCH for such
2630 Mon Apr 1 13:34:55 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2632 * stdio-common/tst-printf.c (main): Add new test case.
2634 * sysdeps/generic/setenv.c (unsetenv): Use old-style definition.
2636 Mon Apr 1 11:39:10 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2638 * stdlib/strtod.c (STRTOD): Fix handling of American style FP
2641 * stdio-common/vfprintf.c (vfprintf): Don't increment format
2642 string pointer twice after seeing `*'.
2644 Sun Mar 31 17:31:54 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2646 * MakeTAGS (po/SYS_libc.pot): Prepend header processed from
2649 Sun Mar 31 18:07:32 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2651 * locale/Makefile (others, install-bin): Compiling locale works
2653 (locale-modules): locale has no --dump option anymore. Remove
2656 * locale/programs/config.h: Don't declare euidaccess.
2657 Use #include_next to get libc's config.h.
2659 * locale/programs/ctypedump.c: Not needed anymore. Dump option
2660 of locale is removed.
2662 * locale/programs/locale.c: Adapt for new locale implementation.
2664 * stdio-common/_itoa.h (_itoa_word): Define as inline function.
2665 * stdio-common/_itoa.c (_itoa_lower_digits, _itoa_upper_digits):
2666 Don't declare static because used in _itoa_word inline function.
2668 * stdio-common/printf-parse.h: Prepare for use in wide-char
2669 stdio implementation.
2670 (find_spec): Take additional argument to work with mbrlen instead
2672 (parse_one_spec): Ditto.
2674 * stdio-common/printf-prs.c: Prepare for use in wide-char
2675 stdio implementation.
2677 * stdio-common/printf.h: Mark change for wide-char handling.
2678 Changing it now would result in incompatibilities.
2680 * stdio-common/vfprintf.c: New and fast implementation.
2682 * wcsmbs/Makefile (routines): Remove pre-ISO C multibyte functions
2683 mbsadvance, mbscat, mbschr, mbscmp, mbscpy, mbsdup, mbslen,
2684 mbsncat, mbsncmp, mbsncpy, mbsrchr, mbstomb.
2685 Change wcswcs to wcsstr.
2686 Add wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset, btowc, wctob,
2687 mbsinit, mbrlen, mbrtowc, wcrtomb, mbsrtowcs, wcsrtombs.
2689 * wcsmbs/btowc.c, wcsmbs/mbrlen.c, wcsmbs/mbrtowc.c,
2690 wcsmbs/mbsinit.c, wcsmbs/mbsrtowcs.c, wcsmbs/wchar.h,
2691 wcsmbs/wcrtomb.c, wcsmbs/wcsrtombs.c, wcsmbs/wcsstr.c,
2692 wcsmbs/wctob.c, wcsmbs/wmemchr.c, wcsmbs/wmemcmp.c,
2693 wcsmbs/wmemcpy.c, wcsmbs/wmemmove.c, wcsmbs/wmemset.c: New
2694 function according to ISO C amendment 1.
2695 * wchar.h: Wrapper around "wcsmbs/wchar.h".
2697 * wcsmbs/wcscat.c, wcsmbs/wcschr.c, wcsmbs/wcscmp.c,
2698 wcsmbs/wcscpy.c, wcsmbs/wcscspn.c, wcsmbs/wcsdup.c,
2699 wcsmbs/wcslen.c, wcsmbs/wcsncat.c, wcsmbs/wcsncmp.c,
2700 wcsmbs/wcsncpy.c, wcsmbs/wcspbrk.c, wcsmbs/wcsrchr.c,
2701 wcsmbs/wcsspn.c, wcsmbs/wcstok.c: Changed to conform with ISO C
2704 * wcsmbs/mbsadvance.c, wcsmbs/mbscat.c, wcsmbs/mbschr.c,
2705 wcsmbs/mbscmp.c, wcsmbs/mbscpy.c, wcsmbs/mbsdup.c,
2706 wcsmbs/mbslen.c, wcsmbs/mbsncat.c, wcsmbs/mbsncmp.c,
2707 wcsmbs/mbsncpy.c, wcsmbs/mbsrchr.c, wcsmbs/mbstomb.c,
2708 wcsmbs/mbstr.h, wcsmbs/wcstr.h, wcsmbs/wcswcs.c: Removed.
2709 Implement functions from early drafts, not part of final standard.
2711 Sun Mar 31 16:50:41 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2713 * setjmp/setjmp.h (jmp_buf): Change gratuitous struct tag name to
2714 __jmp_bug_tag so its C++ implicit typedef does not conflict with the
2717 * Makerules (BUILD_CFLAGS) [! objdir]: Use $(..)config.h when
2718 compiling in the source directories.
2720 Fri Mar 29 16:26:35 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2722 * sysdeps/libm-ieee754/w_gamma.c: Use signgam instead of __signgam.
2723 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
2725 Fri Mar 29 11:29:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2727 * sysdeps/libm-ieee754/s_signgam.c (signgam): Renamed to __signgam,
2728 with weak alias signgam.
2730 Thu Mar 28 18:32:34 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2732 * Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally.
2734 Thu Mar 28 14:22:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2736 * sunrpc/rpc_main.c (main): Call textdomain.
2738 * MakeTAGS (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): Add
2740 (all-pot): Replace $(subdirs) files with $P/subdirs.pot.
2741 ($P/subdirs.pot): New target.
2742 ($P/SYS_libc.pot): Add -n switch.
2744 * locale/locale.h (LC_*): Values reordered to match Linux libc.
2746 * sysdeps/mach/hurd/kill.c: If proc_pid2task gives us MACH_PORT_NULL
2747 the process is a zombie; send no messages and return success.
2749 Thu Mar 28 11:53:26 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2751 * wctype/cname-lookup.h: Find localeinfo.h in ../locale.
2752 * wctype/wctype.c: Likewise.
2753 * wctype/wctrans.c: Likewise.
2755 Thu Mar 28 03:00:43 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2757 * locale/nl_langinfo.c (nl_langinfo): Use DATA->values instead of
2760 * Makerules (BUILD_CFLAGS): Remove $(common-objpfx) from config.h.
2762 * configure.in (.weakext check): Fix asm code to use .weakext instead
2763 of .weak! Fix bogus test calls.
2764 * configure: Regenerated.
2766 Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2768 * locale/programs/xmalloc.c: Test _LIBC as well as STDC_HEADERS.
2770 * locale/programs/ld-collate.c (collate_finish): Use error_at_line
2771 instead of error_with_loc.
2773 * locale/weight.h: Use u_int32_t instead of u32_t.
2774 * string/strxfrm.c: Likewise.
2776 * string/strxfrm.c: Find weight.h in ../locale; don't #include
2778 * string/strcoll.c: Likewise.
2780 * intl/Makefile (copysrc): Add missing > in sed cmd.
2782 Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2784 * Makeconfig: Rename Makefile variable nlsdir to i18ndir and
2785 change value to $(datadir)/i18n. `nls' is not an appropriate
2788 * Makefile (subdirs): Add new subdir wctype.
2790 * ctype/ctype-info.c: Add new global variable __ctype_names
2791 and initialize from _nl_C_LC_CTYPE.
2793 * ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
2795 [_ISbit]: Protect definition of bitmasks because they are also
2798 * libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
2799 after successfully pushing back a character.
2801 Fundamental changes in locale implementation. Almost nothing
2802 from the old code is used anymore.
2803 * locale/charmap.c, locale/collate.c, locale/config.h,
2804 locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
2805 locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
2806 locale/locale.c locale/localeconv.c, locale/localedef.c,
2807 locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
2808 locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
2809 locale/numeric.c, locale/setlocale.c, locale/token.h,
2810 locale/xmalloc.c: Removed.
2812 * locale/Makefile: Update for new locale implementation with
2813 program source code distributed in subdir.
2815 * locale/categories.def, locale/iso-4217.def: Updated file
2816 for new locale implementation.
2818 * locale/langinfo.h: Updated for new locale implementation.
2819 (ERA_D_T_FMT, ERA_T_FMT): New official values according to
2821 (_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
2822 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
2823 _NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
2824 _NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
2825 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
2826 _NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
2827 extended LC_CTYPE and LC_COLLATE implementation.
2829 * locale/programs/simple-hash.c, locale/programs/simple-hash.h,
2830 locale/programs/xmalloc.c, locale/programs/xstrdup.c: Helper functions
2831 for locale related programs.
2833 * locale/C-collate.c, locale/C-ctype.c,
2834 locale/C-messages.c, locale/C-monetary.c,
2835 locale/C-numeric.c, locale/C-time.c,
2836 locale/lc-collate.c, locale/lc-ctype.c,
2837 locale/lc-messages.c, locale/lc-monetary.c,
2838 locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
2839 functions, and new generated "C" locale data.
2841 * locale/loadlocale.c: Now handles word fields in locale binary
2842 automatically by changing the endianess if necessary.
2844 * locale/localeinfo.h (LIMAGIC): Changed magic number because
2845 of incompatible changes.
2846 (locale_data): Changed definition to allow word as a value type.
2847 (coll_sort_rule): Values for collation sorting mode.
2848 (_NL_CURRENT_WORD): New macro to access word value of locale entry.
2849 (__collate_table, __collate_extra): Declare new global variables
2850 for collation tables.
2852 * locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
2853 locale/programs/charmap.c, locale/programs/charset.c,
2854 locale/programs/charset.h, locale/programs/config.h,
2855 locale/programs/ctypedump.c, locale/programs/ld-collate.c,
2856 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
2857 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
2858 locale/programs/ld-time.c, locale/programs/linereader.c,
2859 locale/programs/linereader.h, locale/programs/locale.c,
2860 locale/programs/localedef.c, locale/programs/locales.h,
2861 locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
2862 locale/programs/locfile-token.h, locale/programs/locfile.c,
2863 locale/programs/locfile.h, locale/programs/stringtrans.c,
2864 locale/programs/stringtrans.h: Implementation of locale related
2867 * locale/weight.h: Functions to access collation tables.
2869 * posix/unistd.h: Define _POSIX2_LOCALEDEF.
2871 * stdio-common/printf_fp.c: Fix bug with printing certain numbers
2872 < 10^-1. Reported by Bill Metzenthen.
2874 * stdio-common/tfformat.c: Add new test for above bug.
2876 * string/strcoll.c, string/strxfrm.c: Real implementation of
2877 string collation according to ISO C.
2879 * wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
2880 wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
2881 wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
2882 Implementation of wide character classes and mapping.
2884 Wed Mar 27 14:52:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2886 * elf/rtld.c (dl_main): Call _dl_sysdep_start_cleanup after
2887 _dl_relocate_object loop. Avoid relocating RTLD_MAP in that loop, and
2888 do it individually if necessary after _dl_sysdep_start_cleanup call.
2890 * stdlib/Makefile (mpn-routines): Add divrem.
2892 Tue Mar 26 22:54:14 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2894 * stdio-common/printf_fp.c (__printf_fp): Use mpn_divmod
2895 instead of __mpn_divmod.
2897 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
2899 * sysdeps/alpha/setjmp.S: Must establish global pointer before
2900 address of __sigsetjmp_aux can be loaded.
2902 Wed Mar 27 02:23:19 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2904 * sysdeps/i386/i586/memset.S: New file. Highly optimized
2905 version for i586 contributed by Torbjorn Granlund.
2906 Adapted for use as bzero.
2907 * sysdeps/i386/i586/bzero.S: Use sysdeps/i386/i586/memset.S
2908 code to implement bzero().
2910 Tue Mar 26 20:01:17 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2912 * stdlib/Makefile (mpn-routines): Remove divmod.
2914 Tue Mar 26 15:40:14 1996 Brendan Kehoe <brendan@zen.org>
2916 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (NO_UNDERSCORES): Use
2917 wrapped with #ifndef, to avoid config.h defining it.
2919 Mon Mar 25 13:10:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2921 * malloc/realloc.c (_realloc_internal): In case of growing large
2922 block, leave _heaplimit zero across _malloc_internal call.
2924 * intl/Makefile [gettext-srcdir]: Use gpl2lgpl.sed on copied sources.
2926 Mon Mar 25 03:35:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2928 * malloc/malloc.c (morecore): Don't attempt recursive realloc of info
2929 table when _heaplimit==0 during realloc growing large block.
2931 * MakeTAGS (extract): Remove /dev/null from xgettext command line.
2932 (text-srcs): New variable: extract only C sources from $(tags_sources).
2933 (po/$(domain).pot): Depend on that.
2934 If it's empty, cp /dev/null $@ instead of $(extract).
2936 * misc/Makefile (headers): Add iovec.h.
2937 * sysdeps/unix/sysv/linux/iovec.h: New file.
2938 * sysdeps/generic/iovec.h: New file.
2939 * misc/sys/uio.h (struct iovec): Type replaced with #include <iovec.h>.
2941 * configure.in (NO_UNDERSCORES check): Use AC_TRY_LINK instead of
2944 * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): Move these
2945 macros inside [! __STDC__].
2947 * stdlib/rpmatch.c: New file.
2948 * stdlib/Makefile (routines): Add rpmatch.
2949 * stdlib/stdlib.h [__USE_SVID]: Declare rpmatch.
2951 * MakeTAGS (MSGJOIN): Variable removed.
2952 (po/SYS_libc.pot): Use $(XGETTEXT) instead of $(MSGJOIN).
2954 Wed Mar 20 20:08:46 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2956 * sysdeps/unix/sysdep.h: Don't define C_SYMBOL_NAME.
2958 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't define
2961 Thu Mar 21 11:19:15 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2963 * mach/devstream.c (input): Translate \r to \n on input.
2965 Wed Mar 20 11:28:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2967 * stdio-common/printf.h, stdio-common/printf_fp.c,
2968 stdio-common/vfprintf.c: Place const in parameter list at
2971 Wed Mar 20 23:58.12 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2973 * sysdeps/i386/ldbl2mpn.c: Copy of former version of
2974 sysdeps/ieee754/ldbl2mpn.c.
2975 * sysdeps/ieee754/ldbl2mpn.c: Remove i386 specific unification.
2976 Reported by Andreas Schwab.
2978 Wed Mar 20 19:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
2980 * version.c: Include version.h to define RELEASE and VERSION macros.
2981 (__libc_release, __libc_version): Use them.
2982 * locale/SYS_libc.c (_libc_intl_domainname): Include ../version.h and
2983 use VERSION to define domainname as `SYS_GNU_libc-VERSION'.
2984 * Make-dist (rel+vers): Snarf the macro values from version.h.
2986 * MakeTAGS (extract): Pass $(XGETTEXTFLAGS-$(@F)).
2987 (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): New variables;
2988 pass -a for these files.
2990 * Makerules (po/%.pot): Depend on FORCE target so recursive make is
2993 Mon Mar 18 22:54:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2995 * sysdeps/unix/sysv/linux/wait3.c: New file.
2996 * sysdeps/unix/sysv/linux/wait.c: Use the bsd4.4 wait, not the
2997 one from sysdeps/posix.
2999 Wed Mar 20 09:42:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3001 * sysdeps/unix/bsd/waitflags.h (WNOREAP): New macro.
3003 * elf/dl-load.c (_dl_map_object_from_fd): Always set L->l_type; if not
3004 lt_executable, then lt_library.
3005 * elf/rtld.c (dl_main): Don't set NEW->l_type after _dl_map_object.
3007 Wed Mar 20 00:08:23 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3009 * sysdeps/unix/sysv/linux/syscalls.list: Remove gtty and stty.
3011 Tue Mar 19 16:31:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3013 * sysdeps/unix/sysv/linux/termbits.h (CRTSCTS, CBAUDEX, VEOL,
3014 VEOL2, VMIN, VTIME): Corrected.
3015 (PAGEOUT, WRAP, VDSUSP): Deleted.
3017 Tue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3019 * sysdeps/unix/readdir.c: Test [! _DIRENT_HAVE_D_RECLEN] instead of
3020 (sizeof (DP->d_name) > 1) to detect fixed-size dir entries.
3022 * sysdeps/i386/fpu/__math.h (asinh): Call log1p instead of __log1p.
3024 * math/math.h: Move M_* constants before __math.h include.
3025 [__NO_MATH_INLINES || __OPTIMIZE__]: Include __math.h only #if this.
3027 * misc/efgcvt_r.c (ecvt_r): Declare floor, log10, fabs as weak extern.
3028 If log10 is not defined (i.e. no -lm), use stupid loop instead.
3030 * features.h (__FAVOR_BSD): Define only if _BSD_SOURCE is defined
3031 and no other _*_SOURCE macro is.
3032 (_GNU_SOURCE): Don't define by default.
3033 * libc-symbols.h (_GNU_SOURCE): Define it.
3035 * configure.in (alpha*-*-linux*): Unset $gnu_ld and $elf.
3037 * config.make.in (weak-symbols): Variable removed.
3038 * configure.in (--with-weak-symbols): Option removed.
3039 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
3042 * config.h.in (HAVE_WEAK_SYMBOLS): #undef removed.
3043 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
3045 * libc-symbols.h: Use them instead of HAVE_WEAK_SYMBOLS.
3047 * sysdeps/unix/bsd/pause.c: Moved to sysdeps/unix/common/pause.c.
3049 Mon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
3051 * inet/inet_lnaof.c: Use u_int32_t instead of u_long.
3052 * inet/inet_mkadr.c: Likewise.
3053 * inet/inet_net.c: Likewise.
3054 * inet/inet_netof.c: Likewise.
3055 * inet/rcmd.c: Likewise.
3056 * inet/arpa/inet.h: Likewise.
3057 * inet/netinet/in.h: Likewise.
3058 * inet/netinet/tcp.h: Likewise.
3059 * inet/protocols/rwhod.h: Likewise.
3060 * inet/protocols/talkd.h: Likewise.
3061 * resolv/inet_addr.c: Likewise.
3063 * sysdeps/unix/sysv/linux/adjtime.c: Use INT_MAX instead of LONG_MAX.
3065 * sysdeps/unix/sysv/Makefile (sysdep_routines): Don't add s_getdents.
3067 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add mount,
3070 * sysdeps/alpha/__math.h (atan, cabs): New functions.
3072 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: new file (syscall
3073 expects set-value, not pointer to it).
3075 Sun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
3077 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: New file.
3079 * gmon/gmon.c (__bb_head): new variable.
3080 (write_hist, write_call_graph, write_bb_counts): new functions.
3081 (_mcleanup): modified to call above functions instead of directly
3082 writing out gmon.out.
3083 * gmon/sys/gmon.h (struct __bb): New type.
3084 (struct gmonhdr): Type removed.
3085 (struct gmonparam): New member `log_hashfraction'.
3086 (GMONVERSION): Macro removed.
3088 * gmon/sys/gmon_out.h, gmon/bb_exit_func.c,
3089 sysdeps/generic/bb_init_func.c, sysdeps/alpha/bb_init_func.S: new
3091 * gmon/Makefile (headers): Add sys/gmon_out.h.
3092 (routines): Add bb_init_func, bb_exit_func.
3094 * gmon/mcount.c: Avoid integer division.
3096 Wed Feb 21 23:56:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
3098 * sysdeps/alpha/setjmp.S: switched order in which sp and fp are
3099 passed to match what __sigsetjmp_aux() expects.
3101 Tue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com>
3103 * sysdeps/unix/sysv/linux/alpha/syscalls.list (select, bind,
3104 connect, getpeername, getsockname, listen, recv, recvfrom,
3105 recvmsg, send, sendmsg, sendto, setsockopt, shutdown, socketpair):
3106 added to override same-name assembly file in the parent directory.
3108 * stdlib/stdlib.h: add include of sys/types.h in front of random
3109 etc declarations to ensure int32_t is declared.
3111 * stdlib/random.c, stdlib/random_r.c: replaced "long int" by int32_t
3112 where 32 bit integers are required. Also change LONG_MAX into
3113 0x7fffffff since the intent is to turn off the sign bit in a
3116 * time/offtime.c (__offtime): Use Paul Eggert's code to deal
3117 with very large values for "days" (e.g., 64 bit values).
3119 Mon Feb 19 22:22:12 1996 David Mosberger-Tang <davidm@azstarnet.com>
3121 * stdlib/stdlib.h (__random, __random_r, random_r, struct
3122 random_data): use int32_t instead of `long int'.
3124 Sat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
3126 * sysdeps/unix/sysv/linux/alpha/ioperm.c: new file.
3128 * sysdeps/alpha/ffs.S: new file.
3130 * sysdeps/alpha/fabs.c: File removed.
3132 * time/tzfile.c (__tzfile_read): counter variable is i, *not*
3135 * time/offtime.c: make capable of dealing with very large (64 bit)
3136 time_t values. Use old algorithm until a year is reached that
3137 is an integer multiple of 400, then use DAYS_PER_400_YEARS to
3138 do the remainder in a single division.
3140 * sysdeps/generic/ffs.c (ffs): fix variable declarations to
3141 be unsigned int, not unsigned long.
3143 * string/test-ffs.c (main): add test case with all upper bits
3146 * stdlib/tst-strtol.c: add tests cases for machines where
3149 * stdlib/testrand.c (main): disallow rand() to return negative
3152 * stdlib/testmb.c (main): fix format to use %lx instead of %x.
3154 * stdlib/stdlib.h: on 64 bit machines, declare
3155 struct random_data, __random(), __random_r, and random_r to
3156 return "int" instead of "long int".
3158 * stdlib/random_r.c: 64 bit machines use "int" instead of "long
3159 int". Similarly, use INT_MAX instead of LONG_MAX.
3161 * stdlib/random.c: on 64 bit machines, randtbl[] and __random[]
3162 need to operate on "int" instead of "long int".
3164 * locale/locfile-hash.c (compute_hashval): make shifted constant
3165 a long to avoid loosing bits on 64 bit machines.
3167 * dirent/tst-seekdir.c (main): fix confusing comment; print
3168 a line to mark point where directory is rewound.
3170 Fri Feb 16 15:01:49 1996 David Mosberger-Tang <davidm@azstarnet.com>
3172 * time/strftime.c (strftime): any hour > 11 is PM (not > 12!).
3174 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
3176 * sysdeps/unix/sysv/linux/alpha/Makefile,
3177 sysdeps/unix/sysv/linux/alpha/brk.S,
3178 sysdeps/unix/sysv/linux/alpha/fpu_control.c,
3179 sysdeps/unix/sysv/linux/alpha/fpu_control.h,
3180 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
3181 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
3182 sysdeps/unix/sysv/linux/alpha/pipe.S,
3183 sysdeps/unix/sysv/linux/alpha/setfpucw.c,
3184 sysdeps/unix/sysv/linux/alpha/sigprocmask.c,
3185 sysdeps/unix/sysv/linux/alpha/speed.c,
3186 sysdeps/unix/sysv/linux/alpha/start.S,
3187 sysdeps/unix/sysv/linux/alpha/syscall.S,
3188 sysdeps/unix/sysv/linux/alpha/syscalls.list,
3189 sysdeps/unix/sysv/linux/alpha/alpha/regdef.h,
3190 sysdeps/unix/sysv/linux/alpha/sysdep.S,
3191 sysdeps/unix/sysv/linux/alpha/sysdep.h: New files.
3193 * sysdeps/alpha/setjmp_aux.c (__sigsetjmp_aux): restore return
3194 address register before returning (gcc 2.7.1 doesn't do it,
3195 presumably because $26 is declared as a global variable).
3197 * sysdeps/unix/sysv/linux/sys/mman.h: msync was missing "flags"
3200 * sysdeps/unix/alarm.c (alarm): do roundup using test & increment
3201 instead of multiplication.
3203 * sysdeps/posix/sleep.c (sleep): initialize sa_mask to mask of
3204 currently blocked signals instead of the empty mask to ensure
3205 that execution of alarm handler occurs with none of the currently
3206 blocked signals enabled.
3208 * sysdeps/unix/alpha/sysdep.h: new file (adapted from OSF/1 version).
3210 * sysdeps/unix/bsd/osf/alpha/sysdep.h: include
3211 sysdeps/unix/alpha/sysdep.h and removed definitions now in that file.
3213 * sysdeps/alpha/divrem.S, sysdeps/alpha/htonl.S,
3214 sysdeps/alpha/htons.S, sysdeps/alpha/machine-gmon.h,
3215 sysdeps/alpha/_mcount.S, sysdeps/alpha/ntohl.s, sysdeps/alpha/ntohs.s,
3216 sysdeps/alpha/strlen.S: New files.
3218 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
3219 sysdeps/alpha/divqu.S, sysdeps/alpha/divrem.m4,
3220 sysdeps/alpha/macros.m4, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
3221 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S, sysdeps/alpha/strlen.c:
3224 * sysdeps/generic/sbrk.c (__sbrk): argument is of type ptrdiff_t, not
3227 * sysdeps/alpha/__longjmp.c (__longjmp): moved dummy while loop
3228 to end of function to avoid a jump across NOPs.
3230 * sysdeps/alpha/Makefile (sysdep_routines): Removed all rules
3231 pertaining to integer division/remainder routines since new code
3232 doesn't require them.
3234 * sunrpc/xdr_mem.c, sunrpc/xdr_stdio.c: Use 4 instead of sizeof(long)
3235 where 32 bit quantities are consumed/stored. Various other minor
3236 64-bit cleanups (casting).
3238 * sunrpc/xdr.c (xdr_int): test for sizeof(int)==4 to determine
3239 whether xdr_long or xdr_short should be used to encode an int.
3240 Notice that an xdr_long is 4 bytes independent of the architecture
3241 (otherwise no Alpha could interoperate with existing NFS servers,
3242 for example). Ditto for enums.
3244 * sunrpc/svc_udp.c (svcudp_recv): changed test from 4*sizeof(u_long)
3245 to 16 since it really wants 16 bytes.
3247 * sunrpc/svc.c (maskp): changed from u_long* to u_int32*.
3249 * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): change casts to
3250 u_int32_t (instead of u_long).
3252 * sunrpc/rpc_cmsg.c (xdr_callmsg), sunrpc/svc_authux.c: increment
3253 "buf" pointer by casting it to a char* first since a long* may be 8
3254 bytes or more and oa->oa_length may be any multiple of 4.
3256 * sunrpc/clnt_udp.c (clntudp_call): replaced sizeof(u_long) by 4
3257 since it really is testing for 32 bits. Fixed casts to use
3258 u_int32 instead of u_long.
3259 * sunrpc/xdr_rec.c: Likewise.
3261 * sunrpc/clnt_tcp.c (clnttcp_call): replaced u_long by u_int32.
3262 * sunrpc/rpc/auth.h: Likewise.
3264 * limits.h (LONG_MAX, LONG_MIN, ULONG_MAX): use 64 bit values
3267 Tue Mar 19 13:27:49 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3269 * sysdeps/i386/fpu/__math.h: New file.
3270 Contributed by John C. Bowman <bowman@hagar.ph.utexas.edu>.
3272 Sun Mar 17 00:28:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3274 * sysdeps/posix/clock.c: Don't multiply the return value by
3275 CLOCKS_PER_SEC or CLK_TCK.
3277 Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3279 * sysdeps/mach/hurd/getcwd.c: Fail with ENOENT if a parent directory
3280 scan finds no match.
3282 * posix/unistd.h (setpgrp): Declare no-arg version unless __FAVOR_BSD.
3283 * misc/bsd-compat.c (setpgrp): New function, two arg version.
3284 * sysdeps/stub/setpgid.c: Remove setpgrp alias.
3285 * sysdeps/mach/hurd/setpgid.c: Likewise.
3286 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
3287 * sysdeps/unix/common/syscalls.list (setpgid): Remove setpgrp alias.
3288 * sysdeps/unix/sysv/irix4/syscalls.list: Likewise.
3289 * sysdeps/unix/sysv/linux/setpgrp.c: Obsolete file removed.
3290 * posix/setpgrp.c (setpgrp): New file.
3291 * posix/Makefile (routines): Add setpgrp.
3293 * elf/Makefile (rtld-link): New canned sequence.
3294 (ld.so, ld-linux.so.1): Use it. Pass -soname option.
3296 * sysdeps/i386/setjmp.S (__setjmp): Define compatibility entry point.
3298 Sun Mar 17 23:15:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3300 * sysdeps/unix/sysv/linux/tcgetpgrp.c,
3301 sysdeps/unix/sysv/linux/tcsetpgrp.c: New files.
3303 Sun Mar 17 07:19:33 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3305 * db/Makefile (CFLAGS-hash_func.c): New variable; pass -Wno-unused.
3306 (CFLAGS): Append -Wno-unitialized.
3308 Sat Mar 16 20:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3310 * stdlib/erand48_r.c: Use FP division by powers of two to distribute
3311 short bits into double.
3313 Sat Mar 16 20:08:22 1996 David Mosberger-Tang <davidm@azstarnet.com>
3315 * sysdeps/alpha/memchr.S: New file.
3316 * sysdeps/alpha/memchr.c: Obsolete file removed.
3317 * string/tester.c: Soup up memchr tests.
3319 Sat Mar 16 16:26:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3321 * misc/Makefile (headers): Add sysexits.h.
3322 * misc/sysexits.h: New file.
3324 Thu Mar 14 15:20:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3326 * sysdeps/libm-ieee754/e_atan2.c (__ieee754_atan2): Change atan
3328 * sysdeps/libm-ieee754/e_atan2f.c (__ieee754_atan2f): Change atanf
3331 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
3332 sysdeps/m68k/fpu/e_asin.c, sysdeps/m68k/fpu/e_asinf.c,
3333 sysdeps/m68k/fpu/e_atanh.c, sysdeps/m68k/fpu/e_atanhf.c,
3334 sysdeps/m68k/fpu/e_cosh.c, sysdeps/m68k/fpu/e_coshf.c,
3335 sysdeps/m68k/fpu/e_exp.c, sysdeps/m68k/fpu/e_expf.c,
3336 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
3337 sysdeps/m68k/fpu/e_log.c, sysdeps/m68k/fpu/e_log10.c,
3338 sysdeps/m68k/fpu/e_log10f.c, sysdeps/m68k/fpu/e_logf.c,
3339 sysdeps/m68k/fpu/e_pow.c, sysdeps/m68k/fpu/e_powf.c,
3340 sysdeps/m68k/fpu/e_remainder.c, sysdeps/m68k/fpu/e_remainderf.c,
3341 sysdeps/m68k/fpu/e_scalb.c, sysdeps/m68k/fpu/e_scalbf.c,
3342 sysdeps/m68k/fpu/e_sinh.c, sysdeps/m68k/fpu/e_sinhf.c,
3343 sysdeps/m68k/fpu/e_sqrt.c, sysdeps/m68k/fpu/e_sqrtf.c,
3344 sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_cosf.c,
3345 sysdeps/m68k/fpu/k_sin.c, sysdeps/m68k/fpu/k_sinf.c,
3346 sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/k_tanf.c,
3347 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
3348 sysdeps/m68k/fpu/s_ceil.c, sysdeps/m68k/fpu/s_ceilf.c,
3349 sysdeps/m68k/fpu/s_cos.c, sysdeps/m68k/fpu/s_cosf.c,
3350 sysdeps/m68k/fpu/s_expm1.c, sysdeps/m68k/fpu/s_expm1f.c,
3351 sysdeps/m68k/fpu/s_fabs.c, sysdeps/m68k/fpu/s_fabsf.c,
3352 sysdeps/m68k/fpu/s_finite.c, sysdeps/m68k/fpu/s_finitef.c,
3353 sysdeps/m68k/fpu/s_floor.c, sysdeps/m68k/fpu/s_floorf.c,
3354 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
3355 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
3356 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
3357 sysdeps/m68k/fpu/s_isnan.c, sysdeps/m68k/fpu/s_isnanf.c,
3358 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
3359 sysdeps/m68k/fpu/s_log1p.c, sysdeps/m68k/fpu/s_log1pf.c,
3360 sysdeps/m68k/fpu/s_logb.c, sysdeps/m68k/fpu/s_logbf.c,
3361 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c,
3362 sysdeps/m68k/fpu/s_rint.c, sysdeps/m68k/fpu/s_rintf.c,
3363 sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
3364 sysdeps/m68k/fpu/s_significand.c,
3365 sysdeps/m68k/fpu/s_significandf.c, sysdeps/m68k/fpu/s_sin.c,
3366 sysdeps/m68k/fpu/s_sinf.c, sysdeps/m68k/fpu/s_tan.c,
3367 sysdeps/m68k/fpu/s_tanf.c, sysdeps/m68k/fpu/s_tanh.c,
3368 sysdeps/m68k/fpu/s_tanhf.c: New files, for m68881 port of fdlibm.
3370 * sysdeps/m68k/fpu/__math.h: Rewritten for fdlibm.
3372 * sysdeps/m68k/fpu/isinfl.c: Rewritten to get argument type right.
3373 * sysdeps/m68k/fpu/isnanl.c: Likewise.
3375 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3377 * posix/glob.c (glob): In GLOB_BRACE brace expansion, fix buffer size
3378 calculation to include trailing invariant portion. Don't use alloca;
3379 instead use a dynamic auto array for GCC, malloc for non-GCC.
3380 Handle nested braces properly.
3382 * elf/elf.h (Elf32_auxv_t): Specify prototype (void) for `a_un.a_fcn'.
3384 * libc-symbols.h (lint): New macro.
3386 Fri Mar 15 01:18:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3388 * libio/iosetvbuf.c: Add weak alias setvbuf.
3390 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3392 * string/strnlen.c: New file.
3393 * string/Makefile (routines): Add strnlen.
3394 * string/string.h [__USE_GNU] (strnlen): Declare new function.
3395 [__OPTIMIZE__]: Define extern inline implementation of it.
3397 * stdlib/erand48_r.c: Use __mpn_construct_double instead of ldexp and
3398 addition, to avoid using anything from -lm.
3400 Mon Mar 4 21:57:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3402 * sysdeps/unix/sysv/linux/m68k/Makefile: New file.
3404 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYS_ify): Redefine.
3405 (CALL_MCOUNT): New macro, empty unless [PROF].
3406 (ENTRY): Do CALL_MCOUNT just after the label.
3407 (JUMPTARGET): New macro.
3408 (SYSCALL_ERROR_HANDLER): Fix syntax.
3410 Thu Mar 14 04:20:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3412 * sysdeps/unix/sysv/linux/init-first.c (init): Call `__personality'
3413 function instead of using inline asm i386 syscall.
3414 * sysdeps/unix/sysv/linux/syscalls.list: Add personality syscall.
3416 * posix/unistd.h [__USE_BSD]: Declare usleep.
3418 Tue Mar 12 04:57:57 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3420 * misc/efgcvt.c (MAXDIG): New macro computed from <floats.h> constants.
3421 (fcvt, ecvt): Use it for buffer size.
3423 * stdlib/drand48-iter.c (__drand48_iterate): Use u_int64_t instead of
3424 conditionalizing long vs long long.
3426 * stdlib/drand48-iter.c (__drand48_iterate): Don't check for null
3427 pointers; never return EFAULT.
3428 * stdlib/drand48_r.c (drand48_r): Likewise.
3429 * stdlib/erand48_r.c (erand48_r): Likewise.
3431 * setjmp/Makefile (tests): Add jmpbug.
3432 * setjmp/jmpbug.c: New file.
3434 Tue Mar 12 04:42:01 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3436 * sysdeps/sparc/jmp_buf.h: Rewritten; use array of ints, not struct.
3437 * sysdeps/sparc/setjmp.S: Rewritten; store %fp value as well.
3438 * sysdeps/sparc/__longjmp.S: Rewritten; unwind frames one by one with
3439 `restore' until the target frame is hit.
3441 Sun Mar 10 20:29:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3443 * sysdeps/unix/sysv/linux/sigsuspend.c: New file.
3444 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigsuspend, add
3447 Thu Mar 7 21:30:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3449 * Makerules (+make-deps, sed-remove-objpfx): Quote periods on the
3450 left side of sed substitutions.
3452 Sun Mar 10 16:58:10 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3454 * stdio-common/printf_fp.c (hack_digit): __mpn_normal_size
3455 is not available anymore. Do it ourselves.
3457 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_SETCW):
3458 Correct GCC `asm' syntax.
3460 Tue Mar 12 03:15:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3462 * stdio-common/Makefile (tests): Add tst-ungetc.
3463 * stdio-common/tst-ungetc.c: New test from drepper.
3464 * stdio-common/tstscanf.c (main): New %[ test case from drepper.
3466 * sysdeps/libm-ieee754/s_scalbn.c (scalbn): Rename to __scalbn;
3467 somehow this was missed, though the weak alias is already there.
3469 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_DEFAULT): Change
3470 default to double precision, all interrupts masked; fdlibm requires.
3472 Sat Mar 9 18:44:27 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3474 * sysdeps/unix/sysv/linux/i386/setfpucw.c: Obsolete file removed.
3476 Fri Mar 8 22:16:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3478 * stdio-common/printf_fp.c (HAVE_ALLOCA): New macro.
3480 Tue Mar 5 18:45:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
3482 * sysdeps/mach/hurd/select.c (__select): Include LASTFD in the
3485 Mon Mar 4 20:54:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3487 * Makeconfig ($(common-objpfx)config.make): Depend on config.h.in.
3489 Tue Mar 5 12:14:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
3491 * sysdeps/mach/hurd/select.c (__select): Also don't fault just
3492 because some fdmask is 0.
3494 Mon Mar 4 17:35:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
3496 * sysdeps/mach/hurd/select.c (__select):
3497 Don't increment GOT only because READ/WRITE/EXCEPTFDS is 0!
3498 Don't return without frobbing the bitmasks after a timeout.
3499 When clearing the bitmasks, only loop from FIRSTFD to LASTFD.
3501 Mon Mar 4 17:35:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3503 * hurd/catch-signal.c (hurd_safe_memmove): New function.
3504 (hurd_safe_copyin, hurd_safe_copyout): New functions.
3505 * hurd/hurd/sigpreempt.h: Declare them.
3507 Sun Mar 3 08:43:44 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3509 Replace math code with fdlibm from Sun as modified for netbsd by
3510 JT Conklin and Ian Taylor, including x86 FPU support.
3511 * sysdeps/libm-ieee754, sysdeps/libm-i387: New directories.
3512 * math/math_private.h: New file.
3513 * sysdeps/i386/fpu/Implies: New file.
3514 * sysdeps/ieee754/Implies: New file.
3515 * math/machine/asm.h, math/machine/endian.h: New files.
3516 * math/Makefile, math/math.h: Rewritten.
3517 * mathcalls.h, math/mathcalls.h: New file, broken out of math.h.
3518 * math/finite.c: File removed.
3519 * sysdeps/generic/Makefile [$(subdir)=math]: Frobnication removed.
3521 * math/test-math.c: Include errno.h and string.h.
3523 * sysdeps/unix/bsd/dirstream.h: File removed.
3524 * sysdeps/unix/bsd/readdir.c: File removed.
3526 Sat Mar 2 16:35:40 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3528 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: File removed.
3529 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: File
3531 * sysdeps/generic/profil-counter.h: New file.
3533 Fri Mar 1 17:11:59 1996 Brendan Kehoe <brendan@zen.org>
3535 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sigcontext.h: New file,
3536 including <sysdeps/unix/bsd/sun/sparc/sigcontext.h>.
3537 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: New file,
3538 same as linux/m68k/profil-counter.h except the comment.
3540 Fri Mar 1 10:09:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3542 * stdlib/Makefile (mpn-stuff): New target.
3545 * Code copied from GMP updated to 1.937 version.
3546 * stdlib/strtod.c (HAVE_ALLOCA): Define this for gmp headers.
3548 * posix/glob.c: Use canonical code from autoconf manual for dirent
3550 [_D_NAMLEN]: Redefine NAMLEN using this.
3551 (glob_in_dir): Use NAMLEN macro.
3553 * sysdeps/posix/profil.c: New file.
3555 Thu Feb 29 20:55:57 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3557 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: New file.
3559 Tue Feb 27 12:14:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3561 * libc-symbols.h [GCC >= 2.8] (strong_alias, weak_alias): Remove
3564 * time/strftime.c: Support - and _ flags to affect number padding.
3566 * sysdeps/unix/common/tcsendbrk.c: New file.
3568 Mon Feb 26 10:22:30 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3570 * sysdeps/unix/dirstream.h: Rewritten.
3571 * sysdeps/unix/readdir.c: Rewritten.
3572 * sysdeps/unix/telldir.c: Rewritten.
3573 * sysdeps/unix/closedir.c: Use <...> instead of "..." for dirstream.h.
3574 Remove __ from DIR struct member names.
3575 * sysdeps/unix/dirfd.c: Likewise.
3576 * sysdeps/unix/seekdir.c: Likewise.
3577 * sysdeps/unix/rewinddir.c: Likewise.
3578 * sysdeps/unix/opendir.c: Likewise. Don't allocate extra space after
3580 * sysdeps/stub/direct.h: File removed.
3581 * sysdeps/unix/bsd/bsd4.4/direct.h: File removed.
3582 * sysdeps/unix/bsd/direct.h: File removed.
3583 * sysdeps/unix/common/direct.h: File removed.
3584 * sysdeps/unix/sysv/irix4/direct.h: File removed.
3585 * sysdeps/unix/sysv/isc3/direct.h: File removed.
3586 * sysdeps/unix/sysv/sco3.2.4/direct.h: File removed.
3587 * sysdeps/unix/sysv/sysv4/solaris2/direct.h: File removed.
3588 * sysdeps/unix/common/direntry.h: New file.
3589 * sysdeps/unix/bsd/direntry.h: New file.
3590 * sysdeps/unix/bsd/bsd4.4/direntry.h: New file.
3591 * sysdeps/unix/sysv/direntry.h: New file.
3592 * sysdeps/stub/direntry.h: New file.
3593 * dirent/dirent.h (struct dirent): Type removed. Include <direntry.h>
3595 (_D_EXACT_NAMLEN, _D_ALLOC_NAMLEN): New macros.
3596 * dirent/Makefile (headers): Add direntry.h.
3597 (distribute): Remove direct.h.
3598 * sysdeps/posix/getcwd.c: Use new macros instead of d_namlen.
3599 * dirent/scandir.c: Likewise.
3600 * io/fts.c (fts_build): Likewise.
3601 * io/ftw.c (ftw_dir): Likewise.
3602 * sysdeps/posix/ttyname.c: Likewise.
3604 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
3606 * sysdeps/mach/hurd/profil.c (MAX_PC_SAMPLES): New macro.
3607 (collector_timeout): New static variable.
3608 (update_waiter): Actually call __task_enable_pc_sampling.
3609 Set collector_timeout based on the `tick' count returned.
3610 (profile_waiter): Use MAX_PC_SAMPLES. Set nsamples before RPC.
3611 Use collector_timeout in __mach_msg call.
3613 * gmon/Makefile (noprof): New variable containing mcount.
3614 Append profil unless it is in $(unix-syscalls).
3615 (mcount.po): Use $(noprof) for list of targets in this rule.
3617 * libc-symbols.h: Define _LIBC before #include <config.h>.
3619 Sun Feb 25 12:29:23 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3621 * config.h.in [_LIBC] (HAVE_STRERROR): Define it.
3622 Protect 2nd page of #undef's for generator programs with #ifndef _LIBC.
3624 * time/zic.c, time/zdump.c, time/private.h: Updated from ADO 96e.
3626 Fri Feb 9 12:40:19 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
3628 * libio/cleanup.c (_IO_cleanup_registration_needed)
3629 [!_G_HAVE_ATEXIT]: Init to NULL.
3630 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Remove decl.
3632 Thu Feb 8 08:12:50 1996 Brendan Kehoe <brendan@cygnus.com>
3634 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Revert
3635 previous change, since cleanup.c only defines it if _G_HAVE_ATEXIT.
3637 Wed Feb 7 15:10:17 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
3639 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Declare as
3642 Sat Feb 24 11:34:13 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3644 * sysdeps/i386/memcmp.S: Fix argument %esp offsets.
3646 * time/sys/time.h (timeradd, timersub): New macros; BSD has these.
3648 Wed Feb 21 02:25:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3650 * Rules (others): Depend on $(extra-objs), $(install-lib),
3651 $(install-bin), $(install-sbin), in object directory.
3653 * Makeconfig (link-libc): Don't pass -rpath option with default
3654 path, since ld.so should use the same default.
3655 * Makerules (build-shlib): Likewise.
3657 * Makerules (make-target-directory): Use mkinstalldirs.
3659 * sysdeps/mach/i386/sysdep.h: Include unix/i386/sysdep.h to
3660 redefine ENTRY et al.
3662 * sysdeps/unix/sysv/linux/i386/sysdep.h (NO_UNDERSCORES, ENTRY):
3663 Macros removed. The code in unix/i386/sysdep.h should now suffice.
3665 * sysdeps/unix/i386/sysdep.h (ALIGNARG): New macro, defns for
3667 (ENTRY): Use it in .align directive.
3668 (CALL_MCOUNT): New macro, empty unless [PROF].
3669 (ENTRY): Do CALL_MCOUNT just after the label.
3671 * Makeconfig (CPPFLAGS-.po): New variable, use -DPROF so assembly
3672 code can call mcount.
3674 Tue Feb 20 23:05:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3676 * time/private.h, time/zdump.c, time/zic.c: Updated verbatim from ADO;
3677 translation markings are now integrated in his distribution.
3679 * stdlib/strtod.c (round_and_return): Add missing (mp_limb) 1 cast.
3681 Mon Feb 19 18:31:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3683 * po: New directory where `LANG.po' files for message translations
3685 * po/SYS_libc.pot: New file, template of message strings as in source.
3686 * MakeTAGS: New rules to build po/SYS_libc.pot automatically from
3687 the source using xgettext.
3688 * Makerules ($(..)po/%.pot): New rule.
3689 * manual/Makefile (../po/manual.pot): New target, make it empty.
3691 * sysdeps/unix/bsd/alarm.c: Moved to sysdeps/unix/alarm.c.
3692 * sysdeps/unix/bsd/nice.c: Moved to sysdeps/unix/nice.c.
3693 * sysdeps/unix/bsd/stime.c: Moved to sysdeps/unix/stime.c.
3694 * sysdeps/unix/bsd/time.c: Moved to sysdeps/unix/time.c.
3695 * sysdeps/unix/bsd/utime.c: Moved to sysdeps/unix/utime.c.
3697 * time/zic.c, time/scheck.c, time/private.h, time/tzfile.h:
3698 Updated from ADO 96d.
3700 Sun Feb 18 14:08:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3702 * csu/initfini.c (_init): Remove bogus volatile declarations and
3703 extra variable, take the address of __gmon_start__ only implicitly
3704 to avoid the test being optimized out.
3706 Sun Feb 18 15:08:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3708 * sysdeps/posix/utimes.c (__utimes): There are 1000000 usecs in a
3711 Sun Feb 18 13:56:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3713 * elf/Makefile, time/Makefile: Make `all' the default target.
3715 Mon Feb 19 18:09:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3717 * misc/sys/ptrace.h: Moved to ...
3718 * sysdeps/generic/sys/ptrace.h: ... here.
3719 * sys/ptrace.h: File removed.
3721 Sun Feb 18 12:13:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3723 * sysdeps/unix/sysv/linux/Makefile (headers): Add fpu_control.h.
3725 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Put it into .bss
3726 so that the symbol alias works.
3728 * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_SETCW): Corrected.
3730 * sysdeps/unix/sysv/linux/resourcebits.h: New file.
3732 * sysdeps/unix/sysv/linux/sys/ptrace.h: New file.
3734 * sysdeps/unix/sysv/linux/syscalls.list: Add getegid, geteuid,
3737 * sysdeps/unix/sysv/linux/sysconf.c: Special version that does not
3740 Sat Feb 17 10:30:21 1996 David Mosberger-Tang <davidm@AZStarNet.com>
3742 * stdio-common/printf_fp.c, stdlib/strtod.c, sysdeps/ieee754/dbl2mpn.c,
3743 sysdeps/ieee754/ldbl2mpn.c, sysdeps/ieee754/mpn2dbl.c,
3744 sysdeps/ieee754/mpn2ldbl.c: Cast left operands of shift instructions
3745 to `long' where necessary.
3747 Thu Feb 15 20:04:50 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3749 * stdlib/fpioconst.h: Introduce new constant _FPIO_CONST_OFFSET.
3750 * stdio-common/printf_fp.c, stdlib/strtod.c: Use _FPIO_CONST_OFFSET
3751 to correctly access MPN array depending on architecture.
3753 Mon Feb 19 15:30:26 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3755 * stdio-common/tstscanf.c (main): Add check for "0" as %d.
3757 * sysdeps/stub/msync.c: Undo change of Jan 29; just two args.
3758 Only some systems have three args; let them define their own stub.
3760 * sysdeps/generic/dl-sysdep.c: Declare _dl_secure.
3762 * sysdeps/generic/machine-gmon.h: New file.
3763 * gmon/Makefile (distribute): Add machine-gmon.h.
3764 * gmon/mcount.c: Undo changes of Feb 13.
3765 Include "machine-gmon.h".
3767 Sun Feb 18 13:24:06 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3769 * sysdeps/unix/sysv/linux/direct.h: File removed, since it is
3770 identical to unix/common/direct.h.
3772 * sysdeps/unix/Makefile [no_deps]: Don't include s-proto.d.
3774 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add ipc.
3776 * stdio-common/Makefile (tests): Remove scanf6.
3778 * sysdeps/unix/sysv/linux/Makefile (non-lib.a): Append libieee.a.
3780 * time/mktime.c (mktime): Move static variable localtime_offset to
3783 * stdio-common/vfscanf.c: Put '0' in buffer before scanning for %i
3786 Thu Feb 15 16:56:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3788 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Corrected.
3789 (ELF_MACHINE_BEFORE_RTLD_RELOC): Define.
3790 (_dl_runtime_resolve): Save %a1 as well.
3791 (ELF_MACHINE_RUNTIME_FIXUP_ARGS): Add second dummy arg.
3792 (elf_machine_relplt): Define.
3794 * elf/dl-runtime.c: Include possible extra args in declaration of
3797 Fri Feb 16 11:01:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3799 * time/tzset.c: Limit hours to 23, not 12. From jaffer.
3801 Fri Feb 16 10:14:05 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3803 * Makeconfig (CFLAGS-.po): Use -pg instead of -p.
3805 Thu Feb 15 13:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3807 * mach/Machrules: Use -include for $(*.ir).
3809 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Mask off type bits in
3811 * sysdeps/mach/hurd/ioctls.h (_IOC_NOTYPE): New macro.
3812 (_IOT_COUNT2): Field is 3 bits, not 2.
3813 * sysdeps/mach/hurd/ioctl.c: Ignore handler if it fails with ENOTTY.
3814 * hurd/hurdioctl.c (_hurd_lookup_ioctl_handler): Mask off type
3815 bits before looking up handler.
3816 (fioctl): Use __hurd_dfail.
3817 (fioctl, fioclex): Use ENOTTY for bogus request instead of EGRATUITOUS.
3819 Thu Feb 15 11:49:45 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3821 * sysdeps/unix/sysv/sysv4/Makefile [$(subdir)-signal]
3822 (sysdep_routines): Don't add sys-sig.
3824 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
3826 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
3828 * sysdeps/alpha/memchr.c (memchr): loop searching for matching
3829 character bailed out one too early; changed constant 6 to
3832 Wed Feb 14 01:08:58 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3834 * posix/execvp.c: When executing shell on script, first arg is
3835 full file name, not argv[0].
3837 * mach/Makefile [no_deps]: Inhibit inclusion of mach-syscalls.mk.
3838 * mach/Machrules [no_deps]: Inhibit interface rules.
3840 * malloc/Makefile (distribute): Removed TODO.
3842 Tue Feb 13 05:12:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3844 * sysdeps/unix/sysv/linux/syscalls.list (ipc): Specify msgget in
3847 * sysdeps/unix/common/syscalls.list: Add sigaction syscall.
3849 * sysdeps/unix/sysv/linux/gnu/types.h: Moved from linux/i386.
3851 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]
3852 (sysdep_routines): Append setfpucw.
3853 (extra-objs): Append ieee-fpucw.o.
3854 (install-lib): Append libieee.a.
3855 (libieee.a): New target.
3856 * sysdeps/unix/sysv/linux/ieee-fpucw.c: New file.
3857 * sysdeps/unix/sysv/linux/i386/fpu_control.h
3858 (_FPU_GETCW, _FPU_SETCW): New macros.
3859 (fpu_control_t): New typedef.
3860 (__setfpucw): Use fpu_control_t for argument type.
3861 * sysdeps/unix/sysv/linux/fpu_control.c: Moved from linux/i386.
3863 * sysdeps/unix/sysv/linux/init-first.c: Moved from linux/i386.
3865 * sysdeps/unix/sysv/linux/syscalls.list: Add ipc syscall.
3866 * sysdeps/unix/sysv/linux/i386/syscalls.list: File removed.
3868 Sat Feb 10 13:09:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3870 * sysdeps/unix/sysv/linux/m68k/brk.c,
3871 sysdeps/unix/sysv/linux/m68k/mmap.S,
3872 sysdeps/unix/sysv/linux/m68k/select.S,
3873 sysdeps/unix/sysv/linux/m68k/sigcontext.h,
3874 sysdeps/unix/sysv/linux/m68k/sigreturn.S,
3875 sysdeps/unix/sysv/linux/m68k/socket.S,
3876 sysdeps/unix/sysv/linux/m68k/syscall.S,
3877 sysdeps/unix/sysv/linux/m68k/sysdep.S,
3878 sysdeps/unix/sysv/linux/m68k/sysdep.h: New files.
3880 * sysdeps/unix/sysv/linux/m68k/fpu_control.h: New file.
3882 * sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
3883 sysdeps/m68k/isinfl.c, sysdeps/m68k/isnanl.c: New files.
3885 * sysdeps/unix/sysv/linux/sys/mman.h: Define MAP_ANON and
3886 MAP_FILE if not already defined.
3888 * elf/elf.h: Add m68k reloc definitions.
3889 * sysdeps/m68k/dl-machine.h, sysdeps/m68k/elf/start.S: New files.
3891 Tue Feb 13 00:12:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3893 * elf/dl-runtime.c (fixup) [ELF_MACHINE_RUNTIME_FIXUP_ARGS]: Let
3894 this macro declare extra leading args.
3896 * Makerules [$(elf)=yes] (ar-symtab-name): Define to empty.
3898 * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
3899 elf_machine_relplt): New macros.
3900 * elf/dl-runtime.c: New file.
3901 * sysdeps/i386/dl-runtime.c, sysdeps/stub/dl-runtime.c: Files removed.
3903 * gmon/Makefile (headers): Remove machine-gmon.h.
3904 * sysdeps/stub/machine-gmon.h, sysdeps/i386/machine-gmon.h: Removed.
3905 * gmon/mcount.c [! NO_UNDERSCORES] (_mcount): Specify "mcount" as
3907 (_mcount): Define normally, taking no args.
3908 Use __builtin_return_address to fetch PC values of caller and caller's
3911 * Makerules: Rewrote rules to update libc archives of all flavors.
3912 Define separate specific rules for each flavor using o-iterator.
3914 * sysdeps/unix/Makefile: Include s-proto.d only ifdef subdir.
3916 Sat Feb 10 11:35:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3918 * Makerules (ar-symtab-name): New macro. Replace all occurences
3919 of __.SYMDEF by $(ar-symtab-name).
3920 * sysdeps/unix/sysv/Makefile (ar-symtab-name): Define as empty.
3922 Mon Feb 12 03:10:41 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3924 * Makefile (configure, %/configure): Depend on aclocal.m4.
3925 * Make-dist (configure, %/configure): Likewise.
3927 * sysdeps/unix/Makefile: Include s-proto.d for its deps.
3929 * gmon/sys/gmon.h: Don't include machine-gmon.h; those defns are
3930 only needed in the implementation, not for any users.
3932 * time/northamerica: Updated from ADO 96c, new rules for Mexico in
3935 * sunrpc/pm_getport.c: #if 0 out gratuitous inclusion of <net/if.h>.
3936 * sunrpc/pm_getmaps.c: Likewise.
3938 * sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday,
3939 so real syscalls override unix/sysv/*.c on sysv-derived systems
3941 * sysdeps/unix/common/syscalls.list: Add settimeofday here, to
3942 override unix/sysv/settimeofday.c since that overrides
3945 * Makeconfig (+link): Put $(link-libc) after deps from $^,
3946 regardless of where libc.a appears in the deps.
3948 * sysdeps/unix/sysv/sysv4/syscalls.list: Remove redundancies.
3950 * sysdeps/unix/sysv/linux/syscalls.list: Remove redundancies.
3951 Define __ name for sigprocmask.
3952 * sysdeps/unix/bsd/ultrix4/syscalls.list: Remove redundancies.
3954 * sysdeps/unix/bsd/sun/sunos4/syscalls.list: Remove redundancies.
3955 * sysdeps/unix/bsd/sun/syscalls.list: Remove redundancies.
3956 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove redundancies.
3957 * sysdeps/unix/bsd/syscalls.list: Remove settimeofday, utimes.
3958 Add getdents, wait3, waitpid.
3959 * sysdeps/unix/syscalls.list: Add seteuid, setegid, setsid,
3960 settimeofday, sigsuspend, sstk, utimes.
3961 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
3962 * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
3963 * sysdeps/unix/bsd/ultrix4/mips/Makefile (sysdep_routines):
3965 * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Renamed from sigtramp.c.
3966 * sysdeps/unix/bsd/bsd4.4/sstk.S: File removed.
3967 * sysdeps/unix/bsd/hp/m68k/syscalls.list: File removed.
3968 * sysdeps/unix/bsd/osf/alpha/getdents.S: File removed.
3969 * sysdeps/unix/bsd/ultrix4/getsysinfo.S: File removed.
3970 * sysdeps/unix/bsd/ultrix4/waitpid.S: File removed.
3971 * sysdeps/unix/bsd/ultrix4/mips/sigtramp.c: File removed.
3972 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
3973 * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: New file.
3974 * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
3975 * sysdeps/unix/sysv/irix4/wait3.S: File removed.
3976 * sysdeps/unix/sysv/sysv4/__waitid.S: File removed.
3977 * sysdeps/unix/sysv/sysv4/fchdir.S: File removed.
3978 * sysdeps/unix/sysv/sysv4/setegid.S: File removed.
3979 * sysdeps/unix/sysv/sysv4/seteuid.S: File removed.
3980 * sysdeps/unix/sysv/sysv4/sigaltstack.S: File removed.
3981 * sysdeps/unix/sysv/sysv4/solaris2/utimes.S: File removed.
3983 * hurd/hurdfault.c (_hurdsig_fault_init): Set qlimit on
3984 FORWARD_SIGEXC to one. Uncomment setting of thread exc port, and
3985 move it to last thing.
3987 Sat Feb 10 05:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
3989 * sysdeps/generic/make_siglist.c: #undef _SIGNAL_H before defining it.
3991 * sysdeps/unix/sysv/linux/syscalls.list: Add sigprocmask, sigsuspend.
3993 Sat Feb 10 04:18:48 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3995 * posix/execvp.c: If execv fails with ENOEXEC, run the shell on
3998 Fri Feb 9 11:46:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4000 * time/Makefile (CFLAGS-zdump.c, CFLAGS-zic.c, CFLAGS-ialloc.c,
4001 CFLAGS-scheck.c): Use -DNOID instead of -Wno-unused.
4003 * hurd/Makefile (user-interfaces): Added hurd/tioctl.
4005 Thu Feb 8 18:55:27 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4007 * hurd/hurdioctl.c (tiocsctty): Set the terminal's pgrp to our own.
4009 Wed Feb 7 18:48:30 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4011 * Makefile (subdirs): Added wcsmbs.
4012 * wcsmbs: New directory of wide char/multibyte char functions from
4015 * hurd/hurdmsg.c (_S_msg_report_wait): Function removed.
4016 * hurd/report-wait.c: New file.
4017 * hurd/Makefile (routines): Added report-wait.
4019 * sysdeps/mach/hurd/Makefile (inhibit-unix-syscalls): New variable.
4021 * sysdeps/mach/hurd/i386/intr-msg.h (struct mach_msg_trap_args):
4023 (SYSCALL_EXAMINE, MSG_EXAMINE): New inline functions.
4024 * sysdeps/mach/hurd/i386/trampoline.c (struct mach_msg_trap_args):
4025 Structure moved to intr-msg.h; include that.
4027 * time/Makefile (CFLAGS-ialloc.c): Add -Wno-unused.
4028 (CFLAGS-scheck.c): New variable.
4030 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
4031 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
4032 __hurd_threadvar_stack_mask): New variables.
4034 * sysdeps/mach/hurd/fork.c: Set the new task's exception port to
4035 its new message port.
4037 * misc/init-misc.c: Put __init_misc in the __libc_subinit set.
4039 * configure.in (uname): Add quoting.
4041 * sysdeps/mach/hurd/fchdir.c: Don't consult errno unless lookup fails.
4042 * hurd/fchroot.c: Likewise.
4044 * posix/sys/types.h [GCC >= 2.7]: Define intN_t/u_intN_t using
4045 __attribute__ ((__mode__ (__XX__))).
4047 Wed Feb 7 03:24:05 1996 Torbjorn Granlund <tege@tmg.se>
4049 * sysdeps/i386/i586/memcopy.h (WORD_COPY_FWD): Manually allocate
4050 destination cache lines.
4051 (WORD_COPY_BWD): Likewise.
4053 Wed Feb 7 14:16:36 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4055 * sysdeps/generic/Makefile (make_siglist): Get signum.h absolute
4056 file name first thing, before $(native-compile) changes directories.
4058 From Gord Matzigkeit <gord@enci.ucalgary.ca>:
4059 * sysdeps/unix/make_errlist.c: Use strerror if available.
4060 * sysdeps/unix/configure.in: New file
4062 * sysdeps/unix/bsd/sun/syscalls.list: Added sigvec.
4063 * sysdeps/unix/bsd/sun/sigvec.S: File removed.
4065 * sysdeps/stub/sendto.c: Make sockaddr arg pointer to const.
4066 * sysdeps/stub/connect.c: Likewise.
4067 * sysdeps/stub/bind.c: Likewise.
4069 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): RETRYNAME of
4070 "" is only special for FS_RETRY_NORMAL; for FS_RETRY_REAUTH, do
4071 another dir_lookup of "".
4073 Tue Feb 6 12:46:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
4075 * libc-symbols.h (weak_alias, weak_symbol): added definitions
4076 for ECOFF (HAVE_ECOFF).
4078 Fri Feb 2 13:09:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4080 * sysdeps/mach/hurd/fork.c: Clear trace flag in child.
4082 Wed Jan 31 20:08:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4084 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Clear SS->intr_port
4085 when cancelled before RPC.
4087 Tue Jan 30 13:32:05 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4089 * dirent/scandir.c: Allocate dirents with correct size for name, and
4090 copy with correct size.
4092 * hurd/hurdinit.c [! PIC] (map0): New function, on _hurd_preinit_hook.
4094 * stdio-common/vfscanf.c (TYPEMOD): New macro of all type modifier
4096 (__vfscanf): Fix checking of extra type modifiers.
4098 * time/asia, time/australasia, time/backward: Updated from ADO 96b.
4100 Tue Jan 30 12:17:26 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
4102 * stdlib/strtod.c: Only negate exponent when there really is one.
4104 * stdio-common/vfscanf.c: Accept type modifiers on %n.
4105 Fix FP number parsing.
4107 Mon Jan 29 21:53:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4109 * sysdeps/stub/msync.c (msync): Declare third arg FLAGS.
4111 * resolv/Makefile (+cflags): Append to this instead of CFLAGS.
4113 Mon Jan 29 16:29:16 1996 Miles Bader <miles@gnu.ai.mit.edu>
4115 * sysdeps/mach/hurd/select.c (__select): Recalculate GOT to
4116 include an increment for each operation allowed on each fd.
4118 Mon Jan 29 11:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4120 * sysdeps/unix/sysv/linux/configure: Set $inhibit_glue.
4122 * Makefile: Use -include for sysd-dirs.
4124 * configure.in (uname): Check for uname in syscalls.list files.
4125 * sysdeps/unix/sysv/syscalls.list: Remove uname.
4126 * sysdeps/unix/syscalls.list: Add uname.
4128 * stdlib/strtol.c (weak1): New macro, to get the right name declared
4131 * sysdeps/posix/getcwd.c (size_t): Don't define #ifdef __GNU_LIBRARY__.
4133 * db/hash/ndbm.c: Change all uses of `errno' struct member to `errnum'.
4134 (dbm_open): Use dynamic allocation for file name buffer, instead of
4135 limitting its size to MAXPATHLEN.
4137 * db/btree/bt_open.c (tmp): Use dynamic allocation for file name
4138 buffer, instead of limitting its size to MAXPATHLEN.
4140 * db/hash/hash.h (HTAB): Rename member `errno' to `errnum'.
4141 * db/hash/hash.c: Change all uses of `errno' struct member to `errnum'.
4143 Sun Jan 28 19:42:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>