1 Mon Mar 18 22:54:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3 * sysdeps/unix/sysv/linux/wait3.c: New file.
4 * sysdeps/unix/sysv/linux/wait.c: Use the bsd4.4 wait, not the
5 one from sysdeps/posix.
7 Wed Mar 20 09:42:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
9 * sysdeps/unix/bsd/waitflags.h (WNOREAP): New macro.
11 * elf/dl-load.c (_dl_map_object_from_fd): Always set L->l_type; if not
12 lt_executable, then lt_library.
13 * elf/rtld.c (dl_main): Don't set NEW->l_type after _dl_map_object.
15 Wed Mar 20 00:08:23 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
17 * sysdeps/unix/sysv/linux/syscalls.list: Remove gtty and stty.
19 Tue Mar 19 16:31:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
21 * sysdeps/unix/sysv/linux/termbits.h (CRTSCTS, CBAUDEX, VEOL,
22 VEOL2, VMIN, VTIME): Corrected.
23 (PAGEOUT, WRAP, VDSUSP): Deleted.
25 Tue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
27 * sysdeps/unix/readdir.c: Test [! _DIRENT_HAVE_D_RECLEN] instead of
28 (sizeof (DP->d_name) > 1) to detect fixed-size dir entries.
30 * sysdeps/i386/fpu/__math.h (asinh): Call log1p instead of __log1p.
32 * math/math.h: Move M_* constants before __math.h include.
33 [__NO_MATH_INLINES || __OPTIMIZE__]: Include __math.h only #if this.
35 * misc/efgcvt_r.c (ecvt_r): Declare floor, log10, fabs as weak extern.
36 If log10 is not defined (i.e. no -lm), use stupid loop instead.
38 * features.h (__FAVOR_BSD): Define only if _BSD_SOURCE is defined
39 and no other _*_SOURCE macro is.
40 (_GNU_SOURCE): Don't define by default.
41 * libc-symbols.h (_GNU_SOURCE): Define it.
43 * configure.in (alpha*-*-linux*): Unset $gnu_ld and $elf.
45 * config.make.in (weak-symbols): Variable removed.
46 * configure.in (--with-weak-symbols): Option removed.
47 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
50 * config.h.in (HAVE_WEAK_SYMBOLS): #undef removed.
51 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
53 * libc-symbols.h: Use them instead of HAVE_WEAK_SYMBOLS.
55 * sysdeps/unix/bsd/pause.c: Moved to sysdeps/unix/common/pause.c.
57 Mon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
59 * inet/inet_lnaof.c: Use u_int32_t instead of u_long.
60 * inet/inet_mkadr.c: Likewise.
61 * inet/inet_net.c: Likewise.
62 * inet/inet_netof.c: Likewise.
63 * inet/rcmd.c: Likewise.
64 * inet/arpa/inet.h: Likewise.
65 * inet/netinet/in.h: Likewise.
66 * inet/netinet/tcp.h: Likewise.
67 * inet/protocols/rwhod.h: Likewise.
68 * inet/protocols/talkd.h: Likewise.
69 * resolv/inet_addr.c: Likewise.
71 * sysdeps/unix/sysv/linux/adjtime.c: Use INT_MAX instead of LONG_MAX.
73 * sysdeps/unix/sysv/Makefile (sysdep_routines): Don't add s_getdents.
75 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add mount,
78 * sysdeps/alpha/__math.h (atan, cabs): New functions.
80 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: new file (syscall
81 expects set-value, not pointer to it).
83 Sun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
85 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: New file.
87 * gmon/gmon.c (__bb_head): new variable.
88 (write_hist, write_call_graph, write_bb_counts): new functions.
89 (_mcleanup): modified to call above functions instead of directly
91 * gmon/sys/gmon.h (struct __bb): New type.
92 (struct gmonhdr): Type removed.
93 (struct gmonparam): New member `log_hashfraction'.
94 (GMONVERSION): Macro removed.
96 * gmon/sys/gmon_out.h, gmon/bb_exit_func.c,
97 sysdeps/generic/bb_init_func.c, sysdeps/alpha/bb_init_func.S: new
99 * gmon/Makefile (headers): Add sys/gmon_out.h.
100 (routines): Add bb_init_func, bb_exit_func.
102 * gmon/mcount.c: Avoid integer division.
104 Wed Feb 21 23:56:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
106 * sysdeps/alpha/setjmp.S: switched order in which sp and fp are
107 passed to match what __sigsetjmp_aux() expects.
109 Tue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com>
111 * sysdeps/unix/sysv/linux/alpha/syscalls.list (select, bind,
112 connect, getpeername, getsockname, listen, recv, recvfrom,
113 recvmsg, send, sendmsg, sendto, setsockopt, shutdown, socketpair):
114 added to override same-name assembly file in the parent directory.
116 * stdlib/stdlib.h: add include of sys/types.h in front of random
117 etc declarations to ensure int32_t is declared.
119 * stdlib/random.c, stdlib/random_r.c: replaced "long int" by int32_t
120 where 32 bit integers are required. Also change LONG_MAX into
121 0x7fffffff since the intent is to turn off the sign bit in a
124 * time/offtime.c (__offtime): Use Paul Eggert's code to deal
125 with very large values for "days" (e.g., 64 bit values).
127 Mon Feb 19 22:22:12 1996 David Mosberger-Tang <davidm@azstarnet.com>
129 * stdlib/stdlib.h (__random, __random_r, random_r, struct
130 random_data): use int32_t instead of `long int'.
132 Sat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
134 * sysdeps/unix/sysv/linux/alpha/ioperm.c: new file.
136 * sysdeps/alpha/ffs.S: new file.
138 * sysdeps/alpha/fabs.c: File removed.
140 * time/tzfile.c (__tzfile_read): counter variable is i, *not*
143 * time/offtime.c: make capable of dealing with very large (64 bit)
144 time_t values. Use old algorithm until a year is reached that
145 is an integer multiple of 400, then use DAYS_PER_400_YEARS to
146 do the remainder in a single division.
148 * sysdeps/generic/ffs.c (ffs): fix variable declarations to
149 be unsigned int, not unsigned long.
151 * string/test-ffs.c (main): add test case with all upper bits
154 * stdlib/tst-strtol.c: add tests cases for machines where
157 * stdlib/testrand.c (main): disallow rand() to return negative
160 * stdlib/testmb.c (main): fix format to use %lx instead of %x.
162 * stdlib/stdlib.h: on 64 bit machines, declare
163 struct random_data, __random(), __random_r, and random_r to
164 return "int" instead of "long int".
166 * stdlib/random_r.c: 64 bit machines use "int" instead of "long
167 int". Similarly, use INT_MAX instead of LONG_MAX.
169 * stdlib/random.c: on 64 bit machines, randtbl[] and __random[]
170 need to operate on "int" instead of "long int".
172 * locale/locfile-hash.c (compute_hashval): make shifted constant
173 a long to avoid loosing bits on 64 bit machines.
175 * dirent/tst-seekdir.c (main): fix confusing comment; print
176 a line to mark point where directory is rewound.
178 Fri Feb 16 15:01:49 1996 David Mosberger-Tang <davidm@azstarnet.com>
180 * time/strftime.c (strftime): any hour > 11 is PM (not > 12!).
182 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
184 * sysdeps/unix/sysv/linux/alpha/Makefile,
185 sysdeps/unix/sysv/linux/alpha/brk.S,
186 sysdeps/unix/sysv/linux/alpha/fpu_control.c,
187 sysdeps/unix/sysv/linux/alpha/fpu_control.h,
188 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
189 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
190 sysdeps/unix/sysv/linux/alpha/pipe.S,
191 sysdeps/unix/sysv/linux/alpha/setfpucw.c,
192 sysdeps/unix/sysv/linux/alpha/sigprocmask.c,
193 sysdeps/unix/sysv/linux/alpha/speed.c,
194 sysdeps/unix/sysv/linux/alpha/start.S,
195 sysdeps/unix/sysv/linux/alpha/syscall.S,
196 sysdeps/unix/sysv/linux/alpha/syscalls.list,
197 sysdeps/unix/sysv/linux/alpha/alpha/regdef.h,
198 sysdeps/unix/sysv/linux/alpha/sysdep.S,
199 sysdeps/unix/sysv/linux/alpha/sysdep.h: New files.
201 * sysdeps/alpha/setjmp_aux.c (__sigsetjmp_aux): restore return
202 address register before returning (gcc 2.7.1 doesn't do it,
203 presumably because $26 is declared as a global variable).
205 * sysdeps/unix/sysv/linux/sys/mman.h: msync was missing "flags"
208 * sysdeps/unix/alarm.c (alarm): do roundup using test & increment
209 instead of multiplication.
211 * sysdeps/posix/sleep.c (sleep): initialize sa_mask to mask of
212 currently blocked signals instead of the empty mask to ensure
213 that execution of alarm handler occurs with none of the currently
214 blocked signals enabled.
216 * sysdeps/unix/alpha/sysdep.h: new file (adapted from OSF/1 version).
218 * sysdeps/unix/bsd/osf/alpha/sysdep.h: include
219 sysdeps/unix/alpha/sysdep.h and removed definitions now in that file.
221 * sysdeps/alpha/divrem.S, sysdeps/alpha/htonl.S,
222 sysdeps/alpha/htons.S, sysdeps/alpha/machine-gmon.h,
223 sysdeps/alpha/_mcount.S, sysdeps/alpha/ntohl.s, sysdeps/alpha/ntohs.s,
224 sysdeps/alpha/strlen.S: New files.
226 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
227 sysdeps/alpha/divqu.S, sysdeps/alpha/divrem.m4,
228 sysdeps/alpha/macros.m4, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
229 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S, sysdeps/alpha/strlen.c:
232 * sysdeps/generic/sbrk.c (__sbrk): argument is of type ptrdiff_t, not
235 * sysdeps/alpha/__longjmp.c (__longjmp): moved dummy while loop
236 to end of function to avoid a jump across NOPs.
238 * sysdeps/alpha/Makefile (sysdep_routines): Removed all rules
239 pertaining to integer division/remainder routines since new code
240 doesn't require them.
242 * sunrpc/xdr_mem.c, sunrpc/xdr_stdio.c: Use 4 instead of sizeof(long)
243 where 32 bit quantities are consumed/stored. Various other minor
244 64-bit cleanups (casting).
246 * sunrpc/xdr.c (xdr_int): test for sizeof(int)==4 to determine
247 whether xdr_long or xdr_short should be used to encode an int.
248 Notice that an xdr_long is 4 bytes independent of the architecture
249 (otherwise no Alpha could interoperate with existing NFS servers,
250 for example). Ditto for enums.
252 * sunrpc/svc_udp.c (svcudp_recv): changed test from 4*sizeof(u_long)
253 to 16 since it really wants 16 bytes.
255 * sunrpc/svc.c (maskp): changed from u_long* to u_int32*.
257 * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): change casts to
258 u_int32_t (instead of u_long).
260 * sunrpc/rpc_cmsg.c (xdr_callmsg), sunrpc/svc_authux.c: increment
261 "buf" pointer by casting it to a char* first since a long* may be 8
262 bytes or more and oa->oa_length may be any multiple of 4.
264 * sunrpc/clnt_udp.c (clntudp_call): replaced sizeof(u_long) by 4
265 since it really is testing for 32 bits. Fixed casts to use
266 u_int32 instead of u_long.
267 * sunrpc/xdr_rec.c: Likewise.
269 * sunrpc/clnt_tcp.c (clnttcp_call): replaced u_long by u_int32.
270 * sunrpc/rpc/auth.h: Likewise.
272 * limits.h (LONG_MAX, LONG_MIN, ULONG_MAX): use 64 bit values
275 Tue Mar 19 13:27:49 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
277 * sysdeps/i386/fpu/__math.h: New file.
278 Contributed by John C. Bowman <bowman@hagar.ph.utexas.edu>.
280 Sun Mar 17 00:28:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
282 * sysdeps/posix/clock.c: Don't multiply the return value by
283 CLOCKS_PER_SEC or CLK_TCK.
285 Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
287 * sysdeps/mach/hurd/getcwd.c: Fail with ENOENT if a parent directory
290 * posix/unistd.h (setpgrp): Declare no-arg version unless __FAVOR_BSD.
291 * misc/bsd-compat.c (setpgrp): New function, two arg version.
292 * sysdeps/stub/setpgid.c: Remove setpgrp alias.
293 * sysdeps/mach/hurd/setpgid.c: Likewise.
294 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
295 * sysdeps/unix/common/syscalls.list (setpgid): Remove setpgrp alias.
296 * sysdeps/unix/sysv/irix4/syscalls.list: Likewise.
297 * sysdeps/unix/sysv/linux/setpgrp.c: Obsolete file removed.
298 * posix/setpgrp.c (setpgrp): New file.
299 * posix/Makefile (routines): Add setpgrp.
301 * elf/Makefile (rtld-link): New canned sequence.
302 (ld.so, ld-linux.so.1): Use it. Pass -soname option.
304 * sysdeps/i386/setjmp.S (__setjmp): Define compatibility entry point.
306 Sun Mar 17 23:15:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
308 * sysdeps/unix/sysv/linux/tcgetpgrp.c,
309 sysdeps/unix/sysv/linux/tcsetpgrp.c: New files.
311 Sun Mar 17 07:19:33 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
313 * db/Makefile (CFLAGS-hash_func.c): New variable; pass -Wno-unused.
314 (CFLAGS): Append -Wno-unitialized.
316 Sat Mar 16 20:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
318 * stdlib/erand48_r.c: Use FP division by powers of two to distribute
319 short bits into double.
321 Sat Mar 16 20:08:22 1996 David Mosberger-Tang <davidm@azstarnet.com>
323 * sysdeps/alpha/memchr.S: New file.
324 * sysdeps/alpha/memchr.c: Obsolete file removed.
325 * string/tester.c: Soup up memchr tests.
327 Sat Mar 16 16:26:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
329 * misc/Makefile (headers): Add sysexits.h.
330 * misc/sysexits.h: New file.
332 Thu Mar 14 15:20:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
334 * sysdeps/libm-ieee754/e_atan2.c (__ieee754_atan2): Change atan
336 * sysdeps/libm-ieee754/e_atan2f.c (__ieee754_atan2f): Change atanf
339 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
340 sysdeps/m68k/fpu/e_asin.c, sysdeps/m68k/fpu/e_asinf.c,
341 sysdeps/m68k/fpu/e_atanh.c, sysdeps/m68k/fpu/e_atanhf.c,
342 sysdeps/m68k/fpu/e_cosh.c, sysdeps/m68k/fpu/e_coshf.c,
343 sysdeps/m68k/fpu/e_exp.c, sysdeps/m68k/fpu/e_expf.c,
344 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
345 sysdeps/m68k/fpu/e_log.c, sysdeps/m68k/fpu/e_log10.c,
346 sysdeps/m68k/fpu/e_log10f.c, sysdeps/m68k/fpu/e_logf.c,
347 sysdeps/m68k/fpu/e_pow.c, sysdeps/m68k/fpu/e_powf.c,
348 sysdeps/m68k/fpu/e_remainder.c, sysdeps/m68k/fpu/e_remainderf.c,
349 sysdeps/m68k/fpu/e_scalb.c, sysdeps/m68k/fpu/e_scalbf.c,
350 sysdeps/m68k/fpu/e_sinh.c, sysdeps/m68k/fpu/e_sinhf.c,
351 sysdeps/m68k/fpu/e_sqrt.c, sysdeps/m68k/fpu/e_sqrtf.c,
352 sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_cosf.c,
353 sysdeps/m68k/fpu/k_sin.c, sysdeps/m68k/fpu/k_sinf.c,
354 sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/k_tanf.c,
355 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
356 sysdeps/m68k/fpu/s_ceil.c, sysdeps/m68k/fpu/s_ceilf.c,
357 sysdeps/m68k/fpu/s_cos.c, sysdeps/m68k/fpu/s_cosf.c,
358 sysdeps/m68k/fpu/s_expm1.c, sysdeps/m68k/fpu/s_expm1f.c,
359 sysdeps/m68k/fpu/s_fabs.c, sysdeps/m68k/fpu/s_fabsf.c,
360 sysdeps/m68k/fpu/s_finite.c, sysdeps/m68k/fpu/s_finitef.c,
361 sysdeps/m68k/fpu/s_floor.c, sysdeps/m68k/fpu/s_floorf.c,
362 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
363 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
364 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
365 sysdeps/m68k/fpu/s_isnan.c, sysdeps/m68k/fpu/s_isnanf.c,
366 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
367 sysdeps/m68k/fpu/s_log1p.c, sysdeps/m68k/fpu/s_log1pf.c,
368 sysdeps/m68k/fpu/s_logb.c, sysdeps/m68k/fpu/s_logbf.c,
369 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c,
370 sysdeps/m68k/fpu/s_rint.c, sysdeps/m68k/fpu/s_rintf.c,
371 sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
372 sysdeps/m68k/fpu/s_significand.c,
373 sysdeps/m68k/fpu/s_significandf.c, sysdeps/m68k/fpu/s_sin.c,
374 sysdeps/m68k/fpu/s_sinf.c, sysdeps/m68k/fpu/s_tan.c,
375 sysdeps/m68k/fpu/s_tanf.c, sysdeps/m68k/fpu/s_tanh.c,
376 sysdeps/m68k/fpu/s_tanhf.c: New files, for m68881 port of fdlibm.
378 * sysdeps/m68k/fpu/__math.h: Rewritten for fdlibm.
380 * sysdeps/m68k/fpu/isinfl.c: Rewritten to get argument type right.
381 * sysdeps/m68k/fpu/isnanl.c: Likewise.
383 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
385 * posix/glob.c (glob): In GLOB_BRACE brace expansion, fix buffer size
386 calculation to include trailing invariant portion. Don't use alloca;
387 instead use a dynamic auto array for GCC, malloc for non-GCC.
388 Handle nested braces properly.
390 * elf/elf.h (Elf32_auxv_t): Specify prototype (void) for `a_un.a_fcn'.
392 * libc-symbols.h (lint): New macro.
394 Fri Mar 15 01:18:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
396 * libio/iosetvbuf.c: Add weak alias setvbuf.
398 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
400 * string/strnlen.c: New file.
401 * string/Makefile (routines): Add strnlen.
402 * string/string.h [__USE_GNU] (strnlen): Declare new function.
403 [__OPTIMIZE__]: Define extern inline implementation of it.
405 * stdlib/erand48_r.c: Use __mpn_construct_double instead of ldexp and
406 addition, to avoid using anything from -lm.
408 Mon Mar 4 21:57:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
410 * sysdeps/unix/sysv/linux/m68k/Makefile: New file.
412 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYS_ify): Redefine.
413 (CALL_MCOUNT): New macro, empty unless [PROF].
414 (ENTRY): Do CALL_MCOUNT just after the label.
415 (JUMPTARGET): New macro.
416 (SYSCALL_ERROR_HANDLER): Fix syntax.
418 Thu Mar 14 04:20:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
420 * sysdeps/unix/sysv/linux/init-first.c (init): Call `__personality'
421 function instead of using inline asm i386 syscall.
422 * sysdeps/unix/sysv/linux/syscalls.list: Add personality syscall.
424 * posix/unistd.h [__USE_BSD]: Declare usleep.
426 Tue Mar 12 04:57:57 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
428 * misc/efgcvt.c (MAXDIG): New macro computed from <floats.h> constants.
429 (fcvt, ecvt): Use it for buffer size.
431 * stdlib/drand48-iter.c (__drand48_iterate): Use u_int64_t instead of
432 conditionalizing long vs long long.
434 * stdlib/drand48-iter.c (__drand48_iterate): Don't check for null
435 pointers; never return EFAULT.
436 * stdlib/drand48_r.c (drand48_r): Likewise.
437 * stdlib/erand48_r.c (erand48_r): Likewise.
439 * setjmp/Makefile (tests): Add jmpbug.
440 * setjmp/jmpbug.c: New file.
442 Tue Mar 12 04:42:01 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
444 * sysdeps/sparc/jmp_buf.h: Rewritten; use array of ints, not struct.
445 * sysdeps/sparc/setjmp.S: Rewritten; store %fp value as well.
446 * sysdeps/sparc/__longjmp.S: Rewritten; unwind frames one by one with
447 `restore' until the target frame is hit.
449 Sun Mar 10 20:29:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
451 * sysdeps/unix/sysv/linux/sigsuspend.c: New file.
452 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigsuspend, add
455 Thu Mar 7 21:30:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
457 * Makerules (+make-deps, sed-remove-objpfx): Quote periods on the
458 left side of sed substitutions.
460 Sun Mar 10 16:58:10 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
462 * stdio-common/printf_fp.c (hack_digit): __mpn_normal_size
463 is not available anymore. Do it ourselves.
465 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_SETCW):
466 Correct GCC `asm' syntax.
468 Tue Mar 12 03:15:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
470 * stdio-common/Makefile (tests): Add tst-ungetc.
471 * stdio-common/tst-ungetc.c: New test from drepper.
472 * stdio-common/tstscanf.c (main): New %[ test case from drepper.
474 * sysdeps/libm-ieee754/s_scalbn.c (scalbn): Rename to __scalbn;
475 somehow this was missed, though the weak alias is already there.
477 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_DEFAULT): Change
478 default to double precision, all interrupts masked; fdlibm requires.
480 Sat Mar 9 18:44:27 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
482 * sysdeps/unix/sysv/linux/i386/setfpucw.c: Obsolete file removed.
484 Fri Mar 8 22:16:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
486 * stdio-common/printf_fp.c (HAVE_ALLOCA): New macro.
488 Tue Mar 5 18:45:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
490 * sysdeps/mach/hurd/select.c (__select): Include LASTFD in the
493 Mon Mar 4 20:54:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
495 * Makeconfig ($(common-objpfx)config.make): Depend on config.h.in.
497 Tue Mar 5 12:14:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
499 * sysdeps/mach/hurd/select.c (__select): Also don't fault just
500 because some fdmask is 0.
502 Mon Mar 4 17:35:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
504 * sysdeps/mach/hurd/select.c (__select):
505 Don't increment GOT only because READ/WRITE/EXCEPTFDS is 0!
506 Don't return without frobbing the bitmasks after a timeout.
507 When clearing the bitmasks, only loop from FIRSTFD to LASTFD.
509 Mon Mar 4 17:35:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
511 * hurd/catch-signal.c (hurd_safe_memmove): New function.
512 (hurd_safe_copyin, hurd_safe_copyout): New functions.
513 * hurd/hurd/sigpreempt.h: Declare them.
515 Sun Mar 3 08:43:44 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
517 Replace math code with fdlibm from Sun as modified for netbsd by
518 JT Conklin and Ian Taylor, including x86 FPU support.
519 * sysdeps/libm-ieee754, sysdeps/libm-i387: New directories.
520 * math/math_private.h: New file.
521 * sysdeps/i386/fpu/Implies: New file.
522 * sysdeps/ieee754/Implies: New file.
523 * math/machine/asm.h, math/machine/endian.h: New files.
524 * math/Makefile, math/math.h: Rewritten.
525 * mathcalls.h, math/mathcalls.h: New file, broken out of math.h.
526 * math/finite.c: File removed.
527 * sysdeps/generic/Makefile [$(subdir)=math]: Frobnication removed.
529 * math/test-math.c: Include errno.h and string.h.
531 * sysdeps/unix/bsd/dirstream.h: File removed.
532 * sysdeps/unix/bsd/readdir.c: File removed.
534 Sat Mar 2 16:35:40 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
536 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: File removed.
537 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: File
539 * sysdeps/generic/profil-counter.h: New file.
541 Fri Mar 1 17:11:59 1996 Brendan Kehoe <brendan@zen.org>
543 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sigcontext.h: New file,
544 including <sysdeps/unix/bsd/sun/sparc/sigcontext.h>.
545 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: New file,
546 same as linux/m68k/profil-counter.h except the comment.
548 Fri Mar 1 10:09:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
550 * stdlib/Makefile (mpn-stuff): New target.
553 * Code copied from GMP updated to 1.937 version.
554 * stdlib/strtod.c (HAVE_ALLOCA): Define this for gmp headers.
556 * posix/glob.c: Use canonical code from autoconf manual for dirent
558 [_D_NAMLEN]: Redefine NAMLEN using this.
559 (glob_in_dir): Use NAMLEN macro.
561 * sysdeps/posix/profil.c: New file.
563 Thu Feb 29 20:55:57 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
565 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: New file.
567 Tue Feb 27 12:14:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
569 * libc-symbols.h [GCC >= 2.8] (strong_alias, weak_alias): Remove
572 * time/strftime.c: Support - and _ flags to affect number padding.
574 * sysdeps/unix/common/tcsendbrk.c: New file.
576 Mon Feb 26 10:22:30 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
578 * sysdeps/unix/dirstream.h: Rewritten.
579 * sysdeps/unix/readdir.c: Rewritten.
580 * sysdeps/unix/telldir.c: Rewritten.
581 * sysdeps/unix/closedir.c: Use <...> instead of "..." for dirstream.h.
582 Remove __ from DIR struct member names.
583 * sysdeps/unix/dirfd.c: Likewise.
584 * sysdeps/unix/seekdir.c: Likewise.
585 * sysdeps/unix/rewinddir.c: Likewise.
586 * sysdeps/unix/opendir.c: Likewise. Don't allocate extra space after
588 * sysdeps/stub/direct.h: File removed.
589 * sysdeps/unix/bsd/bsd4.4/direct.h: File removed.
590 * sysdeps/unix/bsd/direct.h: File removed.
591 * sysdeps/unix/common/direct.h: File removed.
592 * sysdeps/unix/sysv/irix4/direct.h: File removed.
593 * sysdeps/unix/sysv/isc3/direct.h: File removed.
594 * sysdeps/unix/sysv/sco3.2.4/direct.h: File removed.
595 * sysdeps/unix/sysv/sysv4/solaris2/direct.h: File removed.
596 * sysdeps/unix/common/direntry.h: New file.
597 * sysdeps/unix/bsd/direntry.h: New file.
598 * sysdeps/unix/bsd/bsd4.4/direntry.h: New file.
599 * sysdeps/unix/sysv/direntry.h: New file.
600 * sysdeps/stub/direntry.h: New file.
601 * dirent/dirent.h (struct dirent): Type removed. Include <direntry.h>
603 (_D_EXACT_NAMLEN, _D_ALLOC_NAMLEN): New macros.
604 * dirent/Makefile (headers): Add direntry.h.
605 (distribute): Remove direct.h.
606 * sysdeps/posix/getcwd.c: Use new macros instead of d_namlen.
607 * dirent/scandir.c: Likewise.
608 * io/fts.c (fts_build): Likewise.
609 * io/ftw.c (ftw_dir): Likewise.
610 * sysdeps/posix/ttyname.c: Likewise.
612 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
614 * sysdeps/mach/hurd/profil.c (MAX_PC_SAMPLES): New macro.
615 (collector_timeout): New static variable.
616 (update_waiter): Actually call __task_enable_pc_sampling.
617 Set collector_timeout based on the `tick' count returned.
618 (profile_waiter): Use MAX_PC_SAMPLES. Set nsamples before RPC.
619 Use collector_timeout in __mach_msg call.
621 * gmon/Makefile (noprof): New variable containing mcount.
622 Append profil unless it is in $(unix-syscalls).
623 (mcount.po): Use $(noprof) for list of targets in this rule.
625 * libc-symbols.h: Define _LIBC before #include <config.h>.
627 Sun Feb 25 12:29:23 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
629 * config.h.in [_LIBC] (HAVE_STRERROR): Define it.
630 Protect 2nd page of #undef's for generator programs with #ifndef _LIBC.
632 * time/zic.c, time/zdump.c, time/private.h: Updated from ADO 96e.
634 Fri Feb 9 12:40:19 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
636 * libio/cleanup.c (_IO_cleanup_registration_needed)
637 [!_G_HAVE_ATEXIT]: Init to NULL.
638 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Remove decl.
640 Thu Feb 8 08:12:50 1996 Brendan Kehoe <brendan@cygnus.com>
642 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Revert
643 previous change, since cleanup.c only defines it if _G_HAVE_ATEXIT.
645 Wed Feb 7 15:10:17 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
647 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Declare as
650 Sat Feb 24 11:34:13 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
652 * sysdeps/i386/memcmp.S: Fix argument %esp offsets.
654 * time/sys/time.h (timeradd, timersub): New macros; BSD has these.
656 Wed Feb 21 02:25:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
658 * Rules (others): Depend on $(extra-objs), $(install-lib),
659 $(install-bin), $(install-sbin), in object directory.
661 * Makeconfig (link-libc): Don't pass -rpath option with default
662 path, since ld.so should use the same default.
663 * Makerules (build-shlib): Likewise.
665 * Makerules (make-target-directory): Use mkinstalldirs.
667 * sysdeps/mach/i386/sysdep.h: Include unix/i386/sysdep.h to
668 redefine ENTRY et al.
670 * sysdeps/unix/sysv/linux/i386/sysdep.h (NO_UNDERSCORES, ENTRY):
671 Macros removed. The code in unix/i386/sysdep.h should now suffice.
673 * sysdeps/unix/i386/sysdep.h (ALIGNARG): New macro, defns for
675 (ENTRY): Use it in .align directive.
676 (CALL_MCOUNT): New macro, empty unless [PROF].
677 (ENTRY): Do CALL_MCOUNT just after the label.
679 * Makeconfig (CPPFLAGS-.po): New variable, use -DPROF so assembly
680 code can call mcount.
682 Tue Feb 20 23:05:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
684 * time/private.h, time/zdump.c, time/zic.c: Updated verbatim from ADO;
685 translation markings are now integrated in his distribution.
687 * stdlib/strtod.c (round_and_return): Add missing (mp_limb) 1 cast.
689 Mon Feb 19 18:31:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
691 * po: New directory where `LANG.po' files for message translations
693 * po/SYS_libc.pot: New file, template of message strings as in source.
694 * MakeTAGS: New rules to build po/SYS_libc.pot automatically from
695 the source using xgettext.
696 * Makerules ($(..)po/%.pot): New rule.
697 * manual/Makefile (../po/manual.pot): New target, make it empty.
699 * sysdeps/unix/bsd/alarm.c: Moved to sysdeps/unix/alarm.c.
700 * sysdeps/unix/bsd/nice.c: Moved to sysdeps/unix/nice.c.
701 * sysdeps/unix/bsd/stime.c: Moved to sysdeps/unix/stime.c.
702 * sysdeps/unix/bsd/time.c: Moved to sysdeps/unix/time.c.
703 * sysdeps/unix/bsd/utime.c: Moved to sysdeps/unix/utime.c.
705 * time/zic.c, time/scheck.c, time/private.h, time/tzfile.h:
706 Updated from ADO 96d.
708 Sun Feb 18 14:08:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
710 * csu/initfini.c (_init): Remove bogus volatile declarations and
711 extra variable, take the address of __gmon_start__ only implicitly
712 to avoid the test being optimized out.
714 Sun Feb 18 15:08:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
716 * sysdeps/posix/utimes.c (__utimes): There are 1000000 usecs in a
719 Sun Feb 18 13:56:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
721 * elf/Makefile, time/Makefile: Make `all' the default target.
723 Mon Feb 19 18:09:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
725 * misc/sys/ptrace.h: Moved to ...
726 * sysdeps/generic/sys/ptrace.h: ... here.
727 * sys/ptrace.h: File removed.
729 Sun Feb 18 12:13:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
731 * sysdeps/unix/sysv/linux/Makefile (headers): Add fpu_control.h.
733 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Put it into .bss
734 so that the symbol alias works.
736 * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_SETCW): Corrected.
738 * sysdeps/unix/sysv/linux/resourcebits.h: New file.
740 * sysdeps/unix/sysv/linux/sys/ptrace.h: New file.
742 * sysdeps/unix/sysv/linux/syscalls.list: Add getegid, geteuid,
745 * sysdeps/unix/sysv/linux/sysconf.c: Special version that does not
748 Sat Feb 17 10:30:21 1996 David Mosberger-Tang <davidm@AZStarNet.com>
750 * stdio-common/printf_fp.c, stdlib/strtod.c, sysdeps/ieee754/dbl2mpn.c,
751 sysdeps/ieee754/ldbl2mpn.c, sysdeps/ieee754/mpn2dbl.c,
752 sysdeps/ieee754/mpn2ldbl.c: Cast left operands of shift instructions
753 to `long' where necessary.
755 Thu Feb 15 20:04:50 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
757 * stdlib/fpioconst.h: Introduce new constant _FPIO_CONST_OFFSET.
758 * stdio-common/printf_fp.c, stdlib/strtod.c: Use _FPIO_CONST_OFFSET
759 to correctly access MPN array depending on architecture.
761 Mon Feb 19 15:30:26 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
763 * stdio-common/tstscanf.c (main): Add check for "0" as %d.
765 * sysdeps/stub/msync.c: Undo change of Jan 29; just two args.
766 Only some systems have three args; let them define their own stub.
768 * sysdeps/generic/dl-sysdep.c: Declare _dl_secure.
770 * sysdeps/generic/machine-gmon.h: New file.
771 * gmon/Makefile (distribute): Add machine-gmon.h.
772 * gmon/mcount.c: Undo changes of Feb 13.
773 Include "machine-gmon.h".
775 Sun Feb 18 13:24:06 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
777 * sysdeps/unix/sysv/linux/direct.h: File removed, since it is
778 identical to unix/common/direct.h.
780 * sysdeps/unix/Makefile [no_deps]: Don't include s-proto.d.
782 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add ipc.
784 * stdio-common/Makefile (tests): Remove scanf6.
786 * sysdeps/unix/sysv/linux/Makefile (non-lib.a): Append libieee.a.
788 * time/mktime.c (mktime): Move static variable localtime_offset to
791 * stdio-common/vfscanf.c: Put '0' in buffer before scanning for %i
794 Thu Feb 15 16:56:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
796 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Corrected.
797 (ELF_MACHINE_BEFORE_RTLD_RELOC): Define.
798 (_dl_runtime_resolve): Save %a1 as well.
799 (ELF_MACHINE_RUNTIME_FIXUP_ARGS): Add second dummy arg.
800 (elf_machine_relplt): Define.
802 * elf/dl-runtime.c: Include possible extra args in declaration of
805 Fri Feb 16 11:01:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
807 * time/tzset.c: Limit hours to 23, not 12. From jaffer.
809 Fri Feb 16 10:14:05 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
811 * Makeconfig (CFLAGS-.po): Use -pg instead of -p.
813 Thu Feb 15 13:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
815 * mach/Machrules: Use -include for $(*.ir).
817 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Mask off type bits in
819 * sysdeps/mach/hurd/ioctls.h (_IOC_NOTYPE): New macro.
820 (_IOT_COUNT2): Field is 3 bits, not 2.
821 * sysdeps/mach/hurd/ioctl.c: Ignore handler if it fails with ENOTTY.
822 * hurd/hurdioctl.c (_hurd_lookup_ioctl_handler): Mask off type
823 bits before looking up handler.
824 (fioctl): Use __hurd_dfail.
825 (fioctl, fioclex): Use ENOTTY for bogus request instead of EGRATUITOUS.
827 Thu Feb 15 11:49:45 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
829 * sysdeps/unix/sysv/sysv4/Makefile [$(subdir)-signal]
830 (sysdep_routines): Don't add sys-sig.
832 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
834 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
836 * sysdeps/alpha/memchr.c (memchr): loop searching for matching
837 character bailed out one too early; changed constant 6 to
840 Wed Feb 14 01:08:58 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
842 * posix/execvp.c: When executing shell on script, first arg is
843 full file name, not argv[0].
845 * mach/Makefile [no_deps]: Inhibit inclusion of mach-syscalls.mk.
846 * mach/Machrules [no_deps]: Inhibit interface rules.
848 * malloc/Makefile (distribute): Removed TODO.
850 Tue Feb 13 05:12:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
852 * sysdeps/unix/sysv/linux/syscalls.list (ipc): Specify msgget in
855 * sysdeps/unix/common/syscalls.list: Add sigaction syscall.
857 * sysdeps/unix/sysv/linux/gnu/types.h: Moved from linux/i386.
859 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]
860 (sysdep_routines): Append setfpucw.
861 (extra-objs): Append ieee-fpucw.o.
862 (install-lib): Append libieee.a.
863 (libieee.a): New target.
864 * sysdeps/unix/sysv/linux/ieee-fpucw.c: New file.
865 * sysdeps/unix/sysv/linux/i386/fpu_control.h
866 (_FPU_GETCW, _FPU_SETCW): New macros.
867 (fpu_control_t): New typedef.
868 (__setfpucw): Use fpu_control_t for argument type.
869 * sysdeps/unix/sysv/linux/fpu_control.c: Moved from linux/i386.
871 * sysdeps/unix/sysv/linux/init-first.c: Moved from linux/i386.
873 * sysdeps/unix/sysv/linux/syscalls.list: Add ipc syscall.
874 * sysdeps/unix/sysv/linux/i386/syscalls.list: File removed.
876 Sat Feb 10 13:09:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
878 * sysdeps/unix/sysv/linux/m68k/brk.c,
879 sysdeps/unix/sysv/linux/m68k/mmap.S,
880 sysdeps/unix/sysv/linux/m68k/select.S,
881 sysdeps/unix/sysv/linux/m68k/sigcontext.h,
882 sysdeps/unix/sysv/linux/m68k/sigreturn.S,
883 sysdeps/unix/sysv/linux/m68k/socket.S,
884 sysdeps/unix/sysv/linux/m68k/syscall.S,
885 sysdeps/unix/sysv/linux/m68k/sysdep.S,
886 sysdeps/unix/sysv/linux/m68k/sysdep.h: New files.
888 * sysdeps/unix/sysv/linux/m68k/fpu_control.h: New file.
890 * sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
891 sysdeps/m68k/isinfl.c, sysdeps/m68k/isnanl.c: New files.
893 * sysdeps/unix/sysv/linux/sys/mman.h: Define MAP_ANON and
894 MAP_FILE if not already defined.
896 * elf/elf.h: Add m68k reloc definitions.
897 * sysdeps/m68k/dl-machine.h, sysdeps/m68k/elf/start.S: New files.
899 Tue Feb 13 00:12:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
901 * elf/dl-runtime.c (fixup) [ELF_MACHINE_RUNTIME_FIXUP_ARGS]: Let
902 this macro declare extra leading args.
904 * Makerules [$(elf)=yes] (ar-symtab-name): Define to empty.
906 * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
907 elf_machine_relplt): New macros.
908 * elf/dl-runtime.c: New file.
909 * sysdeps/i386/dl-runtime.c, sysdeps/stub/dl-runtime.c: Files removed.
911 * gmon/Makefile (headers): Remove machine-gmon.h.
912 * sysdeps/stub/machine-gmon.h, sysdeps/i386/machine-gmon.h: Removed.
913 * gmon/mcount.c [! NO_UNDERSCORES] (_mcount): Specify "mcount" as
915 (_mcount): Define normally, taking no args.
916 Use __builtin_return_address to fetch PC values of caller and caller's
919 * Makerules: Rewrote rules to update libc archives of all flavors.
920 Define separate specific rules for each flavor using o-iterator.
922 * sysdeps/unix/Makefile: Include s-proto.d only ifdef subdir.
924 Sat Feb 10 11:35:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
926 * Makerules (ar-symtab-name): New macro. Replace all occurences
927 of __.SYMDEF by $(ar-symtab-name).
928 * sysdeps/unix/sysv/Makefile (ar-symtab-name): Define as empty.
930 Mon Feb 12 03:10:41 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
932 * Makefile (configure, %/configure): Depend on aclocal.m4.
933 * Make-dist (configure, %/configure): Likewise.
935 * sysdeps/unix/Makefile: Include s-proto.d for its deps.
937 * gmon/sys/gmon.h: Don't include machine-gmon.h; those defns are
938 only needed in the implementation, not for any users.
940 * time/northamerica: Updated from ADO 96c, new rules for Mexico in
943 * sunrpc/pm_getport.c: #if 0 out gratuitous inclusion of <net/if.h>.
944 * sunrpc/pm_getmaps.c: Likewise.
946 * sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday,
947 so real syscalls override unix/sysv/*.c on sysv-derived systems
949 * sysdeps/unix/common/syscalls.list: Add settimeofday here, to
950 override unix/sysv/settimeofday.c since that overrides
953 * Makeconfig (+link): Put $(link-libc) after deps from $^,
954 regardless of where libc.a appears in the deps.
956 * sysdeps/unix/sysv/sysv4/syscalls.list: Remove redundancies.
958 * sysdeps/unix/sysv/linux/syscalls.list: Remove redundancies.
959 Define __ name for sigprocmask.
960 * sysdeps/unix/bsd/ultrix4/syscalls.list: Remove redundancies.
962 * sysdeps/unix/bsd/sun/sunos4/syscalls.list: Remove redundancies.
963 * sysdeps/unix/bsd/sun/syscalls.list: Remove redundancies.
964 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove redundancies.
965 * sysdeps/unix/bsd/syscalls.list: Remove settimeofday, utimes.
966 Add getdents, wait3, waitpid.
967 * sysdeps/unix/syscalls.list: Add seteuid, setegid, setsid,
968 settimeofday, sigsuspend, sstk, utimes.
969 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
970 * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
971 * sysdeps/unix/bsd/ultrix4/mips/Makefile (sysdep_routines):
973 * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Renamed from sigtramp.c.
974 * sysdeps/unix/bsd/bsd4.4/sstk.S: File removed.
975 * sysdeps/unix/bsd/hp/m68k/syscalls.list: File removed.
976 * sysdeps/unix/bsd/osf/alpha/getdents.S: File removed.
977 * sysdeps/unix/bsd/ultrix4/getsysinfo.S: File removed.
978 * sysdeps/unix/bsd/ultrix4/waitpid.S: File removed.
979 * sysdeps/unix/bsd/ultrix4/mips/sigtramp.c: File removed.
980 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
981 * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: New file.
982 * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
983 * sysdeps/unix/sysv/irix4/wait3.S: File removed.
984 * sysdeps/unix/sysv/sysv4/__waitid.S: File removed.
985 * sysdeps/unix/sysv/sysv4/fchdir.S: File removed.
986 * sysdeps/unix/sysv/sysv4/setegid.S: File removed.
987 * sysdeps/unix/sysv/sysv4/seteuid.S: File removed.
988 * sysdeps/unix/sysv/sysv4/sigaltstack.S: File removed.
989 * sysdeps/unix/sysv/sysv4/solaris2/utimes.S: File removed.
991 * hurd/hurdfault.c (_hurdsig_fault_init): Set qlimit on
992 FORWARD_SIGEXC to one. Uncomment setting of thread exc port, and
993 move it to last thing.
995 Sat Feb 10 05:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
997 * sysdeps/generic/make_siglist.c: #undef _SIGNAL_H before defining it.
999 * sysdeps/unix/sysv/linux/syscalls.list: Add sigprocmask, sigsuspend.
1001 Sat Feb 10 04:18:48 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1003 * posix/execvp.c: If execv fails with ENOEXEC, run the shell on
1006 Fri Feb 9 11:46:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1008 * time/Makefile (CFLAGS-zdump.c, CFLAGS-zic.c, CFLAGS-ialloc.c,
1009 CFLAGS-scheck.c): Use -DNOID instead of -Wno-unused.
1011 * hurd/Makefile (user-interfaces): Added hurd/tioctl.
1013 Thu Feb 8 18:55:27 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1015 * hurd/hurdioctl.c (tiocsctty): Set the terminal's pgrp to our own.
1017 Wed Feb 7 18:48:30 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1019 * Makefile (subdirs): Added wcsmbs.
1020 * wcsmbs: New directory of wide char/multibyte char functions from
1023 * hurd/hurdmsg.c (_S_msg_report_wait): Function removed.
1024 * hurd/report-wait.c: New file.
1025 * hurd/Makefile (routines): Added report-wait.
1027 * sysdeps/mach/hurd/Makefile (inhibit-unix-syscalls): New variable.
1029 * sysdeps/mach/hurd/i386/intr-msg.h (struct mach_msg_trap_args):
1031 (SYSCALL_EXAMINE, MSG_EXAMINE): New inline functions.
1032 * sysdeps/mach/hurd/i386/trampoline.c (struct mach_msg_trap_args):
1033 Structure moved to intr-msg.h; include that.
1035 * time/Makefile (CFLAGS-ialloc.c): Add -Wno-unused.
1036 (CFLAGS-scheck.c): New variable.
1038 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
1039 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
1040 __hurd_threadvar_stack_mask): New variables.
1042 * sysdeps/mach/hurd/fork.c: Set the new task's exception port to
1043 its new message port.
1045 * misc/init-misc.c: Put __init_misc in the __libc_subinit set.
1047 * configure.in (uname): Add quoting.
1049 * sysdeps/mach/hurd/fchdir.c: Don't consult errno unless lookup fails.
1050 * hurd/fchroot.c: Likewise.
1052 * posix/sys/types.h [GCC >= 2.7]: Define intN_t/u_intN_t using
1053 __attribute__ ((__mode__ (__XX__))).
1055 Wed Feb 7 03:24:05 1996 Torbjorn Granlund <tege@tmg.se>
1057 * sysdeps/i386/i586/memcopy.h (WORD_COPY_FWD): Manually allocate
1058 destination cache lines.
1059 (WORD_COPY_BWD): Likewise.
1061 Wed Feb 7 14:16:36 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1063 * sysdeps/generic/Makefile (make_siglist): Get signum.h absolute
1064 file name first thing, before $(native-compile) changes directories.
1066 From Gord Matzigkeit <gord@enci.ucalgary.ca>:
1067 * sysdeps/unix/make_errlist.c: Use strerror if available.
1068 * sysdeps/unix/configure.in: New file
1070 * sysdeps/unix/bsd/sun/syscalls.list: Added sigvec.
1071 * sysdeps/unix/bsd/sun/sigvec.S: File removed.
1073 * sysdeps/stub/sendto.c: Make sockaddr arg pointer to const.
1074 * sysdeps/stub/connect.c: Likewise.
1075 * sysdeps/stub/bind.c: Likewise.
1077 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): RETRYNAME of
1078 "" is only special for FS_RETRY_NORMAL; for FS_RETRY_REAUTH, do
1079 another dir_lookup of "".
1081 Tue Feb 6 12:46:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
1083 * libc-symbols.h (weak_alias, weak_symbol): added definitions
1084 for ECOFF (HAVE_ECOFF).
1086 Fri Feb 2 13:09:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1088 * sysdeps/mach/hurd/fork.c: Clear trace flag in child.
1090 Wed Jan 31 20:08:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1092 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Clear SS->intr_port
1093 when cancelled before RPC.
1095 Tue Jan 30 13:32:05 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1097 * dirent/scandir.c: Allocate dirents with correct size for name, and
1098 copy with correct size.
1100 * hurd/hurdinit.c [! PIC] (map0): New function, on _hurd_preinit_hook.
1102 * stdio-common/vfscanf.c (TYPEMOD): New macro of all type modifier
1104 (__vfscanf): Fix checking of extra type modifiers.
1106 * time/asia, time/australasia, time/backward: Updated from ADO 96b.
1108 Tue Jan 30 12:17:26 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
1110 * stdlib/strtod.c: Only negate exponent when there really is one.
1112 * stdio-common/vfscanf.c: Accept type modifiers on %n.
1113 Fix FP number parsing.
1115 Mon Jan 29 21:53:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1117 * sysdeps/stub/msync.c (msync): Declare third arg FLAGS.
1119 * resolv/Makefile (+cflags): Append to this instead of CFLAGS.
1121 Mon Jan 29 16:29:16 1996 Miles Bader <miles@gnu.ai.mit.edu>
1123 * sysdeps/mach/hurd/select.c (__select): Recalculate GOT to
1124 include an increment for each operation allowed on each fd.
1126 Mon Jan 29 11:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1128 * sysdeps/unix/sysv/linux/configure: Set $inhibit_glue.
1130 * Makefile: Use -include for sysd-dirs.
1132 * configure.in (uname): Check for uname in syscalls.list files.
1133 * sysdeps/unix/sysv/syscalls.list: Remove uname.
1134 * sysdeps/unix/syscalls.list: Add uname.
1136 * stdlib/strtol.c (weak1): New macro, to get the right name declared
1139 * sysdeps/posix/getcwd.c (size_t): Don't define #ifdef __GNU_LIBRARY__.
1141 * db/hash/ndbm.c: Change all uses of `errno' struct member to `errnum'.
1142 (dbm_open): Use dynamic allocation for file name buffer, instead of
1143 limitting its size to MAXPATHLEN.
1145 * db/btree/bt_open.c (tmp): Use dynamic allocation for file name
1146 buffer, instead of limitting its size to MAXPATHLEN.
1148 * db/hash/hash.h (HTAB): Rename member `errno' to `errnum'.
1149 * db/hash/hash.c: Change all uses of `errno' struct member to `errnum'.
1151 Sun Jan 28 19:42:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1153 * time/Makefile: Fix check for cross compiling.
1155 Thu Jan 25 21:10:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1157 * db/Makefile (subdir-dirs): Renamed from dbdirs.
1159 * Makerules (distinfo-vars): Add subdir-dirs.
1161 * MakeTAGS: Remove vpath directives.
1162 (all-dirs): Prepend $(subdir-dirs).
1163 (all-sources, all-headers): Use wildcard to find sources.
1165 Mon Jan 29 10:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1167 * malloc/Makefile (CFLAGS-vm-limit.c, CFLAGS-ralloc.c): New
1170 * mach/msgserver.c: Declare DEMUX arg with prototype.
1172 Sun Jan 28 17:25:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1174 * setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to
1176 * alpha/jmp_buf.h: Likewise.
1177 * m68k/jmp_buf.h: Likewise.
1178 * mips/jmp_buf.h: Likewise.
1179 * sparc/jmp_buf.h: Likewise.
1180 * vax/jmp_buf.h: Likewise.
1182 * sysdeps/generic/memmem.c: Fix return value in case where
1185 * hurd/hurdlookup.c (__file_name_lookup_under,
1186 __file_name_lookup): Restrict mode with umask.
1187 * sysdeps/mach/hurd/xmknod.c: Restrict mode with umask.
1188 * sysdeps/mach/hurd/mkdir.c: Restrict mode with umask.
1190 Fri Jan 26 12:20:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1192 * stdlib/strtol.c: Undo last change. ANSI C changed since the
1193 draft I checked yesterday. Sigh.
1195 Thu Jan 25 18:58:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1197 * stdlib/strtol.c [UNSIGNED]: Don't recognize + or - as sign.
1199 Wed Jan 24 03:22:07 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1201 * malloc/mcheck.c (mabort): Declare prototype.
1203 * sysdeps/unix/sysv/linux/fcntlbits.h: Moved from linux/i386.
1205 * Makerules: Use -include for generated makefiles.
1207 * errno.h: Don't declare errno if it's defined as a macro.
1209 * stdio-common/vfscanf.c: Disallow l flag after ll or L.
1211 * stdio-common/Makefile (tests): Add scanf[1-9].
1212 * stdio-common/scanf[1-9].c: New files. Bug tests from hjl.
1214 Wed Jan 24 04:18:36 1996 Paul Eggert <eggert@twinsun.com>
1216 * strftime.c (strftime):
1217 When invoking self, check whether the subsidiary invocation failed.
1218 Use "???" (not "") to denote unknown time zone information.
1220 Make this source file portable to standalone contexts (e.g. GNU Emacs).
1221 <config.h>: Include if HAVE_CONFIG_H is defined.
1222 (HAVE_LIMITS_H, HAVE_MBLEN, HAVE_TM_ZONE, STDC_HEADERS): New symbols,
1223 defined if _LIBC or if <config.h> defines them.
1224 <ansidecl.h>, "../locale/localeinfo.h": Include only if _LIBC.
1225 <sys/types.h>: New include; some hosts require it for `time_t'.
1226 <ctype.h>: Include only if HAVE_MBLEN (since it's only needed then).
1227 <limits.h>: Include only if HAVE_LIMITS_H.
1228 <stddef.h, stdlib.h, string.h>: Include only if STDC_HEADERS.
1229 (memcpy): Define in terms of bcopy if !STDC_HEADERS.
1230 (__P, PTR): Define if not already defined.
1231 (__tzname, __daylight, __timezone): Remove macros; no longer needed.
1232 (add, strftime): Don't use NULL, for portability to some weird hosts.
1233 (fmt): If !_LIBC, don't assume sprintf returns a count.
1234 (week, strftime): Use old-style function declarations.
1235 (weekday_name, month_name): New constants.
1236 (strftime): Use traditional C values if locale support isn't available.
1237 Use `const' instead of CONST. For time zones, use tm_zone if
1238 possible, then fall back on tzname. Don't check for multibyte
1239 characters unless mblen is supported. Use formats like %02d instead
1240 of %.2d, for portability to older hosts.
1242 Wed Jan 24 00:07:52 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1244 * stdio-common/vfscanf.c (GROUP, MALLOC): New flag macros.
1245 (__vfscanf): Eliminate flag vars that were redundant with FLAGS bits.
1246 Fix bug in recognition of %ll flag for long long.
1247 Fix overeager checks for conflicting type modifiers.
1248 With ' flag, match thousands separators for decimal numbers.
1250 Tue Jan 23 22:02:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1252 * locale/Makefile (CFLAGS-locfile-lex.c): New variable.
1254 * resolv/Makefile (CFLAGS): Disable some warnings.
1256 * sysdeps/generic/Makefile (elided-routines): Removed hypot.
1257 (+gccwarn): Set with override.
1259 * stdio-common/Makefile (CFLAGS-tst-printf.c): New variable.
1261 * posix/Makefile (CFLAGS-regex.c): New variable.
1263 * malloc/Makefile (CFLAGS-obstack.c): New variable.
1265 * io/Makefile (CFLAGS-fts.c): New variable.
1266 * io/fts.c (fts_open): Use prototypes for COMPAR decl.
1268 Tue Jan 23 21:35:32 1996 Miles Bader <miles@gnu.ai.mit.edu>
1270 * sysdeps/mach/hurd/bind.c (bind): Ensure NAME for the AF_LOCAL
1271 case is '\0'-terminated.
1273 Tue Jan 23 19:49:54 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1275 * elf/rtld.c (dl_main): Support additional args in --list mode for
1276 debugging: look them up as symbol names and print values.
1278 * misc/getttyent.c (skip, value): Declare with prototypes in file
1281 * csu/initfini.c (_init): Explicitly set a variable that is
1282 pointer to volatile with the address of __gmon_start__, to avoid
1283 the test being optimized out.
1285 Mon Jan 22 10:40:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1287 * sysdeps/posix/getcwd.c [__GNU_LIBRARY__]: Include unistd.h.
1289 * io/fts.h (FTSENT): Define fts_compar member with prototype.
1291 * hurd/hurd.h: Use prototype in getcttyid decl.
1293 * stdlib/l64a.c: Fix typo in last change.
1295 * stdlib/drand48-iter.c: Test limits.h macros instead of sizeof
1296 for determining size of types.
1297 * stdlib/srand48_r.c: Likewise.
1299 * misc/utmp.h: Declare login, logout, logwtmp.
1300 * misc/logout.c: Declare argument as pointer to const.
1301 * misc/login.c: Likewise.
1302 * misc/logwtmp.c: Likewise.
1303 Include time.h, string.h.
1305 * misc/efgcvt_r.c: Include stdlib.h.
1307 * io/mknod.c: Include sys/types.h.
1309 * gmon/sys/gmon.h: Declare monstartup, _mcleanup.
1311 * csu/gmon-start.c (_start, etext): Declare with prototypes.
1313 * stdio-common/vfscanf.c (%[): Fix range handling.
1315 Sun Jan 21 00:55:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1317 * misc/Makefile (headers): Rename queue.h to sys/queue.h.
1318 * misc/queue.h: Moved to misc/sys/queue.h.
1320 * sysdeps/unix/sysv/linux/shmat.c: Include sys/shm.h instead of
1323 * stdlib/stdlib.h [__USE_SVID]: Declare a64l, l64a.
1325 * stdlib/l64a.c: Use 6-bit numbers as indices in CONV_TABLE, not
1326 literal byte values.
1328 * misc/bsd-compat.c (getpgrp): Define with prototype.
1330 * misc/init-misc.c (__progname_full): New variable.
1331 (program_invocation_name, program_invocation_short_name): New aliases.
1332 (__init_misc): Define with prototype. Set __progname_full.
1333 * misc/progname.c: File removed.
1334 * misc/Makefile (aux): Remove progname.
1336 * misc/hsearch_r.c (isprime): Define with prototype.
1338 * sysdeps/unix/sysv/linux/seteuid.c: Just include unix/bsd version.
1339 * sysdeps/unix/bsd/seteuid.c: Disallow arg of -1.
1340 * sysdeps/unix/bsd/setegid.c: Likewise.
1342 Fri Jan 19 13:28:59 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1344 * sysdeps/unix/sysv/linux/tcdrain.c: Define tcdrain, not
1347 * posix/glob.c (glob): Use prototype in getlogin decl.
1349 * db/ndbm.h: Declare dbm_error, dbm_clearerr.
1350 * db/db/db.c (__dberr): Define with prototype.
1351 (__dbpanic): Use prototypes in casts.
1352 * db/hash/hash_log2.c: Add prototype decl.
1354 * sysdeps/generic/_strerror.c (_strerror_internal): Define with
1357 * sysdeps/unix/mkdir.c, syspdep/unix/rmdir.c: Moved from unix/sysv.
1358 They will be overridden with syscalls if extant by unix/syscalls.list.
1360 * Makeconfig (+gccwarn): Add -Wstrict-prototypes.
1362 * stdio-common/printf_fp.c (__printf_fp): Define with prototype.
1363 * stdio-common/vfprintf.c (_IO_helper_overflow): Likewise.
1365 Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1367 * io/Makefile (routines): Add mknod, xstat fxstat lxstat xmknod.
1369 * sysdeps/unix/sysv/linux/ptrace.c: Use ... decl, and stdarg.h to
1372 * posix/glob.c (_GNU_SOURCE): Define if undefined, so glob.h
1373 defines GNU extensions.
1374 * posix/fnmatch.c: Likewise.
1376 Replaced all simple system call files *.S throughout sysdeps/unix
1377 with syscalls.list files to be processed by make-syscalls.sh.
1378 * sysdeps/unix/s-proto.S: New file.
1379 * sysdeps/unix/syscalls.list: New file.
1380 * sysdeps/unix/bsd/syscalls.list: New file.
1381 * sysdeps/unix/bsd/bsd4.4/syscalls.list: New file.
1382 * sysdeps/unix/bsd/hp/m68k/syscalls.list: New file.
1383 * sysdeps/unix/bsd/osf/syscalls.list: New file.
1384 * sysdeps/unix/bsd/osf/alpha/syscalls.list: New file.
1385 * sysdeps/unix/bsd/sony/newsos4/syscalls.list: New file.
1386 * sysdeps/unix/bsd/sun/syscalls.list: New file.
1387 * sysdeps/unix/bsd/sun/sunos4/syscalls.list: New file.
1388 * sysdeps/unix/bsd/ultrix4/syscalls.list: New file.
1389 * sysdeps/unix/common/syscalls.list: New file.
1390 * sysdeps/unix/inet/syscalls.list: New file.
1391 * sysdeps/unix/mman/syscalls.list: New file.
1392 * sysdeps/unix/sysv/syscalls.list: New file.
1393 * sysdeps/unix/sysv/irix4/syscalls.list: New file.
1394 * sysdeps/unix/sysv/isc2.2/syscalls.list: New file.
1395 * sysdeps/unix/sysv/linux/syscalls.list: New file.
1396 * sysdeps/unix/sysv/linux/i386/syscalls.list: New file.
1397 * sysdeps/unix/sysv/sco3.2.4/syscalls.list: New file.
1398 * sysdeps/unix/sysv/sysv4/syscalls.list: New file.
1399 * sysdeps/unix/sysv/sysv4/i386/syscalls.list: New file.
1400 * sysdeps/unix/sysv/sysv4/solaris2/sparc/syscalls.list: New file.
1401 * sysdeps/unix/acct.S: File removed.
1402 * sysdeps/unix/chdir.S: File removed.
1403 * sysdeps/unix/chmod.S: File removed.
1404 * sysdeps/unix/chown.S: File removed.
1405 * sysdeps/unix/chroot.S: File removed.
1406 * sysdeps/unix/close.S: File removed.
1407 * sysdeps/unix/configure: File removed.
1408 * sysdeps/unix/configure.in: File removed.
1409 * sysdeps/unix/dup.S: File removed.
1410 * sysdeps/unix/fcntl.S: File removed.
1411 * sysdeps/unix/fsync.S: File removed.
1412 * sysdeps/unix/getgid.S: File removed.
1413 * sysdeps/unix/getpid.S: File removed.
1414 * sysdeps/unix/getuid.S: File removed.
1415 * sysdeps/unix/ioctl.S: File removed.
1416 * sysdeps/unix/kill.S: File removed.
1417 * sysdeps/unix/link.S: File removed.
1418 * sysdeps/unix/lseek.S: File removed.
1419 * sysdeps/unix/open.S: File removed.
1420 * sysdeps/unix/ptrace.S: File removed.
1421 * sysdeps/unix/read.S: File removed.
1422 * sysdeps/unix/reboot.S: File removed.
1423 * sysdeps/unix/setgid.S: File removed.
1424 * sysdeps/unix/setuid.S: File removed.
1425 * sysdeps/unix/sync.S: File removed.
1426 * sysdeps/unix/umask.S: File removed.
1427 * sysdeps/unix/unlink.S: File removed.
1428 * sysdeps/unix/write.S: File removed.
1429 * sysdeps/unix/bsd/flock.S: File removed.
1430 * sysdeps/unix/bsd/getdtsz.S: File removed.
1431 * sysdeps/unix/bsd/getpagesize.S: File removed.
1432 * sysdeps/unix/bsd/killpg.S: File removed.
1433 * sysdeps/unix/bsd/profil.S: File removed.
1434 * sysdeps/unix/bsd/readv.S: File removed.
1435 * sysdeps/unix/bsd/settimeofday.S: File removed.
1436 * sysdeps/unix/bsd/sigblock.S: File removed.
1437 * sysdeps/unix/bsd/sigpause.S: File removed.
1438 * sysdeps/unix/bsd/sigsetmask.S: File removed.
1439 * sysdeps/unix/bsd/sigstack.S: File removed.
1440 * sysdeps/unix/bsd/sigvec.S: File removed.
1441 * sysdeps/unix/bsd/utimes.S: File removed.
1442 * sysdeps/unix/bsd/writev.S: File removed.
1443 * sysdeps/unix/bsd/bsd4.4/chflags.S: File removed.
1444 * sysdeps/unix/bsd/bsd4.4/fchdir.S: File removed.
1445 * sysdeps/unix/bsd/bsd4.4/fchflags.S: File removed.
1446 * sysdeps/unix/bsd/bsd4.4/getdents.S: File removed.
1447 * sysdeps/unix/bsd/bsd4.4/getdomain.S: File removed.
1448 * sysdeps/unix/bsd/bsd4.4/revoke.S: File removed.
1449 * sysdeps/unix/bsd/bsd4.4/setdomain.S: File removed.
1450 * sysdeps/unix/bsd/bsd4.4/setegid.S: File removed.
1451 * sysdeps/unix/bsd/bsd4.4/seteuid.S: File removed.
1452 * sysdeps/unix/bsd/bsd4.4/setlogin.S: File removed.
1453 * sysdeps/unix/bsd/bsd4.4/setsid.S: File removed.
1454 * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: File removed.
1455 * sysdeps/unix/bsd/bsd4.4/wait4.S: File removed.
1456 * sysdeps/unix/bsd/hp/m68k/getdents.S: File removed.
1457 * sysdeps/unix/bsd/osf/msync.S: File removed.
1458 * sysdeps/unix/bsd/osf/alpha/wait4.S: File removed.
1459 * sysdeps/unix/bsd/sony/newsos4/fchdir.S: File removed.
1460 * sysdeps/unix/bsd/sony/newsos4/sys_wait4.S: File removed.
1461 * sysdeps/unix/bsd/sun/getdents.S: File removed.
1462 * sysdeps/unix/bsd/sun/sunos3/m68k/wait.S: File removed.
1463 * sysdeps/unix/bsd/sun/sunos4/msync.S: File removed.
1464 * sysdeps/unix/bsd/sun/sunos4/poll.S: File removed.
1465 * sysdeps/unix/bsd/sun/sunos4/setsid.S: File removed.
1466 * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: File removed.
1467 * sysdeps/unix/bsd/sun/sunos4/sys_wait4.S: File removed.
1468 * sysdeps/unix/bsd/sun/sunos4/uname.S: File removed.
1469 * sysdeps/unix/bsd/ultrix4/getdents.S: File removed.
1470 * sysdeps/unix/bsd/ultrix4/setsid.S: File removed.
1471 * sysdeps/unix/bsd/ultrix4/uname.S: File removed.
1472 * sysdeps/unix/common/access.S: File removed.
1473 * sysdeps/unix/common/adjtime.S: File removed.
1474 * sysdeps/unix/common/dup2.S: File removed.
1475 * sysdeps/unix/common/fchmod.S: File removed.
1476 * sysdeps/unix/common/fchown.S: File removed.
1477 * sysdeps/unix/common/ftruncate.S: File removed.
1478 * sysdeps/unix/common/getgroups.S: File removed.
1479 * sysdeps/unix/common/getitimer.S: File removed.
1480 * sysdeps/unix/common/getpgid.S: File removed.
1481 * sysdeps/unix/common/getpriority.S: File removed.
1482 * sysdeps/unix/common/getrlimit.S: File removed.
1483 * sysdeps/unix/common/getrusage.S: File removed.
1484 * sysdeps/unix/common/gettimeofday.S: File removed.
1485 * sysdeps/unix/common/mkdir.S: File removed.
1486 * sysdeps/unix/common/readlink.S: File removed.
1487 * sysdeps/unix/common/rename.S: File removed.
1488 * sysdeps/unix/common/rmdir.S: File removed.
1489 * sysdeps/unix/common/select.S: File removed.
1490 * sysdeps/unix/common/setgroups.S: File removed.
1491 * sysdeps/unix/common/setitimer.S: File removed.
1492 * sysdeps/unix/common/setpgid.S: File removed.
1493 * sysdeps/unix/common/setpriority.S: File removed.
1494 * sysdeps/unix/common/setregid.S: File removed.
1495 * sysdeps/unix/common/setreuid.S: File removed.
1496 * sysdeps/unix/common/setrlimit.S: File removed.
1497 * sysdeps/unix/common/swapon.S: File removed.
1498 * sysdeps/unix/common/symlink.S: File removed.
1499 * sysdeps/unix/common/truncate.S: File removed.
1500 * sysdeps/unix/common/vhangup.S: File removed.
1501 * sysdeps/unix/inet/accept.S: File removed.
1502 * sysdeps/unix/inet/bind.S: File removed.
1503 * sysdeps/unix/inet/connect.S: File removed.
1504 * sysdeps/unix/inet/gethostid.S: File removed.
1505 * sysdeps/unix/inet/gethostname.S: File removed.
1506 * sysdeps/unix/inet/getpeername.S: File removed.
1507 * sysdeps/unix/inet/getsockname.S: File removed.
1508 * sysdeps/unix/inet/getsockopt.S: File removed.
1509 * sysdeps/unix/inet/listen.S: File removed.
1510 * sysdeps/unix/inet/recv.S: File removed.
1511 * sysdeps/unix/inet/recvfrom.S: File removed.
1512 * sysdeps/unix/inet/recvmsg.S: File removed.
1513 * sysdeps/unix/inet/send.S: File removed.
1514 * sysdeps/unix/inet/sendmsg.S: File removed.
1515 * sysdeps/unix/inet/sendto.S: File removed.
1516 * sysdeps/unix/inet/sethostid.S: File removed.
1517 * sysdeps/unix/inet/sethostname.S: File removed.
1518 * sysdeps/unix/inet/setsockopt.S: File removed.
1519 * sysdeps/unix/inet/shutdown.S: File removed.
1520 * sysdeps/unix/inet/socket.S: File removed.
1521 * sysdeps/unix/inet/socketpair.S: File removed.
1522 * sysdeps/unix/mman/madvise.S: File removed.
1523 * sysdeps/unix/mman/mmap.S: File removed.
1524 * sysdeps/unix/mman/mprotect.S: File removed.
1525 * sysdeps/unix/mman/msync.S: File removed.
1526 * sysdeps/unix/mman/munmap.S: File removed.
1527 * sysdeps/unix/sysv/alarm.S: File removed.
1528 * sysdeps/unix/sysv/ftime.S: File removed.
1529 * sysdeps/unix/sysv/nice.S: File removed.
1530 * sysdeps/unix/sysv/pause.S: File removed.
1531 * sysdeps/unix/sysv/poll.S: File removed.
1532 * sysdeps/unix/sysv/s_getdents.S: File removed.
1533 * sysdeps/unix/sysv/signal.S: File removed.
1534 * sysdeps/unix/sysv/stime.S: File removed.
1535 * sysdeps/unix/sysv/time.S: File removed.
1536 * sysdeps/unix/sysv/times.S: File removed.
1537 * sysdeps/unix/sysv/ulimit.S: File removed.
1538 * sysdeps/unix/sysv/uname.S: File removed.
1539 * sysdeps/unix/sysv/utime.S: File removed.
1540 * sysdeps/unix/sysv/irix4/getpgid.S: File removed.
1541 * sysdeps/unix/sysv/irix4/msync.S: File removed.
1542 * sysdeps/unix/sysv/irix4/setpgid.S: File removed.
1543 * sysdeps/unix/sysv/irix4/signal.S: File removed.
1544 * sysdeps/unix/sysv/irix4/sysmp.S: File removed.
1545 * sysdeps/unix/sysv/irix4/syssgi.S: File removed.
1546 * sysdeps/unix/sysv/isc2.2/rename.S: File removed.
1547 * sysdeps/unix/sysv/linux/adjtimex.S: File removed.
1548 * sysdeps/unix/sysv/linux/fork.S: File removed.
1549 * sysdeps/unix/sysv/linux/getpgid.S: File removed.
1550 * sysdeps/unix/sysv/linux/getpgrp.S: File removed.
1551 * sysdeps/unix/sysv/linux/getsid.S: File removed.
1552 * sysdeps/unix/sysv/linux/gtty.S: File removed.
1553 * sysdeps/unix/sysv/linux/mlock.S: File removed.
1554 * sysdeps/unix/sysv/linux/mlockall.S: File removed.
1555 * sysdeps/unix/sysv/linux/mount.S: File removed.
1556 * sysdeps/unix/sysv/linux/munlock.S: File removed.
1557 * sysdeps/unix/sysv/linux/munlockall.S: File removed.
1558 * sysdeps/unix/sysv/linux/pipe.S: File removed.
1559 * sysdeps/unix/sysv/linux/s_ptrace.S: File removed.
1560 * sysdeps/unix/sysv/linux/setpgid.S: File removed.
1561 * sysdeps/unix/sysv/linux/setsid.S: File removed.
1562 * sysdeps/unix/sysv/linux/settimeofday.S: File removed.
1563 * sysdeps/unix/sysv/linux/sigpending.S: File removed.
1564 * sysdeps/unix/sysv/linux/stty.S: File removed.
1565 * sysdeps/unix/sysv/linux/umount.S: File removed.
1566 * sysdeps/unix/sysv/linux/wait4.S: File removed.
1567 * sysdeps/unix/sysv/linux/i386/ipc.S: File removed.
1568 * sysdeps/unix/sysv/sco3.2.4/pathconf.S: File removed.
1569 * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: File removed.
1570 * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: File removed.
1571 * sysdeps/unix/sysv/sco3.2.4/sigpending.S: File removed.
1572 * sysdeps/unix/sysv/sco3.2.4/sigprocmask.S: File removed.
1573 * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: File removed.
1574 * sysdeps/unix/sysv/sysv4/pgrpsys.S: File removed.
1575 * sysdeps/unix/sysv/sysv4/sigprocmask.S: File removed.
1576 * sysdeps/unix/sysv/sysv4/sigsuspend.S: File removed.
1577 * sysdeps/unix/sysv/sysv4/sysconfig.S: File removed.
1578 * sysdeps/unix/sysv/sysv4/sysinfo.S: File removed.
1579 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: File removed.
1581 * io/mknod.c: New file.
1583 * Makerules (COMPILE.s): New variable.
1585 * sysdeps/unix/Makefile (sysd-syscalls): New target; generate with
1586 make-syscalls.sh and include it.
1587 [$(subdir)=misc] (sysdep_routines): Append extra syscalls from
1589 * sysdeps/unix/make-syscalls.sh: New file.
1591 * Makerules (COMPILE.S): New variable.
1593 Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1595 * sysdeps/unix/sysv/linux/statbuf.h (_STAT_VER_LINUX,
1596 _STAT_VER_SVR4, _STAT_VER): New macros.
1597 (_MKNOD_VER_LINUX, _MKNOD_VER_SVR4, _MKNOD_VER): New macros.
1599 * sysdeps/unix/sysv/sysv4/i386/statbuf.h (_STAT_VER, _MKNOD_VER):
1602 * io/sys/stat.h (_STAT_VER, _MKNOD_VER): New macros.
1603 (__xstat, __fxstat, __lxstat, __xmknod): Declare new functions.
1604 [__GNUC__] (stat, fstat, lstat, mknod): Define these (and __ names)
1605 as `extern inline's calling the `x' functions.
1606 * io/fstat.c: New file.
1607 * io/lstat.c: New file.
1608 * io/stat.c: New file.
1609 * sysdeps/generic/lstat.c: File removed.
1610 * sysdeps/generic/lxstat.c: New file.
1611 * sysdeps/mach/hurd/fstat.c: File removed.
1612 * sysdeps/mach/hurd/fxstat.c: New file.
1613 * sysdeps/mach/hurd/lstat.c: File removed.
1614 * sysdeps/mach/hurd/lxstat.c: New file.
1615 * sysdeps/mach/hurd/mknod.c: File removed.
1616 * sysdeps/mach/hurd/stat.c: File removed.
1617 * sysdeps/mach/hurd/xmknod.c: New file.
1618 * sysdeps/mach/hurd/xstat.c: New file.
1619 * sysdeps/stub/fstat.c: File removed.
1620 * sysdeps/stub/fxstat.c: New file.
1621 * sysdeps/stub/lstat.c: File removed.
1622 * sysdeps/stub/lxstat.c: New file.
1623 * sysdeps/stub/mknod.c: File removed.
1624 * sysdeps/stub/stat.c: File removed.
1625 * sysdeps/stub/xmknod.c: New file.
1626 * sysdeps/stub/xstat.c: New file.
1627 * sysdeps/unix/common/lstat.S: File removed.
1628 * sysdeps/unix/common/lxstat.c: New file.
1629 * sysdeps/unix/fstat.S: File removed.
1630 * sysdeps/unix/fxstat.c: New file.
1631 * sysdeps/unix/mknod.S: File removed.
1632 * sysdeps/unix/stat.S: File removed.
1633 * sysdeps/unix/sysv/linux/fstat.c: File removed.
1634 * sysdeps/unix/sysv/linux/i386/fxstat.S: File removed.
1635 * sysdeps/unix/sysv/linux/i386/lxstat.S: File removed.
1636 * sysdeps/unix/sysv/linux/i386/xmknod.S: File removed.
1637 * sysdeps/unix/sysv/linux/i386/xstat.S: File removed.
1638 * sysdeps/unix/sysv/linux/lstat.c: File removed.
1639 * sysdeps/unix/sysv/linux/mknod.c: File removed.
1640 * sysdeps/unix/sysv/linux/stat.c: File removed.
1641 * sysdeps/unix/sysv/sysv4/i386/fstat.S: File removed.
1642 * sysdeps/unix/sysv/sysv4/i386/lstat.S: File removed.
1643 * sysdeps/unix/sysv/sysv4/i386/mknod.S: File removed.
1644 * sysdeps/unix/sysv/sysv4/i386/stat.S: File removed.
1645 * sysdeps/unix/xmknod.c: New file.
1646 * sysdeps/unix/xstat.c: New file.
1647 * sysdeps/unix/mkfifo.c: Use __xmknod instead of __mknod.
1648 * misc/Makefile (routines): Remove mknod.
1650 * sysdeps/ieee754/ieee754.h (union ieee854_long_double.ieee_nan):
1651 Add missing ; in little-endian case.
1653 * elf/dynamic-link.h [ELF_MACHINE_NO_REL] (ELF_DYNAMIC_DO_REL):
1654 Define this instead of ELF_DYNAMIC_DO_RELA.
1656 * sysdeps/unix/sysv/time.S: Moved from sysv4.
1657 * sysdeps/unix/sysv/irix4/time.S: File removed.
1659 * sysdeps/unix/sysv/linux/signum.h: Moved from
1660 sysdeps/unix/sysv/linux/i386.
1661 (_NSIG): Move inside #ifdef _SIGNAL_H.
1663 Tue Jan 16 17:37:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1665 * sysdeps/unix/seekdir.c: Don't modify POS before seeking.
1666 * sysdeps/unix/telldir.c: Fix position calculation to account for
1667 buffered data properly.
1669 * sysdeps/m68k/Makefile (crypt): Don't define if building a shared
1672 * csu/initfini.c (_init): Call __gmon_start__ if defined (weak ref).
1673 * csu/gmon-start.c (__gmon_start__): Renamed from gmon_start, made
1675 [! HAVE_INITFINI]: Only make it a constructor in this case.
1677 * gmon/Makefile (CFLAGS-mcount.c): New variable.
1678 (mcount.po): New target.
1680 * Makeconfig (CFLAGS): Append $(CFLAGS-$(<F)).
1682 * csu/Makefile [have-initfini=yes] (CPPFLAGS): Append -DHAVE_INITFINI.
1683 (initfini): Compile initfini.c with -fPIC.
1685 Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
1687 * sysdeps/mips/bytesex.h: Add default byte sex. By Ralf Baechle.
1689 * sysdeps/unix/sysv/linux/adjtime.c [! MOD_OFFSET]: Use `mode'
1690 member of `struct timex' instead of `modes'. From Andreas Schwab.
1692 * sysdeps/unix/sysv/linux/mknod.c: New file. Generic C version.
1693 * sysdeps/unix/sysv/linux/i386/mknod.S: Remove assembler version.
1695 * sysdeps/unix/sysv/linux/Makefile (inhibit-glue): New variable.
1696 [$(subdir) = misc] (sysdep_routines): Add mount, umount, and s_ptrace.
1697 [$(subdir) = misc] (headers): Append sys/mount.h.
1699 * sysdeps/unix/sysv/linux/mount.S, sysdeps/unix/sysv/linux/umount.S:
1700 New files. Implement system calls.
1701 * sysdeps/unix/sysv/linux/sys/mount.h: New header file.
1703 * sysdeps/unix/sysv/linux/ptrace.c: New file. Wrapper around
1705 * sysdeps/unix/sysv/linux/s_ptrace.S: New file: ptrace system call.
1707 * sysdeps/unix/sysv/linux/i386/gnu/types.h: New file with correct
1708 types for i386/Linux.
1710 Sun Jan 14 17:51:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1712 * MakeTAGS (all-sources, all-headers): Always search the
1713 current directory first.
1715 * db/btree/bt_seq.c (__bt_first): Return RET_SPECIAL when key not
1718 * stdio-common/vfscanf.c (inchar, conv_error, input_error,
1719 memory_error): Add cast to void to avoid gcc warning.
1720 (vfscanf): Rewrite character class parsing to make it more efficient.
1722 * misc/efgcvt_r.c (ecvt_r): Handle negative values.
1724 * stdlib/stdlib.h: Replace __CONSTVALUE by attribute.
1725 * stdlib/abs.c, stdlib/div.c, stdlib/labs.c, stdlib/ldiv.c,
1726 sysdeps/generic/hypot.c: Remove obsolete __CONSTVALUE.
1728 * stdio-common/printf_fp.c (__printf_fp): Fix parameter
1731 * sysdeps/generic/putenv.c (putenv): Fix second argument of
1734 * sysdeps/ieee754/hypot.c: New file, extracted out of cabs.c.
1735 * sysdeps/ieee754/cabs.c: Don't define hypot here.
1737 * sysdeps/ieee754/ieee754.h (union ieee854_long_double): Fix
1738 definition of ieee_nan alternative.
1740 * sysdeps/m68k/__longjmp.c, sysdeps/m68k/setjmp.c: Add register
1743 * sysdeps/m68k/ffs.c (ffs): Fix register constraint.
1745 * sysdeps/m68k/fpu/__math.h: Include <errno.h>. Replace obsolete
1746 __CONSTVALUE by attribute.
1747 (floor): Round to negative infinity.
1748 (rint, expm1) [__NO_MATH_INLINES]: Don't define, to avoid type
1749 clash when compiling source.
1750 (pow): Handle x == 0 and x < 0.
1751 (ceil, __isinf, __isnan): Fix register constraints.
1752 (__isinfl, __isnanl): Added.
1753 * sysdeps/m68k/fpu/acos.c, sysdeps/m68k/fpu/atan2.c,
1754 sysdeps/m68k/fpu/fmod.c, sysdeps/m68k/fpu/ldexp.c,
1755 sysdeps/m68k/fpu/pow.c: Remove obsolete __CONSTVALUE.
1757 * sysdeps/m68k/bsd-_setjmp.S, sysdeps/m68k/bsd-setjmp.S: Fix
1760 * sysdeps/unix/bsd/bsd4.4/fchdir.S (fchdir): Take only one
1763 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Fix timeval to
1765 (clock): Don't multiply by CLOCKS_PER_SEC.
1767 * sysdeps/unix/bsd/poll.c (poll): Fix msec to timeval conversion.
1769 * sysdeps/unix/bsd/sun/m68k/brk.S (brk): Compare with address of
1772 * sysdeps/unix/bsd/sun/m68k/vfork.S: Fix assembler syntax.
1774 * sysdeps/unix/bsd/ualarm.c (ualarm): Fix timeval calculation.
1776 * sysdeps/unix/bsd/vax/vfork.S: Remove duplicate label.
1778 Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
1780 * stdlib/strtol.c: Return correct pointer for strings
1781 like "0xyz" and base 0 or 16.
1783 * string/strxfrm.c: Handle case for LENGTH == 0 correct.
1785 * sunrpc/etc.rpc: Add some more known protocols.
1787 Fri Jan 12 13:40:01 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1789 * posix/gnu/types.h: Moved to sysdeps/generic/gnu/types.h.
1791 * posix/glob.c (glob): Add parens in glob call flags arg for
1794 * string/string.h (strdupa): New macro.
1796 * stdio-common/vfscanf.c (%[): Grok ] as first char in set, not
1797 terminator on empty set. From drepper.
1799 Thu Jan 11 13:09:20 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1801 * elf/do-rel.h (elf_dynamic_do_rel): Use referring symbol as
1802 referent for STB_LOCAL.
1804 Wed Jan 10 10:11:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1806 * time/africa, time/antarctica, time/asia, time/australasia,
1807 time/europe, time/northamerica, time/pacificnew, time/solar87,
1808 time/solar88, time/solar89, time/southamerica: Updated from ADO 96a.
1810 Tue Jan 9 16:10:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1812 * elf/dl-load.c (_dl_map_object_from_fd): After mapping first
1813 segment to find location, mprotect excess region to no access,
1816 * sysdeps/mach/hurd/dl-sysdep.c (mmap): If vm_map returns
1817 KERN_NO_SPACE for fixed location, deallocate it and try again.
1819 Mon Jan 8 17:43:23 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1821 * locale/Makefile (lib-modules): Renamed hash to locfile-hash.
1822 * locale/hash.c: Renamed to locale/locfile-hash.c.
1824 Sat Jan 6 16:39:14 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1826 * Makefile (subdirs): Added db.
1828 * resolv/Makefile (routines): Add res_data.
1829 * resolv/res_data.c, resolv/res_debug.c, resolv/resolv.h:
1830 Updated from BIND 4.9.3 final release.
1832 * elf/dynamic-link.h (elf_get_dynamic_info): Handle
1833 processor-specific tags.
1834 (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA): Handle absent DT_PLTREL tag.
1836 * elf/elf.h (DT_MIPS_NUM, DT_PROCNUM): New macros.
1837 * elf/link.h (struct link_map): Extend `l_info' by DT_PROCNUM.
1839 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Take new
1840 arg LAZY. Only do our work if LAZY and there is a DT_JMPREL record.
1841 * elf/dl-reloc.c (_dl_relocate_object): Call
1842 elf_machine_runtime_setup unconditionally, and pass it LAZY flag.
1844 * elf/dl-load.c: Fixed ELFMAG check to work for either byte order.
1845 Align end of load segment only to page size, not to segment alignment.
1847 Thu Jan 4 11:35:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1849 * sysdeps/mach/hurd/setitimer.c: Code rearranged a bit to use new
1850 preemption interface.
1852 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1853 Use _hurdsig_catch_memory_fault.
1855 * hurd/Makefile (headers): Add hurd/sigpreempt.h.
1856 (sig): Add catch-signal.
1858 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1859 Rewritten using a preempter in new interface.
1860 * hurd/hurdfault.h (_hurdsig_catch_fault): Likewise.
1861 (_hurdsig_catch_memory_fault): New macro.
1863 Wed Jan 3 20:23:42 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1865 * hurd/catch-signal.c: New file.
1867 * hurd/intr-msg.c: When restarting RPC, fetch a new reply port.
1869 * hurd/hurdsig.c: Use new hurdfault.h interface.
1870 (abort_all_rpcs): Mutate return value to EINTR in threads whose
1871 replies we will wait for.
1873 * hurd/hurdkill.c (_hurd_sig_post): When doing pgrp, make sure we
1876 Wed Jan 3 19:17:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
1878 * sysdeps/mach/hurd/access.c (__access): Put the uid/gid arguments
1879 to auth_makeauth() in the right order.
1881 Wed Jan 3 17:19:04 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1883 * sysdeps/generic/strsep.c: Rewritten.
1885 * sysdeps/mach/hurd/fork.c: Use a different workaround for the
1886 suspended page fault deadlock kernel bug: thread_abort our signal
1887 thread first thing after proc_dostop.
1889 * sysdeps/mach/hurd/setgid.c: Rewrote gid frobnication to
1890 recognize rootness properly.
1892 Tue Jan 2 00:50:10 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1894 * hurd/hurd/signal.h (struct hurd_sigstate): New member `preempters'.
1895 (hurd_preempt_signals, hurd_unpreempt_signals): Decls removed.
1896 * hurd/hurd/sigpreempt.h: New file.
1897 * hurd/preempt-sig.c: Rewritten with new interface.
1898 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Remove local signal
1899 preempters being unwound past.
1900 * hurd/hurdsig.c: Use new signal preemption interface.
1902 * db: New directory, 4.4 BSD db package incorporated from BSD db-1.85
1905 * sysdeps/unix/sysv/linux/sys/param.h: Several new macros for BSD
1908 * misc/queue.h: New file, incorporated from 4.4BSD.
1909 * misc/Makefile (headers): Add queue.h.
1911 * posix/sys/types.h [__USE_BSD]: Include endian.h.
1913 * io/sys/stat.h (DEFFILEMODE, ALLPERMS, ACCESSPERMS, S_BLKSIZE):
1916 Thu Dec 28 10:21:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1918 * sysdeps/generic/confname.h: Define all names as self-referential
1919 macros so #ifdef works.
1921 * hurd/preempt-sig.c (hurd_unpreempt_signals): Remove bogus asgnmt
1922 of _hurd_signal_preempters[SIGNO].
1924 Mon Dec 25 20:56:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1926 * sysdeps/mach/hurd/bind.c: Translate EEXIST from dir_link into
1927 EADDRINUSE. If translated node doesn't grok ifsock protocol,
1930 * sysdeps/mach/hurd/connect.c: Make address arg
1931 `const struct sockaddr_un *'.
1932 The redecl is kosher and avoids another variable for AF_LOCAL case.
1933 * sysdeps/mach/hurd/sendto.c: Likewise.
1934 * sysdeps/mach/hurd/bind.c: Likewise.
1936 * socket/sys/socket.h (__SOCKADDR_ARG): Enable transparent_union
1937 code for GCC >= 2.7; use __transparent_union__ for name safety;
1938 add several sockaddr flavors.
1939 (__SOCKADDR_ALLTYPES, __SOCKADDR_ONETYPE): New macros used in
1940 constructing the transparent union declarations.
1941 (__CONST_SOCKADDR_ARG): New type (or macro if not GCC 2.7).
1942 (bind, connect, sendto): Make the sockaddr argument use that.
1944 Fri Dec 22 00:57:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1946 * sysdeps/mach/hurd/setgid.c: In root case, store into NEWAUX, not
1948 * sysdeps/mach/hurd/setuid.c: Likewise.
1950 * sysdeps/mach/hurd/setuid.c: Rewrote ID frobnication to do the
1952 * sysdeps/mach/hurd/setgid.c: Likewise.
1953 * sysdeps/mach/hurd/setreuid.c: Likewise.
1954 * sysdeps/mach/hurd/setregid.c: Likewise.
1955 * sysdeps/mach/hurd/setegid.c: Likewise.
1956 * sysdeps/mach/hurd/seteuid.c: Likewise.
1958 * sysdeps/mach/hurd/fork.c: Peek __mach_task_self_ value before
1959 proc_dostop call to work around kernel paging bug.
1961 Fri Dec 22 00:38:00 1995 H.J. Lu <hjl@nynexst.com>
1963 * stdio-common/vfscanf.c: Correctly handle white space skipping.
1964 * stdio-common/Makefile (tests): Add bug11.
1965 * stdio-common/bug11.c: New file.
1967 Thu Dec 21 12:19:32 1995 Miles Bader <miles@gnu.ai.mit.edu>
1969 * sysdeps/mach/hurd/setuid.c (__setuid): Actually add the new uid
1970 instead of putting it (and other uids) in the gids and leaving the
1973 Wed Dec 20 18:23:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1975 * stdio/internals.c (flushbuf): If the target is -1, always
1976 discard the buffer of read data.
1977 Only set TWIDDLED flag in !ALIGNED case.
1978 Never increment target or offset when old value is -1.
1980 Tue Dec 19 17:00:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1982 * hurd/hurdpid.c (_S_msg_proc_newids): Only run the hook when the
1985 Mon Dec 18 13:40:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1987 * stdio/fread.c: Don't increment __offset when it's -1.
1989 * elf/rtld.c (dl_main): Prepend tab to "statically linked". Exit
1992 * misc/err.c (vwarnx, vwarn): Fix major brainos.
1994 * sysdeps/mach/hurd/dl-sysdep.c (mmap): Fix setting of
1997 Sun Dec 17 15:56:35 1995 Miles Bader <miles@gnu.ai.mit.edu>
1999 * misc/getpass.c (getpass): Don't barf if getline returns a null BUF.
2001 Sat Dec 16 10:33:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2003 * Makerules: Use $(do-install-so) for installing shared objects.
2004 (do-install-so): New canned sequence. Make a symlink LIB.so after
2005 installing LIB.so.VERSION.
2007 * inet/netinet/in.h: Fixed typo in IPPORT_WHOIS.
2009 Fri Dec 15 04:41:22 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2011 * stdio-common/Makefile (tests): Add bug10.
2012 * stdio-common/bug10.c: New file. From HJ Lu.
2014 * stdio-common/tstdiomisc.c: Make more test-suite like: exit
2015 status tells about successful run.
2017 * stdio-common/vfscanf.c [!USE_IN_LIBIO]: Use `flags' to check
2019 Correct handling of trailing white spaces in format + EOF.
2021 Fri Dec 15 01:31:56 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2023 * stdio-common/Makefile (tests): Add bug8 and bug9.
2024 * stdio-common/bug8.c, stdio-common/bug9.c: New tests.
2026 * stdio-common/vfscanf.c: Fix bug in dynamic buffer handling.
2028 * stdlib/strtod.c: Correct spelling: nominator -> numerator.
2029 Thanks to Jim Meyering.
2031 Sat Nov 25 06:05:12 1995 H.J. Lu <hjl@nynexst.com>
2033 * stdio-common/vfscanf.c: Always check width !=0.
2034 Correctly handle %%.
2036 Thu Dec 14 02:28:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2038 * posix/glob.c (glob_in_dir): Cast result of opendir to __ptr_t,
2039 and cast STREAM to DIR * before passing to readdir and closedir.
2041 Wed Dec 13 22:06:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2043 * hurd/hurdsig.c (_hurd_internal_post_signal: suspend): Reply
2044 after aborting RPCs but before calling proc_mark_stop.
2046 Mon Dec 11 20:07:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2048 * posix/glob.c [! STDC_HEADERS]: Declare getenv.
2049 (glob): Avoid using function as value.
2051 * elf/rtld.c (dl_main): When mapping argument executable, set
2052 l_name to "", not l_libname.
2053 After loading DT_NEEDED library, set its l_type to lt_library.
2055 * sysdeps/mach/hurd/mmap.c: Don't interpret MAP_INHERIT to mean
2056 VM_INHERIT. We can't handle MAP_INHERIT easily.
2057 Handle non-page-aligned addresses if congruent to offset.
2059 * elf/dl-init.c: Skip the initializer for l_type lt_executable
2060 with l_name "". Start at _dl_loaded; don't skip the first element.
2062 * elf/dl-load.c (MAP_FILE): Define to zero if undefined.
2063 (MAP_COPY): Define to MAP_PRIVATE if undefined.
2064 (_dl_map_object_from_fd): Don't use MAP_INHERIT in mmap calls.
2065 If file it ET_EXEC, set its l_type to lt_executable.
2067 Sun Dec 10 09:56:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2069 * elf/dl-minimal.c (malloc): Use MAP_PRIVATE in mmap call.
2071 Fri Dec 8 13:04:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2073 * locale/error.c, locale/error.h: Files removed.
2074 * locale/Makefile (distribute): Remove error.h.
2075 (lib-modules): Remove error.
2077 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For "tty"
2078 magic, return ENXIO if no ctty.
2080 * sysdeps/mach/hurd/mmap.c: For MAP_FIXED, deallocate a previous
2081 mapping if vm_map fails for that reason.
2083 * posix/glob.c: Implement new options GLOB_ALTDIRFUNC, GLOB_BRACE,
2084 GLOB_TILDE, GLOB_NOMAGIC.
2085 (glob): Use stat instead of lstat to determine directoriness.
2086 * posix/glob.h (GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_NOMAGIC, GLOB_TILDE):
2088 (__GLOB_FLAGS): Include them.
2089 (glob_t): New members gl_closedir, gl_readdir, gl_opendir, gl_lstat,
2092 * elf/elf.h (ET_NUM, SHT_NUM, STB_NUM, STT_NUM, PT_NUM): New macros.
2094 * sysdeps/unix/sysv/linux/sys/mman.h: Include <linux/mman.h> to
2095 define all the bit values.
2096 (MAP_*, MCL_*): Macros removed.
2098 Thu Dec 7 02:27:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2100 * resolv/res_comp.c, resolv/res_debug.c, resolv/res_send.c:
2101 Updated from BIND 4.9.3-BETA27.
2103 Wed Dec 6 18:44:01 1995 Miles Bader <miles@gnu.ai.mit.edu>
2105 * sysdeps/mach/hurd/select.c (__select): Swap size args to mach_msg.
2107 * sysdeps/mach/hurd/select.c (__select): Frob TYPES correctly when
2108 we get a delayed reply.
2109 Only grab values out of entries in TYPES that have SELECT_RETURNED
2110 turned on, and turn it on whenever an rpc returns.
2111 Only clear bits in the user's fdsets -- those needing to be set
2113 Use SELECT_ALL in appropiate places.
2114 (SELECT_RETURNED, SELECT_ALL): New macros.
2116 Wed Dec 6 09:10:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2118 * sysdeps/mach/hurd/sys/param.h (NBBY): New macro.
2120 * gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): New macro.
2122 Tue Dec 5 14:00:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2124 * misc/Makefile (headers): Add error.h, err.h.
2125 (routines): Add error, err.
2126 (gpl2lgpl): New variable.
2127 * misc/err.c: New file.
2128 * misc/err.h: New file.
2129 * misc/error.c, misc/error.h: New files.
2131 * sysdeps/mach/hurd/ioctl.c: Fix typo in last change.
2133 * Makeconfig (+link): Translate libc% from $^, not just libc.a.
2134 (link-libc): Append $(libc.so-version) to libc.so.
2135 (built-program-cmd): Fix comma usage.
2136 * Makerules [libc.so-version] (libc.so$(libc.so-version)): Make a
2137 symlink to libc.so in the build directory.
2138 * Rules ($(others) $(tests)): Depend on the library that appears
2140 (%.out): Use $(built-program-cmd) in commands.
2142 * posix/unistd.h [__USE_MISC]: Declare brk, sbrk.
2144 * sysdeps/generic/setenv.c: Added canonical portability cruft.
2145 (setenv): Use realloc on LAST_ENVIRON instead of always copying.
2146 (unsetenv): New function.
2147 * stdlib/stdlib.h [__USE_BSD]: Declare unsetenv.
2148 * sysdeps/generic/putenv.c: Rewritten using setenv and unsetenv.
2150 Tue Dec 5 02:27:32 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2152 * libio/Makefile (routines): Remove iofscanf, add iopopen, pclose.
2154 * libio/iofscanf.c: Remove file.
2156 * libio/iogetdelim.c (_IO_getdelim): Correct stupid bug at string
2159 * libio/iopopen.c: New file from GNU libio.
2161 * libio/memstream.c: Fixed bug in fclose handling. Instead of
2162 providing a close callback we need a finish callback.
2164 * libio/pclose.c: New file. Derived from popen.c in GNU libio.
2166 * posix/gnu/types.h: Fixed typo.
2168 * stdio-common/errnobug.c: fputs returns EOF in error case. Do
2171 * stdio-common/printf-parse.h (parse_one_spec): Do not force
2172 padding with ' ' if precision is given. Fix by HJ Lu.
2174 * stdio-common/printf_fp.c: Fix comment.
2176 * stdio-common/tfformat.c, stdio-common/tiformat.c,
2177 stdio-common/tstdiomisc.c: New files from GNU libio test suite.
2179 * stdio-common/tstgetln.c: Provide ssize_t type when testing
2182 * stdio-common/vfprintf.c (outchar): Use PUTC instead of putc.
2183 (vfprintf): Cleasr args_type array before using it.
2184 When printing 0 as an integer with precision 0 nothing must be
2185 written for the number.
2186 Based on patch by HJ Lu.
2188 * stdio-common/vfscanf.c: Remove fixed input buffer. Now we
2189 have a dynamically extended buffer.
2191 * stdlib/strtod.c: Merge with version in Linux libc. This fixes
2192 some bugs with handling of very small numbers and has different
2193 solution for formaer patches.
2195 * sysdeps/i386/i586/add_n.S, sysdeps/i386/i586/sub_n.S: Rename
2196 macros r1 and r2 to t1, and t2 resp. This is necessary because
2197 glibc headers also define r1.
2199 Mon Dec 4 12:10:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2201 * stdlib/gen-mpn-copy (translations): Updated for new layout in
2204 * malloc/malloc.c (__malloc_initialize): Renamed from initialize;
2206 (malloc): Caller changed.
2207 * malloc/realloc.c (realloc): Call __malloc_initialize if
2208 necessary, before checking hook.
2209 * malloc/malloc.h: Declare __malloc_initialize.
2211 * sysdeps/mach/hurd/ioctl.c: For IOC_VOID request, send ARG itself
2212 as integer_t arg in RPC.
2214 Sat Dec 2 03:47:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2216 * sysdeps/mach/hurd/brk.c (DATA_SIZE): Bump to 128MB.
2217 (_hurd_set_brk): Try to allocate more space when we run out.
2219 * sysdeps/generic/sbrk.c: If __curbrk is zero, call __brk with
2220 zero and examine it again.
2221 * sysdeps/unix/sysv/linux/i386/brk.c: New file.
2222 * sysdeps/unix/sysv/linux/i386/brk.S: File removed.
2223 * sysdeps/unix/sysv/linux/i386/sbrk.S: File removed.
2224 * sysdeps/unix/sysv/linux/dl-sysdep.c: New file.
2225 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_SYSDEP_INIT]:
2226 Invoke this macro before calling DL_MAIN.
2228 * malloc/malloc.c (malloc): Do initialization here, before
2230 (_malloc_internal): Don't do it here.
2232 Wed Nov 29 12:30:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2234 * libio/vsnprintf.c (__vsnprintf): Define as alias.
2235 * libio/iovsscanf.c (__vsscanf): Define as alias.
2236 * asprintf.c: Remove libio adaptation code added by drepper.
2237 * dprintf.c: Likewise.
2238 * printf.c: Likewise.
2239 * scanf.c: Likewise.
2240 * snprintf.c: Likewise.
2241 * sprintf.c: Likewise.
2242 * sscanf.c: Likewise.
2243 * vprintf.c: Likewise.
2244 * stdio-common/vfscanf.c [USE_IN_LIBIO] (__vfscanf): New wrapper
2246 (vfscanf): Define unconditionally.
2248 * sysdeps/i386/dl-machine.h (elf_machine_rel): If SYM is null, use
2251 * misc/getpass.c: Write a newline after reading the unechoed
2254 Mon Nov 27 19:24:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2256 * posix/Makefile (routines): Add getsid.
2257 * sysdeps/unix/sysv/linux/getsid.S: New file.
2258 * sysdeps/mach/hurd/getsid.c: New file.
2259 * sysdeps/stub/getsid.c: New file.
2260 * posix/unistd.h [__USE_GNU]: Declare getsid.
2262 Sun Nov 26 12:44:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2264 * libc-symbols.h (N_): New macro.
2266 Sat Nov 25 02:48:47 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2268 * assert/assert-perr.c, assert/assert.c, inet/rcmd.c,
2269 malloc/mcheck.c, malloc/vm-limit.c, posix/getconf.c, posix/id.c,
2270 resolv/herror.c, sunrpc/auth_unix.c, sunrpc/clnt_perr.c,
2271 sunrpc/clnt_raw.c, sunrpc/get_myaddr.c, sunrpc/pmap_clnt.c,
2272 sunrpc/pmap_rmt.c, sunrpc/portmap.c, sunrpc/rpc_main.c,
2273 sunrpc/rpc_parse.c, sunrpc/rpc_scan.c, sunrpc/rpc_util.c,
2274 sunrpc/rpcinfo.c, sunrpc/svc_simple.c, sunrpc/svc_tcp.c,
2275 sunrpc/svc_udp.c, time/zdump.c, time/zic.c: Mark translatable
2278 Sun Nov 26 02:00:02 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2280 * misc/syslog.c (vsyslog) [USE_IN_LIBIO]: Adapted for libio.
2282 Thu Nov 23 02:21:55 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2284 * sysdeps/unix/sysv/linux/{mlock,munlock,mlockall,munlockall}.S:
2286 * sysdeps/unix/sysv/linux/sys/mman.h: Add prototypes for new functions
2287 mlock, munlock, mlockall, and munlockall.
2289 Thu Nov 23 18:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2291 * configure.in (--enable-libio): Set $stdio based on $enableval,
2292 not always to libio.
2294 Thu Nov 23 18:06:48 1995 Richard Stallman <rms@gnu.ai.mit.edu>
2296 * malloc/malloc.c (_malloc_internal): Can't use
2297 get_contiguous_space when the heap info table
2298 will be growing. Account for new contiguous space in _heaplimit.
2300 Wed Nov 22 12:37:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2302 * sysdeps/unix/sysv/linux/i386/sysdep.S (_errno): Define as alias
2305 * stdio-common/vfprintf.c [USE_IN_LIBIO] (vfprintf): Define as
2306 alias for _IO_vfprintf.
2308 * sysdeps/unix/sysv/linux/sockaddrcom.h: File removed.
2310 * sysdeps/unix/sysv/linux/i386/init-first.c (init): Use
2311 __fpu_control instead of ___fpu_control.
2312 * sysdeps/unix/sysv/linux/i386/ieee_fpu.c
2313 (___fpu_control): Renamed to __fpu_control.
2314 * sysdeps/unix/sysv/linux/i386/fpu_control.h: Likewise.
2315 * sysdeps/unix/sysv/linux/i386/fpu_control.c: Likewise.
2317 * elf/dl-minimal.c: New file.
2318 * elf/Makefile (rtld-routines): Add dl-minimal.
2319 * elf/rtld.c (__dgettext, __assert_fail, __assert_perror_fail):
2320 Functions moved to dl-minimal.c.
2321 * sysdeps/mach/hurd/dl-sysdep.c (malloc, free, realloc,
2322 sigjmp_save, longjmp): Likewise.
2324 * sysdeps/unix/sysv/linux/i386/brk.S (__curbrk): Always initialize
2325 to &_end, regardless of PIC.
2327 * stdio-common/vfscanf.c (__vfscanf): Fix arg name in defn.
2329 Tue Nov 21 14:12:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2331 * malloc/malloc.c (align): Don't check contiguity and call abort.
2333 * hurd/hurdsig.c (post_reply): Function removed.
2334 (abort_thread, abort_all_rpcs, _hurdsig_abort_rpcs): Don't call it.
2335 Take single callback fn arg instead of reply port and type.
2336 (_hurd_internal_post_signal): Callers changed.
2337 Cache reply stub fn ptr in local var before UNTRACED might be changed.
2339 * sysdeps/mach/hurd/mmap.c: Cope with a null write memobj for
2340 PROT_READ|PROT_WRITE copy mapping. Pass a proper vm_inherit_t to
2343 * elf/rtld.c (_dl_start): For --list, do output and exit before
2346 Mon Nov 20 16:19:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2348 * intl/Makefile [gettext-srcdir]: Rewrote copying rules to only
2349 get .c and .h files.
2351 * malloc/malloc.c (align): Use abort instead of assert.
2353 Sun Nov 19 18:23:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2355 * Makeconfig (+includes): Add $($(stdio)-include).
2356 (libio-include): New variable.
2358 * stdlib/strtod.c: Put weak_symbol after function defn.
2359 * stdlib/strtol.c: Likewise.
2361 * configure.in (--enable-libio): If not present, set $stdio to
2362 "default". Move stdio/libio check to end, so sysdeps fragments
2363 can affect it. Reset $stdio to "stdio" if it's "default".
2364 * sysdeps/unix/sysv/linux/configure: New file.
2366 Sat Nov 18 16:46:01 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2368 * libio/Makefile, libio/cleanup.c, libio/clearerr.c, libio/feof.c,
2369 libio/ferror.c, libio/fgetc.c, libio/filedoalloc.c, libio/fileno.c,
2370 libio/fileops.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
2371 libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
2372 libio/iofdopen.c, libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
2373 libio/iofopen.c, libio/iofprintf.c, libio/iofputs.c, libio/iofread.c,
2374 libio/iofscanf.c, libio/iofsetpos.c, libio/ioftell.c, libio/iofwrite.c,
2375 libio/iogetdelim.c, libio/iogetline.c, libio/iogets.c, libio/iolibio.h,
2376 libio/iopadn.c, libio/ioprims.c, libio/ioputs.c, libio/ioseekoff.c,
2377 libio/ioseekpos.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
2378 libio/iosprintf.c, libio/ioungetc.c, libio/iovsprintf.c,
2379 libio/iovsscanf.c, libio/libio.h, libio/libioP.h, libio/putc.c,
2380 libio/putchar.c, libio/rewind.c, libio/setbuf.c, libio/setlinebuf.c,
2381 libio/stdfiles.c, libio/stdio.c, libio/stdio.h, libio/strfile.h,
2382 libio/strops.c, libio/vasprintf.c, libio/vscanf.c, libio/vsnprintf.c:
2383 New files. Slightly modified version from Linux libc.
2385 * libio/memstream.c, libio/vdprintf.c: New files for functions not
2386 (yet) part of GNU libio.
2388 * libio/iofopncook.c: Implementation of `fopencookie', mainly written
2391 * stdio-common/getline.c: Adapted to libio.
2392 * stdio-common/snprintf.c: Adapted to libio.
2393 * stdio-common/vfprintf.c: Adapted to libio.
2394 * stdio-common/vfscanf.c: Adapted to libio.
2395 * sysdeps/posix/tempname.c: Adapted to libio.
2397 Fri Nov 17 17:57:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2399 * sysdeps/generic/Makefile (make_siglist): Add missing backslash.
2401 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): New
2404 * hurd/hurdfault.c: Replace __libc_fatal calls with assert_perror.
2405 (_hurdsig_fault_init): Remove #if 0 from setting exception port.
2406 Insert send right for SIGEXC before thread_set_special_port.
2407 * hurd/hurdsig.c: Replace __libc_fatal calls with assert_perror.
2408 (_hurdsig_init): Remove #if 0 from setting exception port.
2410 * sysdeps/mach/hurd/ptrace.c (ptrace: PTRACE_CONT): Use
2411 HURD_MSGPORT_RPC macro.
2413 Thu Nov 16 06:07:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2415 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): New
2417 (_dl_sysdep_start): Move cleanup code there.
2419 * Makeconfig (default-rpath): New variable.
2420 (link-libc): Use it.
2421 * elf/Makefile (ld.so): Pass -rpath=$(default-rpath).
2422 * elf/rtld.c (_dl_rpath): New variable.
2423 (_dl_start): Set it from rtld_map's DT_RPATH.
2424 Call _dl_setup_hash on rtld_map.
2425 (dl_main): Cache address of _exit in variable before relocating,
2426 and use that in later calls. Call _dl_sysdep_start_cleanup before
2427 relocating. Keep track of dependency order while loading; remove
2428 rtld_map from chain, and reinsert in proper order if there is a
2431 * sysdeps/generic/Makefile (make_siglist): Pass
2432 -DSIGNUM_H=... with config's signum.h location.
2433 * sysdeps/generic/make_siglist.c: Include SIGNUM_H to define
2435 (HAVE_STRSIGNAL, HAVE_PSIGNAL): Define these before including signame.c
2436 (main): Deansideclize output.
2438 * elf/dl-load.c (_dl_map_object): Use _dl_rpath variable in place
2439 of DEFAULT_RPATH macro.
2440 * elf/Makefile: Undo last change.
2442 * sysdeps/mach/hurd/dl-sysdep.c (free): Don't abort, just nop.
2444 Wed Nov 15 19:22:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2446 * elf/dl-lookup.c (_dl_lookup_symbol): Undefined symbol is no
2449 * elf/Makefile (default-rpath): New variable.
2450 (CPPFLAGS): Append -DDEFAULT_RPATH=....
2451 * elf/dl-load.c (_dl_map_object): Use DEFAULT_RPATH instead of
2452 hard-coded "/lib:/usr/lib".
2454 * sysdeps/mach/hurd/dl-sysdep.c: Include _itoa.h from stdio-common
2456 (_dl_sysdep_start): If passed user entry is zero and
2457 EXEC_STACK_ARGS flag set, reset user entry to &_start.
2459 * elf/rtld.c (dl_main): Only call _dl_setup_hash if there is a
2462 * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Gratuitously
2463 repeat weak decl using weak_symbol macro, in case using broken GCC
2466 Wed Nov 15 18:49:55 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
2468 * sysdeps/i386/isnanl.c: New file.
2469 * sysdeps/i386/isinfl.c: New file.
2471 Tue Nov 14 18:44:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2473 * malloc/free.c (free): Moved null and aligned_blocks checks
2474 inside _free_internal.
2476 Mon Nov 13 15:23:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2478 * malloc/malloc.c (morecore): Fix inverted test in allocating new
2481 * malloc/malloc.c (align): Fix assertion.
2483 * malloc/malloc.c: Include assert.h.
2485 * libc-symbols.h: Use __attribute__ for GCC 2.8, not 2.7.
2487 * malloc/malloc.h [emacs] (emacs_loser_valloc): Macro removed.
2488 (valloc): Protect decl with [! (_MALLOC_INTERNAL && emacs)].
2490 Fri Nov 10 14:15:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2492 * malloc/malloc.c (align): Assert that space for alignment
2493 adjustment is same original space.
2495 * hurd/hurdprio.c (_hurd_priority_which_map): Cast vm_deallocate
2496 arg to vm_address_t.
2498 * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO == 0,
2499 skip straight to pending check. When UNTRACED, resume process
2500 from suspension first.
2502 * intl/Makefile (headers): New variable, libintl.h.
2503 [gettext-srcdir]: New rules to copy source from $(gettext-srcdir)/intl.
2504 * configure.in: Check for --with-gettext arg.
2506 Fri Nov 10 13:51:30 1995 Richard Stallman <rms@gnu.ai.mit.edu>
2508 * malloc/malloc.c (get_contiguous_space): New function.
2509 (morecore): Rewrite allocating new malloc info table.
2510 (_malloc_internal): Use get_contiguous_space.
2512 Fri Nov 10 13:03:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2514 * hurd/hurdexec.c (_hurd_exec): If exec'ing self, pass
2515 _hurd_msgport to be destroyed.
2517 * Makerules (installed-libcs): Filter out %_pic.a.
2519 * hurd/hurdinit.c (_hurd_proc_init): When traced, use msg_sig_post
2520 to our msgport to take SIGTRAP, instead of _hurd_raise_signal.
2522 * hurd/Makefile (user-interfaces): Add hurd/process_request.
2524 Wed Nov 8 16:31:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2526 * termios/Makefile (headers): Add sys/ttychars.h.
2527 * termios/sys/ttychars.h: New file, incorporated from 4.4BSD-Lite
2530 * signal/signal.h [__USE_BSD] (sig_t): New typedef.
2532 Wed Nov 8 15:12:47 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
2534 * sysdeps/mach/hurd/ptrace.c (ptrace) [PTRACE_TRACEME]: Notify the
2535 proc server that we are now traced.
2537 Tue Nov 7 12:29:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2539 * elf/Makefile (ldd): Make it executable.
2541 * Makeconfig (config-LDFLAGS): Find dynamic linker in $(slibdir).
2543 * Makeconfig (slibdir): New variable.
2544 * Makerules (install): Install libc.so in $(slibdir).
2545 * elf/Makefile (install-others): Install ld.so and ld-linux.so.1
2548 * elf/linux-compat.c: New file.
2549 * elf/Makefile (distribute): Add linux-compat.c.
2550 (generated): Add librtld.so.
2551 [$(config-os)=linux*] (extra-objs): Add linux-compat.so.
2552 [$(config-os)=linux*] (extra-objs): Add ld-linux.so.1.
2553 (librtld.so): New target.
2554 (ld.so, ld-linux.so.1): Make from librtld.so.
2556 * elf/rtld.c (dl_main): Instead of weak call to _dl_compat_init,
2557 call our own DT_INIT if we have one (and then clear it).
2558 (__dgettext): New weak function.
2560 * intl/localealias.c (read_alias_file): Avoid sprintf; use memcpy
2563 * sysdeps/generic/_strerror.c (_strerror_internal): Use _itoa
2564 instead of snprintf.
2566 * sysdeps/mach/_strerror.c (_strerror_internal): Don't write
2569 * elf/rtld.c (rtld_map): New static variable.
2570 (_dl_start): Use a differently named local BOOTSTRAP_MAP for the
2571 bootstrapping. Then copy data into `rtld_map'.
2572 (dl_main): Finish filling in rtld_map and link it into the chain,
2573 instead of allocating a new structure.
2574 (dl_main): Call _dl_compat_init if it is defined (use weak ref).
2576 * elf/dlsym.c: Fix last change: move REF out of `doit'.
2578 Mon Nov 6 16:20:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2580 * elf/dlsym.c: Return the proper value, not just the defining
2583 Sun Nov 5 16:09:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2585 * stdio-common/vfprintf.c (%c): Count the character itself towards
2586 the field width in all cases.
2588 * sysdeps/mach/hurd/getpriority.c (getpriority): Cast
2589 __vm_deallocate arg to vm_address_t.
2591 Fri Nov 3 17:27:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2593 * sysdeps/mach/hurd/sendto.c: Don't pass BINDING arg to
2594 socket_create_address.
2595 * sysdeps/mach/hurd/connect.c: Likewise.
2596 * sysdeps/mach/hurd/bind.c: Likewise.
2598 * hurd/hurdprio.c (_hurd_priority_which_map): Pass threadwaits
2599 args to proc_getprocinfo.
2600 * sysdeps/mach/hurd/getpriority.c: Likewise.
2602 * hurd/hurdmsg.c (_S_msg_report_wait): New stub function.
2604 Thu Nov 2 19:24:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2606 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Define as common.
2608 Tue Oct 31 00:07:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2610 * sysdeps/mach/hurd/getpriority.c (getpriority): Pass
2611 PI_FETCH_TASKINFO to proc_getprocinfo and through
2612 _hurd_priority_which_map.
2614 * sysdeps/mach/hurd/setpriority.c (setpriority): Pass new arg to
2615 _hurd_priority_which_map.
2616 * hurd/hurdprio.c (_hurd_priority_which_map): New arg PI_FLAGS,
2617 passed through to proc_getprocinfo RPC.
2618 * hurd/hurd/resource.h: Add PI_FLAGS arg in decl.
2620 * sysdeps/mach/hurd/group_member.c: New file.
2621 * sysdeps/generic/group_member.c: New file.
2623 * Makerules (lib-noranlib): Don't depend on $(install-lib).
2625 * extra-lib.mk: Fix test of $(lib)-no-lib-dep.
2627 Mon Oct 30 12:33:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2629 * Rules (others): Depend on $(extra-objs).
2631 * posix/unistd.h [__USE_GNU]: Declare group_member, __group_member.
2632 * posix/Makefile (routines): Add group_member.
2634 * sysdeps/posix/euidaccess.c: New file, adapted from fileutils.
2636 * sysdeps/unix/sysv/linux/i386/sigaction.c: Tighten constraint for
2637 SIG operand in asm so it must be a register.
2638 Add dead return to quiet gcc warning.
2640 * Makerules (sysd-rules): Write a defn for sysd-rules-done.
2641 [! sysd-rules-done]: Inhibit deps.
2643 Thu Oct 26 23:11:11 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
2645 * sysdeps/unix/sysv/linux/poll.c: Don't define as stub. Use
2646 simulation of system call using select.
2648 * sysdeps/unix/sysv/linux/signal.c: Use POSIX implementation.
2650 * sysdeps/unix/sysv/linux/statbuf.h: Define _STAT_VER.
2652 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct parameter
2653 name usage (new->act, old->oact).
2654 Correct asm statement because of gcc strangeness.
2656 * sysdeps/i386/i586/strchr.S: Correct typos: cmp -> cmpb.
2658 * sunrpc/clnt_perr.c: Remove declaration of sys_errlist. They
2659 conflict with the ones in stdio.h.
2661 * string/tester.c: %Z is no complete format. Change to %Zd.
2663 Thu Oct 26 18:13:33 1995 Miles Bader <miles@gnu.ai.mit.edu>
2665 * sysdeps/mach/hurd/bind.c (bind): Swap args to dir_link.
2666 * sysdeps/mach/hurd/link.c (__link): Ditto.
2667 * sysdeps/mach/hurd/symlink.c (__symlink): Ditto.
2668 * sysdeps/mach/hurd/mknod.c (__mknod): Ditto.
2669 Include "stdio-common/_itoa.h" instead of "stdio/_itoa.h".
2671 Thu Oct 26 00:11:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2673 * sysdeps/unix/sysv/linux/i386/sigaction.c: New file.
2675 * sysdeps/unix/sysv/linux/i386/xstat.S: Don't use JUMPTARGET macro
2676 on syscall_error. For PIC, it is a local label;
2677 for non-PIC, JUMPTARGET expands to the unadorned name anyway.
2678 * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise.
2679 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2680 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2681 * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise.
2682 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2683 * sysdeps/unix/sysv/linux/i386/brk.S: Likewise.
2685 Thu Oct 26 03:01:22 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
2687 * sysdeps/unix/sysv/linux/syscall.h: Strip list of syscalls in
2688 comment to the necessary ones. Add _readv and _writev.
2690 * sysdeps/unix/configure.in: Change syntax for system call test
2691 candidates and adapt sed script for this. Now use : to separate
2692 syscall name and file name.
2694 * sysdeps/unix/sysv/linux/i386/sysdep.h (ENTRY): System call
2695 number is now set is DO_CALL. So call with additional argument.
2696 (DO_CALL): Takes an additional argument. Load system call
2697 number according to new argument.
2698 (SYSCALL_ERROR_HANDLER): Add ; after last ret statement.
2699 * sysdeps/unix/sysv/linux/i386/brk.S [PIC]: Define __syscall_error
2700 locally using SYSCALL_ERROR_HANDLER macro.
2701 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2702 * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise.
2703 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2704 * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise.
2705 * sysdeps/unix/sysv/linux/i386/xstat.S: Likewise.
2706 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2707 Don't use DO_CALL macro; instead use lower level macros for better
2710 * sysdeps/unix/sysv/linux/sigaction.h: New file.
2711 * sysdeps/unix/sysv/linux/sigaction.S: File removed.
2712 * sysdeps/unix/sysv/linux/signal.S: File removed.
2714 Wed Oct 25 14:23:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2716 * hurd/hurdstartup.c (_hurd_startup): Use new
2717 exec_startup_get_info RPC from exec_startup.defs
2718 in place of old exec_startup from exec.defs. Remove kludge to
2719 guess user entry and phdr locations, since the new RPC gives us
2722 * stdio/stdio.h (sys_errlist, _sys_errlist): Declare const.
2723 * sysdeps/generic/_strerror.c: Undo last change.
2725 * sysdeps/unix/sysv/linux/stat.c: New file.
2726 * sysdeps/unix/sysv/linux/fstat.c: New file.
2727 * sysdeps/unix/sysv/linux/lstat.c: New file.
2728 * sysdeps/unix/sysv/linux/i386/stat.S: File removed.
2729 * sysdeps/unix/sysv/linux/i386/fstat.S: File removed.
2730 * sysdeps/unix/sysv/linux/i386/lstat.S: File removed.
2732 Tue Oct 24 15:22:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2734 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2736 (PSEUDO): Use it instead of SYSCALL_PIC_SETUP and jmp syscall_error.
2738 * sysdeps/unix/sysv/linux/i386/sysdep.S (__syscall_error): Define
2741 * Makeconfig (built-program-cmd): New variable.
2742 * sunrpc/Makefile (rpcgen-cmd): Use $(built-program-cmd).
2743 * time/Makefile (zic-cmd): Likewise.
2745 * hurd/Makefile (user-interfaces): Add hurd/exec_startup.
2747 * sunrpc/Makefile (librpcsvc-no-lib-dep): New variable.
2748 * extra-lib.mk: If $(lib)-no-lib-dep is defined and MAKELEVEL>0,
2749 make `others' rather than `lib-noranlib' depend on the libraries.
2751 * sysdeps/unix/configure.in: Check for fchdir syscall.
2752 Improve sed script to allow / on rhs without / on lhs.
2754 Thu Oct 19 03:47:32 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
2756 * sysdeps/unix/sysv/linux/termbits.h: Don't define speed constants.
2758 * elf/rtld.c: Include _itoa.h from stdio-common instead of stdio.
2760 * sysdeps/unix/sysv/linux/select.S: New file.
2762 Wed Oct 18 03:33:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2764 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Use
2765 SYSCALL_PIC_SETUP before jumping to syscall_error.
2766 * sysdeps/unix/i386/sysdep.h (SYSCALL_PIC_SETUP): New macro.
2767 (PSEUDO): Use it before jumping to syscall_error.
2768 * sysdeps/unix/i386/sysdep.S [! PIC]: Don't find GOT address;
2769 expect it in %ebx on entry. Pop old %ebx value off stack after
2772 * signal/signal.h [__USE_BSD] (_sys_siglist, sys_siglist): Declare
2775 * sysdeps/generic/_strerror.c: Declare _sys_errlist and _sys_nerr.
2777 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For magic
2778 `fd/', pass the right pointer to strtol to parse the number.
2780 Tue Oct 17 23:00:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2782 * sysdeps/mach/_strerror.c: Include stdio-common/_itoa.h instead
2785 Tue Oct 17 19:51:17 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
2787 * sysdeps/unix/sysv/linux/i386/stat.S [PIC] (__stat): Set GOT
2788 register %ebx before calling __xstat through PLT.
2790 * sysdeps/unix/sysv/linux/i386/sysdep.S: Fix typo in comment.
2792 * sysdeps/unix/sysv/linux/sigset.h: Remove file.
2794 Tue Oct 17 01:21:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2796 * hurd/hurdsock.c: Include stdio-common/_itoa.h instead of
2798 * hurd/hurdlookup.c: Likewise.
2800 * hurd/hurd/signal.h: Declare hurd_preempt_signals and
2801 hurd_unpreempt_signals.
2803 * stdio/stdio.h: Declare __snprintf and __vsnprintf.
2805 * stdio-common/psignal.c: Translate signal description strings.
2806 * string/strsignal.c: Likewise.
2807 * sysdeps/generic/_strerror.c (_strerror_internal): Translate
2809 * sysdeps/mach/_strerror.c: Likewise.
2811 * stdio-common/snprintf.c (__snprintf): Renamed from snprintf;
2813 (snprintf): Define as weak alias.
2814 * stdio/vsnprintf.c (__vsnprintf): Renamed from vsnprintf.
2815 (vsnprintf): Define as weak alias.
2817 Mon Oct 16 03:22:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2819 * Makerules (install-lib): Filter out %_pic.a; install only the
2820 linked shared objects.
2822 * locale/Makefile (aux): Add SYS_libc.
2823 * locale/SYS_libc.c: New file.
2824 * libc-symbols.h [! ASSEMBLER] (_): New macro.
2826 * configure.in (libc_cv_asm_set_directive): Link program into
2827 conftest instead of letting it default to a.out.
2829 * elf/Makefile (install-others): Add missing slash.
2831 * elf/ldd.sh.in: Prepend `./' to relative file names so ld.so
2832 won't search LD_LIBRARY_PATH.
2834 * Makefile (subdirs): Replace stdio with stdio-common and $(stdio).
2835 * configure.in: Grok arg --enable-libio.
2836 ($stdio = libio): Define USE_IN_LIBIO.
2837 * config.h.in (USE_IN_LIBIO): Add #undef.
2838 * config.make.in (stdio): New variable, set by configure.
2839 * Makeconfig (stdio): New variable.
2840 * stdio.h [USE_IN_LIBIO]: Include libio/stdio.h instead of
2842 * stdio-common/Makefile: New file.
2843 * stdio/Makefile: Half the contents moved to stdio-common/Makefile.
2844 * stdio/_itoa.c: Moved to stdio-common.
2845 * stdio/_itoa.h: Moved to stdio-common.
2846 * stdio/asprintf.c: Moved to stdio-common.
2847 * stdio/bug1.c: Moved to stdio-common.
2848 * stdio/bug1.input: Moved to stdio-common.
2849 * stdio/bug2.c: Moved to stdio-common.
2850 * stdio/bug3.c: Moved to stdio-common.
2851 * stdio/bug4.c: Moved to stdio-common.
2852 * stdio/bug5.c: Moved to stdio-common.
2853 * stdio/bug6.c: Moved to stdio-common.
2854 * stdio/bug6.input: Moved to stdio-common.
2855 * stdio/bug7.c: Moved to stdio-common.
2856 * stdio/dprintf.c: Moved to stdio-common.
2857 * stdio/errnobug.c: Moved to stdio-common.
2858 * stdio/getline.c: Moved to stdio-common.
2859 * stdio/getw.c: Moved to stdio-common.
2860 * stdio/perror.c: Moved to stdio-common.
2861 * stdio/printf-parse.h: Moved to stdio-common.
2862 * stdio/printf-prs.c: Moved to stdio-common.
2863 * stdio/printf.c: Moved to stdio-common.
2864 * stdio/printf.h: Moved to stdio-common.
2865 * stdio/printf_fp.c: Moved to stdio-common.
2866 * stdio/psignal.c: Moved to stdio-common.
2867 * stdio/putw.c: Moved to stdio-common.
2868 * stdio/reg-printf.c: Moved to stdio-common.
2869 * stdio/scanf.c: Moved to stdio-common.
2870 * stdio/snprintf.c: Moved to stdio-common.
2871 * stdio/sprintf.c: Moved to stdio-common.
2872 * stdio/sscanf.c: Moved to stdio-common.
2873 * stdio/tempnam.c: Moved to stdio-common.
2874 * stdio/temptest.c: Moved to stdio-common.
2875 * stdio/test-fseek.c: Moved to stdio-common.
2876 * stdio/test-fwrite.c: Moved to stdio-common.
2877 * stdio/test-popen.c: Moved to stdio-common.
2878 * stdio/test_rdwr.c: Moved to stdio-common.
2879 * stdio/tmpfile.c: Moved to stdio-common.
2880 * stdio/tmpnam.c: Moved to stdio-common.
2881 * stdio/tst-fileno.c: Moved to stdio-common.
2882 * stdio/tst-printf.c: Moved to stdio-common.
2883 * stdio/tstgetln.c: Moved to stdio-common.
2884 * stdio/tstgetln.input: Moved to stdio-common.
2885 * stdio/tstscanf.c: Moved to stdio-common.
2886 * stdio/tstscanf.input: Moved to stdio-common.
2887 * stdio/vfprintf.c: Moved to stdio-common.
2888 * stdio/vfscanf.c: Moved to stdio-common.
2889 * stdio/vprintf.c: Moved to stdio-common.
2890 * stdio/xbug.c: Moved to stdio-common.
2891 * sysdeps/generic/Makefile (siglist.c rules): Do this in subdir
2892 stdio-common instead of stdio.
2893 * sysdeps/unix/Makefile (errlist.c rules): Likewise.
2894 * stdio-common/asprintf.c [USE_IN_LIBIO]: Call libio primitive
2896 * stdio-common/dprintf.c: Likewise.
2897 * stdio-common/printf.c: Likewise.
2898 * stdio-common/scanf.c: Likewise.
2899 * stdio-common/snprintf.c: Likewise.
2900 * stdio-common/sprintf.c: Likewise.
2901 * stdio-common/sscanf.c: Likewise.
2902 * stdio-common/vprintf.c: Likewise.
2904 * Makerules: Include $(+depfiles) directly instead of generating
2906 (depend-$(subdir)): Target removed.
2907 (common-clean): Don't remove depend-$(subdir).
2909 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): New variable.
2910 (config-LDFLAGS): Variable removed.
2912 * sysdeps/mach/hurd/getcwd.c: Use __file_name_lookup_under.
2913 * sysdeps/mach/hurd/bind.c: Likewise.
2914 * sysdeps/mach/hurd/access.c: Use new __hurd_file_name_lookup
2917 * hurd/hurdexec.c: Undo last change (10 Oct 95).
2919 Sun Oct 15 21:04:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2921 * hurd/hurd/lookup.h: New file.
2922 * hurd/hurdlookup.c (__file_name_lookup_under): New function.
2923 (__hurd_file_name_lookup, __hurd_file_name_lookup_retry,
2924 __hurd_file_name_split): Rewritten to take callback functions for
2925 using any needed init or dtable port, instead of passing in crdir
2927 (__file_name_lookup, __file_name_split): Use new calling
2928 convention; pass _hurd_ports_use and __getdport as the callback
2931 * sysdeps/mach/hurd/chroot.c: Use __file_name_lookup_under instead
2932 of __hurd_file_name_lookup.
2933 * sysdeps/mach/hurd/chdir.c: Likewise.
2934 * sysdeps/mach/hurd/fchdir.c: Likewise.
2935 * hurd/fchroot.c: Likewise.
2937 * stdlib/Makefile (mpn-found): Don't omit %.s.
2938 (mpn-copy-sysdep): Omit files in nonexistent directories.
2939 (copy-mpn): Commit files to CVS.
2940 * stdlib/gen-mpn-copy (translations): Update translations for GMP
2943 * configure.in (machine): Translate alpha* to alpha/&, hppa* to hppa/&.
2945 Sat Oct 14 02:52:36 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
2947 * malloc/malloc.c (_malloc_internal): Performance fix. Move
2948 if statement out of loop.
2950 * stdio/_itoa.c, stdio/_itoa.h: Complete rewrite. Much faster
2951 implementation using GMP functions. Contributed by
2952 Torbjorn Granlund and Ulrich Drepper.
2954 * stdio/test_rdwr.c: Include <errno.h>.
2956 * sysdeps/i386/i586/Implies: New file.
2958 New highly optimized string functions for i[345]86.
2959 * sysdeps/i386/memchr.S, sysdeps/i386/memcmp.S: New files.
2960 * sysdeps/i386/stpcpy.S, sysdeps/i386/stpncpy.S: New files.
2961 * sysdeps/i386/strchr.S, sysdeps/i386/strcspn.S: New files.
2962 * sysdeps/i386/strpbrk.S, sysdeps/i386/strrchr.S: New files.
2963 * sysdeps/i386/strspn.S, sysdeps/i386/i486/strcat.S: New files.
2964 * sysdeps/i386/i486/strlen.S, sysdeps/i386/i586/strchr.S: New files.
2965 * sysdeps/i386/i586/strlen.S: New file.
2966 * sysdeps/i386/memchr.c: Removed. There is now an assembler version.
2968 * sysdeps/i386/i586/memcopy.h (WORD_COPY_BWD): Parameters did
2969 not correspond to used values.
2971 * sysdeps/unix/sysv/linux/nfs/nfs.h: New file. Simply a wrapper
2972 around a kernel header file.
2973 * sysdeps/unix/sysv/linux/Dist: Add it.
2974 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=sunrpc] (headers):
2977 * sysdeps/unix/sysv/linux/local_lim.h: Rewrite. Instead of
2978 defining ourself we use a kernel header file.
2980 * sysdeps/unix/sysv/linux/i386/sysdep.h (DO_CALL): Optimize system
2981 call handler for i586.
2983 * sysdeps/unix/sysv/linux/sys/param.h: Add copyright and clean up.
2985 Thu Oct 12 15:45:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2987 * hurd/hurd.h (file_name_lookup_under): Declare it.
2988 * hurd/Makefile (headers): Add hurd/lookup.h.
2990 * hurd/hurdinit.c (_hurd_ports_use): New function.
2991 * hurd/hurd.h (_hurd_ports_use): Declare it.
2992 (hurd_invoke_translator, hurd_file_name_lookup, hurd_file_name_split,
2993 hurd_file_name_lookup_retry): Remove these decls.
2994 * hurd/Makefile (routines): Remove invoke-trans.
2996 Wed Oct 11 00:00:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2998 * sysdeps/i386/dl-machine.h (elf_machine_rel): Use +=, not =, to
2999 apply R_386_PC32 reloc.
3001 * Makeconfig (config-LDFLAGS): Add missing slash.
3003 * sysdeps/mach/hurd/profil.c (fork_profil): Only call
3004 update_waiter if profiling was enabled in the parent.
3006 * csu/initfini.c: Don't pass -f flag to cp.
3008 Tue Oct 10 23:08:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3010 * Makerules (build-shlib): Pass -rpath and -rpath-link options.
3011 (LDFLAGS-c.so): Don't pass -dynamic-linker here.
3012 * Makeconfig (+link): Pass $(sysdep-LDFLAGS).
3013 (link-libc): Pass -rpath and -rpath-link options.
3015 * MakeTAGS (all-dirs): Omit CVS directories.
3016 Specify vpath directives to find source files in $(all-dirs).
3017 (sources, headers): Append sources and headers from $(all-dist) to
3019 (all-dist): Filter them out of this.
3020 (all-headers, all-sources): Use $(shell find ...) instead of
3023 * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): New variable; pass
3026 * hurd/hurdexec.c: Pass poly and dealloc args to __file_exec.
3028 * elf/Makefile (install-others): Add missing $.
3030 Mon Oct 9 02:54:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3032 * mach/Makefile ($(objpfx)errsystems.c): Rule reenabled.
3034 * Makeconfig (config-LDFLAGS): Define to
3035 -Wl-dynamic-linker=$(libdir)$(rtld-installed-name).
3036 (rtld-installed-name): New variable.
3037 * elf/Makefile (install-lib): Variable removed.
3038 (install-others): Define this instead, to
3039 $(libdir)(rtld-installed-name).
3040 ($(libdir)(rtld-installed-name)): New target; install from ld.so.
3042 * elf/ldd.sh.in: New file.
3043 * elf/Makefile (distribute): Add ldd.sh.in.
3044 (install-bin): Add ldd.
3045 ($(objpfx)ldd: ldd.sh.in): New rule.
3047 * sysdeps/mach/hurd/dl-sysdep.c: Use __hurd_fail throughout.
3048 * hurd/hurd.h (__hurd_fail): Replace macro with inline function.
3049 Translate some Mach errors to Hurd errors.
3051 * elf/rtld.c (dl_main): Under --list, print msg if executable is
3054 * elf/dl-load.c (_dl_map_object_from_fd): Rewrote program header
3057 Sat Oct 7 01:25:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3059 * sysdeps/stub/machine-gmon.h: Add #error.
3061 Fri Oct 6 01:49:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3063 * elf/dynamic-link.h (elf_get_dynamic_info): If DYN is null, don't
3066 Fri Sep 29 03:43:51 1995 Paul Eggert <eggert@twinsun.com>
3068 Rewrite mktime from scratch for performance, and for correctness
3069 in the presence of leap seconds.
3071 * time/mktime.c (ydhms_tm_diff, not_equal_tm, print_tm, check_result):
3073 (LEAP_SECONDS_POSSIBLE, CHAR_BIT, INT_MIN, INT_MAX,
3074 TIME_T_MIN, TIME_T_MAX, TM_YEAR_BASE, EPOCH_YEAR): New macros.
3075 <limits.h>, <stdlib.h>: New #includes.
3076 (main): Support tests with given broken-down value; support benchmarks.
3077 (__mon_lengths, debugging_enabled, printtm, dist_tm, doit,
3078 do_normalization, normalize, BAD_STRUCT_TM, SKIP_VALUE,
3081 * time/time.h, time/mktime.c (__mktime_internal): New offset arg.
3082 * time/mktime.c (mktime), time/timegm.c (timegm): Use it.
3084 * time/mktime.c (__mon_yday): New variable; replaces `__mon_lengths'.
3085 time/offtime.c (__offtime), time/tzset.c (compute_change): Use it.
3087 * time/offtime.c (__offtime): Remove useless assignment
3088 `tp->tm_isdst = -1'.
3090 * manual/maint.texi: Update credits.
3092 Fri Oct 6 00:28:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3094 * sysdeps/unix/common/readv.S: Moved to sysdeps/unix/bsd.
3095 * sysdeps/unix/common/writev.S: Moved to sysdeps/unix/bsd.
3096 * sysdeps/unix/sysv/linux/readv.c: File removed.
3097 * sysdeps/unix/sysv/linux/writev.c: File removed.
3098 * sysdeps/unix/configure.in: Check for readv and writev syscalls.
3100 * sysdeps/unix/configure.in: If eval doesn't set $unix_srcname,
3101 set it to $unix_syscall instead of $unix_function.
3103 Thu Oct 5 00:59:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3105 * elf/rtld.c (dl_main): Grok --list flag.
3106 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Ignore -- args.
3108 Wed Oct 4 00:21:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3110 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_message): New function.
3111 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_message): New function.
3112 * elf/link.h (_dl_sysdep_message): Declare it.
3114 * sysdeps/unix/Makefile ($(common-objpfx)ioctls): Remove NULL from
3117 * time/northamerica: Corrections to Canada data from ADO 95i.
3119 * sysdeps/unix/sysv/linux/Makefile (headers): Don't append to this
3120 unconditionally. In socket subdir, append sys/socketcall.h; in
3121 time subdir, append sys/timex.h.
3122 (config-LDFLAGS): New variable.
3123 * sysdeps/unix/sysv/linux/Dist: New file.
3124 * Makeconfig (+link): Pass $(config-LDFLAGS) before $(LDFLAGS).
3126 * sysdeps/generic/stpncpy.c: Don't increment DEST when zero-filling.
3128 * elf/dlopen.c (dlopen): Don't pass USER_ENTRY arg to _dl_map_object.
3130 Sat Sep 30 11:47:05 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3132 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): If started by
3133 kernel with args on stack, point _dl_hurd_data at zero data
3134 instead of garbage. When ld.so run as program, grok args
3135 -LIB=MEMOBJ and pre-load shared object files found in memory
3136 objects loaded by the boot loader.
3138 * elf/link.h (struct link_map): New member `l_entry'.
3139 (_dl_map_object, _dl_map_object_from_fd): Remove last arg ENTRY_POINT.
3140 * elf/dl-load.c (_dl_map_object, _dl_map_object_from_fd): Remove
3141 last arg ENTRY_POINT. Store the entry point location in the
3142 `l_entry' member of the new map.
3143 * elf/rtld.c (dl_main): Don't pass USER_ENTRY arg to
3144 _dl_map_object. When run as program, set *USER_ENTRY to L->l_entry.
3145 * elf/dl-init.c (_dl_init_next): Don't pass ENTRY_POINT arg to
3148 * posix/tstgetopt.c, posix/tstgetopt.args: Test long options too.
3150 * sysdeps/unix/sysv/linux/i386/init-first.c (init): Save, set, and
3151 restore %ebx by hand for personality syscall.
3152 GCC cannot deal with spilling the dedicated GOT register.
3154 * misc/Makefile (routines): Add mntent, which was somehow omitted.
3156 Fri Sep 29 15:07:10 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
3158 * sysdeps/unix/sysv/linux/adjtime.c (__adjtime):
3159 Change name of field `mode' in `struct timex' to `modes'.
3160 Linux-1.3.28 updates this name according to RFC 1489.
3162 Thu Sep 28 13:05:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3164 Merge new message handling code from GNU gettext, by Drepper.
3165 * intl: New directory.
3166 * Makefile (subdirs): Add intl.
3168 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Return
3169 USER_ENTRY instead of storing it on our stack.
3171 * elf/rtld.c (rtld_command): Variable removed.
3172 (_dl_skip_args): New variable.
3173 (dl_main): Increment _dl_skip_args instead of setting rtld_command.
3174 If the link_map for the executable itself is not first in the chain,
3176 * sysdeps/i386/dl-machine.h (RTLD_START): Use _dl_skip_args as
3177 count of args to skip.
3179 Thu Sep 28 09:20:04 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3181 * stdlib/strtod.c (STRTOF): Fix handling of numbers with lots of
3184 Wed Sep 27 00:27:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3186 * sysdeps/mach/hurd/getcwd.c (__getcwd): Renamed from getcwd.
3187 (getcwd): Define as weak alias.
3188 * sysdeps/posix/getcwd.c: Likewise.
3189 * sysdeps/stub/getcwd.c: Likewise.
3190 * posix/unistd.h: Declare __getcwd.
3192 * string/string.h: Declare __strcasecmp.
3193 * sysdeps/generic/strcasecmp.c (__strcasecmp): Renamed from
3195 (strcasecmp): Define as weak alias.
3197 * string/string.h: Declare __stpcpy.
3198 * sysdeps/generic/stpcpy.c (__stpcpy): Renamed from stpcpy.
3199 (stpcpy): Define as weak alias.
3201 * sysdeps/unix/sysv/linux/Implies: Add unix/common.
3203 * sysdeps/unix/i386/sysdep.h [HAVE_ELF] (ASM_TYPE_DIRECTIVE):
3204 Don't use `type' for arg name, since we are using it as a keyword
3207 * sysdeps/unix/configure.in: Check for syscalls getpriority,
3208 setpriority, getrlimit, setrlimit.
3210 * sysdeps/posix/truncate.c: Include fcntl.h.
3212 * sysdeps/generic/getdomain.c: Include string.h for strncpy decl.
3214 * sysdeps/stub/getpriority.c: Don't include obsolete gnu-stabs.h;
3215 use new stub_warning syntax.
3216 * sysdeps/stub/setpriority.c: Likewise.
3217 * sysdeps/stub/__longjmp.c: Likewise.
3218 * sysdeps/stub/_exit.c: Likewise.
3219 * sysdeps/stub/accept.c: Likewise.
3220 * sysdeps/stub/acos.c: Likewise.
3221 * sysdeps/stub/alarm.c: Likewise.
3222 * sysdeps/stub/asin.c: Likewise.
3223 * sysdeps/stub/atan2.c: Likewise.
3224 * sysdeps/stub/bind.c: Likewise.
3225 * sysdeps/stub/cbrt.c: Likewise.
3226 * sysdeps/stub/chroot.c: Likewise.
3227 * sysdeps/stub/closedir.c: Likewise.
3228 * sysdeps/stub/connect.c: Likewise.
3229 * sysdeps/stub/cos.c: Likewise.
3230 * sysdeps/stub/cosh.c: Likewise.
3231 * sysdeps/stub/ctermid.c: Likewise.
3232 * sysdeps/stub/cuserid.c: Likewise.
3233 * sysdeps/stub/defs.c: Likewise.
3234 * sysdeps/stub/exp.c: Likewise.
3235 * sysdeps/stub/fmod.c: Likewise.
3236 * sysdeps/stub/frexp.c: Likewise.
3237 * sysdeps/stub/fsync.c: Likewise.
3238 * sysdeps/stub/getcwd.c: Likewise.
3239 * sysdeps/stub/getenv.c: Likewise.
3240 * sysdeps/stub/gethostid.c: Likewise.
3241 * sysdeps/stub/getlogin.c: Likewise.
3242 * sysdeps/stub/getpeername.c: Likewise.
3243 * sysdeps/stub/getrlimit.c: Likewise.
3244 * sysdeps/stub/getsockname.c: Likewise.
3245 * sysdeps/stub/getsockopt.c: Likewise.
3246 * sysdeps/stub/listen.c: Likewise.
3247 * sysdeps/stub/log.c: Likewise.
3248 * sysdeps/stub/log10.c: Likewise.
3249 * sysdeps/stub/mkfifo.c: Likewise.
3250 * sysdeps/stub/morecore.c: Likewise.
3251 * sysdeps/stub/nice.c: Likewise.
3252 * sysdeps/stub/nlist.c: Likewise.
3253 * sysdeps/stub/opendir.c: Likewise.
3254 * sysdeps/stub/pipestream.c: Likewise.
3255 * sysdeps/stub/ptrace.c: Likewise.
3256 * sysdeps/stub/putenv.c: Likewise.
3257 * sysdeps/stub/readdir.c: Likewise.
3258 * sysdeps/stub/reboot.c: Likewise.
3259 * sysdeps/stub/recv.c: Likewise.
3260 * sysdeps/stub/recvfrom.c: Likewise.
3261 * sysdeps/stub/rename.c: Likewise.
3262 * sysdeps/stub/rewinddir.c: Likewise.
3263 * sysdeps/stub/seekdir.c: Likewise.
3264 * sysdeps/stub/send.c: Likewise.
3265 * sysdeps/stub/sendto.c: Likewise.
3266 * sysdeps/stub/setegid.c: Likewise.
3267 * sysdeps/stub/seteuid.c: Likewise.
3268 * sysdeps/stub/setgroups.c: Likewise.
3269 * sysdeps/stub/sethostid.c: Likewise.
3270 * sysdeps/stub/sethostname.c: Likewise.
3271 * sysdeps/stub/setjmp.c: Likewise.
3272 * sysdeps/stub/setrlimit.c: Likewise.
3273 * sysdeps/stub/setsockopt.c: Likewise.
3274 * sysdeps/stub/shutdown.c: Likewise.
3275 * sysdeps/stub/signal.c: Likewise.
3276 * sysdeps/stub/sigsuspend.c: Likewise.
3277 * sysdeps/stub/sin.c: Likewise.
3278 * sysdeps/stub/sinh.c: Likewise.
3279 * sysdeps/stub/socket.c: Likewise.
3280 * sysdeps/stub/socketpair.c: Likewise.
3281 * sysdeps/stub/sqrt.c: Likewise.
3282 * sysdeps/stub/sync.c: Likewise.
3283 * sysdeps/stub/system.c: Likewise.
3284 * sysdeps/stub/tan.c: Likewise.
3285 * sysdeps/stub/tanh.c: Likewise.
3286 * sysdeps/stub/tcdrain.c: Likewise.
3287 * sysdeps/stub/tcflow.c: Likewise.
3288 * sysdeps/stub/tcgetpgrp.c: Likewise.
3289 * sysdeps/stub/tcsendbrk.c: Likewise.
3290 * sysdeps/stub/tcsetattr.c: Likewise.
3291 * sysdeps/stub/tcsetpgrp.c: Likewise.
3292 * sysdeps/stub/telldir.c: Likewise.
3293 * sysdeps/stub/tempname.c: Likewise.
3294 * sysdeps/stub/ttyname.c: Likewise.
3295 * sysdeps/stub/ttyname_r.c: Likewise.
3296 * sysdeps/stub/utime.c: Likewise.
3298 * gmon/gmon.c (moncontrol): Don't cast buffer arg to profil.
3300 * time/mktime.c (localtime_r): Use 0 instead of NULL.
3302 * config.make.in (AS): New variable; set to `$(CC) -c'.
3304 * posix/unistd.h [__USE_BSD]: Declare profil.
3306 * elf/dl-load.c (_dl_map_object_from_fd): New function, broken out
3308 (_dl_map_object): Call it.
3309 * elf/link.h (_dl_map_object_from_fd): Declare it.
3311 Tue Sep 26 16:50:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3313 * locale/libintl.h: Rewritten by Ulrich Drepper for use with GNU
3316 * sysdeps/unix/sysv/linux/sys/param.h: New file.
3317 * sysdeps/unix/sysv/linux/Subdirs: File removed.
3319 * libc-symbols.h (_LIBC): Define to 1, not just empty.
3321 * gmon: New directory of profiling code, incorporated from
3322 4.4BSD-Lite and modified.
3323 * sysdeps/i386/machine-gmon.h: New file.
3324 * sysdeps/stub/machine-gmon.h: New file.
3325 * sysdeps/mach/hurd/profil.c: New file.
3326 * sysdeps/stub/profil.c: New file.
3327 * sysdeps/unix/bsd/profil.S: New file.
3328 * Makefile (subdirs): Add gmon.
3329 * csu/gmon-start.c: New file.
3330 * csu/Makefile (extra-objs): Add gmon-start.o,
3331 g$(start-installed-name).
3332 (install-lib, omit-deps): Add g$(start-installed-name).
3333 ($(objpfx)g$(start-installed-name)): New target.
3335 Fri Sep 22 14:24:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3337 * sysdeps/mach/hurd/Makefile: Elide sunrpc from $(subdirs) for the
3340 Thu Sep 21 00:03:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3342 * sysdeps/unix/configure.in: Check for `profil' syscall.
3344 * manual/Makefile (infodir, prefix, INSTALL, INSTALL_DATA): Variables
3347 * time/africa, time/asia, time/europe, time/northamerica,
3348 time/yearistype: New data from ADO 95h.
3350 * Makerules (build-shlib): Use $(@F:lib%.so=%) in place of
3351 $(notdir $*), so it wins for the explicit libc.so rule as well as the
3354 * sysdeps/stub/sys/sem_buf.h (union semun): New type.
3356 * sysdeps/mach/hurd/i386/init-first.c (init1) [PIC]: Call
3357 __libc_global_ctors.
3358 * sysdeps/i386/init-first.c: Rewritten.
3359 * sysdeps/unix/sysv/linux/i386/init-first.S: File removed.
3360 * sysdeps/unix/sysv/linux/i386/init-first.c: New file.
3362 * sysdeps/unix/sysv/linux/i386/fpu_control.h: Fix name in decl of
3365 * Makerules (build-shlib): New canned sequence, broken out of
3366 lib%.so rule. Link in $^ instead of just $<.
3367 (lib%.so: lib%_pic.a): Use it.
3368 (libc.so): New target; use $(build-shlib) for cmds, but also depend
3369 on soinit.so first and sofini.so last.
3371 * elf/soinit.c: New file.
3372 * elf/sofini.c: New file.
3373 * elf/Makefile (distribute): Add soinit.c and sofini.c.
3374 (extra-objs): Add soinit.so and sofini.so.
3376 * sysvipc/sys/shm.h (shmat): Fix return type to char *.
3377 * sysdeps/stub/sys/ipc_buf.h (key_t): Type removed.
3379 * misc/syslog.c (vsyslog): Rewritten using open_memstream to
3380 dynamically allocate buffers.
3382 * Makerules (install-lib-nosubdir): Make this, rather than
3383 install-no-libc.a, depend on the installed shared libraries.
3385 Wed Sep 20 18:02:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3387 * locale/locale.c: Include errno.h.
3388 * locale/localedef.c: Likewise.
3390 Tue Sep 19 00:02:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3392 * Makefile (distclean-1): Remove config.cache, config.log, config.h.
3393 (parent-mostlyclean): Remove all flavors of the parent library.
3395 * misc/mntent.c (getmntent): Skip multiple whitespace chars
3398 * hurd/hurdstartup.c (_hurd_startup): If RPC returns
3399 EXEC_STACK_ARGS flag, get args from stack.
3400 If args on stack but have info from RPC, relocate args on stack to make
3401 space for struct hurd_startup_data.
3403 Mon Sep 18 15:06:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3405 * elf/dl-object.c: Include errno.h.
3406 * posix/execvp.c: Likewise.
3407 * dirent/scandir.c: Likewise.
3408 * sysdeps/posix/system.c: Likewise.
3409 * sysdeps/generic/setenv.c: Likewise.
3410 * stdlib/msort.c: Likewise.
3411 * stdio/memstream.c: Likewise.
3412 * stdio/fclose.c: Likewise.
3413 * stdio/getdelim.c: Likewise.
3414 * stdio/setvbuf.c: Likewise.
3415 * sysdeps/ieee754/ldexp.c: Likewise.
3416 * locale/locfile-parse.c: Likewise.
3418 * stdlib/lcong48_r.c: Don't check for null argument; let it fault.
3419 * stdlib/seed48_r.c: Likewise.
3420 * stdlib/srand48_r.c: Likewise.
3421 * stdlib/jrand48_r.c: Likewise.
3422 * stdlib/nrand48_r.c: Likewise.
3424 * Makeconfig (+gccwarn): Remove -Wbad-function-cast, which seems
3427 Mon Sep 18 12:39:22 1995 Paul Eggert <eggert@twinsun.com>
3429 * mktime.c (localtime_r): Add substitute if the system doesn't
3432 Mon Sep 18 14:39:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3434 * time/gmtime.c (gmtime_r): Define as weak alias.
3435 * time/localtime.c (localtime_r): Define as weak alias.
3436 * time/time.h [__USE_REENTRANT] (gmtime_r, localtime_r): Declare them.
3438 * errno.h: Only define _ERRNO_H #ifndef __need_Emath.
3439 #undef __need_Emath after including errnos.h.
3440 [_ERRNO_H]: Protect decls with this.
3442 Sun Sep 17 08:22:12 1995 Paul Eggert <eggert@twinsun.com>
3444 Fix mktime so that it does not write over localtime's returned value.
3445 * localtime.c (__localtime_r): New function, with extra arg
3446 specifying where to store result.
3447 (localtime): Use it.
3449 * gmtime.c (__gmtime_r, gmtime, _tmbuf): Likewise.
3450 * mktime.c (__mktime_internal): Conversion function is now
3451 __localtime_r style, not localtime style.
3452 (mktime): Pass __localtime_r, not localtime.
3453 * timegm.c (timegm): Pass __gmtime_r, not gmtime.
3454 * offtime.c (__offtime): New arg specifying where to store result.
3455 * time.h (__mktime_internal, __offtime): Adjust decls accordingly.
3456 (__gmtime_r, __localtime_r): New decls.
3458 * time/localtime.c: <stddef.h>, <ctype.h>, <stdio.h>,
3459 <stdlib.h>, <string.h>: Remove includes.
3460 <errno.h>: Add include.
3462 * time/mktime.c, time/time.h, time/timegm.c (__mktime_internal):
3463 Renamed from _mktime_internal to avoid namespace pollution.
3465 * time/gmtime.c: Clear tm_isdst.
3467 Mon Sep 18 01:58:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3469 * misc/efgcvt_r.c (ecvt_r, fcvt_r): Last arg is size_t, not int.
3470 * stdlib/stdlib.h (ecvt_r, fcvt_r): Fix type of last arg: make it
3473 * sysdeps/mach/hurd/fpathconf.c: Call __io_pathconf instead of
3475 * sysdeps/mach/hurd/pathconf.c: Likewise.
3477 * Makefile (subdirs): Add sysvipc.
3479 * stdlib/srand48_r.c (srand48_r): Use UL suffix for huge constant.
3480 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3482 Sun Sep 17 18:29:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3484 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Call
3485 __file_set_size instead of __file_truncate.
3487 * features.h (__USE_REENTRANT): New macro.
3489 * sysdeps/mach/hurd/truncate.c: Call __file_set_size instead of
3491 * sysdeps/mach/hurd/ftruncate.c: Likewise.
3493 * sysdeps/unix/sysv/linux/dl-machine.h: File removed.
3495 Sat Sep 16 17:47:19 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
3497 * elf/elf.h (AT_GID): Fix typo: Read -> Real.
3499 * misc/efgvt_r.c: New file. Reentrant version of [efg]cvt functions.
3500 * misc/efgcvt.c: Rewrite to use reentrant functions.
3501 * misc/search.h: Many decls for hsearch functions.
3502 * misc/hsearch_r.c: New file. Reentrant version of functions from
3504 * misc/hsearch.c, misc/tsearch.c: New files.
3505 * misc/Makefile (routines): Add efgcvt_r, hsearch_r, hsearch, tsearch.
3507 * posix/unistd.h (ttyname_r): Add prototype for new function.
3509 * stdlib/drand48_r.c, stdlib/erand48_r.c, stdlib/jrand48_r.c,
3510 stdlib/lrand48_r.c, stdlib/mrand48_r.c, stdlib/nrand48_r.c,
3511 stdlib/seed48_r.c, stdlib/srand48_r.c, stdlib/lcong48_r.c,
3512 stdlib/drand48-iter.c: New files implementing reentrant versions
3513 of functions from drand48 family.
3514 * stdlib/seed48.c, stdlib/drand48.c, stdlib/erand48.c,
3515 stdlib/jrand48.c, stdlib/lrand48.c, stdlib/mrand48.c,
3516 stdlib/nrand48.c, stdlib/srand48.c, stdlib/lcong48.c:
3517 Rewrite to use reentrant versions.
3518 * stdlib/a64l.c, stdlib/l64a.c: New files. Implement a64l()
3519 and l64a() functions from SysV library.
3520 * stdlib/Makefile (routines): Add drand48_r, erand48_r, lrand48_r,
3521 nrand48_r, mrand48_r, jrand48_r, srand48_r, seed48_r, lcong48_r,
3522 drand48-iter, a64l, l64a.
3523 * stdlib/stdlib.h: Declare them.
3525 * stdlib/random_r.c: New file. Reentrant version of functions
3527 * stdlib/stdlib.h: Declare them.
3528 * stdlib/random.c: Rewrite to use reentrant functions.
3530 * string/strerror_r.c: New file. Reentrant version.
3531 * string/strerror.c: Change for new _strerror_internal form.
3532 * string/Makefile (routines): Add strerror_r.
3534 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Set default
3535 value of user_entry to `_start'.
3536 Close AT_ENTRY case with `break'.
3538 * sysdeps/generic/strstr.c: New and much faster implementation
3539 by Stephen R. van den Berg.
3541 * sysdeps/generic/_strerror.c: _strerror_internal now takes
3542 three argument and has and explicit buffer length.
3543 * sysdeps/mach/_strerror.c: Change for new interface with three
3545 * stdio/perror.c, stdio/vfprintf.c: Callers changed.
3547 * sysdeps/mach/hurd/ttyname_r.c: New file. Reentrant version.
3548 * sysdeps/posix/ttyname_r.c: New file. Reentrant version.
3549 * sysdeps/stub/ttyname_r: New file. Define as dummy function.
3551 * sysdeps/posix/utimes.c: Include <utime.h> for prototype.
3552 (utimes): First parameter to utime must be file, not path.
3554 * sysdeps/posix/sysconf.c (__sysconf): Test for CLK_TCK in case
3555 _SC_CLK_TCK and return it when available.
3556 Test for STREAM_MAX in case _SC_STREAM_MAX and return it when
3558 Add case for _SC_2_LOCALEDEF which is now available.
3560 * posix/sys/types.h [__USE_SVID] (key_t): New type.
3561 * sysvipc/Makefile, sysvipc/ftok.c, sysvipc/sys/ipc.h,
3562 sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h,
3563 sysdeps/stub/sys/msq_buf.h, sysdeps/stub/sys/sem_buf.h,
3564 sysdeps/stub/sys/shm_buf.h, sysdeps/stub/sys/ipc_buf.h,
3565 sysdeps/stub/semctl.c, sysdeps/stub/semget.c, sysdeps/stub/semop.c,
3566 sysdeps/stub/shmat.c, sysdeps/stub/shmctl.c, sysdeps/stub/shmdt.c,
3567 sysdeps/stub/shmget.c, sysdeps/stub/msgctl.c, sysdeps/stub/msgget.c,
3568 sysdeps/stub/msgrcv.c, sysdeps/stub/msgsnd.c: New files.
3569 Add implementation of System V IPC.
3571 Fri Sep 15 21:34:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3573 * hurd/hurdsig.c: Include <hurd/crash.h> in place of <hurd/core.h>.
3574 (write_corefile): Call __crash_dump_task instead of __core_dump_task.
3575 Use envariable CRASHSERVER instead of CORESERVER.
3576 * hurd/Makefile (user-interfaces): Replace hurd/core with hurd/crash.
3578 Tue Sep 12 14:30:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3580 * misc/mntent.c: New file.
3581 * misc/mntent.h: New file.
3582 * misc/Makefile (headers): Added mntent.h.
3583 (routines): Added mntent.
3584 * misc/fstab.c: Rewritten using mntent functions.
3586 Mon Sep 11 14:00:14 1995 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
3588 * posix/glob.c (glob): Comment fix.
3590 Fri Sep 8 16:25:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3592 * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Declare the
3595 * conf/portability.h (NEED_INETADDR, NEED_INETATON): Define to 1,
3598 Fri Sep 8 16:32:12 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3600 * sysdeps/unix/sysv/linux/Implies,
3601 sysdeps/unix/sysv/linux/Makefile, sysdeps/unix/sysv/linux/Subdirs,
3602 sysdeps/unix/sysv/linux/accept.S, sysdeps/unix/sysv/linux/adjtime.c,
3603 sysdeps/unix/sysv/linux/adjtimex.S, sysdeps/unix/sysv/linux/bind.S,
3604 sysdeps/unix/sysv/linux/connect.S, sysdeps/unix/sysv/linux/direct.h,
3605 sysdeps/unix/sysv/linux/dl-machine.h, sysdeps/unix/sysv/linux/errnos.h,
3606 sysdeps/unix/sysv/linux/fork.S, sysdeps/unix/sysv/linux/gethostid.c,
3607 sysdeps/unix/sysv/linux/gethostname.C,
3608 sysdeps/unix/sysv/linux/getpeername.S,
3609 sysdeps/unix/sysv/linux/getpgid.S, sysdeps/unix/sysv/linux/getpgrp.S,
3610 sysdeps/unix/sysv/linux/getsockname.S,
3611 sysdeps/unix/sysv/linux/getsockopt.S, sysdeps/unix/sysv/linux/gtty.S,
3612 sysdeps/unix/sysv/linux/listen.S, sysdeps/unix/sysv/linux/local_lim.h,
3613 sysdeps/unix/sysv/linux/madvise.c, sysdeps/unix/sysv/linux/msgctl.c,
3614 sysdeps/unix/sysv/linux/msgget.c, sysdeps/unix/sysv/linux/msgrcv.c,
3615 sysdeps/unix/sysv/linux/msgsnd.c, sysdeps/unix/sysv/linux/pipe.S,
3616 sysdeps/unix/sysv/linux/poll.c, sysdeps/unix/sysv/linux/readv.c,
3617 sysdeps/unix/sysv/linux/recv.S, sysdeps/unix/sysv/linux/recvfrom.S,
3618 sysdeps/unix/sysv/linux/recvmsg.S, sysdeps/unix/sysv/linux/semctl.c,
3619 sysdeps/unix/sysv/linux/semget.c, sysdeps/unix/sysv/linux/semop.c,
3620 sysdeps/unix/sysv/linux/send.S, sysdeps/unix/sysv/linux/sendmsg.S,
3621 sysdeps/unix/sysv/linux/sendto.S, sysdeps/unix/sysv/linux/setegid.c,
3622 sysdeps/unix/sysv/linux/seteuid.c, sysdeps/unix/sysv/linux/sethostid.c,
3623 sysdeps/unix/sysv/linux/setpgid.c, sysdeps/unix/sysv/linux/setpgrp.c,
3624 sysdeps/unix/sysv/linux/setsid.S, sysdeps/unix/sysv/linux/setsockopt.S,
3625 sysdeps/unix/sysv/linux/settimeofday.S,
3626 sysdeps/unix/sysv/linux/shmat.c, sysdeps/unix/sysv/linux/shmctl.c,
3627 sysdeps/unix/sysv/linux/shmdt.c, sysdeps/unix/sysv/linux/shmget.c,
3628 sysdeps/unix/sysv/linux/shutdown.S,
3629 sysdeps/unix/sysv/linux/sigaction.S, sysdeps/unix/sysv/linux/signal.S,
3630 sysdeps/unix/sysv/linux/sigpending.S, sysdeps/unix/sysv/linux/sigset.h,
3631 sysdeps/unix/sysv/linux/sockaddrcom.h,
3632 sysdeps/unix/sysv/linux/socketpair.S, sysdeps/unix/sysv/linux/speed.c,
3633 sysdeps/unix/sysv/linux/statbuf.h, sysdeps/unix/sysv/linux/stty.S,
3634 sysdeps/unix/sysv/linux/syscall.h, sysdeps/unix/sysv/linux/sysconf.c,
3635 sysdeps/unix/sysv/linux/tcdrain.c, sysdeps/unix/sysv/linux/tcflow.c,
3636 sysdeps/unix/sysv/linux/tcflush.c, sysdeps/unix/sysv/linux/tcgetattr.c,
3637 sysdeps/unix/sysv/linux/tcsetattr.c,
3638 sysdeps/unix/sysv/linux/termbits.h, sysdeps/unix/sysv/linux/ualarm.c,
3639 sysdeps/unix/sysv/linux/ulimit.c, sysdeps/unix/sysv/linux/usleep.c,
3640 sysdeps/unix/sysv/linux/utsnamelen.h, sysdeps/unix/sysv/linux/vfork.c,
3641 sysdeps/unix/sysv/linux/wait.c, sysdeps/unix/sysv/linux/wait4.S,
3642 sysdeps/unix/sysv/linux/waitpid.c, sysdeps/unix/sysv/linux/writev.c:
3643 New Linux/ELF specific, architecture independent files.
3644 * sysdeps/unix/sysv/linux/i386/Dist,
3645 sysdeps/unix/sysv/linux/i386/Makefile,
3646 sysdeps/unix/sysv/linux/i386/brk.S,
3647 sysdeps/unix/sysv/linux/i386/fcntlbits.h,
3648 sysdeps/unix/sysv/linux/i386/fpu_control.c,
3649 sysdeps/unix/sysv/linux/i386/fpu_control.h,
3650 sysdeps/unix/sysv/linux/i386/fstat.S,
3651 sysdeps/unix/sysv/linux/i386/fxstat.S,
3652 sysdeps/unix/sysv/linux/i386/ieee_fpu.c,
3653 sysdeps/unix/sysv/linux/i386/init-first.S,
3654 sysdeps/unix/sysv/linux/i386/ipc.S,
3655 sysdeps/unix/sysv/linux/i386/lstat.S,
3656 sysdeps/unix/sysv/linux/i386/lxstat.S,
3657 sysdeps/unix/sysv/linux/i386/mknod.S,
3658 sysdeps/unix/sysv/linux/i386/mmap.S,
3659 sysdeps/unix/sysv/linux/i386/sbrk.S,
3660 sysdeps/unix/sysv/linux/i386/setfpucw.c,
3661 sysdeps/unix/sysv/linux/i386/signum.h,
3662 sysdeps/unix/sysv/linux/i386/socket.S,
3663 sysdeps/unix/sysv/linux/i386/stat.S,
3664 sysdeps/unix/sysv/linux/i386/syscall.S,
3665 sysdeps/unix/sysv/linux/i386/sysdep.S,
3666 sysdeps/unix/sysv/linux/i386/sysdep.h,
3667 sysdeps/unix/sysv/linux/i386/xmknod.S,
3668 sysdeps/unix/sysv/linux/i386/xstat.S:
3669 New Linux i386/ELF specific files.
3670 * sysdeps/unix/sysv/linux/sys/ipc_buf.h,
3671 sysdeps/unix/sysv/linux/sys/mman.h,
3672 sysdeps/unix/sysv/linux/sys/msq_buf.h,
3673 sysdeps/unix/sysv/linux/sys/sem_buf.h,
3674 sysdeps/unix/sysv/linux/sys/shm_buf.h,
3675 sysdeps/unix/sysv/linux/sys/socketcall.h,
3676 sysdeps/unix/sysv/linux/sys/timex.h:
3677 New Linux/ELF specific, architecture independent header files.
3678 * sysdeps/unix/sysv/sysv4/linux: Tree removed.
3680 Thu Sep 7 17:05:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3682 * stdlib/msort.c (msort_with_tmp): Fixed alignment test. B1 and
3683 B2 are always congruent; just test that B1 is aligned.
3685 Wed Sep 6 19:41:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3687 * elf/dl-lookup.c (_dl_lookup_symbol): Test WEAK_VALUE.s rather
3688 than WEAK_VALUE.a to see if a weak value has been set. A valid
3689 weak value may set WEAK_VALUE.a to 0.
3691 Fri Sep 1 16:16:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3693 * sysdeps/mach/hurd/i386/longjmp-ts.c: Use new array format for
3696 * libc-symbols.h (link_warning): Take new first arg SYMBOL; ask
3697 for a warning on references to that specific symbol, not the
3698 entire containing object file.
3699 (stub_warning): Pass symbol name to link_warning.
3700 * stdio/gets.c: Pass function name in link_warning invocation.
3702 * hurd/intr-msg.c: Treat apparent EINTR return from msg trap like
3703 MACH_SEND_INTERRUPTED. That indicates interrupt_operation was
3706 * stdlib/msort.c: Include memcopy.h.
3707 (msort_with_tmp): If operating on aligned op_t words, use direct word
3710 * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): Add
3713 Thu Aug 31 13:23:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3715 * sysdeps/unix/i386/brk.S [PIC]: Set __curbrk through the GOT.
3717 Rewrote i386 setjmp code in assembly, so as to avoid fighting
3718 with the compiler for the register values.
3719 * sysdeps/i386/setjmp.S, sysdeps/i386/__longjmp.S: New files.
3720 * sysdeps/i386/setjmp.c, sysdeps/i386/__longjmp.c: Files removed.
3721 * sysdeps/i386/jmp_buf.h [! _ASM] (__jmp_buf): Define as array of ints.
3722 [__USE_MISC || _ASM] (JB_*): New macros, for indices therein.
3723 (_JMPBUF_UNWINDS): Use JB_SP.
3725 Wed Aug 30 16:44:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3727 * sysdeps/mach/hurd/select.c: Deal with out of order replies
3728 during io_select request loop.
3729 Handle MACH_RCV_TIMED_OUT error from requests.
3730 * hurd/intr-msg.c: If the user passed the MACH_RCV_TIMEOUT option,
3731 distinguish MACH_RCV_TIMED_OUT from EINTR.
3733 * posix/glob.c (glob): Use realloc to extend strings for GLOB_MARK
3735 (glob_in_dir): Don't allocate extra byte here.
3737 * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
3738 Decrement the DT_RELSZ value for the skipped reloc.
3740 Tue Aug 29 12:35:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3742 * time/australasia: Updated data from ADO.
3744 Mon Aug 28 17:47:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3746 * dirent/dirent.h: Don't include <dirstream.h>.
3747 Instead, define DIR as typedef for (undefined) `struct __dirstream'.
3749 Fri Aug 25 12:12:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3751 * sysdeps/mach/hurd/dirstream.h: Define `struct __dirstream'
3753 * sysdeps/unix/bsd/dirstream.h: Likewise.
3754 * sysdeps/stub/dirstream.h: Likewise.
3755 * sysdeps/unix/dirstream.h: Likewise.
3756 * sysdeps/mach/hurd/telldir.c: Include "dirstream.h".
3757 * sysdeps/mach/hurd/seekdir.c: Likewise.
3758 * sysdeps/mach/hurd/opendir.c: Likewise.
3759 * sysdeps/mach/hurd/closedir.c: Likewise.
3760 * sysdeps/mach/hurd/readdir.c: Likewise.
3761 * sysdeps/unix/telldir.c: Likewise.
3762 * sysdeps/unix/seekdir.c: Likewise.
3763 * sysdeps/unix/rewinddir.c: Likewise.
3764 * sysdeps/unix/readdir.c: Likewise.
3765 * sysdeps/unix/opendir.c: Likewise.
3766 * sysdeps/unix/closedir.c: Likewise.
3767 * sysdeps/unix/bsd/telldir.c: Likewise.
3768 * sysdeps/unix/bsd/readdir.c: Likewise.
3769 * dirent/Makefile (headers): Remove dirstream.h.
3770 (distribute): Put it here instead.
3772 * sysdeps/mach/hurd/mmap.c: Fix inverted test of MAP_FIXED.
3774 * stdio/vfscanf.c (number): Allow field width to inhibit first
3775 digit after base detection.
3777 * stdio/vfprintf.c (vfprintf: %s): Never search past the limit
3778 specified by the precision.
3780 * grp/grpread.c (__grpscan): New function.
3781 * grp/grp.h (__grpscan): Declare it.
3782 * grp/getgrgid.c: Use __grpscan.
3783 * grp/getgrnam.c: Likewise.
3784 * pwd/pwdread.c (__pwdscan): New function.
3785 * pwd/pwd.h (__pwdscan): Declare it.
3786 * pwd/getpwnam.c: Use __pwdscan.
3787 * pwd/getpwuid.c: Likewise.
3789 Thu Aug 24 16:29:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3791 * sysdeps/mach/hurd/mmap.c: Treat (FLAGS & MAP_TYPE) == 0 like
3794 * hurd/thread-cancel.c: Return EINTR when called on self.
3795 * sysdeps/i386/elf/start.S (data_start): Define as weak alias for
3798 Tue Aug 22 16:49:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3800 * inet/netdb.h: Moved to resolv.
3801 * inet/Makefile (headers): Remove netdb.h.
3802 * resolv/Makefile (headers): Add netdb.h.
3803 * resolv/gethnamaddr.c, resolv/inet_addr.c, resolv/netdb.h,
3804 resolv/res_send.c: Updated from BIND-4.9.3-BETA26.
3806 * hurd/thread-cancel.c: If SS->cancel_hook is not null, call it before
3807 resuming the thread.
3808 * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel_hook'.
3810 * hurd/Makefile: Removed dep on hurd/signal.h for RPC stub objects.
3812 Mon Aug 21 16:37:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3814 * sysdeps/i386/dl-machine.h (elf_machine_rel): Grok R_386_NONE
3815 relocs, and do nothing. Why the linker generates them we may
3818 Thu Aug 17 16:18:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3820 * sysdeps/mach/hurd/Makefile: Don't elide sunrpc and manual from
3823 * sysdeps/mach/hurd/i386/intr-msg.h: New file.
3824 * hurd/intr-msg.c: Use INTR_MSG_TRAP macro from machine-dependent
3825 "intr-msg.h" for special syscall code, instead of i386-specific asm.
3826 * hurd/hurdsig.c: Use INTR_MSG_BACK_OUT macro from
3827 machine-dependent "intr-msg.h" before mutating thread state to
3830 * sysdeps/mach/hurd/i386/trampoline.c: If PC is inside
3831 _hurd_intr_rpc_mach_msg special syscall code, use real SP saved in
3834 * Makeconfig (link-libc): New variable; use shared library if
3838 * sysdeps/mach/hurd/fork.c (_hurd_fork_locks): Variable removed.
3839 Instead, declare with `symbol_set_declare'.
3840 (fork): Use symbol_set_* macros for _hurd_fork_locks.
3841 Use SS->thread instead of __mach_thread_self (). Suspend all
3842 other threads during task_create and port copying.
3844 Wed Aug 16 17:04:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3846 * hurd/intr-msg.c: Fixed calculation of syscall %esp.
3848 Tue Aug 15 12:26:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3850 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Remove `static'.
3852 * hurd/Makefile (sig): Add intr-msg.
3854 Mon Aug 14 16:51:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3856 * hurd/thread-cancel.c: New file.
3857 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): In
3858 rpc_wait case, frob mach_msg args to set timeout on receive.
3859 (_hurdsig_rcv_interrupted_p): Function removed.
3860 * sysdeps/mach/hurd/alpha/trampoline.c: Likewise.
3861 * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
3862 * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
3863 * hurd/intr-msg.c: New file.
3864 * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel'.
3865 (_hurdsig_rcv_interrupted_p): Declaration removed.
3866 (HURD_EINTR_RPC): Macro removed.
3867 (_hurd_longjmp_thread_state, _hurd_interrupted_rpc_timeout): Declare
3869 * hurd/intr-rpc.h: New file.
3870 * hurd/intr-rpc.defs: Just import intr-rpc.h.
3871 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): New variable.
3872 (interrupted_reply_port_location): Take new flag arg; only catch
3874 (abort_rpcs): Rename to _hurdsig_abort_rpcs; take same new flag arg.
3875 No longer use _hurdsig_rcv_interrupted_p; instead compare PC to
3876 &_hurd_intr_rpc_msg_in_trap. If before it, mutate state to simulate
3877 MACH_SEND_INTERRUPTED return; on it, interrupt the operation. All
3879 * hurd/hurd.h (hurd_thread_cancel, hurd_check_cancel): Declare these.
3880 * hurd/Makefile (distribute): Remove intr-rpc.awk.
3881 (sig): Add thread-cancel.
3882 (transform-user-stub, transform-user-stub-output): Variables removed.
3883 * sysdeps/mach/hurd/dl-sysdep.c: Change all RPCs from
3884 `__hurd_intr_rpc_*' to `__*'.
3885 (_hurd_intr_rpc_mach_msg): New function.
3886 (_hurd_thread_sigstate): Function removed.
3887 * sysdeps/mach/hurd/ioctl.c: Use _hurd_intr_rpc_mach_msg function,
3888 instead of __mach_msg inside HURD_EINTR_RPC macro.
3890 * sysdeps/generic/morecore.c [__GNU_LIBRARY__]: Declare `__sbrk'
3891 to take ptrdiff_t arg.
3893 * sysdeps/mach/hurd/fork.c: Remove _hurd_longjmp_thread_state decl.
3895 * sysdeps/mach/hurd/kill.c (kill_pid): Don't make `inline'.
3897 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_symbol,
3898 weak_alias): Use `extern' storage class.
3900 Wed Aug 9 14:25:35 1995 Miles Bader <miles@geech.gnu.ai.mit.edu>
3902 * sysdeps/mach/hurd/setuid.c (__setuid): Switch the port-type and
3903 port-count parameters to __auth_makeauth.
3904 * sysdeps/mach/hurd/setgid.c (__setgid): Ditto.
3906 Tue Aug 8 12:22:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3908 * hurd/sigunwind.c: Remove _hurd_longjmp_thread_state decl.
3910 * inet/netinet/tcp.h: New file, incorporated from 4.4BSD-Lite.
3912 Tue Aug 8 12:06:04 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu>
3914 * inet/netinet/in.h (IP_MULTICAST_TTL, IP_MULTICAST_LOOP,
3915 IP_MULTICAST_IP, IP_ADD_MEMBERSHIP, IP_DROP_MEMBERSHIP): New IP
3916 layer socket options.
3917 (IPPROTO_GGP): Delete obsolote protocol.
3918 (IPPROTO_IGMP): Add new protocol (with same value [2] as old GGP).
3919 (struct ip_mreq): New type.
3921 Mon Aug 7 14:04:36 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3923 * stdlib/strtol.c: Use #ifdef, not #if, for HAVE_LIMITS_H.
3925 * posix/glob.c (glob_in_dir): Allocate GLOB_MARK byte in case when
3926 (NFOUND == 0 && (FLAGS & GLOB_NOCHECK)).
3928 * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Return failure
3929 when __stdio_open fails with a code other than ENFILE or EMFILE.
3931 Fri Aug 4 16:01:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3933 * Makefile (headers): Added gnu-versions.h.
3935 Thu Aug 3 14:41:11 1995 Michael I. Bushnell <mib@duality.gnu.ai.mit.edu>
3937 * inet/netinet/in.h (IN_CLASSD, IN_EXPERIMENTAL, IN_BADCLASS): Use
3938 equality, not assignment, to test bitfields.
3940 Sat Jul 29 10:41:06 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
3942 * sysdeps/mach/hurd/sendto.c (sendto): Use the ifsock protocol to
3943 resolve AF_LOCAL addresses.
3945 * sysdeps/mach/hurd/accept.c (accept): If the protocol family
3946 can't tell us what an address means, just return a zero-length
3948 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Ditto.
3950 Fri Jul 28 15:29:11 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
3952 * sysdeps/mach/hurd/bind.c (bind): Don't use
3953 file_invoke_translator, as it doesn't work. Instead just lookup
3954 the translated node again, and hope we're not hit by any race
3957 Wed Jul 26 02:00:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3959 * csu/Makefile [$(elf)=yes] (have-initfini): Set to yes.
3960 [$(have-initfini)=yes]: Test this rather than $(elf) for crtstuff.
3961 [start-installed-name-rule]: If this is defined, elide rule for
3962 $(objpfx)$(start-installed-name).
3963 * csu/initfini.c (SECTION): New macro, different definitions for
3964 #ifdef HAVE_ELF and not.
3965 (_init, _fini): Use that macro.
3966 * sysdeps/unix/sysv/sco3.2.4/Makefile [$(subdir)=csu]
3967 (start-installed-rule, start-installed-name-rule): New variables;
3968 specify crt1.o, created by our own rule.
3969 ($(objpfx)crt1.o): New rule.
3970 * configure.in: Require autoconf 2.4.2 or later. Change all
3971 AC_CACHE_VAL uses to use new AC_CACHE_CHECK macro instead;
3972 prettify some messages.
3973 [$elf!=yes] (libc_cv_have_initfini): New test for `.init' and `.fini'
3975 * munch-tmpl.c [HAVE_INITFINI]: Call _init and atexit (_fini) in
3976 this case rather than #ifdef HAVE_ELF.
3977 * config.h.in (HAVE_INITFINI): New macro.
3978 * config.make.in (have-initfini): New variable, set by configure.
3980 * stdio/vfscanf.c (conv_error): Simplify expression to avoid
3981 "value computed is not used" warning.
3983 * Makeconfig (+gccwarn): Removed -Wconversion.
3985 * csu/initfini.c (GLOBAL): Macro removed.
3986 (_init, _fini): Always define globally.
3987 * csu/Makefile (crtstuff, initfini): Don't make crt[in]_s.o.
3989 * asia, backward, europe, leapseconds, southamerica: New data from
3992 * inet/Makefile (routines): Removed inet_addr.
3993 * inet/inet_addr.c: Moved to resolv/ subdirectory.
3994 * resolv/Makefile (routines): Added inet_addr.
3995 * resolv/inet_addr.c: Incorporated from BIND 4.9.3-BETA24 release.
3996 * resolv/gethnamaddr.c: Likewise.
3997 * resolv/getnetbyaddr.c: Likewise.
3998 * resolv/getnetbyname.c: Likewise.
3999 * resolv/getnetent.c: Likewise.
4000 * resolv/getnetnamadr.c: Likewise.
4001 * resolv/herror.c: Likewise.
4002 * resolv/nsap_addr.c: Likewise.
4003 * resolv/res_comp.c: Likewise.
4004 * resolv/res_debug.c: Likewise.
4005 * resolv/res_init.c: Likewise.
4006 * resolv/res_mkquery.c: Likewise.
4007 * resolv/res_query.c: Likewise.
4008 * resolv/res_send.c: Likewise.
4009 * resolv/resolv.h: Likewise.
4010 * resolv/sethostent.c: Likewise.
4011 * resolv/arpa/nameser.h: Likewise.
4012 * inet/netdb.h: Incorporated from BIND 4.9.3-BETA24 release.
4013 [__GNU_LIBRARY__]: Include <rpc/netdb.h> instead of repeating
4014 its declarations (and doing so only #ifdef sun!).
4015 * conf/portability.h (NEED_INETADDR, NEED_INETATON): New macros.
4017 * posix/sys/types.h [__USE_BSD] (__BIT_TYPES_DEFINED__): New macro.
4018 [__USE_BSD] [__GNUC__] (int64_t, u_int64_t, register_t): New typedefs.
4020 * malloc/memalign.c: Allocate (SIZE + ALIGNMENT - 1) and then trim
4023 * mach/shortcut.awk: Emit decls for RPC.
4025 * libc-symbols.h [GCC >= 2.7 && !ASSEMBLER] (weak_symbol,
4026 weak_alias, strong_alias): Define using GCC __attribute__ syntax.
4028 * Makerules ($(installed-libcs)): Depend on `lib' (only).
4030 Tue Jul 25 09:14:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4032 * sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int.
4034 * stdlib/strtol.c [_LIBC]: Define STDC_HEADERS.
4036 * sysdeps/unix/sysv/ftime.S: New file.
4038 * locale/locfile-parse.c (categories_write): Cast "" to char *.
4040 * io/fcntl.h [__OPTIMIZE__] (creat): Macro removed.
4042 * time/strftime.c: Use year modulo 100 for %y.
4044 * time/sys/timeb.h: Add __BEGIN_DECLS and __END_DECLS.
4046 * sysdeps/unix/snarf-ioctls (snarfexclude): Use two sed's instead
4047 of one, to work around bug in sunos4.1.2 sed.
4049 * stdio/vfprintf.c (vfprintf): For %s with precision spec, use
4050 memchr instead of strlen to limit search for NUL by precision.
4052 Mon Jul 24 03:13:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4054 * sysdeps/posix/pathconf.c: New file.
4056 Sat Jul 22 20:53:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4058 * sysdeps/unix/i386/sysdep.h (JUMPTARGET): Use ## to avoid space
4060 * sysdeps/mach/i386/sysdep.h (JUMPTARGET): New macro.
4061 * sysdeps/i386/bsd-_setjmp.S: Use JUMPTARGET macro in jmp insn.
4062 * sysdeps/i386/bsd-setjmp.S: Likewise.
4064 Sat Jul 22 19:58:54 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
4066 * inet/Makefile (routines): Added `ruserpass'.
4067 * inet/ruserpass.c: New file, from BSD Net-2 sources for the FTP
4068 client. Modified to remove the fourth arg AACCT. Do nothing for
4069 the `account' and `macdef' keywords. Other incidental changes
4070 because we are not in the FTP source tree.
4072 Sat Jul 22 01:56:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4074 * sysdeps/stub/init-posix.c: Removed stub warning.
4076 * Makefile (autoconf-it): Make it executable and unwritable.
4078 * configure.in (sysnames): Under --enable-debug-configure, spew
4081 * sysdeps/unix/i386/sysdep.h (JUMPTARGET): New macro; use name@PLT
4083 (PSEUDO): Use JUMPTARGET(syscall_error) in jump insn.
4084 * sysdeps/unix/i386/syscall.S: Use JUMPTARGET(syscall_error) in
4087 * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.h: Rewritten.
4088 * sysdeps/unix/sysv/sysv4/linux/i386/syscall.S: New file.
4089 * sysdeps/unix/sysv/sysv4/linux/i386/socket.S: Include
4090 <sys/socketcall.h>. Save %ebx in call-clobbered %edx instead of
4091 stack. Use JUMPTARGET(syscall_error) in jump insn.
4093 * Makeconfig (+gccwarn): Add -Wbad-function-cast -Wconversion.