]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
[thirdparty/glibc.git] / ChangeLog
1 Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2
3 * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
4 in case it wrote fewer than MAXDIGITS chars.
5
6 * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
7 newline from flushing full buffer in loop, fix test so no fflush is
8 done when last byte written exactly fills the buffer.
9
10 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
11
12 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
13 (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
14
15 * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
16 extracting _dl_rtld_map.l_addr.
17
18 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
19 weak.
20 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
21
22 * shlib-versions (*-*-*): Set libnss_db=1.
23
24 Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
25
26 * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
27
28 * rpm/template (%build): Use @prefix@ instead of always /usr.
29 Set up configparms only if @prefix@ is in fact /usr.
30 * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
31
32 * elf/Makefile: Add missing endif.
33
34 * nss/nss_files/files-ethers.c (ntohost): Fix db key.
35
36 * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
37 (DATABASE): Define this instead of DATAFILE.
38 * nss/nss_files/files-hosts.c: Likewise.
39 (hostbyname): Use LOOKUP_NAME macro.
40
41 * nss/nss_db/db-XXX.c: New file.
42 * nss/Makefile (services): Add db.
43 (libnss_db-inhibit-o): New variable.
44 (libnss_db-routines): New variable.
45 (distribute): Append db-XXX.c.
46 (libnss_db.so): Depend on libdb.so and libnss_files.so.
47 ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
48
49 * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
50 args, ignored.
51 (DATAFILE): New macro.
52 * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
53 "files-XXX.c".
54 * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
55 Pass db key args to DB_LOOKUP.
56 (DATAFILE): Macro removed.
57 (DATABASE): New macro replaces it, lacks "/etc/" prefix.
58 * nss/nss_files/files-service.c: Likewise.
59 * nss/nss_files/files-pwd.c: Likewise.
60 * nss/nss_files/files-proto.c: Likewise.
61 * nss/nss_files/files-grp.c: Likewise.
62 * nss/nss_files/files-ethers.c: Likewise.
63
64 * elf/linux-compat.c: File removed.
65 * elf/Makefile (distribute): Remove linux-compat.c.
66 (ld-linux.so.1): Remove target and associated variables.
67
68 * sunrpc/xdr.c: Remove malloc decl.
69 * sunrpc/portmap.c: Likewise.
70
71 * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro
72 casting abort to fn returning bool_t.
73
74 * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
75 the parser function.
76 [EXTERN_PARSER] (LINE_PARSER): Define to empty.
77 * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
78 * nss/nss_files/files-grp.c: Likewise.
79
80 * Makeconfig (BUILD_CC): If undefined, define to $(CC).
81
82 * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
83
84 * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
85 of ld.so so lookups for that soname find it.
86
87 * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
88 (resobjdir, LDLIBS-nss_dns.so): Variables removed.
89
90 * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
91 define parse_line function.
92 (parse_line): #define to _nss_files_parse_pwent and
93 add extern decl for that.
94
95 * nss/nss_files/files-XXX.c (internal_getent): Return
96 NSS_STATUS_TRYAGAIN for ERANGE error.
97
98 * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
99 of null, so next round returns null again instead of bombing. Fix
100 from drepper.
101
102 * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
103 Remove ; after `ENTDATA_DECL (data)'.
104 Truncate line at strpbrk (line, EOLSET "\n").
105 (ENTDATA_DECL): Put ; at end.
106 (MIDLINE_COMMENTS): Macro removed.
107 * nss/nss_files/files-ethers.c: Pass new argument.
108 * nss/nss_files/files-hosts.c: Likewise.
109 * nss/nss_files/files-network.c: Likewise.
110 * nss/nss_files/files-parse.c: Likewise.
111 * nss/nss_files/files-proto.c: Likewise.
112 * nss/nss_files/files-rpc.c: Likewise.
113 * nss/nss_files/files-service.c: Likewise.
114 * grp/fgetgrent.c: Likewise.
115 * pwd/fgetpwent.c: Likewise.
116 * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
117 fgetpwent.c already defines it.
118 * nss/nss_files/files-grp.c: Likewise.
119
120 * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
121 as well as any matching with l_libname. Fix DT_SONAME lookup to use
122 string table properly.
123
124 * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
125 invoked directly, and l_libname from that if PT_INTERP missing.
126 Set l_name from l_libname only if not set from argv.
127
128 * time/europe, time/northamerica: Updated from ADO 96i.
129
130 Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
131
132 * stdio-common/tst-ungetc.c: Include unistd.h.
133
134 * inet/Makefile (routines): Change getnetbypt to getnetbyad.
135
136 Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu>
137
138 * hurd/report-wait.c (describe_number): Make I unsigned long.
139
140 * login/login.c (login): Only Frob OLD->ut_type if getutline_r
141 actually found any entry.
142
143 * login/pututline_r.c (pututline_r): If not located after any
144 entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
145 Lock the file before stating.
146
147 Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
148
149 * nss/Makefile (databases): Change host to hosts.
150 * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
151
152 * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
153
154 * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
155
156 * string/string.h (strndupa): Pass missing arg to strnlen.
157
158 * inet/getnetbypt_r.c: Renamed to ...
159 * inet/getnetbyad_r.c: this; fixed function name.
160 * inet/getnetbypt.c: Renamed to ...
161 * inet/getnetbyad.c: this; fixed function name.
162
163 Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
164
165 * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
166 struct passwd.
167
168 Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
169
170 * login/login.c (login): Initialize DATA so that setutent_r will
171 actually do something.
172
173 Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
174
175 * resolv/res_hconf.c (strndup): Remove function.
176
177 * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
178 using ElfW() instead of Elf32_*.
179
180 * sysdeps/unix/sysv/linux/alpha/init-first.h,
181 sysdeps/unix/sysv/linux/m68k/init-first.h,
182 sysdeps/unix/sysv/linux/i386/init-first.h: New files.
183 * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
184 init-first.h to make abstract machine dependent parts of
185 initialization.
186
187 * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
188 error handling. It's safer that way.
189
190 * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
191 Fix by Richard Henderson.
192
193 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
194 typo/extraneous whitespace.
195
196 * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
197 determine what integer sizes we're dealing with.
198
199 Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
200
201 * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
202 check for signal zero, repair logical sense of test by
203 parenthesizing correctly.
204
205 * hurd/hurdsig.c (_hurd_internal_post_signal): In
206 check-for-pending signals code, release _hurd_siglock before
207 jumping to deliver_pending.
208
209 Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
210
211 * configure.in (config_machine): Make ELF the default even for
212 Linux/Alpha unless a configuration of the form *-*-linux*ecoff
213 is specified.
214
215 Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
216
217 * nss/nss_files/files-hosts.c (ENTDATA): Define it.
218 * nss/nss_files/files-parse.c (struct parser_data): Define entdata
219 member only #ifdef ENTDATA.
220 (ENTDATA_DECL): New macro.
221 (LINE_PARSER): Use it for entdata decl.
222 (parse_list): Find the space for LIST from DATA->linebuffer instead of
223 from the input LINE, which might not be writable buffer space.
224 (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
225 [ENTDATA] (parser_stclass): #define to `static inline'.
226 [!ENDATA] (parser_stclass): #define to empty.
227 [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
228 function is exported to -lnss_files users.
229
230 * string/strndup.c: Add missing arg.
231
232 * string/string.h (strndupa): Likewise.
233 * string/strndup.c (strndup): Always terminate the string.
234
235 Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
236
237 * stdio/Makefile (routines): Add vscanf.
238 * stdio-common/Makefile (routines): Remove vscanf.
239 * stdio-common/vscanf.c: Move to ...
240 * stdio/vscanf.c: here.
241
242 * rpm/Makefile (headers, install-lib, install-lib.so,
243 versioned, install-bin, install-sbin, install-data,
244 install-others): Add $(-VARIABLE).
245
246 Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
247
248 * nss/Makefile (databases): New variable.
249 (routines, libnss_files-routines): Use it.
250 (subdir-dirs): Compute from $(services).
251
252 * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
253 init_module, klogctl): Use EXTRA in the "caller" column so these get
254 added to unix-extra-syscalls and thus compiled in misc.
255
256 * string/Makefile (routines): Add strndup.
257 * string/strndup.c: New file.
258 * string/string.h: Declare strndup.
259 (strndupa): New macro.
260
261 * string/string.h: Declare __strdup.
262 * string/strdup.c: Deansideclized. Define __ name and weak alias.
263
264 * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
265
266 Thu Jun 27 23:43:22 1996 Richard Henderson <rth@tamu.edu>
267
268 * sysdeps/alpha/dl-machine.h (elf_machine_rela): The Alpha's
269 address-of operation and plt format conspire to require all
270 dynamic relocs to be resolved to actual symbols not plt entries.
271
272 Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
273
274 * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
275
276 * grp/initgroups.c (initgroups): De-ansi-fy.
277 Move declaration of NGROUPS and GROUPS outside #if so that
278 the code compiles for NGROUPS_MAX != 0.
279
280 * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
281 (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
282 ether_ntoa, ether_ntoa_r, and ether_ntoh.
283 * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
284 inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
285 inet/ether_ntoh.c: New files. Implementation of functions to
286 handle Ethernet address to host mapping.
287 * inet/netinet/ether.h: New file. Declare ether_* functions.
288 * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
289 compilation.
290 * nss/ethers-lookup.c: New file. Lookup function for ethers database.
291 * nss/Makefile (routines): Add ethers-lookup.
292 (libnss_files-routines): Add files-ethers.
293
294 * nss/getXXent_r.c: Don't define set*ent and end*ent function
295 with _r suffix.
296
297 * nss/nss_files/files-XXX.c (internal_endent): Don't reset
298 KEEP_STREAM every time called.
299 (_nss_files_end): Reset KEEP_STREAM here instead.
300 (internal_getent): If STREAM == NULL try to open instead of
301 signalling error.
302 Use cast to prevent warning.
303 Terminate read line in case the buffer is too small.
304
305 * nss/nss_files/files-ethers.c: New file. Implementation of
306 Ethernet adress<->hostname lookup through files interface.
307
308 * stdlib/mbstowcs.c: Define based on mbsrtowcs().
309 * stdlib/mbtowc.c: Define based on mbrtowc().
310 * stdlib/wcstombs.c: Define based on wcsrtombs().
311 * stdlib/wctomb.c: Define based on wcrtomb().
312
313 * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
314 unexpected_sizes_in_xdr_u_int.
315
316 * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration
317 of `struct ether_addr'.
318 * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific
319 declaration of `struct ether_addr'.
320
321 * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
322 * wcsmbs/mbsrtowcs.c: Ditto.
323 * wcsmbs/wcrtomb.c: Ditto.
324 * wcsmbs/wcsrtombs.c: Ditto.
325
326 * wcsmbs/mbsinit.c: Prepare for PS being NULL.
327
328 Wed Jun 26 13:19:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
329
330 * hurd/get-host.c <fcntl.h>: New include.
331 * hurd/set-host.c <fcntl.h>: New include.
332 (_hurd_set_host_config): Include NEW in args to dir_link.
333 Return NWROTE, not NREAD.
334
335 * sysdeps/mach/hurd/getcwd.c
336 (_hurd_canonicalize_directory_name_internal): Don't deallocate
337 DOTID & DOTDEVID until we're finished with them (we need to keep
338 them at least until we've fetched the next level of id ports, so
339 that mach will be able to use the same name if they're the same).
340 Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
341 jumps to errlose, for those places where such cleanup is needed.
342
343 Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
344
345 * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
346
347 Move DB code into separate -ldb library.
348 * db/Makefile (extra-libs): New variable, list libdb.
349 (routines): Renamed to libdb-routines.
350 * shlib-versions: Add libdb=2.
351
352 * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
353 * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
354
355 * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
356 of strncasecmp. Extend syntax to grok [!foo=bar].
357
358 * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
359 weak alias.
360 * string/string.h: Declare __strncasecmp.
361
362 * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
363 (service_alias): Variable removed.
364 (nss_parse_service_list): New function, broken out of nss_getline.
365 Remove alias conversion; we will just use symlinks.
366 (__nss_database_lookup): Take new string arg DEFCONFIG.
367 If no entry exists, make one with service list parsed from that.
368 * nss/nsswitch.h: Update protocol for __nss_database_lookup.
369 * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
370 (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
371
372 * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group
373 list size.
374
375 * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
376
377 Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com>
378
379 * locale/programs/locale.c (long_options): Short form of
380 --version option is `-V'.
381 (main): Recognize `-V' as option, not `-v'.
382 Call `usage' instead of printing error message for illegal
383 option.
384 (usage): Document `-V'.
385
386 Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu>
387
388 * sysdeps/mach/hurd/getcwd.c
389 (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
390 THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
391
392 Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
393
394 * inet/getrpcent.c: Fix macros.
395 * inet/getrpcent_r.c: Fix macros.
396
397 * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
398
399 * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
400
401 Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
402
403 * catgets/gencat.c (write_out): Use %Zu to print variables of type
404 size_t.
405 * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
406 cast it to (unsigned long) to make it work both on 32 and 64
407 bit architectures.
408
409 Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
410
411 * locale/Makefile (distribute): Add `programs/' prefix to all
412 files in that directory.
413
414 * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
415 subdir' works.
416
417 * MakeTAGS (sources, headers): Make them simply expanded variables
418 so that all-dist is expanded before it is changed.
419
420 Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
421
422 * Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
423 * Makefile (subdirs): Remove crypt.
424 * crypt: Directory removed. It will be made an independent library
425 distribution.
426
427 * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
428
429 * inet/getrpcent_r.c (DATABASE_NAME): New macro.
430
431 * inet/getrpcbynumber.c (BUFLEN): New macro.
432
433 * configure.in (--no-whole-archive check): Remove backslashes in cmd.
434
435 * Makefile (headers): Add libc-lock.h.
436 * sysdeps/stub/libc-lock.h: New file.
437
438 * inet/getrpcbynumber.c: Remove _r typo.
439
440 * elf/dl-load.c (_dl_map_object): Fix typo in last change.
441
442 * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
443 after the first!
444
445 * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
446 or doesn't mention DATABASE, use an internal default equivalent to
447 "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
448 (nss_lookup_function): Call nss_new_service as needed.
449 (nss_parse_file): Don't bother calling nss_new_service here.
450
451 * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
452 * pwd/fgetpwent.c: Likewise.
453
454 * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
455 * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
456 * malloc/malloc-size.c: New file.
457 * malloc/malloc-walk.c: New file.
458
459 * malloc/malloc-find.c (malloc_find_object_address): Return null if
460 PTR is outside the heap.
461
462 * elf/dl-load.c (_dl_map_object): If the requested name matches the
463 soname of a loaded object, use that object.
464
465 Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
466
467 * Makefile (subdirs): Add nss.
468
469 * inet/Makefile (routines): Add getrpcent, getrpcbyname,
470 getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
471 * inet/getrpcbynumber_r.c: New file.
472 * inet/getrpcbynumber.c: New file.
473 * inet/getrpcbyname.c: New file.
474 * inet/getrpcbyname_r.c: New file.
475 * inet/getrpcent_r.c: New file.
476 * inet/getrpcent.c: New file.
477 * nss/rpc-lookup.c: New file.
478 * nss/nss_files/files-rpc.c: New file.
479 * nss/Makefile (routines): Add rpc-lookup.
480 (libnss_files-routines): Add files-rpc.
481 * sunrpc/Makefile (routines): Remove getrpcent.
482 * sunrpc/getrpcent.c: File removed.
483
484 * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
485 non-null on entry.
486
487 * Makeconfig (rpath-link): Add $(nssobjdir).
488 (nssobjdir): New variable.
489
490 * Makerules: Move shared library building before objects rules, so
491 versions are known before extra-lib.mk gets included.
492 * extra-lib.mk (lib-noranlib): Depend on the shared object too.
493
494 * pwd/getpwuid.c: Rewritten using nss.
495 * pwd/getpwnam.c: Likewise.
496 * pwd/getpwent.c: Likewise.
497 * grp/getgrnam.c: Likewise.
498 * grp/getgrgid.c: Likewise.
499 * grp/getgrent.c: Likewise.
500 * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
501 * pwd/getpwent_r.c: New file.
502 * pwd/getpwnam_r.c: New file.
503 * pwd/getpwuid_r.c: New file.
504 * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
505 * grp/getgrnam_r.c: New file.
506 * grp/getgrgid_r.c: New file.
507 * grp/getgrent_r.c: New file.
508 * grp/Makefile (routines): Remove grpopen, grpread.
509 * pwd/Makefile (routines): Remove pwdopen, pwdread.
510 * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
511
512 * pwd/fgetpwent.c: Rewritten using files-parse.c.
513 * grp/fgetgrent.c: Likewise.
514
515 * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
516 * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
517 * nss/nss_files/files-grp.c: New file.
518 * nss/nss_files/files-pwd.c: New file.
519
520 * nss/Makefile (subdir-dirs): New variable; use it in vpath.
521
522 * nss/nss_files/files-parse.c: New file.
523 * nss/nss_files/files-XXX.c: New file.
524 * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
525 nss/nss_files/files-service.c, nss/nss_files/files-network.c:
526 Rewritten using them.
527
528 * nss/Makefile (libnss_files-routines): Remove files-host.
529 Add files-hosts, files-grp, files-pwd.
530
531 * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
532
533 Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
534
535 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
536 A .plt entry now loads the .rela.plt offset directly rather
537 than making us calculate it.
538
539 Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
540
541 * time/Makefile ($(installed-localtime-file) rule): Do
542 $(make-target-directory) first.
543
544 * resolv.h: Fix wrapper for resolv/resolv.h.
545
546 * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
547 Compile dummy file and pass -nostdlib -nostartfiles so as not to
548 require installed libraries.
549
550 * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
551 libnss_dns=1.
552
553 Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
554
555 * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
556 and mapv4v6hostent.h.
557 (routines): Move res* and gethnamaddr into libresolv-routines.
558 (libresolv-routines): New variable, put them there.
559 (extra-libs): New variable, list libresolv.
560 (CPPFLAGS): Add -D for get*by* to res_get*by*.
561
562 * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
563
564 * inet/herrno.c: New file.
565
566 * resolv/res_init.c: Remove res_hconf calls.
567
568 * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
569 nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
570 nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
571 nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
572 nss/service-lookup.c: New files. Implementation of name
573 service switch, following the approach in Solaris.
574 Interface specification and general structure inspired by Peter
575 Eriksson <pen@lysator.liu.se>.
576 * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
577 nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
578 Implementation of libnss_files.so module for file based databases
579 in NSS service.
580 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
581 if libnss_dns.so module for DNS name lookup in NSS service.
582
583 * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
584 inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
585 Changed to serve as interface to NSS.
586 * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
587 inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
588 inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
589 inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
590 inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
591 inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
592 inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
593 interfaces to NSS, including reentrant functions.
594
595 * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
596 resolv/sethostent.c: Removed: Obsoleted by NSS.
597
598 * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
599 gethnamaddr.c. These private functions are now used in more
600 than one file.
601
602 * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
603
604 Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
605
606 * rpm/Makefile ($(config)): Make sure the word list in the for
607 loop is syntactically non-empty.
608
609 Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
610
611 * Version 1.92 test release.
612
613 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
614
615 * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
616 to klogctl to match prototype in sys/klog.h.
617
618 * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
619 * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
620
621 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
622 Remove. Code is now part of __getcwd again. The old function
623 never really worked for anything but THISDIR==".".
624
625 * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
626 only when building ELF version of library.
627
628 * libio/libioP.h (_IO_vscanf): Add prototype.
629
630 * posix/unistd.h (syscall): Change sysno arg and return value
631 to int long.
632
633 Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
634
635 * version.h (VERSION): Updated to 1.92.
636
637 * misc/Makefile (headers): Add ar.h.
638 * misc/ar.h: New file.
639
640 * config.make.in (BUILD_CC): New variable.
641 * configure.in: Check for BUILD_CC if $host != $build.
642
643 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
644
645 * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
646 (stamp$o files): New targets, create them empty, no deps.
647
648 * rpm/template (Source): New field.
649 (%prep, %build, %install): New sections.
650 (%files): Add %doc FAQ NEWS NOTES README.
651 * rpm/rpmrc (builddir): Removed.
652
653 Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
654
655 * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
656 guessing to not assume p_vaddr of first load cmd is zero.
657
658 * sysdeps/sparc/elf/start.S: New file.
659 * sysdeps/sparc/dl-machine.h: New file.
660
661 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
662 only for ?s, not for *s. Fix from Chet Ramey.
663
664 Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
665 * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
666 Use __{BEGIN,END}_DECLS.
667 (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
668 * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
669 New macros, moved here from sysdeps/gnu/utmpbits.h.
670 * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
671 * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
672 * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
673 Use sizeof instead of UT_*SIZE.
674 * login/logwtmp.c: Likewise.
675
676 * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
677
678 * version.c (banner): Add trailing newline.
679
680 * login/utmp.h: Declare login_tty.
681
682 Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
683
684 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
685 Changed to a 12-byte PLT entry to remove dependency on $gp.
686 Take a new got_addr parameter.
687 (elf_machine_rela): Pass the new parameter.
688 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
689 (RTLD_START): Do normal linkage with program entry.
690
691 Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
692
693 * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
694
695 * hurd/getuids.c (getuids): New weak link to __getuids.
696
697 Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
698
699 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
700 __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
701 argument.
702 Rename nested function lookup to lookup_op.
703 (__file_name_lookup, __file_name_lookup_under):
704 Pass 0 for lookup arg to __hurd_file_name_lookup.
705 (__file_name_split): Likewise for __hurd_file_name_split.
706 * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
707 Rename nested function lookup to scan_lookup.
708 (file_name_path_lookup): Pass 0 for lookup arg to
709 hurd_file_name_path_lookup.
710 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
711 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
712 __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
713 Add LOOKUP argument.
714 * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
715 __hurd_file_name_lookup.
716
717 Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
718
719 * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
720 up a huge list just to discard most of it.
721
722 * configure.in (sysnames): Avoid fgrep by using the case shell
723 builtin.
724
725 * Makeconfig (config.status): Fix dependency on Implies files.
726
727 Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
728
729 * math/Makefile (distribute): Add ieee-math.c.
730
731 Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
732
733 * locale/codeset_name.c: New file. Provide function for information
734 about currently used character set.
735 * locale/Makefile (routines): Add codeset_name.
736 * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
737 * locale/localeinfo.h: Change magic number because of incompatible
738 change.
739 * locale/C-ctype.c: Add initializer for new field `codeset_name'.
740 * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
741
742 * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
743 name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'.
744
745 * locale/setlocale.c (setlocale): Initialize local variables to
746 prevent warnings.
747
748 Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com>
749
750 * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
751
752 * locale/programs/locale.c: Include string.h.
753
754 * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
755 (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
756 appropriate sign-extension is performed on machines with
757 sizeof(long) > 4.
758
759 * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
760 sizeof(int)<sizeof(long), we need to go through a temporary
761 variable.
762
763 * locale/programs/ld-numeric.c: Include <alloca.h>
764
765 * libio/stdio.h (__libc_fatal): Add prototype.
766
767 * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
768 in efect.
769
770 * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
771 volatile to avoid "might get clobbered by longjmp" warning.
772
773 * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
774 unless _LOOSE_KERNEL_NAMES is in effect (which, with high
775 probability is a sure loser).
776 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
777
778 * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
779 * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
780
781 * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
782 to be Linux FSSTND compliant.
783
784 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
785
786 * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
787
788 * sysdeps/unix/sysv/linux/alpha/sysdep.S,
789 sysdeps/unix/sysv/linux/alpha/brk.S,
790 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
791 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
792 sysdeps/unix/sysv/linux/alpha/llseek.S,
793 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
794 sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
795 __syscall_error to avoid intruding application name space.
796
797 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
798 to SYS_get?id so that syscall stubs in sysdeps/unix define
799 these syscalls in terms of getxpid/getxuid/getxgid.
800
801 * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
802 sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
803 sysdeps/unix/execve.S, sysdeps/unix/fork.S,
804 sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
805
806 * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
807 (PSEUDO_END): Rename END() to PSEUDO_END().
808
809 * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
810 to PSEUDO_END to improve branch-prediction. Include .frame
811 directive to make syscalls debugabble.
812 (PSEUDO_END): New macro.
813
814 * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
815 sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
816 latter is illegal under DEC Unix.
817
818 * sysdeps/unix/alpha/sysdep.S: Renamed from
819 sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1
820 as well.
821 * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
822 EWOULDBLOCK -> EAGAIN mapping was unnecessary since
823 EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
824
825 * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
826 address register in the .frame directive.
827
828 * sysdeps/alpha/copysign.c: Remove.
829
830 * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
831 avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
832
833 * errno.h: Move __END_DECLS to correct place to make file
834 compilable under c++.
835
836 * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define
837 d_ino only if <direntry.h> hasn't defined d_fileno.
838
839 * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
840 arguments to weakext to make .weakext detection work on ECOFF systems.
841
842 * FAQ: Add Linux/Alpha to list of supported platforms. Mention
843 that _validuser() has been replaced by __ivaliduser().
844
845 Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com>
846
847 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
848 as unsigned long, not as int (to avoid incorrect int->long
849 promotion).
850
851 Tue Jun 18 17:56:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
852
853 * Version 1.91 test release.
854
855 * Makerules ($(common-objpfx)distinfo-$(subdir)): Change target from
856 distinfo to this.
857 (distinfo): Make phony target depending on that.
858 (TAGS, po/%.pot, dist): Change deps.
859 (common-clean): Remove that file.
860 * rpm/Makefile (distinfo): Change names.
861
862 * rpm/Makefile (clean): New target.
863
864 * stdlib/test-canon.c: New test program contributed by David Mosberger.
865 * stdlib/Makefile (tests): Add test-canon.
866 * stdlib/canonicalize.c: Rewritten by David Mosberger.
867
868 Mon Jun 17 17:53:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
869
870 * mach/Machrules (%_server.c %_server.h rule): Remove gratuitous
871 mention of $< in mig cmd. Thanks to Shantanu Goel.
872
873 * sysdeps/mach/hurd/brk.c (___brk_addr): Define as weak alias for
874 _hurd_brk.
875
876 * libio/stdio.h [__USE_SVID]: Declare tempnam.
877
878 Fri Jun 14 19:28:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
879
880 * sysdeps/unix/sysv/linux/syscalls.list: Add swapon with two
881 parameters.
882
883 Wed Jun 12 20:40:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
884
885 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix access to
886 _dl_default_scope.
887
888 Sun Jun 16 03:22:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
889
890 * sysdeps/stub/elfclass.h: New file.
891
892 * Make-dist (subdir): Make empty value really empty.
893
894 * version.h (VERSION): Update to 1.91.
895
896 * hurd/hurdinit.c (map0): Remove [!PIC] conditional.
897
898 * shlib-versions (*-*-*): Add libutil=1.
899
900 * rpm/Makefile (install-lib): Add libc.a et al.
901 (install-others): Only add libc.so if $(build-shared) is yes.
902
903 * math/Makefile (install-lib): New variable, list libieee.a.
904 (non-lib.a): Likewise.
905 (extra-objs): Likewise, and ieee-math.o.
906 ($(objpfx)libieee.a): New target, link to ieee-math.o.
907 * math/ieee-math.c: New file.
908 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]: Remove setfpucw
909 and libieee.a stuff.
910 * sysdeps/unix/sysv/linux/ieee-fpucw.c: File removed.
911 * sysdeps/unix/sysv/linux/i386/ieee_fpu.c: File removed.
912
913 * sysdeps/unix/sysv/Makefile (sysdep_headers): Make append of termio.h
914 and rule for it conditional on termio.h not already being in
915 sysdep_headers.
916
917 * rpm/Makefile (install-others) [libc.so-version]: Get libc.so from
918 $(libdir), only the versioned named from $(slibdir).
919 (instfiles): New variable.
920 (glibc-$(version).$(config).rpm): New target. Run rpm -bb.
921 * rpm/rpmrc: New file. A third of the options controlling rpm can
922 only be given here (another third is on the command line, and a third
923 cannot be specified in any way shape or form).
924
925 Sun Jun 16 02:44:22 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
926
927 * rpm/template: New file.
928 * rpm/Makefile: New file.
929
930 * Makeconfig (sysdep-configures): Remove empty variable.
931
932 * Makerules (distinfo-vars): Write defns for $(install-lib.so) and
933 $(versioned).
934
935 * manual/Makefile (subdir_%): Add new rule with no deps, secondary to
936 to rule w/dep on %, with no-op commands.
937
938 * Makerules (subdir_distinfo): New phony target; depend on distinfo.
939 * Makefile (rpm/%): New rule.
940 (+subdir_targets): Add subdir_distinfo.
941
942 Sun Jun 16 00:40:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
943
944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add
945 fpu_control.h here.
946
947 * time/Makefile ($(installed-localtime-file)): If target exists, do
948 nothing but print a message; if not, make it an absolute symlink.
949
950 * time/tzset.c (__tzset): After stripping leading :, call
951 __tzfile_read on TZ even if it's empty or null.
952 * time/tzfile.c (__tzfile_read): Use "Universal" if passed "".
953
954 Sat Jun 15 18:13:43 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
955
956 * hurd/Makefile (routines): Add get-host, set-host.
957 (distribute): Add hurdhost.h.
958 * hurd/hurdhost.h: New file.
959 * sysdeps/mach/hurd/gethostname.c: Use _hurd_get_host_config.
960 * sysdeps/mach/hurd/gethostid.c: Likewise.
961 * sysdeps/mach/hurd/sethostname.c: Use _hurd_set_host_config.
962 * sysdeps/mach/hurd/sethostid.c: Likewise.
963 * hurd/get-host.c: New file.
964 * hurd/set-host.c: New file.
965
966 * math/Makefile (headers): Add fpu_control.h.
967 (aux): New variable, list fpu_control and setfpucw.
968 * sysdeps/generic/fpu_control.c: New file.
969 * sysdeps/stub/fpu_control.h: New file.
970 * sysdeps/unix/sysv/linux/m68k/fpu_control.h: Moved to ...
971 * sysdeps/m68k/fpu_control.h: here.
972 * sysdeps/unix/sysv/linux/i386/fpu_control.h: Moved to ...
973 * sysdeps/i386/fpu_control.h: here.
974 * sysdeps/unix/sysv/linux/alpha/fpu_control.h: Moved to ...
975 * sysdeps/alpha/fpu/fpu_control.h: here. Fixed copyright.
976 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove
977 setfpucw, fpu_control.
978 * sysdeps/unix/sysv/linux/alpha/fpu_control.c: File removed.
979 * sysdeps/unix/sysv/linux/setfpucw.c: Moved to ...
980 * sysdeps/generic/setfpucw.c: here.
981 (__fpu_control): Variable removed.
982 (__setfpucw): Use SET even if zero.
983
984 * elf/dl-deps.c (_dl_map_object_deps): Set MAP's mark bit before loop.
985 Set mark bits of deps as opened, instead of as scanned.
986
987 * elf/rtld.c (dl_main): Remove _dl_rtld_map from chain unconditionally.
988 Then if it has a nonzero l_opencount, add it back in search order.
989
990 * elf/dl-load.c (_dl_map_object): Don't use _dl_loaded's DT_RPATH if
991 it ain't got one!
992
993 * sysdeps/unix/sysv/linux/Dist: Add sys/klog.h.
994
995 * elf/dl-open.c (_dl_open): Remove PARENT argument, pass null.
996 * elf/link.h: Update prototype.
997 * elf/dl-load.c (_dl_map_object): If dependents' DT_RPATHs don't find
998 NAME, try the DT_RPATH of the executable itself if dynamic.
999 * elf/dlopen.c (dlopen): Don't pass first arg to _dl_open.
1000
1001 * elf/dl-load.c (_dl_map_object): Exit DT_RPATH checking loop when an
1002 open succeeds.
1003
1004 * Makerules (build-shlib): Give -L opts for each elt of $(rpath-link).
1005
1006 * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): Variable removed.
1007 (rpath-link): Append to this instead.
1008
1009 Fri Jun 14 01:51:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1010
1011 * version.c (banner): New static const variable, complete version
1012 banner text.
1013 (__libc_print_version): Use it, and use __write instead of printf.
1014
1015 * configure.in (sysnames): Don't cache the value, because it
1016 depends only on libc sources. Merge uniquifying third pass into
1017 Implies/parent expansion second pass. Report each unique name as
1018 it is added in partial report string, terminated when finished.
1019
1020 * Makeconfig (sysdep_dir): Move defn before config.status rule that
1021 expands it.
1022 (sysdep-configures): Variable removed.
1023 (config.status): Use its contents directly, tighten up a bit, and
1024 include Implies files.
1025
1026 * elf/dl-open.c (_dl_open) [PIC]: Set PARENT to _dl_loaded if null.
1027
1028 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Make a symlink.
1029
1030 Thu Jun 13 14:29:56 1996 Miles Bader <miles@gnu.ai.mit.edu>
1031
1032 * hurd/hurdsig.c (_hurd_internal_post_signal): Rename `deliver:'
1033 label to `deliver_pending:' to match goto.
1034
1035 Thu Jun 13 00:02:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1036
1037 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill):
1038 Add comment.
1039
1040 * elf/rtld.c (dl_main): Close _dl_zerofd after mapping deps.
1041
1042 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Define mcount as
1043 weak alias for _mcount.
1044 * sysdeps/alpha/_mcount.S (mcount): Define as weak alias.
1045
1046 * elf/dl-lookup.c (_dl_lookup_symbol): If no value and *REF is
1047 null, consider it a strong reference and give the error.
1048
1049 Wed Jun 12 15:52:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1050
1051 * elf/dl-open.c (_dl_open): Correctly terminate relocating loop
1052 after relocating NEW when it's the only new object.
1053
1054 * elf/dl-init.c (_dl_init_next): When out of initializers, set
1055 _r_debug.r_state to RT_CONSISTENT and call _dl_debug_state just
1056 before return.
1057
1058 * elf/rtld.c (dl_main): Move _dl_debug_initialize call after
1059 relocation. Call it unconditionally and only fill in DT_DEBUG
1060 if it's present. Then call _dl_debug_state with r_state RT_ADD
1061 before running initializers.
1062
1063 * elf/dl-open.c (_dl_open): Call _dl_debug_initialize and then call
1064 _dl_debug_state with r_state RT_ADD before running initializers
1065 * elf/dl-close.c (_dl_close): Call _dl_debug_state with r_state
1066 RT_DELETE before running finalizers and with RT_CONSISTENT just
1067 before return.
1068
1069 * elf/Makefile (dl-routines): Add dl-debug.
1070 * elf/dl-debug.c: New file.
1071 * elf/rtld.c (_dl_r_debug): Rename to _r_debug and move to dl-debug.c.
1072 (_dl_r_debug_state): Rename to _dl_debug_state and likewise move.
1073 (dl_main): Use _dl_debug_initialize.
1074 * elf/link.h: Fix name to _dl_debug_state in decl.
1075 (_dl_debug_initialize): Declare new function from dl-debug.c.
1076 (_r_debug): Declare it.
1077
1078 * Makerules (distinfo-vars): Add install-{lib,data,bin,sbin,others}.
1079 In distinfo set $(subdir)-VAR and then set VAR to $($(subdir)-VAR).
1080
1081 * Makeconfig (rpath-link): New variable; add $(elfobjdir).
1082 (default-rpath): Use it.
1083 (built-program-cmd): Use it in LD_LIBRARY_PATH.
1084
1085 * Makeconfig (sysdep-configures): Prepend $(sysdep_dir) to names tried.
1086
1087 * sysdeps/unix/Dist: Add make-syscalls.sh.
1088
1089 * misc/Makefile (headers): Add sys/swap.h.
1090 * posix/unistd.h: Remove decls for swapon, swapoff.
1091 * sysdeps/generic/sys/swap.h: New file.
1092 * sysdeps/unix/sysv/linux/sys/swap.h: New file.
1093
1094 * sysdeps/unix/sysv/linux/gnu/types.h: Remove temporary hack #define
1095 of __kernel_fsid_t. It is correctly defines in <linux/types.h> now.
1096
1097 Tue Jun 11 23:23:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1098
1099 * Makerules (LDFLAGS-c.so): Use __libc_main instead of
1100 __libc_print_version as entry point for shared object.
1101 * version.c [HAVE_ELF] (__libc_main): New function.
1102
1103 * elf/dl-load.c (_dl_map_object_from_fd): Relocate l_entry with the
1104 load address.
1105
1106 Tue Jun 11 19:13:04 1996 Richard Henderson <rth@tamu.edu>
1107
1108 * sysdeps/alpha/dl-machine.h: New file.
1109
1110 * elf/dl-close.c: Include <string.h> for memcpy.
1111 * elf/dl-lookup.c: Same.
1112
1113 * elf/elf.h: Add Elfxx_Symndx for symbol indices.
1114 * elf/dl-lookup.c (_dl_lookup_symbol): Use it.
1115 (_dl_setup_hash): Use it.
1116 * elf/link.h (struct link_map): Use it.
1117
1118 * elf/rtld.c (_dl_start): Don't rely on pointer-to-first-arg hack
1119 for getting the argc/argv/envp block. Instead, make it the argument.
1120 sysdeps/i386/dl-machine.h (RTLD_START): Do that.
1121 sysdeps/m68k/dl-machine.h (RTLD_START): Same.
1122
1123 * shlib-versions: Add version numbers for alpha-linux. To avoid
1124 user confusion, make them the same as i386-linux.
1125
1126 * sysdeps/alpha/Makefile [subdir elf]: Add -mno-fp-regs to
1127 sysdep-CFLAGS so that _dl_runtime_resolve doesn't have to save them.
1128 Add -mbuild-constants to CFLAGS-rtld.c to that we can bootstrap
1129 without using literal data.
1130
1131 * sysdeps/generic/dl-sysdep.c: Include <string.h> for memcpy.
1132 Finish Elf32 -> ElfW migration.
1133
1134 Tue Jun 11 15:09:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1135
1136 * Makerules (elfobjdir): Use $(objdir) if set, even in elf subdir.
1137
1138 * elf/Makefile (routines): Remove init-first.
1139 * csu/Makefile (routines): New variable; put it here instead.
1140
1141 * config.make.in (CFLAGS): New variable.
1142
1143 * io/sys/stat.h (S_ISLNK, S_ISSOCK): Make conditional on __USE_BSD,
1144 not __USE_GNU.
1145 * string/string.h (strncasecmp): Likewise.
1146
1147 * elf/Makefile (lib-noranlib): Move rule adding deps for ld.so et al
1148 to after `include ../Rules', so $(rtld-installed-name) is defined.
1149
1150 * string/basename.c (basename): Cast FILENAME to char * for return.
1151
1152 * Makerules ($(libdir)/libc.so): Put $(rtld-installed) name between
1153 libc.so and libc.a in the deps.
1154
1155 * elf/Makefile ($(objpfx)$(rtld-installed-name)): New target to make
1156 link to ld.so if that is not the installed name.
1157 (lib-noranlib): Depend on the installed name in the build directory
1158 instead of on ld.so.
1159
1160 * Makeconfig (link-libc): Include $(elfobjdir)/$(rtld-installed-name)
1161 between libc.so and libc.a, because with libc.so's DT_NEEDED for ld.so
1162 ld searches libc.a before ld.so (is that an ld bug?).
1163 Add $(elfobjdir) to -rpath-link.
1164
1165 * Makerules (elfobjdir): Define as . when $(subdir) is elf.
1166
1167 * sysdeps/i386/dl-machine.h (elf_machine_rel): In R_386_32 case when
1168 relocating _dl_rtld_map, subtract SYM's value from final reloc value,
1169 but don't change *RELOC_ADDR before calling *RESOLVE, because it might
1170 call the function we are relocating!
1171
1172 * string/basename.c: New file.
1173 * string/Makefile (routines): Add basename.
1174
1175 Mon Jun 10 06:14:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1176
1177 * Makerules ($(common-objpfx)libc.so): Depend on $(elfobjdir)/ld.so.
1178
1179 * elf/dl-close.c: New file.
1180 * elf/link.h: Declare _dl_close.
1181 * elf/Makefile (routines): Add dl-close.
1182 * elf/dlclose.c (dlclose): Use _dl_close.
1183
1184 * elf/Makefile ($(objpfx)librtld.so): Remove libelf from deps.
1185
1186 * elf/dl-runtime.c (_dl_global_scope): New variable.
1187 (_dl_object_relocation_scope): New function.
1188 (fixup): Use it.
1189 * elf/rtld.c (dl_main): Use it.
1190 * elf/dl-open.c (_dl_open): Use it. If (MODE & RTLD_GLOBAL), set the
1191 l_global bit and append the new map to _dl_global_scope.
1192 * elf/link.h: Declare _dl_global_scope, _dl_global_scope_alloc,
1193 and _dl_object_relocation_scope.
1194
1195 * elf/link.h (struct link_map): Add l_loader member.
1196 Remove _dl_map_object_from_fd decl.
1197 * elf/dl-load.c (_dl_map_object): Pass LOADER to ...
1198 (_dl_map_object_from_fd): Take new arg LOADER and set l_loader member.
1199 (_dl_map_object): Try DT_RPATH from all loaders up the chain.
1200
1201 * elf/dl-object.c (_dl_loaded): Variable removed.
1202 (_dl_default_scope): New variable replaces it.
1203 * elf/link.h (_dl_loaded): Remove variable decl; instead define as
1204 macro for _dl_default_scope[2].
1205 (_dl_default_scope): Declare it.
1206 * sysdeps/i386/dl-machine.h (RTLD_START): Use _dl_default_scope[2]
1207 instead of _dl_loaded.
1208 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1209 * elf/rtld.c (dl_main): Use _dl_default_scope for symbol lookups.
1210
1211 * elf/dl-reloc.c (_dl_relocate_object): Remove check for _dl_rtld_map.
1212 * elf/rtld.c (dl_main): Pass 0 for LAZY flag when re-relocating self.
1213
1214 * elf/link.h (struct link_map.l_type): Remove lt_interpreter.
1215 (struct link_map): Add new flag member l_global.
1216
1217 * elf/dl-reloc.c (_dl_relocate_object): Check for _dl_rtld_map
1218 directly instead of looking for lt_interpreter.
1219 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1220 * elf/rtld.c (_dl_start): Don't bother setting BOOTSTRAP_MAP.l_type.
1221 (dl_main): Set _dl_rtld_map.l_type to lt_library.
1222
1223 * elf/dl-deps.c (_dl_map_object_deps): Propagate MAP->l_type to
1224 dependencies loaded, downgrading lt_executable -> lt_library.
1225
1226 * elf/dl-load.c (_dl_map_object_from_fd): Take new arg TYPE and set
1227 l_type from that, translating lt_library->lt_executable based on the
1228 file's ELF type.
1229 (_dl_map_object): Likewise.
1230 * elf/link.h: Update prototypes.
1231 * elf/dl-open.c: Pass type lt_loaded.
1232 * elf/rtld.c: Pass type lt_library.
1233
1234 * elf/dl-load.c (_dl_map_object_from_fd): Handle null return from
1235 _dl_new_object.
1236 (_dl_map_object_from_fd: lose): Unchain and free L if it's not null.
1237 Free REALNAME, and just use NAME in error message.
1238 * elf/dl-object.c (_dl_new_object): If malloc fails, return null
1239 instead of calling _dl_signal_error.
1240
1241 * elf/dl-load.c (_dl_map_object_from_fd): Close FD before signalling
1242 error for _dl_zerofd setup failure.
1243
1244 * elf/dl-object.c (_dl_startup_loaded): Variable removed.
1245 * elf/link.h: Remove its decl.
1246
1247 * elf/dl-reloc.c (_dl_relocate_object): Take new SCOPE arg and pass it
1248 through to _dl_lookup_symbol.
1249 * elf/link.h (_dl_relocate_object): Update comment and prototype.
1250 * elf/rtld.c (dl_main): Pass scope vector to _dl_relocate_object.
1251
1252 * elf/dl-lookup.c (_dl_lookup_symbol): Arg SYMBOL_SCOPE is now a
1253 null-terminated vector of pointers, no longer a vector of exactly two.
1254 * elf/link.h (_dl_lookup_symbol): Update comment and prototype.
1255
1256 * elf/dl-runtime.c (fixup): Set up scope for symbol lookup properly as
1257 done in _dl_relocate_object.
1258
1259 * elf/dlopen.c: Pass "" to _dl_open when FILE is null.
1260
1261 * elf/link.h: Include elfclass.h to define __ELF_NATIVE_CLASS.
1262 (ElfW, ELFW): Use it.
1263 * elf/Makefile (headers): Add elfclass.h.
1264 * sysdeps/wordsize-32/elfclass.h: New file.
1265 * sysdeps/wordsize-64/elfclass.h: New file.
1266 * sysdeps/alpha/Implies: Add wordsize-64.
1267 * sysdeps/i386/Implies: Add wordsize-32.
1268 * sysdeps/m68k/Implies: Add wordsize-32.
1269 * sysdeps/mips/Implies: Add wordsize-32.
1270 * sysdeps/sparc/Implies: Add wordsize-32.
1271
1272 * sysdeps/mach/hurd/dl-sysdep.c (__open): Define this instead of open.
1273 (__close, __mmap): Likewise define with __ names now.
1274
1275 Mon Jun 10 05:13:18 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1276
1277 * elf/dl-support.c: New file.
1278 * elf/Makefile (CFLAGS-dl-support.c): New variable.
1279 (routines, elide-routines.so): Add dl-support.
1280
1281 * elf/dl-minimal.c (_dl_pagesize): Remove common defn.
1282 * elf/dl-load.c (_dl_pagesize): Define it here.
1283 (_dl_map_object_from_fd): Initialize it if zero.
1284 * elf/link.h (_dl_pagesize): Remove const.
1285
1286 Sun Jun 9 04:04:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1287
1288 * elf/Makefile (routines): Add dl-symbol.
1289 * elf/dl-lookup.c (_dl_symbol_value): Moved to ...
1290 * elf/dl-symbol.c: New file.
1291
1292 * elf/elf.h (Elf32_Xword, Elf32_Sxword): New types.
1293 (Elf32_Section, Elf64_Section): New types, 16 bits.
1294 (Elf32_Sym, Elf64_Sym): Use it.
1295
1296 * elf/dl-deps.c (_dl_open): Moved to ...
1297 * elf/dl-open.c: New file.
1298 * Makefile (routines): Add dl-open.
1299
1300 * elf/Makefile (dl-routines): New variable.
1301 (routines): Add $(dl-routines).
1302 (elide-routines.so): New variable, set to $(dl-routines).
1303 (libdl-inhibit-o): Variable removed; build all flavors of -ldl.
1304 (rtld-routines): All but rtld, dl-sysdep, and dl-minimal moved to
1305 $(dl-routines).
1306
1307 * elf/dl-lookup.c (_dl_lookup_symbol): Remove magic symbol grokage.
1308
1309 * elf/dladdr.c: Use ELFW(ST_BIND) in place of ELF32_ST_BIND.
1310
1311 * elf/dl-load.c (open_path): Use __ names for open and close. Avoid
1312 using strdup.
1313 (_dl_map_object): Likewise.
1314 (_dl_map_object_from_fd): Use __ names for mmap, munmap, and mprotect.
1315 * elf/dl-minimal.c (malloc): Likewise.
1316 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1317
1318 * elf/dl-minimal.c (_dl_pagesize): New variable.
1319 (malloc): Use that instead of a static variable.
1320 * elf/dl-reloc.c (_dl_relocate_object): Use _dl_pagesize instead of
1321 calling getpagesize.
1322 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1323 * elf/link.h: Declare _dl_pagesize.
1324
1325 * elf/rtld.c (dl_r_debug): Renamed to _dl_r_debug.
1326
1327 * elf/link.h (struct link_map): Use Half for l_phnum instead of Word.
1328 * elf/rtld.c (dl_main): Use Half for phdr count arg.
1329 (_dl_sysdep_start): Update prototype of DL_MAIN function ptr arg.
1330
1331 * elf/dl-load.c (_dl_map_object_from_fd): Use explicit Elf32_Word to
1332 extract 4-byte magic number, not ElfW(Word). Match EI_CLASS against
1333 native wordsize, either 32 or 64.
1334
1335 * elf/elf.h (Elf64_Byte, Elf64_Section): Typedefs removed. In C a
1336 char is always a byte, no need for a typedef. Section indices are
1337 16-bit quantities in elf64, which already have a typedef Elf64_Half.
1338
1339 Remove partial -lelf implementation. There is now a
1340 separately-distributed `libelf' package that implements it.
1341 * elf/dl-lookup.c: Don't #include <libelf.h> any more.
1342 (_dl_elf_hash): New function, moved from
1343 libelf.h:elf_hash.
1344 (_dl_lookup_symbol): Use it instead of elf_hash.
1345 * elf/libelf.h: File removed.
1346 * elf/elf_hash.c: File removed.
1347 * elf/Makefile (headers): Remove libelf.h.
1348 (extra-libs): Remove libelf.
1349 (libelf-routines): Variable removed.
1350
1351 * elf/Makefile (libdl.so): Remove commands from this target. The
1352 implicit rule commands are correct, this explicit rule just serves to
1353 add some dependencies.
1354
1355 * elf/dl-lookup.c (_dl_lookup_symbol): Use ELFW(ST_TYPE) in place of
1356 ELF32_ST_TYPE. Likewise ST_BIND.
1357 * elf/do-rel.h (elf_dynamic_do_rel): Likewise R_SYM.
1358
1359 * elf/link.h (ElfW): New macro for wordsize-independent ElfXX_* type
1360 naming.
1361 (ELFW): New macro, likewise for ELFXX_* macro naming.
1362 (_ElfW, _ElfW_1): New macros, subroutines of ElfW and ELF.
1363
1364 Sat Jun 8 20:52:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1365
1366 * elf/link.h, elf/do-rel.h, elf/dynamic-link.h, elf/dl-deps.c,
1367 elf/dl-init.c, elf/dl-load.c, elf/dl-lookup.c, elf/dl-reloc.c,
1368 elf/dl-runtime.c, elf/dladdr.c, elf/dlclose.c, elf/dlsym.c,
1369 elf/linux-compat.c, elf/rtld.c: Change all uses of `Elf32_XXX' to
1370 `ElfW(XXX)' for wordsize-independence.
1371
1372 Sat Jun 8 20:50:42 1996 Richard Henderson <rth@tamu.edu>
1373
1374 * elf/elf.h: Move Elf64_* types in parity with Elf32 counterparts.
1375 (Elf64_auxv_t): New type.
1376 (EM_ALPHA, R_ALPHA_*): New macros for elf64-alpha format.
1377
1378 Mon Jun 10 02:22:24 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1379
1380 * sysdeps/unix/sysv/linux/configure.in: New file, start with configure.
1381 Add check for installed <linux/version.h> being v2.0 or later.
1382
1383 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill): Call __open
1384 instead of open.
1385 (_dl_sysdep_fatal): Call __write instead of write.
1386 (_dl_sysdep_message): Likewise.
1387
1388 Sun Jun 9 20:40:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1389
1390 * sysdeps/m68k/fpu/e_acosl.c: New file.
1391
1392 Sun Jun 9 01:11:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1393
1394 * Makerules (o-objects): New variable. Use it in place of
1395 $(objects:.o=$o); it filters out $(elide-routines$o).
1396 Use o-iterator for ar and ranlib rules so they use the per-type object
1397 list.
1398
1399 * elf/dl-load.c (_dl_map_object_from_fd): Close FD before return.
1400
1401 * sysdeps/mach/mprotect.c: Define with __ name and weak alias.
1402 * sysdeps/stub/mprotect.c: Likewise.
1403 * sysdeps/unix/mman/syscalls.list (mprotect): Likewise.
1404 * sysdeps/generic/sys/mman.h: Declare __mprotect.
1405 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
1406 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
1407 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
1408 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
1409 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
1410
1411 * Make-dist ($(tardir).tar): Use sed to check for file names longer
1412 than 14 chars, instead of doschk which checks for other things we
1413 don't care about.
1414
1415 * Version 1.90 test release.
1416
1417 * Makerules (make-target-directory): Use ./mkinstalldirs so we do not
1418 assume . is in PATH.
1419
1420 Sat Jun 8 22:05:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1421
1422 * math/Makefile (distribute): Comment out addition of
1423 $(long-m-routines) sources until they are all written.
1424
1425 * math/Makefile (distribute): Append long double source names to this
1426 instead of using elided-routines.
1427
1428 Sat Jun 8 15:15:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1429
1430 * mach/mach_shortcuts.c: Obsolete file removed.
1431 * mach/mach_syscalls.h: Likewise.
1432
1433 * hurd/Makefile (distribute): Consolidate defns into one.
1434
1435 * time/Makefile (tzfiles): Add solar87 solar88 solar89.
1436
1437 Fri Jun 7 16:48:13 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1438
1439 * sysdeps/unix/sysv/linux/i386/Dist: New file, list sys/perm.h and
1440 sys/vm86.h.
1441
1442 Removed old math code no longer used since the fdlibm integration.
1443 * sysdeps/stub/acos.c: File removed.
1444 * sysdeps/stub/asin.c: File removed.
1445 * sysdeps/stub/atan2.c: File removed.
1446 * sysdeps/stub/cosh.c: File removed.
1447 * sysdeps/stub/exp.c: File removed.
1448 * sysdeps/stub/fmod.c: File removed.
1449 * sysdeps/stub/frexp.c: File removed.
1450 * sysdeps/stub/log.c: File removed.
1451 * sysdeps/stub/log10.c: File removed.
1452 * sysdeps/stub/sinh.c: File removed.
1453 * sysdeps/stub/tan.c: File removed.
1454 * sysdeps/stub/tanh.c: File removed.
1455 * sysdeps/generic/acos.c: File removed.
1456 * sysdeps/generic/acosh.c: File removed.
1457 * sysdeps/generic/asin.c: File removed.
1458 * sysdeps/generic/asinh.c: File removed.
1459 * sysdeps/generic/atan.c: File removed.
1460 * sysdeps/generic/atan2.c: File removed.
1461 * sysdeps/generic/atanh.c: File removed.
1462 * sysdeps/generic/cabs.c: File removed.
1463 * sysdeps/generic/ceil.c: File removed.
1464 * sysdeps/generic/copysign.c: File removed.
1465 * sysdeps/generic/cosh.c: File removed.
1466 * sysdeps/generic/exp.c: File removed.
1467 * sysdeps/generic/expm1.c: File removed.
1468 * sysdeps/generic/fabs.c: File removed.
1469 * sysdeps/generic/floor.c: File removed.
1470 * sysdeps/generic/fmod.c: File removed.
1471 * sysdeps/generic/frexp.c: File removed.
1472 * sysdeps/generic/hypot.c: File removed.
1473 * sysdeps/generic/infnan.c: File removed.
1474 * sysdeps/generic/isnan.c: File removed.
1475 * sysdeps/generic/ldexp.c: File removed.
1476 * sysdeps/generic/log.c: File removed.
1477 * sysdeps/generic/log10.c: File removed.
1478 * sysdeps/generic/log1p.c: File removed.
1479 * sysdeps/generic/modf.c: File removed.
1480 * sysdeps/generic/pow.c: File removed.
1481 * sysdeps/generic/rint.c: File removed.
1482 * sysdeps/generic/sinh.c: File removed.
1483 * sysdeps/generic/tan.c: File removed.
1484 * sysdeps/generic/tanh.c: File removed.
1485 * sysdeps/ieee754/cabs.c: File removed.
1486 * sysdeps/ieee754/copysign.c: File removed.
1487 * sysdeps/ieee754/frexp.c: File removed.
1488 * sysdeps/ieee754/hypot.c: File removed.
1489 * sysdeps/ieee754/infnan.c: File removed.
1490 * sysdeps/ieee754/ldexp.c: File removed.
1491 * sysdeps/ieee754/log10.c: File removed.
1492
1493 * posix/Makefile (headers): Add schedbits.h.
1494
1495 * math/Makefile (elided-routines): Add long double routines.
1496
1497 Fri Jun 7 11:02:22 1996 Miles Bader <miles@gnu.ai.mit.edu>
1498
1499 * sysdeps/mach/hurd/getpriority.c (getpriority): Use new interface
1500 to __proc_getprocinfo.
1501
1502 * login/login.c (tty_name): New function.
1503 (login): Use it.
1504 (PATH_MAX): MACRO removed.
1505 <stdlib.h>: New include.
1506
1507 Fri Jun 7 09:11:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1508
1509 * sysdeps/unix/sysv/linux/Dist: Add sys/sysinfo.h, sys/mount.h,
1510 sys/kdaemon.h, sys/io.h, sys/mount.h, sysctl.c.
1511
1512 * gmon/Makefile (distribute): Add profil-counter.h.
1513
1514 * sysdeps/unix/sysv/linux/alpha/Dist: New file.
1515
1516 * sysdeps/unix/Dist: Add s-proto.S.
1517
1518 * sysdeps/unix/common/mk-local_lim.c: Obsolete file removed.
1519
1520 * Make-dist (+sysdep-tsrcs): Get all syscalls.list files too.
1521
1522 * csu/Makefile (distribute): Add start.c.
1523
1524 * elf/Makefile (distribute): Add dl-machine.h.
1525
1526 * sysdeps/alpha/Dist: Add _mcount.S.
1527
1528 * sysdeps/alpha/Makefile (sysdep_routines): Append instead of
1529 resetting; don't add bb_init_func.
1530
1531 * string/Makefile (routines): Add strerror_r.
1532 * string/string.h (strerror_r): Use int for BUFLEN arg.
1533
1534 * Makefile (distribute): Add shlib-versions.
1535
1536 * po/Makefile (distribute): Add SYS_libc.pot.
1537
1538 * misc/Makefile (routines): Add lsearch.
1539
1540 * manual/lang.texi (Consistency Checking): Merge in assert_perror defn
1541 and other changes inadvertently made to the obsolete assert.texi.
1542 * manual/assert.texi: File removed.
1543
1544 * mach/mach_syscalls.c: Obsolete file removed.
1545 * mach/mach_syscalls.h: Likewise.
1546 * mach/mach_traps.S: Likewise.
1547 * mach/msg_destroy.c: Likewise.
1548 * mach/vm_page_size.c: Likewise.
1549
1550 * locale/Makefile (distribute): Add weight.h, charset.h.
1551
1552 * Makefile (distribute): Add version.h.
1553
1554 * hurd/Makefile (headers): Add hurd/ioctl.h.
1555 (distribute): Add intr-rpc.d, intr-rpc.h, faultexc.defs.
1556
1557 * csu/Makefile (distribute): Add gmon-start.c.
1558
1559 * Makefile (distribute): Add config.h.in.
1560
1561 Wed Jun 5 22:06:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1562
1563 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix type of reloc
1564 argument.
1565 [case R_68K_32]: Check for resolve being null.
1566 (RTLD_START): Add missing label.
1567
1568 Fri Jun 7 1996 05:29:32 Ulrich Drepper <drepper@cygnus.com>
1569
1570 * misc/lsearch.c: New file. Implementation of lfind and
1571 lsearch functions.
1572
1573 * misc/search.h: Add prototype for functions from tsearch
1574 family with __ prefix.
1575 Correct prototype for lsearch: BASE parameter must not be
1576 const.
1577
1578 * misc/tsearch.c: prepend all global function names with __
1579 and make normal names weak aliases.
1580
1581 Fri Jun 7 00:15:24 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1582
1583 * Make-dist (sysdep_dirs): Skip CVS dirs.
1584
1585 Thu Jun 6 16:12:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1586
1587 * malloc/Makefile (distribute): Change malloc/gmalloc-head.c to
1588 gmalloc-head.c.
1589 (malloc/gmalloc.c): Depend on malloc/gmalloc-head.c.
1590 (malloc/Makefile): Do $(make-target-directory) first.
1591 * malloc/gmalloc-head.c: New file.
1592
1593 * po/Makefile (linguas.mo): Don't commit .mo files to cvs.
1594
1595 * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO==0 pending
1596 check, deliver a pending blocked signal if its action might be to
1597 ignore.
1598 * sysdeps/mach/hurd/sigaction.c: If new action is SIG_IGN or SIG_DFL
1599 and SIG is pending, wake up signal thread to check us.
1600
1601 * hurd/hurdsig.c (_hurd_internal_post_signal): Don't mark a signal
1602 pending while blocked or stopped when the action is to ignore it.
1603
1604 Thu Jun 6 12:56:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1605
1606 * hurd/hurdsig.c (_hurd_internal_post_signal: resume): Only set
1607 SS_SUSPENDED when the thread is really suspended.
1608
1609 * elf/rtld.c (dl_main): Don't dereference _dl_rtld_map.l_next if null.
1610
1611 * Makerules (headers): Move append of $(sysdep_headers) after include
1612 of sysdep makefiles.
1613
1614 * sysdeps/mach/hurd/errlist.c: File removed.
1615
1616 Thu Jun 6 07:32:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
1617
1618 * resolv/gethnamaddr.c (struct hstorage): Make NAME field a pointer.
1619 (_gethtbyname2): Remove ALIAS variable.
1620 Initialize NAME field of SELF and TARGET to 0.
1621 Add SELF_NAME_SIZE static variable.
1622 Add loop to call gethostname until the space we allocated is enough.
1623 Use malloced strings instead of fixed size buffers.
1624 <stdlib.h>, <unistd.h>: New includes.
1625 * sysdeps/generic/sys/socket.h (PF_INET6, AF_INET6): New macros.
1626
1627 * sysdeps/mach/hurd/errlist.c (_sys_errlist): Add EILSEQ.
1628 (_sys_nerr): Initialize to 107.
1629 Update _HURD_ERRNOS consistency check.
1630
1631 * stdlib/canonicalize.c (canonicalize): Use pathconf for PATH_MAX,
1632 not sysconf.
1633
1634 * login/login.c [!PATH_MAX] (PATH_MAX): Define to be 1024 if not
1635 already defined.
1636
1637 * sysdeps/mach/hurd/setitimer.c (timer_thread): Supply SIGCODE
1638 argument to __msg_sig_post_request.
1639
1640 * hurd/hurdmalloc.c: Changes to bring in line with the hurd
1641 libthreads/malloc.c:
1642 (more_memory): Use assert_perror instead of MACH_CALL.
1643 "cthread_internals.h": Include removed.
1644 (realloc): Use LOG2_MIN_SIZE.
1645 (LOG2_MIN_SIZE): New macro.
1646 (realloc): Don't bother allocating a new block if the
1647 new size request fits in the old one and doesn't waste any space.
1648 Only free the old block if we successfully got a new one.
1649 [MCHECK] (struct header): New type.
1650 (union header): Only define if !MCHECK.
1651 (HEADER_SIZE, HEADER_NEXT, HEADER_FREE, HEADER_CHECK): New macros.
1652 [MCHECK] (MIN_SIZE): Add correct definition for this case.
1653 (more_memory, malloc, free, realloc): Use above macros, and add
1654 appropiate checks & frobs in MCHECK case.
1655
1656 Thu Jun 6 02:00:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1657
1658 * Makerules (distinfo-vars): Don't write constant line to frob sources.
1659 * Make-dist (sources): Append $(elided-routines) and $(extra-libs)
1660 routines.
1661
1662 Tue Jun 4 22:03:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1663
1664 * sysdeps/m68k/fpu/__math.h: Define long double versions of
1665 the inline functions.
1666 * sysdeps/m68k/fpu/e_asinl.c, sysdeps/m68k/fpu/e_atanl.c,
1667 sysdeps/m68k/fpu/e_acosl.c, sysdeps/m68k/fpu/e_expl.c,
1668 sysdeps/m68k/fpu/e_fmodl.c, sysdeps/m68k/fpu/e_log10l.c,
1669 sysdeps/m68k/fpu/e_logl.c, sysdeps/m68k/fpu/e_powl.c,
1670 sysdeps/m68k/fpu/e_remainderl.c, sysdeps/m68k/fpu/e_scalbl.c,
1671 sysdeps/m68k/fpu/e_sinhl.c, sysdeps/m68k/fpu/e_sqrtl.c,
1672 sysdeps/m68k/fpu/k_cosl.c, sysdeps/m68k/fpu/k_sinl.c,
1673 sysdeps/m68k/fpu/k_tanl.c, sysdeps/m68k/fpu/s_atanl.c,
1674 sysdeps/m68k/fpu/s_ceill.c, sysdeps/m68k/fpu/s_cosl.c,
1675 sysdeps/m68k/fpu/s_expm1l.c, sysdeps/m68k/fpu/s_fabsl.c,
1676 sysdeps/m68k/fpu/s_finitel.c, sysdeps/m68k/fpu/s_floorl.c,
1677 sysdeps/m68k/fpu/s_frexpl.c, sysdeps/m68k/fpu/s_ilogbl.c,
1678 sysdeps/m68k/fpu/s_isinfl.c, sysdeps/m68k/fpu/s_isnanl.c,
1679 sysdeps/m68k/fpu/s_ldexpl.c, sysdeps/m68k/fpu/s_log1pl.c,
1680 sysdeps/m68k/fpu/s_logbl.c, sysdeps/m68k/fpu/s_modfl.c,
1681 sysdeps/m68k/fpu/s_rintl.c, sysdeps/m68k/fpu/s_scalbnl.c,
1682 sysdeps/m68k/fpu/s_significandl.c, sysdeps/m68k/fpu/s_sinl.c,
1683 sysdeps/m68k/fpu/e_atanhl.c, sysdeps/m68k/fpu/e_coshl.c: New files.
1684
1685 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_fmod.c,
1686 sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_sin.c,
1687 sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/s_atan.c,
1688 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_ilogb.c,
1689 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_ldexp.c,
1690 sysdeps/m68k/fpu/s_modf.c: Define generic functions using FUNC and
1691 float_type with appropriate defaults.
1692
1693 * sysdeps/m68k/fpu/e_acosf.c, sysdeps/m68k/fpu/e_fmodf.c,
1694 sysdeps/m68k/fpu/k_cosf.c, sysdeps/m68k/fpu/k_sinf.c,
1695 sysdeps/m68k/fpu/k_tanf.c, sysdeps/m68k/fpu/s_atanf.c,
1696 sysdeps/m68k/fpu/s_frexpf.c, sysdeps/m68k/fpu/s_ilogbf.c,
1697 sysdeps/m68k/fpu/s_isinff.c, sysdeps/m68k/fpu/s_ldexpf.c,
1698 sysdeps/m68k/fpu/s_modff.c: Include the corresponding double
1699 versions with appropriate definitions to get float functions,
1700 instead of defining them directly.
1701
1702 * sysdeps/m68k/fpu/acos.c: File removed.
1703 * sysdeps/m68k/fpu/asin.c: File removed.
1704 * sysdeps/m68k/fpu/atan.c: File removed.
1705 * sysdeps/m68k/fpu/atan2.c: File removed.
1706 * sysdeps/m68k/fpu/atanh.c: File removed.
1707 * sysdeps/m68k/fpu/ceil.c: File removed.
1708 * sysdeps/m68k/fpu/cos.c: File removed.
1709 * sysdeps/m68k/fpu/cosh.c: File removed.
1710 * sysdeps/m68k/fpu/drem.c: File removed.
1711 * sysdeps/m68k/fpu/exp.c: File removed.
1712 * sysdeps/m68k/fpu/expm1.c: File removed.
1713 * sysdeps/m68k/fpu/fabs.c: File removed.
1714 * sysdeps/m68k/fpu/fl.h: File removed.
1715 * sysdeps/m68k/fpu/floor.c: File removed.
1716 * sysdeps/m68k/fpu/fmod.c: File removed.
1717 * sysdeps/m68k/fpu/frexp.c: File removed.
1718 * sysdeps/m68k/fpu/isinf.c: File removed.
1719 * sysdeps/m68k/fpu/isinfl.c: File removed.
1720 * sysdeps/m68k/fpu/isnan.c: File removed.
1721 * sysdeps/m68k/fpu/isnanl.c: File removed.
1722 * sysdeps/m68k/fpu/ldexp.c: File removed.
1723 * sysdeps/m68k/fpu/log.c: File removed.
1724 * sysdeps/m68k/fpu/log10.c: File removed.
1725 * sysdeps/m68k/fpu/log1p.c: File removed.
1726 * sysdeps/m68k/fpu/logb.c: File removed.
1727 * sysdeps/m68k/fpu/pow.c: File removed.
1728 * sysdeps/m68k/fpu/rint.c: File removed.
1729 * sysdeps/m68k/fpu/sin.c: File removed.
1730 * sysdeps/m68k/fpu/sinh.c: File removed.
1731 * sysdeps/m68k/fpu/sqrt.c: File removed.
1732 * sysdeps/m68k/fpu/tan.c: File removed.
1733 * sysdeps/m68k/fpu/tanh.c: File removed.
1734
1735 Thu Jun 6 00:02:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1736
1737 * sysdeps/unix/sysv/linux/syscalls.list: Add select (the syscall name
1738 is _newselect).
1739 * sysdeps/unix/sysv/linux/select.S: File removed.
1740
1741 * sysdeps/unix/sysv/linux/m68k/select.S: File removed; obsolete with
1742 current kernels, generic linux version is fine.
1743
1744 * locale/Makefile: Add vpath for %.gperf to programs.
1745
1746 * Make-dist (+tsrcs): Variable removed.
1747 (dist): Process $^ here instead of using $(+tsrcs).
1748
1749 * sysdeps/unix/sysv/linux/Makefile (install-others): Don't set.
1750 ($(includedir)/sys/syscall.h): Target removed.
1751 (sysdep_headers): Add syscall-list.h.
1752 ($(objpfx)syscall-%.[dh]): New rule to build syscall-list.[dh].
1753 (generated): Add those.
1754 * sysdeps/unix/sysv/linux/syscall.h: Include <syscall-list.h>.
1755
1756 Wed Jun 5 15:57:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1757
1758 * misc/sys/syscall.h: New file.
1759 * misc/Makefile (headers): Add sys/syscall.h.
1760
1761 * time/tzfile.h, time/private.h, time/zdump.c, time/zic.c,
1762 time/africa, time/asia, time/australasia, time/europe,
1763 time/northamerica, time/southamerica: Updated from ADO 96h.
1764
1765 * Make-dist (all-headers): Filter $(sysdep_headers) out of $(headers).
1766 (try-sysdeps, +sysdep-names): Check sysdeps/libm-ieee754 too.
1767
1768 * Makerules (distinfo-vars): Add sysdep_headers.
1769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Append to
1770 this instead of $(headers).
1771 * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
1772 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
1773
1774 * Make-dist [subdirs-dirs]: Don't prefix $(subdir-dirs) with
1775 $(subdir); we are already there.
1776
1777 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: Removed.
1778
1779 * mach/Machrules: Undo last change.
1780 (mach-generated): List .uh and .__h files only for $(user-interfaces),
1781 not for each .h in $(interface-headers); server-interfaces have no .uh
1782 or .__h files.
1783
1784 Wed Jun 5 15:42:51 1996 Miles Bader <miles@gnu.ai.mit.edu>
1785
1786 * mach/Machrules (%_server.uh, %_server.__h): New rules, so that the
1787 corrsponding .defs file with without the `_server' will be used.
1788
1789 * mach/Makefile (mach/mach_interface.defs): Renamed from
1790 mach_interface.defs.
1791 (mach/memory_object_user.defs): New variable.
1792
1793 Wed Jun 5 15:10:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1794
1795 * Make-dist [subdir-dirs]: Set vpath for %, not just %.c.
1796
1797 * locale/Makefile (subdir-dirs): New variable.
1798
1799 Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1800
1801 * Makerules (distinfo-vars): Add sysdep_routines.
1802
1803 * mach/Machrules (include-%.defs): New canned sequence.
1804 Change all uses of `#include <$*.defs>' in cmds to use it.
1805 * mach/Makefile (mach_interface.defs): New variable, set to mach.defs.
1806
1807 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle RESOLVE being
1808 null in all cases but R_386_COPY.
1809 (elf_machine_rel):
1810
1811 Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1812
1813 * sysdeps/unix/bsd/ultrix4/mips/Dist: Updated.
1814 * sysdeps/unix/bsd/ultrix4/Dist: Removed.
1815 * sysdeps/unix/sysv/sysv4/Dist: Updated.
1816 * sysdeps/unix/sysv/sco3.2.4/Dist: Removed.
1817 * sysdeps/unix/sysv/irix4/Dist: Updated.
1818 * sysdeps/unix/sysv/linux/i386/Dist: Removed.
1819 * sysdeps/unix/sysv/Dist: Updated.
1820 * sysdeps/unix/bsd/sun/sunos4/Dist: Removed.
1821 * sysdeps/unix/bsd/sony/newsos4/Dist: Removed.
1822 * sysdeps/gnu/Dist: New file.
1823 * sysdeps/alpha/Dist: Updated.
1824 * sysdeps/mach/hurd/Dist: Updated.
1825
1826 * Make-dist [subdir-dirs]: Set a vpath for %.c.
1827
1828 * Make-dist (README): Fix typo in cvs cmd.
1829
1830 * elf/dl-lookup.c (_dl_lookup_symbol): Fix typos in last change.
1831 Comment out ref to nonexistent _dl_close.
1832
1833 Tue Jun 4 21:01:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1834
1835 * math/Makefile (libm-support, libm-calls): New variables.
1836 (libm-routines): Construct this from those.
1837 (calls): New variable.
1838 (routines): Construct this from it.
1839
1840 * resolv/res_debug.c: Add missing #include <ctype.h>.
1841
1842 * sysdeps/unix/getlogin.c: Must pass struct utmp ptr to getutline_r.
1843 * sysdeps/unix/getlogin_r.c: Likewise.
1844
1845 * sysdeps/libm-ieee754/w_hypotl.c: Fix typo.
1846
1847 * sysdeps/libm-ieee754/w_cabsl.c: __cabsl_complex -> __cabs_complexl
1848
1849 * math/Makefile (long-m-routines): Define recursive variable as
1850 $(long-m-$(long-double-fcts)).
1851 (long-m-yes): Put list of routines here.
1852 (long-c-routines, long-c-yes): Likewise.
1853
1854 * sysdeps/unix/sysv/linux/schedbits.h: File removed.
1855
1856 * sysdeps/i386/Makefile (long-double-fcts): New variable, set to yes.
1857 * sysdeps/m68k/Makefile: Likewise.
1858
1859 * math/Makefile [$(long-double-fcts)!=yes] (CPPFLAGS): Append
1860 -DNO_LONG_DOUBLE.
1861
1862 * sysdeps/mach/hurd/getlogin_r.c: New file.
1863
1864 Wed Jun 5 02:11:30 1996 Ulrich Drepper <drepper@cygnus.com>
1865
1866 * io/Makefile (routines): Add ttyname_r.
1867
1868 * resolv/res_debug.c, resolv/resolv.h: Update from bind-4.3.4-T4A.
1869
1870 * sysdeps/libm-i387/e_asinl.S, sysdeps/libm-i387/e_atan2l.S,
1871 sysdeps/libm-i387/e_expl.S, sysdeps/libm-i387/e_fmodl.S,
1872 sysdeps/libm-i387/e_log10l.S, sysdeps/libm-i387/e_logl.S,
1873 sysdeps/libm-i387/e_remainderl.S, sysdeps/libm-i387/e_scalbl.S,
1874 sysdeps/libm-i387/e_sqrtl.S, sysdeps/libm-i387/s_atanl.S,
1875 sysdeps/libm-i387/s_cosl.S, sysdeps/libm-i387/s_ilogbl.S,
1876 sysdeps/libm-i387/s_log1pl.S, sysdeps/libm-i387/s_logbl.S,
1877 sysdeps/libm-i387/s_scalbnl.S, sysdeps/libm-i387/s_sinl.S,
1878 sysdeps/libm-i387/s_tanl.S: New files. i387 assembler versions
1879 of `long double' math functions.
1880
1881 * sysdeps/libm-ieee754/k_standard.c: Add handling for errors
1882 in long double functions.
1883
1884 * sysdeps/libm-ieee754/s_ilogbl.c, sysdeps/libm-ieee754/s_logbl.c,
1885 sysdeps/libm-ieee754/s_modfl.c: New files. Generic versions
1886 of `long double' math functions.
1887
1888 * sysdeps/libm-ieee754/s_isinf.c [NO_LONG_DOUBLE]: Add string
1889 alias for __isinfl.
1890
1891 * sysdeps/libm-ieee754/w_acoshl.c, sysdeps/libm-ieee754/w_acosl.c,
1892 sysdeps/libm-ieee754/w_asinl.c, sysdeps/libm-ieee754/w_atan2l.c,
1893 sysdeps/libm-ieee754/w_atanhl.c, sysdeps/libm-ieee754/w_cabsl.c,
1894 sysdeps/libm-ieee754/w_coshl.c, sysdeps/libm-ieee754/w_dreml.c,
1895 sysdeps/libm-ieee754/w_expl.c, sysdeps/libm-ieee754/w_fmodl.c,
1896 sysdeps/libm-ieee754/w_gammal.c, sysdeps/libm-ieee754/w_gammal_r.c,
1897 sysdeps/libm-ieee754/w_hypotl.c, sysdeps/libm-ieee754/w_j0l.c,
1898 sysdeps/libm-ieee754/w_j1l.c, sysdeps/libm-ieee754/w_jnl.c,
1899 sysdeps/libm-ieee754/w_lgammal.c, sysdeps/libm-ieee754/w_lgammal_r.c,
1900 sysdeps/libm-ieee754/w_log10l.c, sysdeps/libm-ieee754/w_logl.c,
1901 sysdeps/libm-ieee754/w_powl.c, sysdeps/libm-ieee754/w_remainderl.c,
1902 sysdeps/libm-ieee754/w_scalbl.c, sysdeps/libm-ieee754/w_sinhl.c,
1903 sysdeps/libm-ieee754/w_sqrtl.c: New files. Wrapper functions
1904 around long double function implementations.
1905
1906 * sysdeps/posix/ttyname_r.c (ttyname_r): Use _D_EXACT_NAMLEN
1907 to determine length of directory entry name.
1908
1909 * posix/Makefile (routines): Add getlogin_r.
1910 * posix/unistd.h: Add prototype for getlogin_r.
1911 * sysdeps/stub/getlogin_r.c: New file. Reentrant version of
1912 getlogin function, specified in P1003.1c/D6. Stub version.
1913 * sysdeps/unix/getlogin.c (getlogin): Use ttyname_r instead of
1914 ttyname. This avoids saving and restoring the old content.
1915 Also use setutent_r, getutline_r and endutent_r instead of
1916 accing UTMP file directly.
1917 * sysdeps/unix/getlogin_r.c: New file. Reentrant version of
1918 getlogin function, specified in P1003.1c/D6.
1919
1920 Tue Jun 4 20:10:09 1996 J.T. Conklin <jtc@cygnus.com>
1921
1922 * sysdeps/libm-i387/s_finitef.S: Fix mask for exponent.
1923
1924 Tue Jun 4 18:57:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1925
1926 * elf/dl-lookup.c (_dl_lookup_symbol): Grok magical undefined symbols
1927 _GNU_libc_dl_{open,close,symbol} and resolve them to dl functions.
1928
1929 * elf/rtld.c (rtld_map): Renamed to _dl_rtld_map, made global.
1930 * elf/link.h: Declare _dl_rtld_map.
1931
1932 * elf/dl-lookup.c (_dl_symbol_value): New function.
1933 * elf/link.h: Declare it.
1934
1935 * elf/dladdr.c: Remove #include <setjmp.h>, we don't use it.
1936
1937 * shlib-versions: Set libdl=2.
1938
1939 * elf/dl-deps.c (_dl_map_object_deps): Use a linked list of alloca'd
1940 elements and then scan it to fill the single malloc'd array, instead
1941 of using realloc to grow the array in the first pass. _dl_map_object
1942 may do some mallocs that break our stream of reallocs, and the minimal
1943 realloc can't handle that.
1944
1945 * elf/dl-init.c (_dl_init_next): Take argument, link_map whose
1946 searchlist describes the piece of the DT_NEEDED graph to be
1947 initialized.
1948 * elf/link.h: Update prototype.
1949 * sysdeps/i386/dl-machine.h (RTLD_START): Pass _dl_loaded as argument
1950 to _dl_init_next.
1951 * sysdeps/m68k/dl-machine.h: Likewise.
1952 * elf/dl-deps.c (_dl_open): Pass new object as arg to _dl_init_next.
1953
1954 * elf/link.h (struct link_map): Add `l_reserved' member, soaking up
1955 extra bits in last byte.
1956 * elf/dl-deps.c (_dl_map_object_deps): Use that for mark bit to avoid
1957 putting dup elts in search list.
1958
1959 * elf/dlclose.c: Use MAP->l_searchlist to find deps to close.
1960
1961 * elf/dlsym.c: Don't tweak linked list. Scope array given to
1962 _dl_lookup_symbol does the right thing.
1963
1964 * elf/Makefile (subdir_lib): Change this target to lib-noranlib.
1965 (lib-noranlib): Depend on on $(extra-objs).
1966
1967 * errno.h: Move __END_DECLS out of #ifdef's so it matches
1968 __BEGIN_DECLS.
1969
1970 Tue Jun 4 02:25:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1971
1972 * stdio-common/vfprintf.c [USE_IN_LIBIO] (size_t): Don't define as
1973 macro. _IO_size_t is just an alias for the real size_t anyway.
1974
1975 * elf/Makefile (libdl-routines): Add dladdr.
1976 * elf/dladdr.c: New file.
1977 * elf/dlfcn.h (Dl_info): New typedef.
1978 (dladdr): Declare it.
1979
1980 * sysdeps/libm-i387/s_finite.S: Use `setne' instead of `setnel'.
1981
1982 * intl/l10nflist.c: Fix conditional on #include <argz.h>.
1983
1984 * libio/stdio.h (FOPEN_MAX, FILENAME_MAX, TMP_MAX, L_tmpnam): Macros
1985 removed. Instead, include <stdio_lim.h>.
1986
1987 * libio/_G_config.h: New file.
1988 * libio/Makefile (headers): Add _G_config.h.
1989
1990 * MakeTAGS (po/errlist.pot): Extract from sysdeps/gnu/errlist.c.
1991
1992 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Define
1993 this macro too; current Linux kernels test that instead of
1994 _LINUX_TYPES_DONT_EXPORT.
1995
1996 * elf/linux-compat.c (_init): Pass reloc_addr arg to _dl_lookup_symbol.
1997
1998 * elf/dl-lookup.c (_dl_lookup_symbol): Use l_searchlist.
1999
2000 * elf/dl-deps.c: New file.
2001 * elf/Makefile (rtld-routines): Add dl-deps.
2002 * elf/link.h: Declare _dl_map_object_deps, _dl_open.
2003 * elf/rtld.c (dl_main): Use _dl_map_object_deps.
2004 * elf/dlopen.c: Use _dl_open.
2005
2006 * elf/rtld.c (dl_main): Remove BEFORE_RTLD variable and list
2007 frobnication based on its value. Detach RTLD_MAP from the chain if
2008 its l_opencount is zero after loading deps.
2009
2010 * elf/dlfcn.h (RTLD_BINDING_MASK): New macro.
2011
2012 * elf/link.h (struct link_map): Replace l_deps_loaded flag member with
2013 `struct link_map **l_searchlist' and `unsigned int l_nsearchlist'.
2014 * elf/dl-lookup.c (_dl_lookup_symbol): Make SYMBOL_SCOPE arg an array
2015 of two link_map ptrs. Search the maps in the l_searchlist of each
2016 elt that is not null.
2017 * elf/dl-reloc.c (_dl_relocate_object): Pass proper SCOPE array.
2018 * elf/dl-runtime.c: Likewise.
2019 * elf/dlsym.c: Likewise.
2020 * elf/rtld.c (dl_main): Likewise.
2021
2022 * elf/dl-minimal.c (realloc): Support realloc of the block most
2023 recently returned by the minimal malloc.
2024
2025 Tue Jun 4 00:16:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2026
2027 * sysdeps/gnu/errlist.awk: Produce N_("..."), not _N("...").
2028
2029 * intl: Updated from gettext-0.10.13.
2030 * intl/localealias.c, intl/dcgettext.c [_LIBC]: Define HAVE_ALLOCA.
2031
2032 * signal/siggetmask.c: New file. Wrapper around sigblock with
2033 link_warning about obsolescence.
2034 * signal/Makefile (routines): Add siggetmask.
2035
2036 * sysdeps/gnu/errlist.awk: New file, adapted from ...
2037 * sysdeps/mach/hurd/errlist.awk: File removed, above file replaces it.
2038 * sysdeps/mach/hurd/Makefile (errlist.c): Target removed.
2039 * sysdeps/gnu/Makefile: New file.
2040 (sysdeps/gnu/errlist.c): Make the errlist.c generation rule into this.
2041
2042 Mon Jun 3 21:03:54 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2043
2044 * manual/errno.texi (Error Codes): Add placeholder items for missing
2045 Linux/i386 errno codes, with perror text but no documentation.
2046 Some existing perror texts changed.
2047
2048 * malloc/mcheck.c (freehook, reallochook): Handle null pointer args.
2049
2050 * hurd/hurdsig.c (_hurd_internal_post_signal): When setting ACT to
2051 `ignore, resume the thread if SS_SUSPENDED, regardless of old action.
2052
2053 Sun Jun 2 20:14:30 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2054
2055 * locale/programs/linereader.c (lr_open): Don't pass NULL to
2056 xstrdup; fix memory leak.
2057 (lr_close): Fix memory leak.
2058
2059 Mon Jun 3 15:58:22 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
2060
2061 * hurd/hurdsig.c (_hurd_internal_post_signal): When turning the action
2062 for a HANDLE signal to IGNORE because the signal is blocked, clean
2063 up any pending suspension left over from a call to resume.
2064
2065 Mon Jun 3 00:30:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2066
2067 * elf/dl-lookup.c (_dl_lookup_symbol): Take new arg RELOC_ADDR and
2068 don't allow a defn resolving to that address.
2069
2070 * elf/link.h: Update prototype and comment.
2071 * elf/dl-runtime.c (fixup): Define local `resolve' function and pass
2072 it to elf_machine_relplt.
2073 * elf/dl-reloc.c (_dl_relocate_object: resolve): Take new arg
2074 RELOC_ADDR and pass it through to _dl_lookup_symbol.
2075 * elf/do-rel.h (elf_dynamic_do_rel): Pass RESOLVE to elf_machine_rel
2076 instead of calling it ourselves and passing its results.
2077 (elf_dynamic_do_rel): RESOLVE fn takes new arg RELOC_ADDR.
2078 * elf/rtld.c (dl_main): Pass 0 for RELOC_ADDR to _dl_lookup_symbol.
2079 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove SYM_LOADADDR
2080 arg. Add RESOLVE function ptr arg. Call *RESOLVE as necessary.
2081 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
2082 * sysdeps/stub/dl-machine.h: Likewise.
2083
2084 Sun Jun 2 14:56:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2085
2086 * csu/initfini.c (_fini): Add extern decl for i_am_not_a_leaf.
2087
2088 * elf/dlfcn.h (dl_open_mode): Enumerated type removed.
2089 (RTLD_LAZY, RTLD_NOW): Define these as macros instead.
2090 (RTLD_GLOBAL): New macro.
2091 (dlopen): Take arg of type int instead of dl_open_mode.
2092 * elf/dlopen.c: Likewise.
2093
2094 * math/math.h (_Mldbl): New macro, either produces L suffix or not.
2095 (M_*): Use it for these constants.
2096
2097 * elf/dl-lookup.c (_dl_lookup_symbol): Arg NOSELF renamed to NOPLT.
2098 Reject SHN_UNDEF defns iff NOPLT is nonzero.
2099 * elf/link.h (_dl_lookup_symbol): Update prototype and comment.
2100 * elf/dl-runtime.c (fixup): Pass 1 to _dl_lookup_symbol for NOPLT.
2101 * elf/dlsym.c (dlsym): Pass 0.
2102 * elf/rtld.c (dl_main): Likewise.
2103 * elf/dl-reloc.c (_dl_relocate_object: resolve): Second arg R_OFFSET
2104 replaced with NOPLT flag. Pass it through to _dl_lookup_symbol.
2105 * elf/do-rel.h (elf_dynamic_do_rel): Update prototype of RESOLVE arg.
2106 Pass `elf_machine_pltrel_p (R->r_type)' result as NOPLT flag value.
2107 * sysdeps/i386/dl-machine.h (elf_machine_pltrel_p): New macro.
2108 * sysdeps/m68k/dl-machine.h (elf_machine_pltrel_p): Likewise.
2109 * sysdeps/stub/dl-machine.h (elf_machine_pltrel_p): Likewise.
2110
2111 * login/pututline_r.c: Fix typo in sizeof for DATA_TMP alloca.
2112
2113 * sysdeps/generic/gnu/types.h (__clock_t): New type.
2114
2115 Wed May 29 00:57:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
2116
2117 * sysdeps/unix/sysv/linux/gnu/types.h (__clock_t, __fsid_t): Define
2118 using kernel types.
2119 * time/time.h (clock_t): Include <gnu/types.h> and define using
2120 __clock_t.
2121
2122 * time/Makefile (tests): Add test-tz.
2123
2124 * time/test-tz.c: New test.
2125
2126 * time/clocktest.c: Rewrite to test more meaningfully.
2127
2128 * sysdeps/unix/sysv/linux/syscalls.list: Add bdflush,
2129 create_module, delete_module, get_kernel_syms, init_module,
2130 klogctl.
2131
2132 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Define as 5
2133 instead of SYMLOOP_MAX, which is nowhere to be found.
2134
2135 * sysdeps/unix/sysv/linux/sys/msq_buf.h,
2136 sysdeps/unix/sysv/linux/sys/sem_buf.h,
2137 sysdeps/unix/sysv/linux/sys/shm_buf.h [__USE_MISC]: Add more
2138 control ops and datastructures.
2139
2140 * sysdeps/unix/sysv/linux/sys/io.h: New file declaring low-level
2141 I/O related functions.
2142
2143 * sysdeps/unix/sysv/linux/sys/kdaemon.h: New file declaring kernel
2144 daemon related functions/operations.
2145
2146 * sysdeps/unix/sysv/linux/sys/klog.h: New file declaring kernel
2147 logging related functions/operations.
2148
2149 * sysdeps/unix/sysv/linux/sys/module.h: New file declaring kernel
2150 module related functions/operations.
2151
2152 * sysdeps/unix/sysv/linux/speed.c: Only do "mention this twice" hack
2153 for non-Alpha based Linux systems.
2154
2155 * sysdeps/unix/sysv/linux/alpha/speed.c: Remove.
2156
2157 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/module.h,
2158 sys/io.h, sys/klog.h, and sys/kdaemon.h.
2159
2160 * sysdeps/unix/sysdep.h (END): Define empty END macro for
2161 platforms that don't need some sort of end directive at the
2162 end of functions.
2163
2164 * sysdeps/unix/make-syscalls.sh: Emit END($strong) at end of
2165 syscall wrapper to allow correct generation of debugging
2166 information.
2167
2168 * sysdeps/unix/alpha/sysdep.h (END): Redefine to use .end
2169 directive for both ELF and ECOFF.
2170 (ret): Delete macro. It was a dangerous macro and unnecessary
2171 since the Alpha assemblers recognizes "ret" as a macro themselves.
2172
2173 * sysdeps/gnu/utmpbits.h (struct utmp): Move ut_tv behind
2174 ut_session to guarantee long alignment. This is important for
2175 Linux/Alpha since ut_tv.tv_sec is 32 bits and time_t is 64 bits.
2176 This will all get cleaned up as programs start to use ut_tv
2177 instead ut_time.
2178
2179 * sysdeps/alpha/divrem.h: Include <sysdep.h> instead of <*/regdef.h>.
2180
2181 * sysdeps/alpha/bsd-_setjmp.S (setjmp): Renamed entry point to
2182 _setjmp.
2183
2184 * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
2185 sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S,
2186 sysdeps/alpha/copysign.S, sysdeps/alpha/divrem.h,
2187 sysdeps/alpha/fabs.S, sysdeps/alpha/ffs.S, sysdeps/alpha/htonl.S,
2188 sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
2189 sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
2190 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
2191 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
2192 sysdeps/unix/sysv/linux/alpha/llseek.S,
2193 sysdeps/unix/sysv/linux/alpha/pipe.S,
2194 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
2195 sysdeps/unix/sysv/linux/alpha/sysdep.S: Use END macro instead of
2196 .end directive.
2197
2198 * csu/initfini.c (_fini): Tell gcc that _fini is not a leaf
2199 function by having it contain a dummy function call.
2200
2201 * configure.in (config_machine): Don't make ELF the default for
2202 Linux/Alpha just yet (use --with-elf instead).
2203 (.init/.fini check): Generate .text to ensure function start and
2204 end are in same section.
2205
2206 * sysdeps/unix/bsd/osf/alpha/brk.S,
2207 sysdeps/unix/sysv/linux/alpha/brk.S (__curbrk): Store the entire
2208 break value, not just the low 32 bits to accomodate large
2209 memories.
2210
2211 Tue May 28 10:46:04 1996 Richard Henderson <rth@tamu.edu>
2212
2213 * sysdeps/unix/sysv/linux/alpha/brk.S: Rather than attempt to
2214 dynamically resolve _end for initializing __curbrk, support the
2215 brk(0) query idiom.
2216
2217 * sysdeps/alpha/bb_init_func.S: Don't make `init' an external symbol.
2218
2219 * sysdeps/alpha/bsd-_setjmp.S: The function is _setjmp not setjmp.
2220
2221 Sun May 26 22:17:38 1996 Richard Henderson <rth@tamu.edu>
2222
2223 * stdlib/lcong48_r.c, stdlib/seed48_r.c, stdlib/strtod.c,
2224 stdlib/strtol.c: Include <string.h> for mem* and str* fns used.
2225
2226 Thu May 23 02:15:56 1996 David Mosberger-Tang <davidm@azstarnet.com>
2227
2228 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/io.h,
2229 sys/klog.h, and sys/kdaemon.h.
2230
2231 * sysdeps/unix/sysv/linux/sys/io.h: New file.
2232 * sysdeps/unix/sysv/linux/sys/klog.h: Ditto.
2233 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Ditto.
2234
2235 * sysdeps/unix/alpha/sysdep.h (ret): Remove macro. It is
2236 dangerous and unnecessary since both OSF/1 as and gas define "ret"
2237 as a pseudo-instruction.
2238
2239 Sat Jun 1 17:18:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2240
2241 * time/tzset.c (__tzset): Clear tz_rules name pointers after freeing
2242 them. Bug found by David Mosberger-Tang.
2243
2244 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Use __ptr_t instead
2245 of PTR.
2246
2247 * extra-lib.mk (extra-objs): Use patsubst intead of $(A:=B) syntax
2248 to work around Make bug when A contains var ref.
2249
2250 Fri May 31 18:27:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2251
2252 * string/string.h [__USE_MISC]: Declare basename; OSF/1 puts it here.
2253
2254 * sysdeps/unix/sysv/linux/syscalls.list (getpgid, setpgid): Define __
2255 strong names and [gs]etpgid as weak aliases.
2256
2257 Thu May 30 11:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2258
2259 * math/math_private.h (GET_LDOUBLE_EXP): Add missing backslash.
2260
2261 * po/header.pot: Replace with exact boilerplate pinard dictates.
2262
2263 * sysdeps/i386/strtok.S (Lillegal_argument): Remove this code to set
2264 errno and the check that jumped to it.
2265
2266 * sysdeps/mach/hurd/Makefile (errnos.d): Use $(sed-remove-objpfx).
2267
2268 Thu May 30 03:21:57 1996 Ulrich Drepper <drepper@cygnus.com>
2269
2270 * FAQ: Document need of gperf program for developers.
2271
2272 * elf/elf.h: Fix typos in comments.
2273
2274 * libio/stdio.h [!__STRICT_ANSI__ || _POSIX_SOURCE]: Add
2275 prototypes for `ctermid' and `cuserid'.
2276
2277 * locale/programs/locale.c: Switch to user selected locale
2278 before printing variables.
2279
2280 * math/Makefile [$(long-double-fcts)==yes]: Define long-m-routines
2281 and long-c-routines. Only if the `long double' data type is
2282 available we need to compile the functions.
2283 (libm-routines): Add $(long-m-routines).
2284 (routines): Remove isinfl, isnanl. Use new file s_isinfl and
2285 s_isnanl instead if `long double' is available.
2286
2287 * math/math.h: Include <mathcalls.h> again to define `long double'
2288 functions.
2289
2290 * math/math_private.h: Define data types, prototypes and access
2291 macros for `long double'.
2292
2293 * stdlib/stdlib.h: Add prototypes for `strtoll' and `strtoull'.
2294 [GCC2 && OPTIMIZE]: Define strto{,u}ll as inline function which
2295 calls __strto{,u}q_internal.
2296
2297 * stdlib/strfmon.c: Replace PTR by `void *'.
2298
2299 * stdlib/strtoq.c: Define strtoll as weak alias.
2300 * stdlib/strtouq.c: Define strtoull as weak alias.
2301
2302 * string/tester.c: Correct `strsep' test.
2303
2304 * sysdeps/generic/strsep.c: Make compatible with BSD version.
2305 Trailing characters of skip set are not skipped. In this case
2306 empty tokens are returned.
2307
2308 * sysdeps/i386/isinfl.c, sysdeps/i386/isnanl.c,
2309 sysdeps/ieee754/isinf.c, sysdeps/ieee754/isinfl.c,
2310 sysdeps/ieee754/isnan.c, sysdeps/ieee754/isnanl.c: Removed. We
2311 now use the versions part of libm.
2312
2313 * sysdeps/i386/strsep.S: Removed. Generic C version is of
2314 similar speed.
2315 * sysdeps/i386/strtok.S: Remove support for `strsep'.
2316
2317 * sysdeps/libm-i387/e_acosl.S, sysdeps/libm-i387/s_ceill.S,
2318 sysdeps/libm-i387/s_copysignl.S, sysdeps/libm-i387/s_finitel.S,
2319 sysdeps/libm-i387/s_floorl.S, sysdeps/libm-i387/s_isinfl.c,
2320 sysdeps/libm-i387/s_isnanl.c, sysdeps/libm-i387/s_nextafterl.c,
2321 sysdeps/libm-i387/s_rintl.S, sysdeps/libm-i387/s_significandl.S:
2322 New i387 specific math functions implementing `long double'
2323 versions.
2324
2325 * sysdeps/libm-ieee754/s_ceill.c,
2326 sysdeps/libm-ieee754/s_copysignl.c,
2327 sysdeps/libm-ieee754/s_fabsl.c, sysdeps/libm-ieee754/s_finitel.c,
2328 sysdeps/libm-ieee754/s_floorl.c, sysdeps/libm-ieee754/s_isinfl.c,
2329 sysdeps/libm-ieee754/s_isnanl.c,
2330 sysdeps/libm-ieee754/s_nextafterl.c,
2331 sysdeps/libm-ieee754/s_rintl.c, sysdeps/libm-ieee754/s_scalbnl.c,
2332 sysdeps/libm-ieee754/s_significandl.c: New generic `long double'
2333 versions of libm functions.
2334
2335 * sysdeps/libm-i387/e_exp.S: Add a few comments to explain the
2336 Intel FPU nonsense.
2337
2338 * sysdeps/libm-i387/s_ceil.S, sysdeps/libm-i387/s_ceilf.S,
2339 sysdeps/libm-i387/s_floor.S, sysdeps/libm-i387/s_floorf.S: Correct
2340 handling of local variables. The old version created a stack
2341 frame but stored the values outside.
2342
2343 * sysdeps/libm-ieee754/s_isinf.c, sysdeps/libm-ieee754/s_isnan.c
2344 [!NO_LONG_DOUBLE]: Define alias with `long double' versions name.
2345
2346 Wed May 29 12:53:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2347
2348 * login/pututline_r.c: Include sys/stat.h. Fix typos.
2349
2350 * version.h (VERSION): Set to 1.90.
2351
2352 * Makerules (distinfo-vars): Write extra-libs and *-routines for each
2353 of its elts.
2354 * MakeTAGS (sources): Add those sources.
2355
2356 * MakeTAGS (all-sources): Add $(others:=.c) and $(tests:=.c).
2357
2358 Wed May 29 08:53:08 1996 Miles Bader <miles@gnu.ai.mit.edu>
2359
2360 * hurd/report-wait.c (_S_msg_report_wait): Return `itimer' for the
2361 itimer thread.
2362
2363 * hurd/hurdinit.c (_hurd_init): Set _HURDSIG_TRACED before calling
2364 _hurd_proc_init.
2365
2366 Wed May 29 00:52:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2367
2368 * string/tester.c (main): Fix strsep tests 6, 7, 20 to expect null
2369 token instead of it being implicitly skipped.
2370
2371 * sysdeps/i386/fpu/__math.h (logb): Correct contraint from =u to =t.
2372 Must operate on top of fp reg stack, not second from top.
2373
2374 * extra-lib.mk (alltypes-$(lib)): Don't append $(objpfx)$(lib).so.
2375 (others): Instead, make this depend on it.
2376
2377 Tue May 28 04:38:10 1996 Ulrich Drepper <drepper@cygnus.com>
2378
2379 * limits.h: Change MB_LEN_MAX to 6. A 31-bit ISO 10646
2380 character in UTF-8 encoding has that many bytes.
2381
2382 * locale/langinfo.h: New element _NL_CTYPE_MB_CUR_MAX.
2383 * locale/categories.def: Add description of field _NL_CTYPE_MB_CUR_MAX.
2384 * locale/Makefile (routines): Add mb_cur_max.
2385 * locale/mb_cur_max.c: New file. This function gets called
2386 when the macro MB_CUR_MAX is used.
2387 * locale/C-ctype.c: Initialize new mb_cur_max field.
2388 * locale/localeinfo.h: Change magic value because of incompatible
2389 change.
2390 * locale/programs/ld-ctype.c: Determine value of mb_cur_max
2391 according to current character set and write it out with the rest.
2392 * stdlib/stdlib.h (MB_CUR_MAX): Not constant anymore. Get value
2393 according to currently used locale for category LC_CTYPE by
2394 calling the function __ctype_get_mb_cur_max.
2395
2396 Tue May 28 03:27:46 1996 Ulrich Drepper <drepper@cygnus.com>
2397
2398 * FAQ: Fix some typos.
2399 Tell that for Linux the kernel header files are necessary.
2400
2401 * PROJECTS: New file. List of open jobs for glibc.
2402 * Makefile (distribute): Add PROJECTS.
2403
2404 * crypt/GNUmakefile (headers): New variable. Mention crypt.h.
2405 * crypt/crypt.h: Header for crypt functions.
2406
2407 * elf/elf.h: Add some new constants from recent Cygnus ELF
2408 header files.
2409
2410 * login/getutid_r.c: Test for correct type.
2411 Don't depend on ut_type and ut_id unless _HAVE_UT_TYPE and
2412 _HAVE_UT_ID resp. are defined.
2413 Make really compliant with specification.
2414
2415 * login/getutline_r.c, login/pututline_r.c: Don't depend on
2416 ut_type and ut_id unless _HAVE_UT_TYPE and _HAVE_UT_ID resp. are
2417 defined.
2418 Make really compliant with specification.
2419
2420 * login/setutent_r.c: Don't depend on ut_type and ut_id unless
2421 _HAVE_UT_TYPE and _HAVE_UT_ID resp. are defined.
2422
2423 * login/login.c, login/logout.c, login/logwtmp.c: Complete
2424 rewrite. Now based on getut*/setut* functions.
2425
2426 * stdlib/strtol.c: Undo changes of Wed May 22 01:48:54 1996.
2427 This prevented using this file in other GNU packages.
2428
2429 * sysdeps/gnu/utmpbits.h: Define _HAVE_UT_TYPE, _HAVE_UT_ID,
2430 and _HAVE_UT_TV because struct utmp has these members.
2431
2432 * sysdeps/libm-i387/e_exp.S: Correct exp(+-Inf) case.
2433
2434 * utmp.h: New file. Wrapper around login/utmp.h.
2435
2436 Tue May 28 13:11:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2437
2438 * elf/dl-error.c (struct catch): New type.
2439 (catch): New static variable, struct catch *.
2440 (catch_env, signalled_errstring, signalled_objname): Variables removed.
2441 (_dl_signal_error): If CATCH is non-null, set its errstring and
2442 objname members and jump to CATCH->env. If it is null, call
2443 _dl_sysdep_fatal with a standard message.
2444 * elf/rtld.c (dl_main): Explode `doit' function into dl_main's body.
2445 No longer use _dl_catch_error.
2446
2447 * Makerules (sed-remove-objpfx): Avoid extra space in regexp due to
2448 continuation line.
2449
2450 * sysdeps/unix/sysv/linux/i386/socket.S: Fix off-by-one error in
2451 setting %ecx to 2nd syscall arg: we have pushed nothing, so function
2452 args are found at 4(%esp), not 8(%esp).
2453
2454 Mon May 27 10:10:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2455
2456 * Makefile ($(includedir)/stubs.h): Add missing backslash.
2457
2458 * sysdeps/unix/sysv/linux/i386/brk.c (__curbrk): Initialize it so it
2459 can be aliased.
2460
2461 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=termios] (headers):
2462 Append termio.h.
2463
2464 * Makefile ($(includedir)/stubs.h): Print a msg if we do nothing.
2465
2466 * misc/sgtty.h: Add forward decl of struct sgttyb in case it is never
2467 defined.
2468
2469 * sysdeps/unix/sysv/linux/termio.h: New file.
2470 * sysdeps/unix/sysv/linux/Dist: Add it.
2471
2472 * sysdeps/unix/sysv/linux/ioctl-types.h: New file, wrapper around
2473 kernel header <asm/termios.h>.
2474
2475 * misc/Makefile (headers): Add ioctl-types.h.
2476 * sysdeps/generic/ioctl-types.h: New file.
2477 * misc/sys/ioctl.h: Include <ioctl-types.h>.
2478 (struct tchars, struct ltchars, struct sgttyb, struct winsize,
2479 struct ttysize): Types moved there.
2480
2481 * Makefile ($(includedir)/stubs.h): Don't touch target if new one is
2482 identical.
2483
2484 * time/Makefile (z.% rule): Generate generic zone%/ rule after
2485 zone%/right/ and zone%/posix/ rules so they match first.
2486
2487 Sun May 26 15:15:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2488
2489 * features.h [_GNU_SOURCE] (_BSD_SOURCE, _SVID_SOURCE,
2490 _POSIX_SOURCE, _POSIX_C_SOURCE): Define these.
2491
2492 * time/Makefile (tzcompile): Add missing backslash.
2493
2494 * stdlib/ldiv.c: Deansideclized.
2495
2496 * wctype/wctype.h (__need_wint_t): Define this and include stddef.h.
2497 [! _WINT_T] (wint_t): Conditionalize typedef on this in case pre-2.7.3
2498 stddef.h doesn't define it.
2499 * wcsmbs/wchar.h: Likewise.
2500 * stdlib/strtod.c: Likewise.
2501
2502 * wcsmbs/wcstok.c: Fix argument name typo.
2503
2504 Sun May 26 19:39:53 1996 Ulrich Drepper <drepper@cygnus.com>
2505
2506 * intl/loadmsgcat.c (_nl_load_domain): Test correct variable
2507 after malloc.
2508
2509 * string/Makefile (tester-ENV): New variable to suppress message
2510 translation in test.
2511
2512 * string/tester.c: Add tests for strtok_r and strsep.
2513
2514 * sysdeps/i386/i486/strcat.S: Correct some more 8bit operation
2515 <-> 32 bit operand conflicts.
2516
2517 * sysdeps/i386/strsep.S: Wrapper around <sysdeps/i386/strtok.S>
2518 to produce strsep function.
2519 * sysdeps/i386/strtok.S: Optimized implementation of strtok
2520 function.
2521 * sysdeps/i386/strtok_r.S: Wrapper around <sysdeps/i386/strtok.S>
2522 to produce strtok_r function.
2523
2524 * sysdeps/generic/strtok.c: Moved here from string/strtok.c.
2525 Corrected example in comment.
2526
2527 * string/Makefile (routines): Add strtok_r.
2528 * sysdeps/generic/strtok_r.c: New file. Implement reentrant version
2529 of strtok_r.
2530 * string/string.h: Add prototype for strtok_r.
2531 * wcsmbs/wcstok.c: Handle illegal SAVE_PTR argument the same
2532 as in strtok_r.
2533
2534 Sun May 26 13:28:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2535
2536 * time/tzset.c (__tzset): Ignore leading : in $TZ; always try tzfile
2537 first and fall back to 1003.1 syntax only if it fails.
2538
2539 * time/Makefile (install-others): Also install posix/ZONE and
2540 right/ZONE for each ZONE in $(zonenames).
2541 (z.% rule): Generate rules for right/ZONE and posix/ZONE targets too,
2542 the difference begin leapseconds vs /dev/null as 3rd dep. For
2543 original ZONE targets use $(leapseconds), to be set in Makeconfig.
2544 (target-zone-flavor): New variable.
2545 (tzcompile): Use it to get the right -d for posix/ and right/ flavors.
2546 * Makeconfig (leapseconds): New variable.
2547
2548 * mach/Machrules (%.udeps rule): Depend on Machrules.
2549 Emit deps for .uh and .__h files.
2550 (%.uh, %.__h rules): Don't depend on %.defs; use #include <$*.defs>
2551 instead.
2552
2553 Sun May 26 01:06:47 1996 Ulrich Drepper <drepper@cygnus.com>
2554
2555 * stdlib/Makefile (routines): Add llabs, lldiv.
2556 * stdlib/llabs.c: New file. Implementation of return
2557 absolute value of long long argument.
2558 * stdlib/lldiv.c: New file. Implementation of division with remainder
2559 of long long argument.
2560 * stdlib/stdlib.h [__USE_GNU] (lldiv_t): New type for lldiv
2561 function.
2562 Define prototypes for lldiv and llabs functions.
2563
2564 * locale/C-collate.c: Initialize _NL_COLLATE_NRULES element.
2565
2566 * stdlib/strtod.c: Replace wchar_t with wint_t. The later is
2567 really the type for a single wide character.
2568
2569 * string/strxfrm.c (print_val): Define separate version for
2570 use as wcsxfrm. Here we don't need UTF8 encoding.
2571
2572 * wcsmbs/wchar.h: gcc-2.7.2-960517 finally introduces wint_t
2573 in <stddef.h>. Use this value and only for older gcc version
2574 define in place.
2575 (uwchar_t): Remove definition.
2576
2577 * wcsmbs/wcscmp.c, wcsmbs/wcscoll.c, wcsmbs/wcsncmp.c,
2578 wcsmbs/wcsxfrm.c, wcsmbs/wmemcmp.c: : Don't use uwchar_t as unsigned
2579 type. wint_t is intended for this.
2580
2581 Sat May 25 14:10:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2582
2583 * sysdeps/unix/bsd/direntry.h: Use [1] instead of [0] for d_name to
2584 quiet -ansi -pedantic.
2585 * sysdeps/unix/common/direntry.h: Likewise.
2586
2587 * login/Makefile (headers): Add lastlog.h.
2588 * login/lastlog.h: New file.
2589
2590 * login/Makefile (CFLAGS): Don't append -D_THREAD_SAFE.
2591 * login/utmp.h [_REENTRANT || _THREAD_SAFE]: Replace this conditional
2592 with #ifdef __USE_REENTRANT.
2593
2594 * features.h (__GNU_LIBRARY__): Set to 6.
2595 [_GNU_SOURCE] (_POSIX_SOURCE, _POSIX_C_SOURCE, _BSD_SOURCE,
2596 _SVID_SOURCE): Make sure they are all defined.
2597
2598 * sysdeps/unix/sysv/linux/gnu/types.h: Instead of including
2599 <linux/posix_types.h>, define _LINUX_TYPES_DONT_EXPORT and then
2600 include <linux/types.h>.
2601
2602 * resource/sys/resource.h: Remove trailing commas from enums.
2603
2604 Fri May 24 17:30:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2605
2606 * sysdeps/generic/netinet/in.h: Remove trailing commas from enums.
2607 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
2608
2609 * login/getutline_r.c: Include string.h.
2610
2611 * Rules (static-only-routines): Restore the rule to make these .so's
2612 empty objects.
2613
2614 * login/pututline_r.c: Use struct assignment instead of memcpy.
2615
2616 * login/getutline_r.c: Use strncmp instead of comparing two pointers
2617 that will only be equal if you are overwriting the data and screwing
2618 yourself anyway.
2619
2620 Fri May 24 02:31:36 1996 Ulrich Drepper <drepper@cygnus.com>
2621
2622 * sysdeps/unix/sysv/linux/speed.c: Add new speed value 460800.
2623
2624 Thu May 23 23:09:33 1996 Ulrich Drepper <drepper@cygnus.com>
2625
2626 * FAQ: Add answer for 100% source code compatibility to Linux
2627 libc by David Mosberger-Tang.
2628
2629 Update from bind-4.9.4-T3B.
2630 * inet/arpa/inet.h: Add prototypes for inet_pton, inet_ntop,
2631 inet_nsap_addr, and inet_nsap_ntoa.
2632 * resolv/gethnamaddr.c: Correct compatibility problems (sprintf),
2633 remove fourth argument to inet_pton and correct handling of
2634 host_addr passing.
2635 * resolv/inet_ntop.c: Correct compatibility problems (sprintf).
2636 * resolv/inet_pton.c: Remove fourth argument.
2637 * resolv/resolv.h: Remove prototypes for inet_nsap_addr and
2638 inet_nsap_ntoa. Now in <arpa/inet.h>.
2639
2640 * stdlib/gmp-impl.h: Add prototypes for internal functions.
2641
2642 Thu May 23 22:49:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2643
2644 * Rules (subdir_install): Remove dep on sor-$(subdir).
2645 (static-only-routines): Removed variable and associated rules.
2646
2647 Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com>
2648
2649 * sysdeps/unix/sysv/linux/alpha/speed.c (speeds): Add entry for
2650 460800 baud.
2651
2652 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
2653
2654 * sysdeps/unix/sysv/linux/alpha/Makefile (headers): Add
2655 alpha/ptrace.h.
2656 * sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h: New file.
2657
2658 * sysdeps/libm-ieee754/s_scalbnf.c: Call __scalbnf instead of
2659 scalbnf.
2660
2661 * sysdeps/generic/sigset.h (__sigismember, __sigaddset,
2662 __sigdelset): Add declaration to keep ANSI compilers quiet.
2663
2664 * sysdeps/alpha/__math.h (cabs): Remove underscores from struct
2665 __cabs_complex member names in call to __hypot().
2666
2667 * sysdeps/alpha/copysign.S, sysdeps/alpha/fabs.S: New files.
2668
2669 * sysdeps/alpha/divrem.h: Renamed from sysdeps/alpha/divrem.S to avoid
2670 name collision with math library.
2671
2672 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
2673 sysdeps/alpha/divqu.S, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
2674 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S: Include divrem.h instead
2675 of divrem.S.
2676
2677 * sysdeps/unix/alpha/sysdep.h: Include regdef.h. Define LEAF macro
2678 to simplify declaration of leaf functions.
2679
2680 * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
2681 sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/ffs.S,
2682 sysdeps/alpha/htonl.S, sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
2683 sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
2684 sysdeps/alpha/udiv_qrnnd.S, sysdeps/unix/sysv/linux/alpha/brk.S,
2685 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
2686 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
2687 sysdeps/unix/sysv/linux/alpha/pipe.S,
2688 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
2689 sysdeps/unix/sysv/linux/alpha/syscall.S,
2690 sysdeps/unix/sysv/linux/alpha/start.S,
2691 sysdeps/unix/sysv/linux/alpha/sysdep.S: Remove include of regdef.h.
2692 sysdep.h includes it now. Replace ENTRY by LEAF with appropriate
2693 framesize declaration. Replace "lda pv,sym/jsr pv" by "jsr sym".
2694
2695 * sysdeps/unix/sysv/linux/alpha/sysdep.h (NO_UNDERSCORES): Don't
2696 define.
2697
2698 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Added getsockopt,
2699 ptrace, and sysctl.
2700
2701 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: File removed.
2702
2703 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Modify to support
2704 dynamic recognition of platform type.
2705 (_bus_base): New function.
2706
2707 * sysdeps/unix/sysv/linux/alpha/llseek.S: New file.
2708
2709 * sunrpc/rpc/rpc.h, sunrpc/rpc/svc.h: Avoid nested comments since
2710 they produce ugly warnings by gcc.
2711
2712 * posix/sys/types.h [__USE_MISC]: Add typedef for ulong.
2713
2714 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
2715
2716 * sysdeps/alpha/setjmp.S: Must establish global pointer before
2717 address of __sigsetjmp_aux can be loaded.
2718
2719 Wed May 22 22:10:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2720
2721 * stdlib/canonicalize.c: New file.
2722 * stdlib/stdlib.h: Declare canonicalize_file_name, realpath.
2723 * stdlib/Makefile (routines): Add canonicalize.
2724
2725 * posix/unistd.h: Declare __canonicalize_directory_name_internal.
2726
2727 Thu May 23 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
2728
2729 * db/recno/rec_seq.c: Prevent `sccsid' definition by using the
2730 same #if condition as in the other db files.
2731
2732 * intl/Makefile: Add -Wno-unused CFLAGS for compilation of
2733 bindtextdom.c, finddomain.c, and localealias.c.
2734
2735 * intl/dcgettext.c: Don't define prototype for getcwd() when
2736 compiling in glibc.
2737
2738 * libio/cleanup.c: Add prototype for _IO_register_cleanup.
2739
2740 * libio/filedoalloc.c, libio/fileops.c, libio/iopopen.c: Don't
2741 define _POSIX_SOURCE unconditionally.
2742
2743 * libio/filedoalloc.c, libio/iopopen.c: Include <unistd.h> if
2744 compiling in glibc.
2745
2746 * libio/fileops.c (_IO_file_close_it): Don't sync file, call
2747 flush instead. This relaxes the rules from POSIX.1 about
2748 changing the active handle a bit.
2749
2750 * libio/iofopncook.c (struct _IO_cookie_file): Move definition
2751 into <libio.h>.
2752 Add prototypes for local functions to prevent warnings.
2753
2754 * libio/iopopen.c: Change prototypes for _IO_fork, _IO_pipe, and
2755 _IO_dup2 to contain complete parameter list.
2756
2757 * libio/libio.h: Add definition of struct _IO_cookie_file.
2758
2759 * libio/libioP.h: Add prototypes for _IO_vasprintf, _IO_vdprintf,
2760 and _IO_vsnprintf.
2761
2762 * libio/memstream.c: Include <stdio.h>.
2763
2764 * libio/stdio.h: Add prototypes for fopencookie,
2765 __stdio_gen_tempname, __vfscanf, __vsscanf, and __vsnprintf.
2766
2767 * libio/strops.c: Avoid useless expression in `for' initializer.
2768
2769 * locale/findlocale.c: Add some casts to prevent warnings.
2770
2771 * locale/programs/locfile.c (write_locale_data): Don't use
2772 double `/' in locale binary file.
2773
2774 * posix/unistd.h: Remove prototype for `reboot'.
2775
2776 Update from bind-4.9.4-T1A.
2777 * resolv/Makefile (routines): Add inet_ntop and inet_pton.
2778 * resolv/arpa/nameser.h: Add definition of IN6ADDRSZ.
2779 * resolv/gethnamaddr.c, resolv/getnetnamadr.c, resolv/res_comp.c,
2780 resolv/res_debug.c, resolv/res_init.c
2781
2782 * resolv/inet_ntop.c, resolv/inet_pton.c: New files.
2783
2784 * resolv/resolv.h: Add RES_USE_INET6 flag.
2785 (__dn_isvalid): Renamed to __res_dnok.
2786 Add prototypes for __res_ownok and __res_mailok.
2787
2788 * stdio-common/Makefile: Add -Wno-unused to CFLAGS for _itoa.c.
2789
2790 * stdio-common/getline.c, stdio-common/vfscanf.c,
2791 sysdeps/posix/tempname.c: Don't use <ansidecl.h> anymore.
2792
2793 * sysdeps/unix/sysv/linux/Makefile [$subdir == misc]
2794 (sysdep_routines): Add s_reboot.
2795 (install-others): Add $(includedir)/sys/syscall.h.
2796 New rule for $(includedir)/sys/syscall.h to produce from
2797 <asm/unistd.h>.
2798
2799 * sysdeps/unix/sysv/linux/reboot.c: New file. Make single
2800 argument function call 3 argument system call.
2801
2802 * sysdeps/unix/sysv/linux/sys/reboot.h: New file. Linux specific
2803 definition for reboot function.
2804
2805 * sysdeps/unix/sysv/linux/syscall.h: Remove old and obsolete
2806 comment.
2807
2808 * sysdeps/unix/sysv/linux/syscalls.list: Rename function for
2809 reboot syscall to __syscall_reboot.
2810
2811 * wcsmbs/wchar.h: Protect prototypes for wcstof and wcstold by
2812 __USE_GNU, not USE_GNU.
2813
2814 Tue May 21 21:55:49 1996 David Mosberger-Tang <davidm@AZStarNet.com>
2815
2816 * locale/programs/charset.c, locale/programs/ld-collate.c:
2817 Add casts to prevent warnings on 64-bit machines.
2818
2819 * locale/programs/ld-monetary.c: Don't do unnecessary tests for
2820 int_frac_digits and frac_digits which only produce warnings.
2821
2822 Mon May 13 23:45:29 1996 David Mosberger-Tang <davidm@AZStarNet.com>
2823
2824 * inet/arpa/inet.h: Backup return type of inet_addr to u_long.
2825 * resolv/inet_addr.c: Likewise.
2826
2827 * resolv/Makefile (distribute): Add res_hconf.h
2828 (routines): Add res_hconf.
2829
2830 * resolv/gethnamaddr.c: Add support for /etc/host.conf.
2831
2832 * resolv/res_init.c: Initialize /etc/host.conf reader.
2833
2834 * resolv/res_hconf.c, resolv/res_hconf.h: New files.
2835 Implementation of reading /etc/host.conf.
2836
2837 Wed May 22 21:21:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2838
2839 * Rules (%.out rules): Prepend $($*-ENV) to the command.
2840
2841 * sysdeps/unix/sysv/linux/i386/brk.c (___brk_addr): Define as weak
2842 alias for __curbrk.
2843
2844 Wed May 22 19:37:27 1996 Miles Bader <miles@gnu.ai.mit.edu>
2845
2846 * hurd/hurdexec.c (_hurd_exec): Pass INIT_TRACEMASK.
2847 * hurd/hurdmsg.c (set_int): Support INIT_TRACEMASK.
2848
2849 Wed May 22 18:47:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2850
2851 * sysdeps/mach/hurd/getcwd.c
2852 (_hurd_canonicalize_directory_name_internal): New function, broken out
2853 of __getcwd.
2854 (__getcwd): Use it.
2855 (__canonicalize_directory_name_internal): New function using it.
2856
2857 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal): New
2858 function, broken out of __getcwd.
2859 (__getcwd): Use it.
2860
2861 Wed May 22 18:14:05 1996 Miles Bader <miles@gnu.ai.mit.edu>
2862
2863 * string/argz-create.c (__argz_create): Correctly calculate length.
2864
2865 * string/argz-extract.c (__argz_extract): Add terminating 0 entry.
2866 * hurd/hurdstartup.c (_hurd_startup): ... and don't so here.
2867
2868 Wed May 22 17:22:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2869
2870 * posix/glob.c [VMS]: Don't include <pwd.h>.
2871 [HAVE_VMSDIR_H]: Include "vmsdir.h".
2872 (glob) [VMS]: Don't grok ~.
2873
2874 Wed May 22 14:46:53 1996 Miles Bader <miles@gnu.ai.mit.edu>
2875
2876 * hurd/hurdstartup.c (_hurd_startup): Terminate the vectors we get
2877 back from argz_extract.
2878
2879 Wed May 22 13:56:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2880
2881 * configure.in: Remove checks for objdump, objcopy, and awk.
2882 * config.make.in (OBJDUMP, OBJCOPY, AWK): Variables removed.
2883 * Makefile (distribute): Remove extract-dynsym.
2884 * extract-dynsym: File removed.
2885
2886 Tue May 21 22:17:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2887
2888 * termios/cfmakeraw.c: Set MIN to 1 and TIME to 0.
2889
2890 Wed May 22 01:48:54 1996 Ulrich Drepper <drepper@cygnus.com>
2891
2892 * stdlib/strtol.c [!QUAD] (ULONG_MAX, LONG_MAX): Define these
2893 macros if they are not available.
2894 (WEAKNAME): New macro to declare argument as weak.
2895 Define function with __ prefix and add normal name as weak alias.
2896
2897 * sysdeps/posix/euidaccess.c (S_IROTH, S_IWOTH, S_IXOTH): Defines
2898 these macros if not already available based on R_OK, W_OK, and
2899 X_OK.
2900
2901 Tue May 21 18:48:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2902
2903 * misc/sys/syslog.h (__need___va_list): Define this instead of
2904 __need_va_list before including <stdarg.h>.
2905
2906 * Makerules (o-iterator): Use $(object-suffixes-left) instead
2907 of $(object-suffixes) to produce repetitions; this is used for other
2908 lists than just that one.
2909 [versioned]: Use $(o-iterator) properly.
2910
2911 * sysdeps/unix/sysv/linux/Implies: Include `gnu'.
2912 * sysdeps/mach/hurd/Implies: Likewise.
2913
2914 Sat May 18 02:57:46 1996 Ulrich Drepper <drepper@cygnus.com>
2915
2916 * login/Makefile: New file. This directory contains functions
2917 for user administration.
2918 * Makefile (subdirs): Add login.
2919
2920 * misc/Makefile (headers): Remove utmp.h. Now in login/utmp.h.
2921 (extra-libs, libutil-routines): Ditto.
2922 * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c,
2923 misc/utmp.h: Moved to misc/.
2924 * login/login.c, login/login_tty.c, login/logout.c,
2925 login/logwtmp.c, login/utmp.h: Moved to here from misc/.
2926
2927 * login/utmp.h: Split file. Definitions of data structures
2928 and constants are now in the system dependent utmpbits.h file.
2929
2930 * login/setutent_r.c, login/setutent.c, login/endutent_r.c,
2931 login/endutent.c, login/getutent_r.c, login/getutent.c,
2932 login/getutid_r.c, login/getutid.c, login/getutline_r.c,
2933 login/getutline.c, login/pututline_r.c, login/pututline.c:
2934 New files. Routines to handle utmp-style files.
2935
2936 * sysdeps/gnu/utmpbits.h: New file. Contains GNU/Linux
2937 specific definitions of utmp data structures and constants.
2938
2939 * sysdeps/unix/sysv/utmpbits.h: Renamed from sysdeps/unix/sysv/utmp.h.
2940
2941 * sysdeps/generic/utmpbits.h: New file. Generic (BSDish) version of
2942 definitions of utmp data structures and constants.
2943
2944 Fri May 17 00:01:31 1996 Ulrich Drepper <drepper@cygnus.com>
2945
2946 * locale/C-monetary.c: Default value for mon_decimal_point should be
2947 '.'.
2948
2949 * stdio-common/printf.h: Remove Linux libc compatibility stuff.
2950 Add `extra' flag. Currently used in __printf_fp.
2951
2952 * stdio-common/printf_fp.c (__guess_grouping): Renamed from
2953 `guess_grouping' and extend visibility to extern. This function
2954 is now used in `strfmon'.
2955 (__printf_fp): Recognize new bit flag in info struct. This
2956 triggers to use the grouping information and decimal point from
2957 the LC_MONETARY category instead of the LC_NUMERIC category.
2958
2959 * stdio-common/vfprintf.c (process_arg): Correct major bug. In
2960 `complicated' loop we must not use the varargs because the args
2961 are already available in the ARGS_VALUE array.
2962
2963 * stdlib/Makefile (headers): Add monetary.h.
2964 (routines): Add strfmon.
2965 * stdlib/monetary.h: New file. Header for strfmon function.
2966 * stdlib/strfmon.c: New file. Implement strfmon function to print
2967 monetary amounts according to current locale's rules.
2968
2969 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: The kernel header is
2970 now (>= Linux-1.3.100) called <asm/vm86.h>.
2971
2972 Thu May 16 00:31:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2973
2974 * Makerules [versioned]: Make symlinks in the build directory, because
2975 the versioned names might be referenced by a DT_NEEDED in another
2976 library.
2977
2978 Wed May 15 18:59:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2979
2980 * manual/examples/longopt.c: Include stdlib.h and getopt.h.
2981
2982 Tue May 14 03:36:21 1996 Ulrich Drepper <drepper@cygnus.com>
2983
2984 * sysdeps/unix/sysv/linux/Makefile [$subdir == misc] (headers):
2985 Add sys/acct.h and sys/sysctl.h.
2986
2987 Tue May 14 19:42:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2988
2989 * sysdeps/generic/strrchr.c: Deansideclized.
2990
2991 * elf/Makefile (ldd): Depend on Makefile.
2992 Find ld.so in $(slibdir) instead of $(libdir).
2993
2994 * sysdeps/i386/strrchr.S: Use `testl $3, %esi' instead of `testb $3,
2995 %esi'; gas misassembles the latter into `testb $3, %dh'.
2996
2997 * mach/Machrules (%.udeps rule): Do $(make-target-directory) first.
2998
2999 Tue May 14 16:38:44 1996 David Mosberger-Tang <davidm@AZStarNet.com>
3000
3001 * sunrpc/getrpcent.c (interpret): Declare args. Rewrite parsing using
3002 strpbrk.
3003
3004 Tue May 14 20:18:38 1996 Ulrich Drepper <drepper@cygnus.com>
3005
3006 * time/Makefile (routines): Add strptime.
3007 * time/time.h: Add prototype for strptime.
3008 * time/strptime.c: New file. Implementation according to XPG4.
3009
3010 Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3011
3012 * libc-symbols.h (lint): Macro removed. The sunrpc code does some
3013 really stupid things #ifdef lint.
3014
3015 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter): Fix
3016 struct member name: sc_eip -> eip.
3017
3018 Mon May 13 19:52:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3019
3020 * Makerules (stub-$(subdir)): Put cmds including cd inside (...) with
3021 output redirect outside it.
3022
3023 * elf/Makefile (subdir_lib): Depend on ld.so.
3024
3025 Sun May 12 22:52:22 1996 Bruce Elliott <belliott@accessone.com>
3026
3027 * stdio-common/vfprintf.c: Correct handling of unsigned short
3028 values.
3029
3030 Mon May 13 12:03:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3031
3032 * extra-lib.mk (alltype-$(lib)): Put libs in $(objpfx) instead of
3033 $(common-objpfx).
3034 * Makerules [install-lib.a]: Find them there.
3035
3036 * sysdeps/unix/sysv/linux/i386/profil-counter.h: New file.
3037
3038 * extra-lib.mk: Skip the hair if $(object-suffixes-$(lib)) is empty.
3039
3040 * posix/glob.h [_AMIGA]: Remove `struct stat;' forward decl.
3041
3042 * configure.in (--with-fp): Note in help string that it's the default.
3043
3044 * locale/programs/ld-ctype.c (struct locale_ctype_t): Use u_int32_t
3045 instead of unsigned int for map_collection_max and map_collection_act.
3046
3047 * stdio-common/vfprintf.c [USE_IN_LIBIO] (flockfile, funlockfile):
3048 Macros removed; they are in <stdio.h>.
3049 * stdio-common/vfscanf.c: Likewise.
3050
3051 * posix/glob.c [_AMIGA]: Don't include <pwd.h>.
3052 (glob): Remove bogus & in call to globfree.
3053 [_AMIGA]: Use AmigaDOS file name conventions.
3054
3055 * time/Makefile (zonenames): Target removed.
3056 (extra-objs): Remove it from here.
3057 Include the z.* files directly instead of including zonenames; use
3058 `-include' to not complain before they exist.
3059
3060 * sysdeps/unix/Makefile: Find sysd-syscalls and s-proto.d with
3061 $(common-objpfx) instead of $(objpfx).
3062
3063 * sysdeps/unix/bsd/telldir.c (seekdir, telldir): Use new struct member
3064 names without __.
3065
3066 * Makerules [install-lib-non.a]: Find these things with $(objpfx)
3067 instead of $(common-objpfx).
3068
3069 * Makeconfig (sysdep-configures): New variable.
3070 (config.status): Depend on $(sysdep-configures).
3071
3072 Fri May 10 20:07:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3073
3074 * sysdeps/unix/sysv/linux/profil.c: New file.
3075
3076 Fri May 10 19:59:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3077
3078 * sysdeps/m68k/Makefile (CFLAGS-setjmp.c): New variable.
3079
3080 Fri May 10 19:55:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3081
3082 * shlib-versions: Use libm=6 and libc=6 for m68k-linux.
3083
3084 Sun May 12 11:16:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3085
3086 * string/envz.c: Fix uses of unsigned to size_t.
3087
3088 * Makerules ($(libdir)/libc.so): Make the file an ld script.
3089
3090 * sysdeps/mach/hurd/configure.in: Don't grok --with-hurd option.
3091
3092 * sysdeps/mach/configure.in: File removed.
3093 * sysdeps/mach/configure: File removed.
3094
3095 * mach/Machrules (%.udeps rule): Write deps for %_server.[ch] too.
3096 (%_server.[ch] rule): Don't depend on %.defs; use #include to get
3097 installed .defs file.
3098
3099 * stdio-common/vfprintf.c (flockfile, funlockfile): Define to
3100 nothing for stdio. Fix fUNlockfile -> funlockfile for libio.
3101 * stdio-common/vfscanf.c: Likewise.
3102
3103 Sat May 11 13:43:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3104
3105 * hurd/hurdfault.c: Include faultexc_server.h instead of faultexc.h.
3106
3107 * mach/Machrules (%.ir rule): Don't produce deps for imports.
3108
3109 * elf/dl-fini.c (_dl_fini): Clear L->l_init_called after calling fn.
3110
3111 * Makerules (install): Depend on $(slibdir)/libc.so$(libc.so-version).
3112 [!subdir] ($(libdir)/libc.so, $(common-objpfx)/libc-syms.so): Protect
3113 these targets and install dep on $(libdir)/libc.so with this.
3114
3115 * hurd/Makefile: Removed all rules and defns for using code from Hurd
3116 sources and installing headers from there.
3117
3118 * sysdeps/mach/hurd/errnos.awk: Set in_mach_errors to FILENAME when we
3119 set it. In Mach error matching clause, only match if FILENAME is
3120 still the same value.
3121
3122 * sysdeps/mach/hurd/Makefile: Don't include sysdeps/mach/Makefile;
3123 $(mach-srcdir) no longer exists.
3124 (hurd-srcdir): Variable removed.
3125 (includes): Don't append -I$(hurd-srcdir).
3126 (last-includes): Variable removed.
3127 Remove vpath specs using $(hurd-srcdir).
3128 (mach-errno-h): New canned sequence.
3129 ($(common-objpfx)errnos.d): New target, generated included makefile
3130 to determine absolute file names of Mach headers to search for error
3131 codes and set variable mach-errnos-deps.
3132 ($(common-objpfx)stamp-errnos): Depend on $(mach-errnos-deps) instead
3133 of prior explicit list.
3134 (generated): Add errnos.d, stamp-errnos.
3135
3136 * mach/Machrules (some-if-rtn): New variable and target; compute deps
3137 of some if routine and make all if routines depend on that .d file
3138 instead of static list of .h files.
3139
3140 * mach/Makefile (mach/mach_interface.defs,
3141 mach/memory_object_user.defs): Targets removed.
3142 ($(objpfx)mach-syscalls.mk): Tweak this kludge so it doesn't depend
3143 directly on Mach sources.
3144
3145 * sysdeps/mach/Makefile (mach-srcdir): Variable removed.
3146 (includes): Don't append -I$(mach-srcdir).
3147 Remove vpath specs using $(mach-srcdir).
3148
3149 * hurd/Makefile (server-interfaces): Add faultexc.
3150 (sig): Remove it from here.
3151 (fault%.[ch]): Rule removed.
3152 (MIGFLAGS-faultexc): New variable.
3153
3154 * hurd/faultexc.defs: New file.
3155
3156 * mach/Machrules (%.ustamp rule): Pass $(MIGFLAGS-$*) to mig.
3157 (%_server.[ch] rule): Likewise.
3158
3159 * mach/Makefile: Removed all rules and defns for using code from Mach
3160 sources and installing headers from there.
3161
3162 * Makeconfig [$(build-shared)=yes] (link-libc): Append
3163 $(libc.so-version) to libc.so.
3164
3165 Fri May 10 18:36:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3166
3167 * mach/Machrules (%.ustamp rule): Don't depend on %.defs.
3168 (%.udeps): New rule parallel to that one, generating included
3169 makefiles with -M output from `#include <%.defs>'.
3170
3171 * Makerules (sed-remove-objpfx): Remove space before \ at eol.
3172
3173 * Makefile (distribute): Add FAQ.
3174 * FAQ: New file contributed by drepper.
3175
3176 * time/Makefile (headers): Add timebits.h.
3177 * sysdeps/unix/sysv/linux/timebits.h: New file.
3178 * sysdeps/stub/timebits.h: New file.
3179 * time/time.h (CLK_TCK): Define to CLOCKS_PER_SEC.
3180 (CLOCKS_PER_SEC): Remove this macro. Instead #include <timebits.h>.
3181
3182 Fri May 10 16:22:44 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
3183
3184 * string/argz-create.c (__argz_create): Restore const keyword to
3185 ARGV parm.
3186 * string/argz.h (__argz_create, argz_create): Restore const
3187 keyword.
3188 * string/envz.c (envz_get): Don't declare ENTRY const.
3189
3190 Fri May 10 11:48:03 1996 Miles Bader <miles@gnu.ai.mit.edu>
3191
3192 * string/argz.h (argz_create): Fix param type.
3193 * string/argz-create.c (__argz_create): Remove const from param type.
3194 * string/envz.c (envz_get): Remove const from return type.
3195
3196 Fri May 10 09:41:54 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
3197
3198 * string/argz.h (__argz_create, argz_create): Omit const keyword
3199 from declaration of ARGV.
3200 * string/envz.h (envz_get): Omit const from declaration of return
3201 type.
3202
3203 Thu May 9 09:17:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3204
3205 * aclocal.m4 (AC_FD_MSG, AC_FD_CC): Fix these for autoconf weirdness.
3206
3207 Cleanups in sunrpc code from NIIBE Yutaka <gniibe@mri.co.jp>.
3208 * sunrpc/clnt_tcp.c (clnttcp_create): Don't close *SOCKP if it's -1.
3209 * sunrpc/clnt_simp.c (callrpc): Don't close CRP->socket if it's
3210 RPC_ANYSOCK.
3211 * sunrpc/pmap_clnt.c (pmap_set): Don't close SOCKET, since
3212 CLNT_DESTROY already has.
3213 (pmap_unset): Likewise.
3214 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
3215 * sunrpc/pm_getport.c (pmap_getport): Likewise.
3216 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
3217 * sunrpc/portmap.c (callit): Likewise.
3218
3219 * Makerules (versioned): Strip whitespace.
3220
3221 * Rules (static-only-routines rule): Remove spurious space in dep.
3222
3223 * misc/getusershell.c: Undo changes of 7 May 96 (rev 1.6).
3224 Cast string constants to char *.
3225
3226 * posix/glob/SMakefile, posix/glob/SCOPTIONS, posix/glob/Makefile.ami:
3227 New files, AmigaDOS support from Aaron Digulla.
3228 * posix/Makefile (glob.tar): Add AmigaDOS support files.
3229
3230 * sysdeps/unix/sysv/linux/net/if.h: New file.
3231 * sysdeps/unix/sysv/linux/Dist: Add it.
3232 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (headers): Add
3233 net/if.h.
3234
3235 * Makeconfig (link-libc): Add libc.a after libc.so in link.
3236
3237 * Rules (static-only-routines rule): Use empty.o instead of dummy.o.
3238 (empty.o): New target.
3239 (generated): Add empty.c, empty.o.
3240
3241 * resolv: Code updated from BIND-4.9.3P2C3.
3242
3243 * Rules (static-only-routines rule): Use dummy.o, not dummy.so.
3244
3245 Wed May 8 20:04:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3246
3247 * extract-dynsym: New file.
3248 * Makefile (distribute): Add it.
3249 * Rules (subdir_install): Depend on $(common-objpfx)sor-$(subdir).
3250 [! libc.so-version]: Clear static-only-routines.
3251 ($(common-objpfx)sor-$(subdir)): New target.
3252 [static-only-routines]: New static pattern rule for these .so's.
3253 * Makerules [libc.so-version] ($(slibdir)/libc.so): Target removed.
3254 [libc.so-version] ($(libdir)/libc.so, $(common-objpfx)libc-syms.so):
3255 New targets replace it.
3256 (install) [libc.so-version]: Depend on $(libdir)/libc.so instead of
3257 $(slibdir)/libc.so.
3258 * io/Makefile (static-only-routines): New variable.
3259 * configure.in: Check for tools objdump and objcopy, and for awk.
3260 * config.make.in (OBJDUMP, OBJCOPY, AWK): New variables.
3261
3262 Thu May 9 01:24:00 1996 Ulrich Drepper <drepper@cygnus.com>
3263
3264 * locale/programs/config.h: Remove definition of wint_t.
3265
3266 * locale/programs/ld-collate.c: Include <wchar.h> instead of
3267 <wcstr.h>.
3268
3269 * manual/time.texi: Add some more description for %U and %W
3270 format of strftime. Describe new format %V of strftime.
3271
3272 * resolv/gethnamaddr.c: Prevent warning by preventing variable
3273 definition.
3274 * stdio-common/_itoa.c: Ditto.
3275
3276 Tue May 7 23:43:07 1996 Ulrich Drepper <drepper@cygnus.com>
3277
3278 * libio/clearerr.c, libio/feof.c, libio/ferror.c, libio/fgetc.c,
3279 libio/fileno.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
3280 libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
3281 libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
3282 libio/iofputs.c, libio/iofread.c, libio/iofsetpos.c,
3283 libio/ioftell.c, libio/iofwrite.c, libio/iogetdelim.c,
3284 libio/iogets.c, libio/ioputs.c, libio/iosetbuffer.c,
3285 libio/iosetvbuf.c, libio/ioungetc.c, libio/iovsprintf.c,
3286 libio/libio.h, libio/putc.c, libio/putchar.c, libio/rewind.c,
3287 libio/stdio.h, stdio-common/printf_fp.c, stdio-common/vfprintf.c,
3288 stdio-common/vfscanf.c: Prepare for reentrant libio.
3289
3290 * libio/clearerr_u.c, libio/feof_u.c, libio/ferror_u.c,
3291 libio/fputc_u.c, libio/getc_u.c, libio/getchar_u.c,
3292 libio/iofflush_u.c, libio/putc_u.c, libio/putchar_u.c: New files.
3293 Used in reentrant libio.
3294
3295 * misc/getusershell.c: Prevent warnings.
3296
3297 Wed May 8 12:08:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3298
3299 * Makerules (install-lib.so rules): Undouble $s in target and dep
3300 parts of o-iterator-doit defns.
3301 (unversioned libraries install rule): Fix pattern.
3302
3303 * mach/Makefile (mach-src-headers): Use $(base-machine) instead of
3304 $(config-machine).
3305 ($(includedir)/machine): Likewise.
3306
3307 * config.make.in (base-machine): New variable.
3308 * configure.in (machine): Move case stmt to set $machine out of sysdep
3309 dirs AC_CACHE_CHECK.
3310 (base_machine): New variable, set in that switch and AC_SUBST'd.
3311
3312 * Makerules (stub-$(subdir)): Use file name in directory as output,
3313 since cmd is cd'd.
3314
3315 * configure.in (MSGFMT): Use : if none found.
3316
3317 * po/Makefile: Include ../Rules instead of ../Makerules.
3318
3319 Tue May 7 23:18:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3320
3321 * po/Makefile: New file.
3322 * Makefile (subdirs): Add po.
3323
3324 * configure.in: Check for msgfmt.
3325 * config.make.in (MSGFMT): New variable.
3326
3327 Sun May 5 23:49:10 1996 Ulrich Drepper <drepper@cygnus.com>
3328
3329 * misc/Makefile (routines): Add swapoff.
3330
3331 * sysdeps/unix/sysv/linux/Dist: Add sys/quota.h.
3332
3333 * sysdeps/unix/sysv/linux/sys/quota.h: New file. Wrapper around
3334 kernel header file.
3335
3336 Tue May 7 19:00:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3337
3338 * string/argz-extract.c: Remove const from decl.
3339 * string/argz.h: Here too.
3340
3341 * Makeconfig (version.mk): Fix regexp in sed cmd.
3342 Depend on $(..)Makeconfig.
3343
3344 * GMP code updated from gmp-2.0 release.
3345 * stdlib/Makefile (mpn-routines): Removed add_1, added inlines.
3346 * sysdeps/generic/add_1.c: File removed.
3347 * stdlib/strtod.c: mp_limb is now mp_limb_t.
3348 * stdlib/fpioconst.c, stdlib/fpioconst.h: Likewise.
3349 * stdio-common/_itoa.c: Likewise.
3350 * stdio-common/printf_fp.c: Likewise.
3351 Don't include ansidecl.h.
3352
3353 * sysdeps/mach/hurd/getcwd.c: Use io_identity instead of io_stat.
3354
3355 * shlib-versions: New file.
3356 * Makerules (soversions.mk): New target, include file generated from
3357 shlib-versions. Moved shared library rules before installation rules.
3358 Rewrote shared library installation rules for versioned libraries.
3359 * math/Makefile (libm.so-version): Variable removed.
3360
3361 * sysdeps/mach/hurd/i386/exc2signal.c: Use struct hurd_signal_detail.
3362
3363 * hurd/report-wait.c (_S_msg_describe_ports): New function.
3364
3365 * configure.in: Add AC_PROG_LN_S check.
3366 * config.make.in (LN_S): New variable.
3367
3368 Sun May 5 03:10:44 1996 Ulrich Drepper <drepper@cygnus.com>
3369
3370 * misc/efgcvt_r.c (ecvt_r): Work aroung gcc bug. gcc does
3371 not know about weak aliases now and optimizes necessary `if'
3372 statement away.
3373
3374 * posix/unistd.h: Add swapoff prototype.
3375
3376 * sysdeps/generic/confname.h: Add even more POSIX.4 symbols.
3377
3378 * sysdeps/posix/fpathconf.c (__fpathconf): Get information
3379 for _PC_PATH_MAX from fstatfs function if available.
3380
3381 * sysdeps/posix/sysconf.c: Add code to handle _SC_AIO_LISTIO_MAX,
3382 _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX,
3383 _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_RTSIG_MAX,
3384 _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, and
3385 _SC_TIMER_MAX.
3386 * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
3387
3388 * sysdeps/stub/swapoff.c: New file. Stub version for swapoff
3389 function.
3390
3391 * sysdeps/unix/syscalls.list: Add swapoff.
3392
3393 * sysdeps/unix/sysv/linux/Dist: Add sys/acct.h.
3394
3395 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
3396 (sysdep_routines): Add mount, umount, llseek, setfsgid, setfsuid,
3397 sysinfo, and uselib.
3398 (headers): Add sys/sysinfo.h.
3399
3400 * sysdeps/unix/sysv/linux/gethostid.c: Prevent warning.
3401
3402 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == misc]
3403 (sysdep_routines): Add ioperm, iopl, and vm86.
3404 (headers): Add sys/perm.h and sys/vm86.h.
3405
3406 * sysdeps/unix/sysv/linux/i386/sys/perm.h: New file. Contains
3407 prototypes for iopl and ioperm.
3408
3409 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: New file. Contains
3410 prototype for vm86.
3411
3412 * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. Add
3413 vm86 system call.
3414
3415 * sysdeps/unix/sysv/linux/sys/acct.h: New file. Contains
3416 prototypes for acct function.
3417
3418 * sysdeps/unix/sysv/linux/sys/socket.h: Provide real header
3419 file with prototypes.
3420
3421 * sysdeps/unix/sysv/linux/sys/sysinfo.h: New file. Contains
3422 prototype for sysinfo function.
3423
3424 * sysdeps/unix/sysv/linux/syscalls.list: Add flock, ioperm, iopl,
3425 llseek, setfsgid, setfsuid, sysinfo, and uselib.
3426
3427 * sysdeps/unix/sysv/linux/sysconf.c: Instead of duplicating
3428 posix/sysconf.c now only handle cases different to that
3429 implementation.
3430
3431 Tue May 7 15:08:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
3432
3433 * stdio/linewrap.c (__line_wrap_output): Renamed from lwoutput
3434 (all references changed). Now exported.
3435
3436 * stdio/linewrap.c (struct data): Type deleted (moved to linewrap.h).
3437 (wrap_stream, unwrap_stream, lwclose, lwfileno, lwoutput,
3438 line_wrap_stream, line_unwrap_stream): Use struct line_wrap_data
3439 instead of struct data.
3440 (lwoutput, line_wrap_stream, line_unwrap_stream): Rename various
3441 occurences of `wrap' and `wrapmargin' to `wmargin'.
3442 (line_wrapped, line_wrap_lmargin, line_wrap_set_lmargin,
3443 line_wrap_rmargin, line_wrap_set_rmargin, line_wrap_wmargin,
3444 line_wrap_set_wmargin, line_wrap_point): New functions.
3445 * stdio/linewrap.h: New file.
3446 * stdio/Makefile (headers): Add linewrap.h.
3447
3448 Tue May 7 14:19:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3449
3450 * sysdeps/unix/sysv/linux/i386/Makefile: File removed.
3451
3452 * stdio/stdio.h: Remove line_wrap_stream, line_unwap_stream decls.
3453
3454 * sysdeps/unix/sysv/linux/schedbits.h: New file.
3455
3456 Tue May 7 13:47:02 1996 Miles Bader <miles@gnu.ai.mit.edu>
3457
3458 * stdio/linewrap.c (struct data): Make margin fields not-pointers.
3459 (lwoutput): Adjust uses acordingly.
3460
3461 Tue May 7 10:51:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3462
3463 * sysdeps/mach/hurd/fdatasync.c: New file.
3464 * sysdeps/mach/hurd/fsync.c: Pass new flag to file_sync.
3465
3466 * sysdeps/mach/hurd/xmknod.c: Pass new flag to dir_link.
3467 * sysdeps/mach/hurd/symlink.c: Likewise.
3468 * sysdeps/mach/hurd/link.c: Likewise.
3469 * sysdeps/mach/hurd/bind.c: Likewise.
3470 * hurd/hurdsig.c (write_corefile): Likewise.
3471
3472 * hurd/hurdsig.c (write_corefile): Pass cttyid port to crash server.
3473
3474 * sysdeps/mach/hurd/fpathconf.c: RPC takes int pointer, not long int.
3475
3476 * sysdeps/mach/hurd/_exit.c (_hurd_exit): Pass sigcode arg to
3477 proc_mark_exit.
3478 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Likewise.
3479
3480 * sysdeps/mach/hurd/wait4.c: Pass sigcode arg to proc_wait.
3481
3482 * sysdeps/mach/hurd/rename.c: Pass new flag to dir_rename.
3483
3484 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): Use struct
3485 hurd_signal_detail.
3486 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
3487 * hurd/hurd-raise.c (_hurd_raise_signal): Likewise.
3488 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3489 Likewise.
3490 * sysdeps/mach/hurd/setitimer.c (restart_itimer): Likewise.
3491
3492 * hurd/hurd/signal.h: Fix _hurd_exception2signal prototype.
3493
3494 * hurd/hurdsig.c (write_corefile): Take const struct
3495 hurd_signal_detail * arg. Pass all details to crash_dump_task.
3496 (_hurd_internal_post_signal): Pass DETAIL to write_corefile.
3497 (_hurd_internal_post_signal: suspend): Pass code and error to
3498 proc_mark_stop.
3499
3500 * hurd/hurdprio.c (_hurd_priority_which_map): Pass flags arg to
3501 proc_getprocinfo by reference.
3502
3503 * wcsmbs/wcwidth.c, wcsmbs/wcswidth.c: Fixed typos.
3504
3505 * sysdeps/unix/sysv/linux/sys/mman.h: Fixed typo.
3506
3507 * sysdeps/stub/sched_getp.c: Add missing #include <sys/types.h>.
3508 * sysdeps/stub/sched_sets.c: Likewise.
3509 * sysdeps/stub/sched_setp.c: Likewise.
3510 * sysdeps/stub/sched_rr_gi.c: Likewise.
3511 * sysdeps/stub/sched_gets.c: Likewise.
3512
3513 * hurd/hurdsig.c: Use struct hurd_signal_detail.
3514 * hurd/hurd/fd.h (_hurd_fd_error): Likewise.
3515 * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Likewise.
3516
3517 Mon May 6 09:51:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3518
3519 * stdio/linewrap.c: New file.
3520 * stdio/Makefile (routines): Add linewrap.
3521 * stdio/stdio.h [__USE_GNU]: Declare line_wrap_stream,
3522 line_unwrap_stream.
3523
3524 Mon May 6 14:53:26 1996 Ulrich Drepper <drepper@cygnus.com>
3525
3526 * time/strftime.c (week): Add third parameter telling how
3527 many days must be in new year so that it is called week 1.
3528 (Following ISO 8601).
3529 Correct computation for %U and %V formats when day was first
3530 day of the week.
3531 (strftime): Implement %V format according to Spec1170.
3532
3533 Mon May 6 17:01:09 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
3534
3535 * hurd/hurd/signal.h (_hurd_intr_rpc_mach_msg): New declaration.
3536
3537 Sat May 4 05:44:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3538
3539 * hurd/hurd/sigpreempt.h (struct hurd_signal_preempter): Change
3540 prototype of `preempter' elt to use struct hurd_signal_detail.
3541
3542 * hurd/hurd/signal.h (struct hurd_signal_detail): New type.
3543 (struct hurd_sigstate): Make `pending_data' member an array of that.
3544 Use the new type in several decls.
3545
3546 * locale/setlocale.c (_nl_C_name): Variable removed.
3547 * locale/C_name.c: New file.
3548 (_nl_C_name): Put it here instead.
3549 * locale/Makefile (aux): Add C_name.
3550
3551 * sysdeps/mach/hurd/dl-sysdep.c (open): Don't pass io port in
3552 auth_user_authenticate rpc.
3553 (open): Avoid using strtol in digit conversion for "fd/N" magic.
3554 (_dl_sysdep_start): Likewise for memobj name in magic switches.
3555
3556 * elf/Makefile (reloc-link): New variable.
3557 (dl-allobjs.so): New target, link together $(rtld-routines).
3558 (librtld.so): Depend on that instead of the rtld components.
3559 (generated): Add dl-allobjs.so.
3560
3561 * hurd/hurd-raise.c (_hurd_raise_signal): Pass sigcode in msg_sig_post
3562 rpc.
3563
3564 * hurd/hurdmsg.c (_S_msg_set_environment): Use argz.h functions
3565 instead of _hurd_split_args.
3566 (_S_msg_*_exec_flags): Functions removed.
3567 (_S_msg_startup_dosync): Stub removed.
3568
3569 Sat May 4 02:11:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3570
3571 * sysdeps/mach/hurd/ptrace.c: Set _hurdsig_traced instead of
3572 EXEC_TRACED bit in _hurd_exec_flags.
3573 Pass sigcode arg in msg_sig_post_untraced rpc.
3574
3575 * sysdeps/mach/hurd/access.c: Don't pass io port in
3576 auth_user_authenticate rpc.
3577
3578 * posix/sched.h: Fix typos.
3579
3580 * sysdeps/mach/hurd/fork.c: Use new critical section lock.
3581 Clear _hurdsig_traced instead of EXEC_TRACED.
3582
3583 * sysdeps/stub/nanosleep.c (nanosleep): Fix typo.
3584
3585 * wcsmbs/wcstol.c: Find strtol.c in ../stdlib.
3586 * wcsmbs/wcstof.c: Find strtod.c in ../stdlib.
3587 * wcsmbs/wcstod.c: Likewise.
3588 * wcsmbs/wcstold.c: Likewise.
3589
3590 * wcsmbs/wcwidth.h: Find cname-lookup.h in ../wctype.
3591
3592 * string/envz.c (envz_entry): Use const.
3593 (envz_get, envz_remove): Likewise.
3594 (envz_entry): Return char *, not const char *.
3595
3596 * string/envz.h: Fix decl.
3597
3598 * string/argz-create.c: Use const in prototype.
3599 * string/argz-next.c: Likewise.
3600
3601 Fri May 3 13:32:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3602
3603 * sysdeps/mach/hurd/sigprocmask.c: Pass sigcode arg to msg_sig_post.
3604 * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
3605 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
3606 * sysdeps/mach/hurd/kill.c: Likewise.
3607
3608 * hurd/hurdexec.c (_hurd_exec): Use new critical section lock.
3609 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
3610 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Likewise.
3611 * hurd/thread-cancel.c (hurd_thread_cancel, hurd_check_cancel):
3612 Likewise.
3613 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
3614 * sysdeps/mach/hurd/sigaction.c: Likewise.
3615
3616 * sysdeps/mach/hurd/errnos.awk: Don't use ARGV in comment; it can
3617 change meaninglessly.
3618
3619 * hurd/hurd/signal.h (struct hurd_sigstate): Replace critical section
3620 flag with a spin lock.
3621 (_hurd_critical_section_lock): Use spin_try_lock on that to see if we
3622 get it. No need to take SS->lock at all.
3623 (_hurd_critical_section_unlock): Unlock SS->critical_section_lock
3624 instead of clearing the old flag member.
3625 * hurd/hurdsig.c (_hurd_internal_post_signal): Use spin_lock_locked to
3626 test the critical section state.
3627
3628 * hurd/hurdinit.c (_hurd_init): Set _hurdsig_traced from the intarray.
3629
3630 * hurd/hurdkill.c (_hurd_sig_post): Pass 0 sigcode in msg_sig_post.
3631
3632 * hurd/hurdsig.c (_hurd_internal_post_signal): Test _hurdsig_traced
3633 instead of testing (_hurd_exec_flags & EXEC_TRACED).
3634 (_S_msg_sig_post): Take sigcode arg and pass it through.
3635 (_S_msg_sig_post_untraced): Likewise.
3636 (reauth_proc): Don't pass proc port in auth_user_authenticate.
3637
3638 * hurd/setauth.c (_hurd_setauth): Don't pass object ports in
3639 auth_user_authenticate RPCs, just the one-off rendezvous port.
3640 * hurd/dtable.c (reauth_dtable): Likewise.
3641 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Likewise.
3642
3643 * hurd/hurdexec.c (_hurd_exec): Pass 0 flags to file_exec.
3644 Pass sigcode arg to msg_sig_post.
3645
3646 * string/argz.h (argz_create): Use const in prototype.
3647
3648 * hurd/hurdinit.c (_hurd_proc_init): Test _hurdsig_traced instead of
3649 testing (_hurd_exec_flags & EXEC_TRACED).
3650 Pass sigcode arg to msg_sig_post.
3651
3652 * hurd/hurd.h: Declare _hurdsig_traced.
3653
3654 * string/argz.h (__argz_next): Cast ENTRY before returning it.
3655
3656 * hurd/hurd/signal.h (_hurd_critical_section_unlock): Pass sigcode arg
3657 to msg_sig_post.
3658
3659 * hurd/path-lookup.c: New file.
3660 * hurd/Makefile (routines): Add path-lookup.
3661 * hurd/hurd/lookup.h: Declare file_name_path_scan,
3662 hurd_file_name_path_lookup.
3663 * hurd/hurd.h: Declare file_name_path_lookup.
3664
3665 * sysdeps/mach/hurd/select.c: The io_select rpc no longer has a TAG_ID
3666 argument. Instead, use a separate reply port for each RPC and put them
3667 all in a port set to wait for slow replies.
3668
3669 * intl/Makefile (CPPFLAGS): Change $(nlsdir) to $(i18ndir) in
3670 LOCALE_ALIAS_PATH.
3671
3672 Fri May 3 03:14:02 1996 Ulrich Drepper <drepper@cygnus.com>
3673
3674 * intl/Makefile (routines): Add l10nflist and explodename.
3675 (distribute): Add loadinfo.h and locale.alias.
3676 (install-others): New variable to install locale.alias.
3677
3678 * intl/dcgettext.c, intl/finddomain.c, intl/gettextP.h,
3679 intl/loadmsgcat.c: Adapt for upcoming gettext-0.10.13. Some code
3680 is now shared with the locale implementation.
3681
3682 * intl/explodename.c, intl/l10nflist.c, intl/loadinfo.h: New file.
3683 Extracted from finddomain.c. This is also used in the locale
3684 implementation.
3685
3686 * intl/locale.alias: New file. Locale alias database compatible
3687 with X Window System's locale alias file. Can now be used in
3688 locale and gettext code.
3689
3690 * libio/stdio.h: Add prototypes for asprint and vasprintf.
3691
3692 * locale/C-collate.c, locale/C-ctype.c, locale/C-messages.c,
3693 locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c: Add new
3694 field in structure with name of locale ("C" in this case).
3695
3696 * locale/Makefile (routines): Add findlocale.
3697
3698 * locale/findlocale.c: New file. Instead of trying to load the
3699 directly described file we now try to be much smarter when this
3700 fails. Use the same code as gettext does.
3701
3702 * locale/loadlocale.c, locale/setlocale.c: Rewrite to know about
3703 new loading scheme.
3704
3705 * locale/localeinfo.h: Adapt prototypes and declarations for new
3706 setlocale implementation. Remove definition of u32_t type. We
3707 now use u_int32_t from <sys/types.h>.
3708
3709 * locale/programs/charset.h (ILLEGAL_CHAR_VALUE): Provide type
3710 with constant.
3711
3712 * locale/programs/config.h, locale/lc-collate.c,
3713 locale/localeinfo.h, locale/programs/ld-collate.c,
3714 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
3715 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
3716 locale/programs/ld-time.c, locale/weight.h, string/strcoll.c:
3717 Change to use u_int32_t and u_int16_t.
3718
3719 * locale/programs/localedef.c (construct_output_path): Change name
3720 of output locale to contain normalized form of the character set
3721 portion.
3722
3723 * string/Makefile (routines): Add agrz-ctsep and argz-next.
3724 (tests): Add tst-strlen.
3725
3726 * string/argz-ctsep.c: New file. Implement reverse operation
3727 from argz-stringify.
3728
3729 * string/argz-next.c: Non-inline version of function from argz.h.
3730
3731 * string/argz.h, string/envz.h: Make usable as global header file.
3732
3733 * string/envz.c: Fix declarations to use size_t where prototypes
3734 say so.
3735
3736 * string/tst-strlen.c: New file. Another test for critical
3737 situation in strlen implementations.
3738
3739 * sysdeps/i386/i586/strlen.S: Fix bug with highest byte in word
3740 being zero.
3741
3742 * wctype/test_wctype.c: Fix controlling comparison after change to
3743 32 bit character class array.
3744
3745 Fri May 3 12:53:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3746
3747 * sysdeps/unix/sysv/linux/sys/socket.h: Remove spurious doubled line.
3748
3749 Thu May 2 22:50:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3750
3751 * sysdeps/unix/sysv/linux/getpriority.c: New file.
3752 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getpriority.
3753
3754 Thu May 2 22:41:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3755
3756 * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_DEFAULT):
3757 Disable all exceptions.
3758
3759 Thu May 2 22:33:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3760
3761 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
3762 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
3763 sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
3764 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
3765 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
3766 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
3767 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
3768 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
3769 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c: Don't
3770 define __NO_MATH_INLINES, which is already defined on command
3771 line.
3772
3773 Thu May 2 22:18:28 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3774
3775 * sysdeps/libm-ieee754/e_j0f.c (__ieee754_j0f, __ieee754_y0f):
3776 Replace 0x80000000 by 0x48000000.
3777 * sysdeps/libm-ieee754/e_j1f.c (__ieee754_j1f): Likewise.
3778
3779 Thu May 2 21:30:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3780
3781 * sunrpc/svc_simple.c: Make global variable pl local to
3782 registerrpc.
3783
3784 Thu May 2 00:24:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3785
3786 * time/Makefile (tz-cflags): New variable.
3787 (CFLAGS-tzfile.c): New variable.
3788 (CFLAGS-zic.c): Add $(tz-cflags).
3789 (tz-cc): Remove variable.
3790 ($(objpfx)tzfile.o, $(objpfx)zic.o): Remove targets.
3791
3792 Wed May 1 09:10:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3793
3794 * sysdeps/mach/hurd/getcwd.c: Jump out of both loops when we find a
3795 name, instead of checking for reaching end of buffer, which happens
3796 when the match is the last entry in the buffer.
3797
3798 * time/strftime.c: Use canonical autoconf nugget for time.h+sys/time.h
3799 include.
3800
3801 Mon Apr 29 02:48:26 1996 Ulrich Drepper <drepper@cygnus.com>
3802
3803 * ctype/ctype-info.c: (__ctype_width): New variable.
3804 (__ctype_names): Initialize correctly without offset.
3805
3806 * locale/C-collate.c, locale/C-ctype.c,
3807 locale/C-messages.c, locale/C-monetary.c,
3808 locale/C-numeric.c, locale/C-time.c: Change copyright.
3809
3810 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Correct
3811 endianess for initialization value.
3812
3813 * locale/lc-ctype.c (current): Add parameter for offset.
3814 (__ctype32_b, __ctype_width): Add initialization for these
3815 variables.
3816
3817 * locale/programs/charmap.c: Finish support for WIDTH information.
3818 (new_width): New function.
3819
3820 * locale/programs/charset.h (width_rule): new data structure.
3821 (charset_t): Add elements for width information.
3822
3823 * locale/programs/ld-ctype.c (locale_ctype_t): Add element
3824 for width information.
3825 (allocate_arrays): Add new argument for charset.
3826 (ctype_finish): Make sure all characters named in charset
3827 width table are known to name table.
3828 (ctype_output): Correct handling of class and map name
3829 information and write out width information.
3830 (find_idx): Prepare for being called with NULL pointer as
3831 TABLE argument. This means only allocate name entry.
3832 (allocate_arrays): Correct handling of array element -1.
3833 Because EOF == -1 the value of element 127 must *not* be
3834 mirrored here.
3835 Fill width information from charset tables.
3836
3837 * locale/programs/localedef.c (main): Correct loop over all
3838 categories after change of order from Thu Mar 28 14:22:51 1996.
3839 Add new charset argument to call of `write_all_categories'.
3840
3841 * locale/programs/locales.h (ctype_finish, ctype_output): New
3842 charset argument.
3843
3844 * locale/programs/locfile.c (write_all_categories): Call
3845 `ctype_output' with additional argument charset.
3846
3847 * posix/getconf.c (vars): Add _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
3848 and _POSIX_PRIO_IO definitions.
3849
3850 * posix/posix2_lim.h: Add definition of _POSIX2_CHARCLASS_NAME_MAX
3851 and CHARCLASS_NAME_MAX.
3852
3853 * posix/unistd.h: Document _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
3854 and _POSIX_PRIO_IO.
3855
3856 * stdlib/grouping.h: Prepare for use in wide string functions.
3857
3858 * stdlib/stdlib.h: Correct prototypes for __strto*_internal
3859 functions.
3860
3861 * stdlib/strtod.c: Extend for use as `wcsto{f,d,ld}'.
3862
3863 * stdlib/strtol.c: Extend for use as `wcsto{l,ul,q,uq}'.
3864
3865 * string/strcoll.c: Extend for use as `wcscoll'.
3866
3867 * string/strxfrm.c: Extend for use as `wcsxfrm'.
3868
3869 * sysdeps/generic/confname.h: Add definition of _PC_SYNC_IO,
3870 _PC_ASYNC_IO, _PC_PRIO_IO and _SC_CHARCLASS_NAME_MAX.
3871
3872 * sysdeps/generic/stpncpy.c: Correct return value.
3873
3874 * sysdeps/posix/fpathconf.c: Add handling of _PC_SYNC_IO,
3875 _PC_ASYNC_IO, and _PC_PRIO_IO.
3876
3877 * sysdeps/posix/sysconf.c: Add handling of _SC_REALTIME_SIGNALS,
3878 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
3879 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC,
3880 _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
3881 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES,
3882 _SC_SHARED_MEMORY_OBJECTS, and _SC_CHARCLASS_NAME_MAX.
3883 * sysdeps/stub/sysconf.c: Ditto.
3884 * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
3885
3886 * sysdeps/unix/sysv/linux/Dist: Add sys/sysctl.h.
3887
3888 * sysdeps/unix/sysv/linux/Makefile [subdir == misc]
3889 (sysdep_routines): Add s_sysctl and sysctl.
3890
3891 * sysdeps/unix/sysv/linux/sys/mman.h: Add declaration of mremap.
3892
3893 * sysdeps/unix/sysv/linux/sys/socket.h: New file. Wrapper
3894 around kernel header.
3895
3896 * sysdeps/unix/sysv/linux/sys/sysctl.h: New file. Define
3897 interface to `sysctl' function.
3898
3899 * sysdeps/unix/sysv/linux/syscalls.list: Add mremap and _sysctl.
3900
3901 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of
3902 _SC_CHARCLASS_NAME_MAX.
3903
3904 * sysdeps/unix/sysv/linux/sysctl.c: new file. Implement caller
3905 of _sysctl system call.
3906
3907 * sysvipc/Makefile (routines): Add ftok.
3908
3909 * sysvipc/ftok.c: use variable `proj_id' not `id'. Patch by
3910 David Mosberger-Tang.
3911
3912 * wcsmbs/Makefile (routines): Add wcpcpy, wcpncpy, wcstol,
3913 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
3914 wcsxfrm, wcwidth, and wcswidth.
3915
3916 * wcsmbs/wchar.h: Add declarations for wcpcpy, wcpncpy, wcstol,
3917 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
3918 wcsxfrm, wcwidth, and wcswidth.
3919 Declare internal interfaces for wcsto* functions.
3920 [OPTIMIZE]: Define inline functions for wcsto* functions to
3921 call internal interface functions.
3922
3923 * wcsmbs/wcpcpy.c, wcsmbs/wcpncpy.c: New files. Implement non-
3924 standard function equivalent to stpcpy/stpncpy.
3925
3926 * wcsmbs/wcscoll.c: Implement `wcscoll' function by using
3927 `strcoll' implementation.
3928
3929 * wcsmbs/wcscpy.c, wcsmbs/wcsncpy.c: Use wint_t instead of
3930 wchar_t.
3931
3932 * wcsmbs/wcstod.c: Implement `wcstod' function by using `strtod'
3933 implementation.
3934 * wcsmbs/wcstof.c: Same for `wcstof'.
3935 * wcsmbs/wcstold.c: Same for `strtold'.
3936
3937 * wcsmbs/wcstol.c: Implement `wcstol' function by using `strtol'
3938 implementation.
3939 * wcsmbs/wcstoq.c: Same for `wcstoq'.
3940 * wcsmbs/wcstoul.c: Same for `wcstoul'.
3941 * wcsmbs/wcstouq.c: Same for `wcstouq'.
3942
3943 * wcsmbs/wcswidth.c: Implement `wcswidth' function from X/Open
3944 CAE.
3945 * wcsmbs/wcwidth.c: Ditto for `wcwidth'.
3946 * wcsmbs/wcwidth.h: Common function for definitions of above two
3947 functions.
3948
3949 * wcsmbs/wcsxfrm.c: Implement `wcsxfrm function by using
3950 `strxfrm implementation.
3951
3952 * wctype/wctype.c: Remove case for `wctype_t' being 16 bit type.
3953
3954 * wctype/wctype.h (wint_t): Protect against multiple definition.
3955 (wctype_t): Always define as `unsigned long int'.
3956
3957 * wctype.h: New file. Wrapper around wctype/wctype.h.
3958
3959 Tue Apr 30 17:30:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
3960
3961 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Add timeout argument to
3962 interrupt_operation call.
3963 (_hurdsig_interrupt_timeout): New variable.
3964
3965 * hurd/report-wait.c (describe_number): Correctly allocate space
3966 in DESCRIPTION for the digits in I.
3967
3968 Mon Apr 29 00:11:59 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3969
3970 * hurd/hurdstartup.c (_hurd_split_args): Function removed.
3971 (_hurd_startup): Use argz functions.
3972
3973 * hurd/hurdexec.c: Use argz functions.
3974
3975 * errno.h [!__error_t_defined] (error_t): New type.
3976 * sysdeps/mach/hurd/errnos.awk: #define __error_t_defined after the
3977 typedef in errnos.h.
3978
3979 * string/envz.c, string/envz.h: New files.
3980 * string/argz.h, string/argz-append.c, string/argz-count.c,
3981 string/argz-create.c, string/argz-delete.c, string/argz-extract.c,
3982 string/argz-insert.c, string/argz-stringify.c: New files.
3983 * string/Makefile (routines): Add envz, argz-*.
3984 (headers): Add argz.h, envz.h.
3985
3986 Sun Apr 28 14:14:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3987
3988 * sysdeps/unix/sysv/linux/i386/Makefile: New file.
3989
3990 Wed Apr 24 17:35:30 Ulrich Drepper <drepper@cygnus.com>
3991
3992 * inet/netinet/in.h, socket/sys/socket.h: Move to
3993 sysdeps/generic/netinet/in.h, sysdeps/generic/sys/socket.h.
3994 * netinet/in.h, sys/socket.h: Remove file.
3995
3996 * misc/Makefile (routines): Add fdatasync.
3997
3998 * posix/Makefile (headers): Add sched.h.
3999 (routines): Add nanosleep, sched_setp, sched_getp, sched_sets,
4000 sched_gets, sched_yield, sched_primax, sched_primin, sched_rr_gi.
4001
4002 * posix/getconf.c (vars): Add entries for _POSIX_REALTIME_SIGNALS,
4003 _POSIX_PRIORITY_SCHEDULING, _POSIX_TIMERS, _POSIX_ASYNCHRONOUS_IO,
4004 _POSIX_PRIORITIZED_IO, _POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC,
4005 _POSIX_MAPPED_FILES, _POSIX_MEMLOCK, _POSIX_MEMLOCK_RANGE,
4006 _POSIX_MEMORY_PROTECTION, _POSIX_MESSAGE_PASSING,
4007 _POSIX_SEMAPHORES, _POSIX_SHARED_MEMORY_OBJECTS.
4008
4009 * posix/sched.h: New file. Header for POSIX scheduling interface.
4010
4011 * posix/unistd.h: Describe options from POSIX.4.
4012 Add declaration of fdatasync.
4013
4014 * sysdeps/generic/confname.h: Add definition for
4015 _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS,
4016 _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO,
4017 _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
4018 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING,
4019 _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS.
4020
4021 * sysdeps/generic/fdatasync.c: New file. Default implementation
4022 simply uses fsync.
4023
4024 * sysdeps/generic/netinit/in.h: Moved to here from inet/netinet/in.h.
4025
4026 * sysdeps/generic/schedbits.h: New file. System dependent
4027 defintion for POSIX.4 scheduling interface.
4028
4029 * sysdeps/generic/sys/socket.h: Moved to here from socket/sys/socket.h.
4030
4031 * sysdeps/stub/nanosleep.c, sysdeps/stub/sched_getp.c,
4032 sysdeps/stub/sched_gets.c, sysdeps/stub/sched_primax.c,
4033 sysdeps/stub/sched_primin.c, sysdeps/stub/sched_rr_gi.c,
4034 sysdeps/stub/sched_setp.c, sysdeps/stub/sched_sets.c,
4035 sysdeps/stub/sched_yield.c: New file: Stub implementation
4036 for systems missing these POSIX.4 system calls.
4037
4038 * sysdeps/unix/sysv/linux/gnu/types.h,
4039 sysdeps/unix/sysv/linux/ioctls.h: Use kernel header for
4040 data type definitions.
4041
4042 * sysdeps/unix/sysv/linux/netinet/in.h: New file. Linux
4043 specific version.
4044
4045 * sysdeps/unix/sysv/linux/posix_opt.h: New file. Define POSIX
4046 options applicable for Linux.
4047
4048 * sysdeps/unix/sysv/linux/syscalls.list: Add definitions for
4049 fdatasync, nanosleep, sched_setparam, sched_getparam,
4050 sched_setscheduler, sched_getscheduler, sched_yield,
4051 sched_get_priority_max, sched_get_priority_min, and
4052 sched_rr_get_interval.
4053
4054 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of POSIX.4
4055 options.
4056
4057 * sysdeps/unix/sysv/linux/termbits.h: Use kernel headers.
4058
4059 * time/sys/time.h: Remove definition of `struct timespec'.
4060
4061 * time/time.h (struct timespec): Move definition to here.
4062
4063 Fri Apr 26 01:55:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4064
4065 * malloc/mcheck.c (mabort): Use __libc_fatal only #ifdef _LIBC.
4066
4067 Thu Apr 25 15:49:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
4068
4069 * sysdeps/mach/hurd/getcwd.c (__getcwd): When we find a match in
4070 the scan for a name, avoid doing another readdir (which overwrites
4071 NENTRIES, and was resulting in a bogus ENOENT).
4072
4073 * sysdeps/mach/hurd/fcntl.c (__fcntl): Add missing break after F_SETFL.
4074
4075 Wed Apr 24 00:22:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4076
4077 * stdio/internals.c (seek_to_target): Set errno if seek function
4078 returns the wrong offset.
4079
4080 * wcsmbs/wcsrtombs.c [! EILSEQ] (EILSEQ): Define to EINVAL.
4081 * wcsmbs/wcrtomb.c: Likewise.
4082
4083 * stdio-common/vfprintf.c: Include errno.h.
4084
4085 Tue Apr 23 21:09:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
4086
4087 * hurd/hurdsig.c (signal_allowed): For SIGIO/SIGURG, add a new
4088 variable, LUCKY, to use instead of setting D to -1 (which fouls
4089 things up).
4090
4091 Tue Apr 23 15:56:56 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4092
4093 * config.h.in (HAVE_REGEX): New macro.
4094
4095 * sysdeps/unix/syscalls.list: Add statfs, fstatfs.
4096 * io/Makefile (headers): Add sys/statfs.h, statfsbuf.h.
4097 (routines): Add statfs, fstatfs.
4098 * sysdeps/mach/hurd/statfs.c: New file.
4099 * sysdeps/mach/hurd/fstatfs.c: New file.
4100 * sysdeps/stub/fstatfs.c: New file.
4101 * sysdeps/stub/statfs.c: New file.
4102 * io/sys/statfs.h: New file.
4103 * sysdeps/generic/statfsbuf.h: New file.
4104 * sysdeps/unix/sysv/linux/statfsbuf.h: New file.
4105
4106 Tue Apr 23 00:06:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4107
4108 * malloc/Makefile (gmalloc-routines): Add valloc back here.
4109 (dist-routines): Remove it here.
4110 * malloc/valloc.c [_MALLOC_INTERNAL && GMALLOC_INHIBIT_VALLOC]
4111 (ELIDE_VALLOC): Define it.
4112 [! ELIDE_VALLOC]: Make whole file conditional on this.
4113 * malloc/malloc.h (valloc): Make decl conditional on
4114 [!GMALLOC_INHIBIT_VALLOC] instead of [!emacs].
4115
4116 Mon Apr 22 00:02:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4117
4118 * MakeTAGS: Include version.mk.
4119 (po/SYS_libc.pot): Add missing / in sed s cmd.
4120
4121 Sat Apr 20 18:13:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4122
4123 * Makerules (no-whole-archive): Test $(have-no-whole-archive), not
4124 $(libc_cv_ld_no_whole_archive).
4125
4126 Sat Apr 20 17:07:17 1996 Ulrich Drepper <drepper@cygnus.com>
4127
4128 * assert/assert.h, ctype/ctype.h, dirent/dirent.h, errno.h,
4129 grp/grp.h, io/fcntl.h, io/sys/stat.h, io/utime.h, locale/locale.h,
4130 math/math.h, misc/nlist.h, misc/sgtty.h, misc/sys/file.h,
4131 misc/sys/ioctl.h, misc/sys/uio.h, posix/sys/times.h,
4132 posix/sys/types.h, posix/sys/utsname.h, posix/sys/wait.h,
4133 posix/tar.h, posix/wordexp.h, pwd/pwd.h, resource/sys/vlimit.h,
4134 resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h,
4135 stdio-common/printf.h, stdlib/alloca.h, stdlib/stdlib.h,
4136 string/string.h, sysdeps/generic/sigaction.h,
4137 sysdeps/generic/sigset.h, sysdeps/generic/sys/ptrace.h,
4138 sysdeps/generic/sys/ptrace.h, sysdeps/unix/bsd/osf/sigaction.h,
4139 sysdeps/unix/sysv/linux/sys/ptrace.h,
4140 sysdeps/unix/sysv/minix/sigaction.h,
4141 sysdeps/unix/sysv/sco3.2.4/sigaction.h,
4142 sysdeps/unix/sysv/sysv4/sigaction.h,
4143 sysdeps/unix/sysv/sysv4/sigset.h, termios/termios.h,
4144 time/sys/time.h, time/time.h: Fix copyright comment.
4145
4146 Fri Apr 19 00:49:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4147
4148 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If uids and gids are
4149 not given in stack aux vector, fetch them with syscalls.
4150
4151 * stdlib/rpmatch.c (rpmatch: try): Take new arg NOMATCH, return value
4152 for nonmatching nonerror (instead of !MATCH).
4153 (rpmatch): Use it, so we return -1 when NOEXPR doesn't match either.
4154
4155 * resolv/getnetnamadr.c (getnetbyaddr): Use u_int32_t instead of
4156 unsigned long for variable NET2.
4157
4158 * time/etcetera, time/europe, time/solar89: Updated from ADO's 96e.
4159
4160 Tue Apr 9 14:37:31 1996 Ulrich Drepper <drepper@cygnus.com>
4161
4162 * catgets/Makefile, catgets/catgets.c, catgets/catgetsinfo.h,
4163 catgets/config.h, catgets/gencat.c, catgets/nl_types.h,
4164 catgets/open_catalog.c: New files. Implementation of XPG4
4165 compliant catgets() function and needed tools.
4166 * Makefile (subdirs): Add catgets.
4167
4168 Thu Apr 18 23:36:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4169
4170 * math/Makefile (CPPFLAGS): Append -D__NO_MATH_INLINES.
4171
4172 Wed Apr 10 20:48:43 1996 Ulrich Drepper <drepper@cygnus.com>
4173
4174 * stdio-common/vfprintf.c: Correct some typos.
4175
4176 * sysdeps/libm-ieee754/w_gammaf.c, sysdeps/libm-ieee754/w_lgamma.c,
4177 sysdeps/libm-ieee754/w_lgammaf.c: Reference signgam instead of
4178 __signgam.
4179
4180 Thu Apr 18 21:07:27 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4181
4182 * Makerules (no-whole-archive): New variable.
4183 (build-shlib): Use it.
4184 * elf/Makefile (libdl.so): Use it.
4185 * configure.in (libc_cv_ld_no_whole_archive): New check for
4186 --no-whole-archive.
4187 * config.make.in (have-no-whole-archive): New variable.
4188
4189 * stdio-common/printf_fp.c: Increase fudge factor for BIGNUM_SIZE calc
4190 from 3 to 4.
4191
4192 * Make-dist: Include version.mk.
4193 (version, release): Variables removed.
4194 * Makeconfig (version.mk): New target.
4195
4196 Fri Apr 19 01:42:18 1996 Ulrich Drepper <drepper@cygnus.com>
4197
4198 * locale/Makefile (headers): Add langinfo.h.
4199 (CPPFLAGS): Remove -Iliblib.
4200
4201 Mon Apr 15 16:49:04 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
4202
4203 * malloc/memalign.c, malloc/malloc.h [__DJGPP__ == 1]: Elide memalign
4204 function and its declaration.
4205
4206 Wed Apr 10 14:13:45 1996 Miles Bader <miles@gnu.ai.mit.edu>
4207
4208 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Store
4209 MACH_PORT_DEAD in the thread reply-port variable before destroying
4210 the signal handler's reply port, to avoid infinite recursion.
4211
4212 Mon Apr 8 18:27:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
4213
4214 * sysdeps/mach/gettimeofday.c (__gettimeofday): Don't fail if the
4215 user passes in TZ, just zero it (emacs passes in a dummy variable,
4216 and rms says the hurd should be the one to change).
4217
4218 Sun Apr 7 10:37:30 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
4219
4220 * sysdeps/mach/hurd/fork.c: Don't leak send rights to the child's proc
4221 port in the parent.
4222
4223 Fri Apr 5 17:43:41 1996 Miles Bader <miles@gnu.ai.mit.edu>
4224
4225 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Store
4226 MACH_PORT_DEAD in the thread reply-port variable before destroying
4227 the signal handler's reply port to avoid infinite recursion.
4228 * sysdeps/mach/hurd/mig-reply.c (__mig_dealloc_reply_port): Only
4229 attempt to destroy PORT if it's a valid port name.
4230
4231 Wed Apr 3 17:10:44 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
4232
4233 * extra-lib.mk: Put libs in $(common-objpfx) instead of $(objpfx).
4234 * Makerules ($(install-lib) rules): Find libs with $(common-objpfx)
4235 instead of $(objpfx).
4236
4237 Tue Apr 2 21:27:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4238
4239 * posix/glob.c (glob_pattern_p): Avoid scanning past eos if
4240 the pattern ends with a backslash and quoting is enabled.
4241 * posix/fnmatch.c (fnmatch): Likewise; return FNM_NOMATCH for such
4242 patterns.
4243
4244 Mon Apr 1 13:34:55 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
4245
4246 * stdio-common/tst-printf.c (main): Add new test case.
4247
4248 * sysdeps/generic/setenv.c (unsetenv): Use old-style definition.
4249
4250 Mon Apr 1 11:39:10 Ulrich Drepper <drepper@gnu.ai.mit.edu>
4251
4252 * stdlib/strtod.c (STRTOD): Fix handling of American style FP
4253 numbers.
4254
4255 * stdio-common/vfprintf.c (vfprintf): Don't increment format
4256 string pointer twice after seeing `*'.
4257
4258 Sun Mar 31 17:31:54 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
4259
4260 * MakeTAGS (po/SYS_libc.pot): Prepend header processed from
4261 po/header.pot.
4262
4263 Sun Mar 31 18:07:32 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
4264
4265 * locale/Makefile (others, install-bin): Compiling locale works
4266 again.
4267 (locale-modules): locale has no --dump option anymore. Remove
4268 ctypedump.
4269
4270 * locale/programs/config.h: Don't declare euidaccess.
4271 Use #include_next to get libc's config.h.
4272
4273 * locale/programs/ctypedump.c: Not needed anymore. Dump option
4274 of locale is removed.
4275
4276 * locale/programs/locale.c: Adapt for new locale implementation.
4277
4278 * stdio-common/_itoa.h (_itoa_word): Define as inline function.
4279 * stdio-common/_itoa.c (_itoa_lower_digits, _itoa_upper_digits):
4280 Don't declare static because used in _itoa_word inline function.
4281
4282 * stdio-common/printf-parse.h: Prepare for use in wide-char
4283 stdio implementation.
4284 (find_spec): Take additional argument to work with mbrlen instead
4285 of mblen.
4286 (parse_one_spec): Ditto.
4287
4288 * stdio-common/printf-prs.c: Prepare for use in wide-char
4289 stdio implementation.
4290
4291 * stdio-common/printf.h: Mark change for wide-char handling.
4292 Changing it now would result in incompatibilities.
4293
4294 * stdio-common/vfprintf.c: New and fast implementation.
4295
4296 * wcsmbs/Makefile (routines): Remove pre-ISO C multibyte functions
4297 mbsadvance, mbscat, mbschr, mbscmp, mbscpy, mbsdup, mbslen,
4298 mbsncat, mbsncmp, mbsncpy, mbsrchr, mbstomb.
4299 Change wcswcs to wcsstr.
4300 Add wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset, btowc, wctob,
4301 mbsinit, mbrlen, mbrtowc, wcrtomb, mbsrtowcs, wcsrtombs.
4302
4303 * wcsmbs/btowc.c, wcsmbs/mbrlen.c, wcsmbs/mbrtowc.c,
4304 wcsmbs/mbsinit.c, wcsmbs/mbsrtowcs.c, wcsmbs/wchar.h,
4305 wcsmbs/wcrtomb.c, wcsmbs/wcsrtombs.c, wcsmbs/wcsstr.c,
4306 wcsmbs/wctob.c, wcsmbs/wmemchr.c, wcsmbs/wmemcmp.c,
4307 wcsmbs/wmemcpy.c, wcsmbs/wmemmove.c, wcsmbs/wmemset.c: New
4308 function according to ISO C amendment 1.
4309 * wchar.h: Wrapper around "wcsmbs/wchar.h".
4310
4311 * wcsmbs/wcscat.c, wcsmbs/wcschr.c, wcsmbs/wcscmp.c,
4312 wcsmbs/wcscpy.c, wcsmbs/wcscspn.c, wcsmbs/wcsdup.c,
4313 wcsmbs/wcslen.c, wcsmbs/wcsncat.c, wcsmbs/wcsncmp.c,
4314 wcsmbs/wcsncpy.c, wcsmbs/wcspbrk.c, wcsmbs/wcsrchr.c,
4315 wcsmbs/wcsspn.c, wcsmbs/wcstok.c: Changed to conform with ISO C
4316 amendment 1.
4317
4318 * wcsmbs/mbsadvance.c, wcsmbs/mbscat.c, wcsmbs/mbschr.c,
4319 wcsmbs/mbscmp.c, wcsmbs/mbscpy.c, wcsmbs/mbsdup.c,
4320 wcsmbs/mbslen.c, wcsmbs/mbsncat.c, wcsmbs/mbsncmp.c,
4321 wcsmbs/mbsncpy.c, wcsmbs/mbsrchr.c, wcsmbs/mbstomb.c,
4322 wcsmbs/mbstr.h, wcsmbs/wcstr.h, wcsmbs/wcswcs.c: Removed.
4323 Implement functions from early drafts, not part of final standard.
4324
4325 Sun Mar 31 16:50:41 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
4326
4327 * setjmp/setjmp.h (jmp_buf): Change gratuitous struct tag name to
4328 __jmp_bug_tag so its C++ implicit typedef does not conflict with the
4329 __jmp_buf typedef.
4330
4331 * Makerules (BUILD_CFLAGS) [! objdir]: Use $(..)config.h when
4332 compiling in the source directories.
4333
4334 Fri Mar 29 16:26:35 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
4335
4336 * sysdeps/libm-ieee754/w_gamma.c: Use signgam instead of __signgam.
4337 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
4338
4339 Fri Mar 29 11:29:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4340
4341 * sysdeps/libm-ieee754/s_signgam.c (signgam): Renamed to __signgam,
4342 with weak alias signgam.
4343
4344 Thu Mar 28 18:32:34 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
4345
4346 * Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally.
4347
4348 Thu Mar 28 14:22:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4349
4350 * sunrpc/rpc_main.c (main): Call textdomain.
4351
4352 * MakeTAGS (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): Add
4353 --no-location.
4354 (all-pot): Replace $(subdirs) files with $P/subdirs.pot.
4355 ($P/subdirs.pot): New target.
4356 ($P/SYS_libc.pot): Add -n switch.
4357
4358 * locale/locale.h (LC_*): Values reordered to match Linux libc.
4359
4360 * sysdeps/mach/hurd/kill.c: If proc_pid2task gives us MACH_PORT_NULL
4361 the process is a zombie; send no messages and return success.
4362
4363 Thu Mar 28 11:53:26 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
4364
4365 * wctype/cname-lookup.h: Find localeinfo.h in ../locale.
4366 * wctype/wctype.c: Likewise.
4367 * wctype/wctrans.c: Likewise.
4368
4369 Thu Mar 28 03:00:43 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
4370
4371 * locale/nl_langinfo.c (nl_langinfo): Use DATA->values instead of
4372 DATA->strings.
4373
4374 * Makerules (BUILD_CFLAGS): Remove $(common-objpfx) from config.h.
4375
4376 * configure.in (.weakext check): Fix asm code to use .weakext instead
4377 of .weak! Fix bogus test calls.
4378 * configure: Regenerated.
4379
4380 Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4381
4382 * locale/programs/xmalloc.c: Test _LIBC as well as STDC_HEADERS.
4383
4384 * locale/programs/ld-collate.c (collate_finish): Use error_at_line
4385 instead of error_with_loc.
4386
4387 * locale/weight.h: Use u_int32_t instead of u32_t.
4388 * string/strxfrm.c: Likewise.
4389
4390 * string/strxfrm.c: Find weight.h in ../locale; don't #include
4391 "localeinfo.h".
4392 * string/strcoll.c: Likewise.
4393
4394 * intl/Makefile (copysrc): Add missing > in sed cmd.
4395
4396 Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
4397
4398 * Makeconfig: Rename Makefile variable nlsdir to i18ndir and
4399 change value to $(datadir)/i18n. `nls' is not an appropriate
4400 name.
4401
4402 * Makefile (subdirs): Add new subdir wctype.
4403
4404 * ctype/ctype-info.c: Add new global variable __ctype_names
4405 and initialize from _nl_C_LC_CTYPE.
4406
4407 * ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
4408 class. Use bit 11.
4409 [_ISbit]: Protect definition of bitmasks because they are also
4410 used in wctype.h.
4411
4412 * libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
4413 after successfully pushing back a character.
4414
4415 Fundamental changes in locale implementation. Almost nothing
4416 from the old code is used anymore.
4417 * locale/charmap.c, locale/collate.c, locale/config.h,
4418 locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
4419 locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
4420 locale/locale.c locale/localeconv.c, locale/localedef.c,
4421 locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
4422 locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
4423 locale/numeric.c, locale/setlocale.c, locale/token.h,
4424 locale/xmalloc.c: Removed.
4425
4426 * locale/Makefile: Update for new locale implementation with
4427 program source code distributed in subdir.
4428
4429 * locale/categories.def, locale/iso-4217.def: Updated file
4430 for new locale implementation.
4431
4432 * locale/langinfo.h: Updated for new locale implementation.
4433 (ERA_D_T_FMT, ERA_T_FMT): New official values according to
4434 P1003.2b/D11.
4435 (_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
4436 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
4437 _NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
4438 _NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
4439 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
4440 _NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
4441 extended LC_CTYPE and LC_COLLATE implementation.
4442
4443 * locale/programs/simple-hash.c, locale/programs/simple-hash.h,
4444 locale/programs/xmalloc.c, locale/programs/xstrdup.c: Helper functions
4445 for locale related programs.
4446
4447 * locale/C-collate.c, locale/C-ctype.c,
4448 locale/C-messages.c, locale/C-monetary.c,
4449 locale/C-numeric.c, locale/C-time.c,
4450 locale/lc-collate.c, locale/lc-ctype.c,
4451 locale/lc-messages.c, locale/lc-monetary.c,
4452 locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
4453 functions, and new generated "C" locale data.
4454
4455 * locale/loadlocale.c: Now handles word fields in locale binary
4456 automatically by changing the endianess if necessary.
4457
4458 * locale/localeinfo.h (LIMAGIC): Changed magic number because
4459 of incompatible changes.
4460 (locale_data): Changed definition to allow word as a value type.
4461 (coll_sort_rule): Values for collation sorting mode.
4462 (_NL_CURRENT_WORD): New macro to access word value of locale entry.
4463 (__collate_table, __collate_extra): Declare new global variables
4464 for collation tables.
4465
4466 * locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
4467 locale/programs/charmap.c, locale/programs/charset.c,
4468 locale/programs/charset.h, locale/programs/config.h,
4469 locale/programs/ctypedump.c, locale/programs/ld-collate.c,
4470 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
4471 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
4472 locale/programs/ld-time.c, locale/programs/linereader.c,
4473 locale/programs/linereader.h, locale/programs/locale.c,
4474 locale/programs/localedef.c, locale/programs/locales.h,
4475 locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
4476 locale/programs/locfile-token.h, locale/programs/locfile.c,
4477 locale/programs/locfile.h, locale/programs/stringtrans.c,
4478 locale/programs/stringtrans.h: Implementation of locale related
4479 programs.
4480
4481 * locale/weight.h: Functions to access collation tables.
4482
4483 * posix/unistd.h: Define _POSIX2_LOCALEDEF.
4484
4485 * stdio-common/printf_fp.c: Fix bug with printing certain numbers
4486 < 10^-1. Reported by Bill Metzenthen.
4487
4488 * stdio-common/tfformat.c: Add new test for above bug.
4489
4490 * string/strcoll.c, string/strxfrm.c: Real implementation of
4491 string collation according to ISO C.
4492
4493 * wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
4494 wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
4495 wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
4496 Implementation of wide character classes and mapping.
4497
4498 Wed Mar 27 14:52:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4499
4500 * elf/rtld.c (dl_main): Call _dl_sysdep_start_cleanup after
4501 _dl_relocate_object loop. Avoid relocating RTLD_MAP in that loop, and
4502 do it individually if necessary after _dl_sysdep_start_cleanup call.
4503
4504 * stdlib/Makefile (mpn-routines): Add divrem.
4505
4506 Tue Mar 26 22:54:14 Ulrich Drepper <drepper@gnu.ai.mit.edu>
4507
4508 * stdio-common/printf_fp.c (__printf_fp): Use mpn_divmod
4509 instead of __mpn_divmod.
4510
4511 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
4512
4513 * sysdeps/alpha/setjmp.S: Must establish global pointer before
4514 address of __sigsetjmp_aux can be loaded.
4515
4516 Wed Mar 27 02:23:19 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
4517
4518 * sysdeps/i386/i586/memset.S: New file. Highly optimized
4519 version for i586 contributed by Torbjorn Granlund.
4520 Adapted for use as bzero.
4521 * sysdeps/i386/i586/bzero.S: Use sysdeps/i386/i586/memset.S
4522 code to implement bzero().
4523
4524 Tue Mar 26 20:01:17 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4525
4526 * stdlib/Makefile (mpn-routines): Remove divmod.
4527
4528 Tue Mar 26 15:40:14 1996 Brendan Kehoe <brendan@zen.org>
4529
4530 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (NO_UNDERSCORES): Use
4531 wrapped with #ifndef, to avoid config.h defining it.
4532
4533 Mon Mar 25 13:10:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4534
4535 * malloc/realloc.c (_realloc_internal): In case of growing large
4536 block, leave _heaplimit zero across _malloc_internal call.
4537
4538 * intl/Makefile [gettext-srcdir]: Use gpl2lgpl.sed on copied sources.
4539
4540 Mon Mar 25 03:35:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4541
4542 * malloc/malloc.c (morecore): Don't attempt recursive realloc of info
4543 table when _heaplimit==0 during realloc growing large block.
4544
4545 * MakeTAGS (extract): Remove /dev/null from xgettext command line.
4546 (text-srcs): New variable: extract only C sources from $(tags_sources).
4547 (po/$(domain).pot): Depend on that.
4548 If it's empty, cp /dev/null $@ instead of $(extract).
4549
4550 * misc/Makefile (headers): Add iovec.h.
4551 * sysdeps/unix/sysv/linux/iovec.h: New file.
4552 * sysdeps/generic/iovec.h: New file.
4553 * misc/sys/uio.h (struct iovec): Type replaced with #include <iovec.h>.
4554
4555 * configure.in (NO_UNDERSCORES check): Use AC_TRY_LINK instead of
4556 AC_TRY_COMPILE.
4557
4558 * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): Move these
4559 macros inside [! __STDC__].
4560
4561 * stdlib/rpmatch.c: New file.
4562 * stdlib/Makefile (routines): Add rpmatch.
4563 * stdlib/stdlib.h [__USE_SVID]: Declare rpmatch.
4564
4565 * MakeTAGS (MSGJOIN): Variable removed.
4566 (po/SYS_libc.pot): Use $(XGETTEXT) instead of $(MSGJOIN).
4567
4568 Wed Mar 20 20:08:46 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4569
4570 * sysdeps/unix/sysdep.h: Don't define C_SYMBOL_NAME.
4571
4572 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't define
4573 NO_UNDERSCORES.
4574
4575 Thu Mar 21 11:19:15 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4576
4577 * mach/devstream.c (input): Translate \r to \n on input.
4578
4579 Wed Mar 20 11:28:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4580
4581 * stdio-common/printf.h, stdio-common/printf_fp.c,
4582 stdio-common/vfprintf.c: Place const in parameter list at
4583 correct place.
4584
4585 Wed Mar 20 23:58.12 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
4586
4587 * sysdeps/i386/ldbl2mpn.c: Copy of former version of
4588 sysdeps/ieee754/ldbl2mpn.c.
4589 * sysdeps/ieee754/ldbl2mpn.c: Remove i386 specific unification.
4590 Reported by Andreas Schwab.
4591
4592 Wed Mar 20 19:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4593
4594 * version.c: Include version.h to define RELEASE and VERSION macros.
4595 (__libc_release, __libc_version): Use them.
4596 * locale/SYS_libc.c (_libc_intl_domainname): Include ../version.h and
4597 use VERSION to define domainname as `SYS_GNU_libc-VERSION'.
4598 * Make-dist (rel+vers): Snarf the macro values from version.h.
4599
4600 * MakeTAGS (extract): Pass $(XGETTEXTFLAGS-$(@F)).
4601 (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): New variables;
4602 pass -a for these files.
4603
4604 * Makerules (po/%.pot): Depend on FORCE target so recursive make is
4605 always run.
4606
4607 Mon Mar 18 22:54:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4608
4609 * sysdeps/unix/sysv/linux/wait3.c: New file.
4610 * sysdeps/unix/sysv/linux/wait.c: Use the bsd4.4 wait, not the
4611 one from sysdeps/posix.
4612
4613 Wed Mar 20 09:42:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4614
4615 * sysdeps/unix/bsd/waitflags.h (WNOREAP): New macro.
4616
4617 * elf/dl-load.c (_dl_map_object_from_fd): Always set L->l_type; if not
4618 lt_executable, then lt_library.
4619 * elf/rtld.c (dl_main): Don't set NEW->l_type after _dl_map_object.
4620
4621 Wed Mar 20 00:08:23 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4622
4623 * sysdeps/unix/sysv/linux/syscalls.list: Remove gtty and stty.
4624
4625 Tue Mar 19 16:31:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4626
4627 * sysdeps/unix/sysv/linux/termbits.h (CRTSCTS, CBAUDEX, VEOL,
4628 VEOL2, VMIN, VTIME): Corrected.
4629 (PAGEOUT, WRAP, VDSUSP): Deleted.
4630
4631 Tue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4632
4633 * sysdeps/unix/readdir.c: Test [! _DIRENT_HAVE_D_RECLEN] instead of
4634 (sizeof (DP->d_name) > 1) to detect fixed-size dir entries.
4635
4636 * sysdeps/i386/fpu/__math.h (asinh): Call log1p instead of __log1p.
4637
4638 * math/math.h: Move M_* constants before __math.h include.
4639 [__NO_MATH_INLINES || __OPTIMIZE__]: Include __math.h only #if this.
4640
4641 * misc/efgcvt_r.c (ecvt_r): Declare floor, log10, fabs as weak extern.
4642 If log10 is not defined (i.e. no -lm), use stupid loop instead.
4643
4644 * features.h (__FAVOR_BSD): Define only if _BSD_SOURCE is defined
4645 and no other _*_SOURCE macro is.
4646 (_GNU_SOURCE): Don't define by default.
4647 * libc-symbols.h (_GNU_SOURCE): Define it.
4648
4649 * configure.in (alpha*-*-linux*): Unset $gnu_ld and $elf.
4650
4651 * config.make.in (weak-symbols): Variable removed.
4652 * configure.in (--with-weak-symbols): Option removed.
4653 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
4654 New tests.
4655
4656 * config.h.in (HAVE_WEAK_SYMBOLS): #undef removed.
4657 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
4658 New #undefs.
4659 * libc-symbols.h: Use them instead of HAVE_WEAK_SYMBOLS.
4660
4661 * sysdeps/unix/bsd/pause.c: Moved to sysdeps/unix/common/pause.c.
4662
4663 Mon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
4664
4665 * inet/inet_lnaof.c: Use u_int32_t instead of u_long.
4666 * inet/inet_mkadr.c: Likewise.
4667 * inet/inet_net.c: Likewise.
4668 * inet/inet_netof.c: Likewise.
4669 * inet/rcmd.c: Likewise.
4670 * inet/arpa/inet.h: Likewise.
4671 * inet/netinet/in.h: Likewise.
4672 * inet/netinet/tcp.h: Likewise.
4673 * inet/protocols/rwhod.h: Likewise.
4674 * inet/protocols/talkd.h: Likewise.
4675 * resolv/inet_addr.c: Likewise.
4676
4677 * sysdeps/unix/sysv/linux/adjtime.c: Use INT_MAX instead of LONG_MAX.
4678
4679 * sysdeps/unix/sysv/Makefile (sysdep_routines): Don't add s_getdents.
4680
4681 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add mount,
4682 umount.
4683
4684 * sysdeps/alpha/__math.h (atan, cabs): New functions.
4685
4686 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: new file (syscall
4687 expects set-value, not pointer to it).
4688
4689 Sun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
4690
4691 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: New file.
4692
4693 * gmon/gmon.c (__bb_head): new variable.
4694 (write_hist, write_call_graph, write_bb_counts): new functions.
4695 (_mcleanup): modified to call above functions instead of directly
4696 writing out gmon.out.
4697 * gmon/sys/gmon.h (struct __bb): New type.
4698 (struct gmonhdr): Type removed.
4699 (struct gmonparam): New member `log_hashfraction'.
4700 (GMONVERSION): Macro removed.
4701
4702 * gmon/sys/gmon_out.h, gmon/bb_exit_func.c,
4703 sysdeps/generic/bb_init_func.c, sysdeps/alpha/bb_init_func.S: new
4704 files.
4705 * gmon/Makefile (headers): Add sys/gmon_out.h.
4706 (routines): Add bb_init_func, bb_exit_func.
4707
4708 * gmon/mcount.c: Avoid integer division.
4709
4710 Wed Feb 21 23:56:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
4711
4712 * sysdeps/alpha/setjmp.S: switched order in which sp and fp are
4713 passed to match what __sigsetjmp_aux() expects.
4714
4715 Tue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com>
4716
4717 * sysdeps/unix/sysv/linux/alpha/syscalls.list (select, bind,
4718 connect, getpeername, getsockname, listen, recv, recvfrom,
4719 recvmsg, send, sendmsg, sendto, setsockopt, shutdown, socketpair):
4720 added to override same-name assembly file in the parent directory.
4721
4722 * stdlib/stdlib.h: add include of sys/types.h in front of random
4723 etc declarations to ensure int32_t is declared.
4724
4725 * stdlib/random.c, stdlib/random_r.c: replaced "long int" by int32_t
4726 where 32 bit integers are required. Also change LONG_MAX into
4727 0x7fffffff since the intent is to turn off the sign bit in a
4728 32 bit integer.
4729
4730 * time/offtime.c (__offtime): Use Paul Eggert's code to deal
4731 with very large values for "days" (e.g., 64 bit values).
4732
4733 Mon Feb 19 22:22:12 1996 David Mosberger-Tang <davidm@azstarnet.com>
4734
4735 * stdlib/stdlib.h (__random, __random_r, random_r, struct
4736 random_data): use int32_t instead of `long int'.
4737
4738 Sat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
4739
4740 * sysdeps/unix/sysv/linux/alpha/ioperm.c: new file.
4741
4742 * sysdeps/alpha/ffs.S: new file.
4743
4744 * sysdeps/alpha/fabs.c: File removed.
4745
4746 * time/tzfile.c (__tzfile_read): counter variable is i, *not*
4747 num_transitions!
4748
4749 * time/offtime.c: make capable of dealing with very large (64 bit)
4750 time_t values. Use old algorithm until a year is reached that
4751 is an integer multiple of 400, then use DAYS_PER_400_YEARS to
4752 do the remainder in a single division.
4753
4754 * sysdeps/generic/ffs.c (ffs): fix variable declarations to
4755 be unsigned int, not unsigned long.
4756
4757 * string/test-ffs.c (main): add test case with all upper bits
4758 set.
4759
4760 * stdlib/tst-strtol.c: add tests cases for machines where
4761 sizeof(long)==8.
4762
4763 * stdlib/testrand.c (main): disallow rand() to return negative
4764 integers.
4765
4766 * stdlib/testmb.c (main): fix format to use %lx instead of %x.
4767
4768 * stdlib/stdlib.h: on 64 bit machines, declare
4769 struct random_data, __random(), __random_r, and random_r to
4770 return "int" instead of "long int".
4771
4772 * stdlib/random_r.c: 64 bit machines use "int" instead of "long
4773 int". Similarly, use INT_MAX instead of LONG_MAX.
4774
4775 * stdlib/random.c: on 64 bit machines, randtbl[] and __random[]
4776 need to operate on "int" instead of "long int".
4777
4778 * locale/locfile-hash.c (compute_hashval): make shifted constant
4779 a long to avoid loosing bits on 64 bit machines.
4780
4781 * dirent/tst-seekdir.c (main): fix confusing comment; print
4782 a line to mark point where directory is rewound.
4783
4784 Fri Feb 16 15:01:49 1996 David Mosberger-Tang <davidm@azstarnet.com>
4785
4786 * time/strftime.c (strftime): any hour > 11 is PM (not > 12!).
4787
4788 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
4789
4790 * sysdeps/unix/sysv/linux/alpha/Makefile,
4791 sysdeps/unix/sysv/linux/alpha/brk.S,
4792 sysdeps/unix/sysv/linux/alpha/fpu_control.c,
4793 sysdeps/unix/sysv/linux/alpha/fpu_control.h,
4794 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
4795 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
4796 sysdeps/unix/sysv/linux/alpha/pipe.S,
4797 sysdeps/unix/sysv/linux/alpha/setfpucw.c,
4798 sysdeps/unix/sysv/linux/alpha/sigprocmask.c,
4799 sysdeps/unix/sysv/linux/alpha/speed.c,
4800 sysdeps/unix/sysv/linux/alpha/start.S,
4801 sysdeps/unix/sysv/linux/alpha/syscall.S,
4802 sysdeps/unix/sysv/linux/alpha/syscalls.list,
4803 sysdeps/unix/sysv/linux/alpha/alpha/regdef.h,
4804 sysdeps/unix/sysv/linux/alpha/sysdep.S,
4805 sysdeps/unix/sysv/linux/alpha/sysdep.h: New files.
4806
4807 * sysdeps/alpha/setjmp_aux.c (__sigsetjmp_aux): restore return
4808 address register before returning (gcc 2.7.1 doesn't do it,
4809 presumably because $26 is declared as a global variable).
4810
4811 * sysdeps/unix/sysv/linux/sys/mman.h: msync was missing "flags"
4812 argument.
4813
4814 * sysdeps/unix/alarm.c (alarm): do roundup using test & increment
4815 instead of multiplication.
4816
4817 * sysdeps/posix/sleep.c (sleep): initialize sa_mask to mask of
4818 currently blocked signals instead of the empty mask to ensure
4819 that execution of alarm handler occurs with none of the currently
4820 blocked signals enabled.
4821
4822 * sysdeps/unix/alpha/sysdep.h: new file (adapted from OSF/1 version).
4823
4824 * sysdeps/unix/bsd/osf/alpha/sysdep.h: include
4825 sysdeps/unix/alpha/sysdep.h and removed definitions now in that file.
4826
4827 * sysdeps/alpha/divrem.S, sysdeps/alpha/htonl.S,
4828 sysdeps/alpha/htons.S, sysdeps/alpha/machine-gmon.h,
4829 sysdeps/alpha/_mcount.S, sysdeps/alpha/ntohl.s, sysdeps/alpha/ntohs.s,
4830 sysdeps/alpha/strlen.S: New files.
4831
4832 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
4833 sysdeps/alpha/divqu.S, sysdeps/alpha/divrem.m4,
4834 sysdeps/alpha/macros.m4, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
4835 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S, sysdeps/alpha/strlen.c:
4836 Removed.
4837
4838 * sysdeps/generic/sbrk.c (__sbrk): argument is of type ptrdiff_t, not
4839 int.
4840
4841 * sysdeps/alpha/__longjmp.c (__longjmp): moved dummy while loop
4842 to end of function to avoid a jump across NOPs.
4843
4844 * sysdeps/alpha/Makefile (sysdep_routines): Removed all rules
4845 pertaining to integer division/remainder routines since new code
4846 doesn't require them.
4847
4848 * sunrpc/xdr_mem.c, sunrpc/xdr_stdio.c: Use 4 instead of sizeof(long)
4849 where 32 bit quantities are consumed/stored. Various other minor
4850 64-bit cleanups (casting).
4851
4852 * sunrpc/xdr.c (xdr_int): test for sizeof(int)==4 to determine
4853 whether xdr_long or xdr_short should be used to encode an int.
4854 Notice that an xdr_long is 4 bytes independent of the architecture
4855 (otherwise no Alpha could interoperate with existing NFS servers,
4856 for example). Ditto for enums.
4857
4858 * sunrpc/svc_udp.c (svcudp_recv): changed test from 4*sizeof(u_long)
4859 to 16 since it really wants 16 bytes.
4860
4861 * sunrpc/svc.c (maskp): changed from u_long* to u_int32*.
4862
4863 * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): change casts to
4864 u_int32_t (instead of u_long).
4865
4866 * sunrpc/rpc_cmsg.c (xdr_callmsg), sunrpc/svc_authux.c: increment
4867 "buf" pointer by casting it to a char* first since a long* may be 8
4868 bytes or more and oa->oa_length may be any multiple of 4.
4869
4870 * sunrpc/clnt_udp.c (clntudp_call): replaced sizeof(u_long) by 4
4871 since it really is testing for 32 bits. Fixed casts to use
4872 u_int32 instead of u_long.
4873 * sunrpc/xdr_rec.c: Likewise.
4874
4875 * sunrpc/clnt_tcp.c (clnttcp_call): replaced u_long by u_int32.
4876 * sunrpc/rpc/auth.h: Likewise.
4877
4878 * limits.h (LONG_MAX, LONG_MIN, ULONG_MAX): use 64 bit values
4879 for Alpha.
4880
4881 Tue Mar 19 13:27:49 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4882
4883 * sysdeps/i386/fpu/__math.h: New file.
4884 Contributed by John C. Bowman <bowman@hagar.ph.utexas.edu>.
4885
4886 Sun Mar 17 00:28:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4887
4888 * sysdeps/posix/clock.c: Don't multiply the return value by
4889 CLOCKS_PER_SEC or CLK_TCK.
4890
4891 Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4892
4893 * sysdeps/mach/hurd/getcwd.c: Fail with ENOENT if a parent directory
4894 scan finds no match.
4895
4896 * posix/unistd.h (setpgrp): Declare no-arg version unless __FAVOR_BSD.
4897 * misc/bsd-compat.c (setpgrp): New function, two arg version.
4898 * sysdeps/stub/setpgid.c: Remove setpgrp alias.
4899 * sysdeps/mach/hurd/setpgid.c: Likewise.
4900 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
4901 * sysdeps/unix/common/syscalls.list (setpgid): Remove setpgrp alias.
4902 * sysdeps/unix/sysv/irix4/syscalls.list: Likewise.
4903 * sysdeps/unix/sysv/linux/setpgrp.c: Obsolete file removed.
4904 * posix/setpgrp.c (setpgrp): New file.
4905 * posix/Makefile (routines): Add setpgrp.
4906
4907 * elf/Makefile (rtld-link): New canned sequence.
4908 (ld.so, ld-linux.so.1): Use it. Pass -soname option.
4909
4910 * sysdeps/i386/setjmp.S (__setjmp): Define compatibility entry point.
4911
4912 Sun Mar 17 23:15:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4913
4914 * sysdeps/unix/sysv/linux/tcgetpgrp.c,
4915 sysdeps/unix/sysv/linux/tcsetpgrp.c: New files.
4916
4917 Sun Mar 17 07:19:33 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4918
4919 * db/Makefile (CFLAGS-hash_func.c): New variable; pass -Wno-unused.
4920 (CFLAGS): Append -Wno-unitialized.
4921
4922 Sat Mar 16 20:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4923
4924 * stdlib/erand48_r.c: Use FP division by powers of two to distribute
4925 short bits into double.
4926
4927 Sat Mar 16 20:08:22 1996 David Mosberger-Tang <davidm@azstarnet.com>
4928
4929 * sysdeps/alpha/memchr.S: New file.
4930 * sysdeps/alpha/memchr.c: Obsolete file removed.
4931 * string/tester.c: Soup up memchr tests.
4932
4933 Sat Mar 16 16:26:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4934
4935 * misc/Makefile (headers): Add sysexits.h.
4936 * misc/sysexits.h: New file.
4937
4938 Thu Mar 14 15:20:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4939
4940 * sysdeps/libm-ieee754/e_atan2.c (__ieee754_atan2): Change atan
4941 call to __atan.
4942 * sysdeps/libm-ieee754/e_atan2f.c (__ieee754_atan2f): Change atanf
4943 call to __atanf.
4944
4945 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
4946 sysdeps/m68k/fpu/e_asin.c, sysdeps/m68k/fpu/e_asinf.c,
4947 sysdeps/m68k/fpu/e_atanh.c, sysdeps/m68k/fpu/e_atanhf.c,
4948 sysdeps/m68k/fpu/e_cosh.c, sysdeps/m68k/fpu/e_coshf.c,
4949 sysdeps/m68k/fpu/e_exp.c, sysdeps/m68k/fpu/e_expf.c,
4950 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
4951 sysdeps/m68k/fpu/e_log.c, sysdeps/m68k/fpu/e_log10.c,
4952 sysdeps/m68k/fpu/e_log10f.c, sysdeps/m68k/fpu/e_logf.c,
4953 sysdeps/m68k/fpu/e_pow.c, sysdeps/m68k/fpu/e_powf.c,
4954 sysdeps/m68k/fpu/e_remainder.c, sysdeps/m68k/fpu/e_remainderf.c,
4955 sysdeps/m68k/fpu/e_scalb.c, sysdeps/m68k/fpu/e_scalbf.c,
4956 sysdeps/m68k/fpu/e_sinh.c, sysdeps/m68k/fpu/e_sinhf.c,
4957 sysdeps/m68k/fpu/e_sqrt.c, sysdeps/m68k/fpu/e_sqrtf.c,
4958 sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_cosf.c,
4959 sysdeps/m68k/fpu/k_sin.c, sysdeps/m68k/fpu/k_sinf.c,
4960 sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/k_tanf.c,
4961 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
4962 sysdeps/m68k/fpu/s_ceil.c, sysdeps/m68k/fpu/s_ceilf.c,
4963 sysdeps/m68k/fpu/s_cos.c, sysdeps/m68k/fpu/s_cosf.c,
4964 sysdeps/m68k/fpu/s_expm1.c, sysdeps/m68k/fpu/s_expm1f.c,
4965 sysdeps/m68k/fpu/s_fabs.c, sysdeps/m68k/fpu/s_fabsf.c,
4966 sysdeps/m68k/fpu/s_finite.c, sysdeps/m68k/fpu/s_finitef.c,
4967 sysdeps/m68k/fpu/s_floor.c, sysdeps/m68k/fpu/s_floorf.c,
4968 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
4969 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
4970 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
4971 sysdeps/m68k/fpu/s_isnan.c, sysdeps/m68k/fpu/s_isnanf.c,
4972 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
4973 sysdeps/m68k/fpu/s_log1p.c, sysdeps/m68k/fpu/s_log1pf.c,
4974 sysdeps/m68k/fpu/s_logb.c, sysdeps/m68k/fpu/s_logbf.c,
4975 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c,
4976 sysdeps/m68k/fpu/s_rint.c, sysdeps/m68k/fpu/s_rintf.c,
4977 sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
4978 sysdeps/m68k/fpu/s_significand.c,
4979 sysdeps/m68k/fpu/s_significandf.c, sysdeps/m68k/fpu/s_sin.c,
4980 sysdeps/m68k/fpu/s_sinf.c, sysdeps/m68k/fpu/s_tan.c,
4981 sysdeps/m68k/fpu/s_tanf.c, sysdeps/m68k/fpu/s_tanh.c,
4982 sysdeps/m68k/fpu/s_tanhf.c: New files, for m68881 port of fdlibm.
4983
4984 * sysdeps/m68k/fpu/__math.h: Rewritten for fdlibm.
4985
4986 * sysdeps/m68k/fpu/isinfl.c: Rewritten to get argument type right.
4987 * sysdeps/m68k/fpu/isnanl.c: Likewise.
4988
4989 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4990
4991 * posix/glob.c (glob): In GLOB_BRACE brace expansion, fix buffer size
4992 calculation to include trailing invariant portion. Don't use alloca;
4993 instead use a dynamic auto array for GCC, malloc for non-GCC.
4994 Handle nested braces properly.
4995
4996 * elf/elf.h (Elf32_auxv_t): Specify prototype (void) for `a_un.a_fcn'.
4997
4998 * libc-symbols.h (lint): New macro.
4999
5000 Fri Mar 15 01:18:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5001
5002 * libio/iosetvbuf.c: Add weak alias setvbuf.
5003
5004 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5005
5006 * string/strnlen.c: New file.
5007 * string/Makefile (routines): Add strnlen.
5008 * string/string.h [__USE_GNU] (strnlen): Declare new function.
5009 [__OPTIMIZE__]: Define extern inline implementation of it.
5010
5011 * stdlib/erand48_r.c: Use __mpn_construct_double instead of ldexp and
5012 addition, to avoid using anything from -lm.
5013
5014 Mon Mar 4 21:57:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5015
5016 * sysdeps/unix/sysv/linux/m68k/Makefile: New file.
5017
5018 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYS_ify): Redefine.
5019 (CALL_MCOUNT): New macro, empty unless [PROF].
5020 (ENTRY): Do CALL_MCOUNT just after the label.
5021 (JUMPTARGET): New macro.
5022 (SYSCALL_ERROR_HANDLER): Fix syntax.
5023
5024 Thu Mar 14 04:20:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5025
5026 * sysdeps/unix/sysv/linux/init-first.c (init): Call `__personality'
5027 function instead of using inline asm i386 syscall.
5028 * sysdeps/unix/sysv/linux/syscalls.list: Add personality syscall.
5029
5030 * posix/unistd.h [__USE_BSD]: Declare usleep.
5031
5032 Tue Mar 12 04:57:57 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5033
5034 * misc/efgcvt.c (MAXDIG): New macro computed from <floats.h> constants.
5035 (fcvt, ecvt): Use it for buffer size.
5036
5037 * stdlib/drand48-iter.c (__drand48_iterate): Use u_int64_t instead of
5038 conditionalizing long vs long long.
5039
5040 * stdlib/drand48-iter.c (__drand48_iterate): Don't check for null
5041 pointers; never return EFAULT.
5042 * stdlib/drand48_r.c (drand48_r): Likewise.
5043 * stdlib/erand48_r.c (erand48_r): Likewise.
5044
5045 * setjmp/Makefile (tests): Add jmpbug.
5046 * setjmp/jmpbug.c: New file.
5047
5048 Tue Mar 12 04:42:01 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5049
5050 * sysdeps/sparc/jmp_buf.h: Rewritten; use array of ints, not struct.
5051 * sysdeps/sparc/setjmp.S: Rewritten; store %fp value as well.
5052 * sysdeps/sparc/__longjmp.S: Rewritten; unwind frames one by one with
5053 `restore' until the target frame is hit.
5054
5055 Sun Mar 10 20:29:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5056
5057 * sysdeps/unix/sysv/linux/sigsuspend.c: New file.
5058 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigsuspend, add
5059 s_sigsuspend.
5060
5061 Thu Mar 7 21:30:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5062
5063 * Makerules (+make-deps, sed-remove-objpfx): Quote periods on the
5064 left side of sed substitutions.
5065
5066 Sun Mar 10 16:58:10 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
5067
5068 * stdio-common/printf_fp.c (hack_digit): __mpn_normal_size
5069 is not available anymore. Do it ourselves.
5070
5071 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_SETCW):
5072 Correct GCC `asm' syntax.
5073
5074 Tue Mar 12 03:15:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5075
5076 * stdio-common/Makefile (tests): Add tst-ungetc.
5077 * stdio-common/tst-ungetc.c: New test from drepper.
5078 * stdio-common/tstscanf.c (main): New %[ test case from drepper.
5079
5080 * sysdeps/libm-ieee754/s_scalbn.c (scalbn): Rename to __scalbn;
5081 somehow this was missed, though the weak alias is already there.
5082
5083 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_DEFAULT): Change
5084 default to double precision, all interrupts masked; fdlibm requires.
5085
5086 Sat Mar 9 18:44:27 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5087
5088 * sysdeps/unix/sysv/linux/i386/setfpucw.c: Obsolete file removed.
5089
5090 Fri Mar 8 22:16:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5091
5092 * stdio-common/printf_fp.c (HAVE_ALLOCA): New macro.
5093
5094 Tue Mar 5 18:45:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
5095
5096 * sysdeps/mach/hurd/select.c (__select): Include LASTFD in the
5097 final loop.
5098
5099 Mon Mar 4 20:54:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5100
5101 * Makeconfig ($(common-objpfx)config.make): Depend on config.h.in.
5102
5103 Tue Mar 5 12:14:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
5104
5105 * sysdeps/mach/hurd/select.c (__select): Also don't fault just
5106 because some fdmask is 0.
5107
5108 Mon Mar 4 17:35:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
5109
5110 * sysdeps/mach/hurd/select.c (__select):
5111 Don't increment GOT only because READ/WRITE/EXCEPTFDS is 0!
5112 Don't return without frobbing the bitmasks after a timeout.
5113 When clearing the bitmasks, only loop from FIRSTFD to LASTFD.
5114
5115 Mon Mar 4 17:35:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5116
5117 * hurd/catch-signal.c (hurd_safe_memmove): New function.
5118 (hurd_safe_copyin, hurd_safe_copyout): New functions.
5119 * hurd/hurd/sigpreempt.h: Declare them.
5120
5121 Sun Mar 3 08:43:44 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5122
5123 Replace math code with fdlibm from Sun as modified for netbsd by
5124 JT Conklin and Ian Taylor, including x86 FPU support.
5125 * sysdeps/libm-ieee754, sysdeps/libm-i387: New directories.
5126 * math/math_private.h: New file.
5127 * sysdeps/i386/fpu/Implies: New file.
5128 * sysdeps/ieee754/Implies: New file.
5129 * math/machine/asm.h, math/machine/endian.h: New files.
5130 * math/Makefile, math/math.h: Rewritten.
5131 * mathcalls.h, math/mathcalls.h: New file, broken out of math.h.
5132 * math/finite.c: File removed.
5133 * sysdeps/generic/Makefile [$(subdir)=math]: Frobnication removed.
5134
5135 * math/test-math.c: Include errno.h and string.h.
5136
5137 * sysdeps/unix/bsd/dirstream.h: File removed.
5138 * sysdeps/unix/bsd/readdir.c: File removed.
5139
5140 Sat Mar 2 16:35:40 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5141
5142 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: File removed.
5143 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: File
5144 removed.
5145 * sysdeps/generic/profil-counter.h: New file.
5146
5147 Fri Mar 1 17:11:59 1996 Brendan Kehoe <brendan@zen.org>
5148
5149 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sigcontext.h: New file,
5150 including <sysdeps/unix/bsd/sun/sparc/sigcontext.h>.
5151 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: New file,
5152 same as linux/m68k/profil-counter.h except the comment.
5153
5154 Fri Mar 1 10:09:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5155
5156 * stdlib/Makefile (mpn-stuff): New target.
5157 (copy-mpn): Use it.
5158
5159 * Code copied from GMP updated to 1.937 version.
5160 * stdlib/strtod.c (HAVE_ALLOCA): Define this for gmp headers.
5161
5162 * posix/glob.c: Use canonical code from autoconf manual for dirent
5163 include.
5164 [_D_NAMLEN]: Redefine NAMLEN using this.
5165 (glob_in_dir): Use NAMLEN macro.
5166
5167 * sysdeps/posix/profil.c: New file.
5168
5169 Thu Feb 29 20:55:57 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5170
5171 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: New file.
5172
5173 Tue Feb 27 12:14:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5174
5175 * libc-symbols.h [GCC >= 2.8] (strong_alias, weak_alias): Remove
5176 `extern' keyword.
5177
5178 * time/strftime.c: Support - and _ flags to affect number padding.
5179
5180 * sysdeps/unix/common/tcsendbrk.c: New file.
5181
5182 Mon Feb 26 10:22:30 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5183
5184 * sysdeps/unix/dirstream.h: Rewritten.
5185 * sysdeps/unix/readdir.c: Rewritten.
5186 * sysdeps/unix/telldir.c: Rewritten.
5187 * sysdeps/unix/closedir.c: Use <...> instead of "..." for dirstream.h.
5188 Remove __ from DIR struct member names.
5189 * sysdeps/unix/dirfd.c: Likewise.
5190 * sysdeps/unix/seekdir.c: Likewise.
5191 * sysdeps/unix/rewinddir.c: Likewise.
5192 * sysdeps/unix/opendir.c: Likewise. Don't allocate extra space after
5193 DIR structure.
5194 * sysdeps/stub/direct.h: File removed.
5195 * sysdeps/unix/bsd/bsd4.4/direct.h: File removed.
5196 * sysdeps/unix/bsd/direct.h: File removed.
5197 * sysdeps/unix/common/direct.h: File removed.
5198 * sysdeps/unix/sysv/irix4/direct.h: File removed.
5199 * sysdeps/unix/sysv/isc3/direct.h: File removed.
5200 * sysdeps/unix/sysv/sco3.2.4/direct.h: File removed.
5201 * sysdeps/unix/sysv/sysv4/solaris2/direct.h: File removed.
5202 * sysdeps/unix/common/direntry.h: New file.
5203 * sysdeps/unix/bsd/direntry.h: New file.
5204 * sysdeps/unix/bsd/bsd4.4/direntry.h: New file.
5205 * sysdeps/unix/sysv/direntry.h: New file.
5206 * sysdeps/stub/direntry.h: New file.
5207 * dirent/dirent.h (struct dirent): Type removed. Include <direntry.h>
5208 to define it.
5209 (_D_EXACT_NAMLEN, _D_ALLOC_NAMLEN): New macros.
5210 * dirent/Makefile (headers): Add direntry.h.
5211 (distribute): Remove direct.h.
5212 * sysdeps/posix/getcwd.c: Use new macros instead of d_namlen.
5213 * dirent/scandir.c: Likewise.
5214 * io/fts.c (fts_build): Likewise.
5215 * io/ftw.c (ftw_dir): Likewise.
5216 * sysdeps/posix/ttyname.c: Likewise.
5217
5218 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
5219
5220 * sysdeps/mach/hurd/profil.c (MAX_PC_SAMPLES): New macro.
5221 (collector_timeout): New static variable.
5222 (update_waiter): Actually call __task_enable_pc_sampling.
5223 Set collector_timeout based on the `tick' count returned.
5224 (profile_waiter): Use MAX_PC_SAMPLES. Set nsamples before RPC.
5225 Use collector_timeout in __mach_msg call.
5226
5227 * gmon/Makefile (noprof): New variable containing mcount.
5228 Append profil unless it is in $(unix-syscalls).
5229 (mcount.po): Use $(noprof) for list of targets in this rule.
5230
5231 * libc-symbols.h: Define _LIBC before #include <config.h>.
5232
5233 Sun Feb 25 12:29:23 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5234
5235 * config.h.in [_LIBC] (HAVE_STRERROR): Define it.
5236 Protect 2nd page of #undef's for generator programs with #ifndef _LIBC.
5237
5238 * time/zic.c, time/zdump.c, time/private.h: Updated from ADO 96e.
5239
5240 Fri Feb 9 12:40:19 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5241
5242 * libio/cleanup.c (_IO_cleanup_registration_needed)
5243 [!_G_HAVE_ATEXIT]: Init to NULL.
5244 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Remove decl.
5245
5246 Thu Feb 8 08:12:50 1996 Brendan Kehoe <brendan@cygnus.com>
5247
5248 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Revert
5249 previous change, since cleanup.c only defines it if _G_HAVE_ATEXIT.
5250
5251 Wed Feb 7 15:10:17 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5252
5253 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Declare as
5254 extern.
5255
5256 Sat Feb 24 11:34:13 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5257
5258 * sysdeps/i386/memcmp.S: Fix argument %esp offsets.
5259
5260 * time/sys/time.h (timeradd, timersub): New macros; BSD has these.
5261
5262 Wed Feb 21 02:25:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5263
5264 * Rules (others): Depend on $(extra-objs), $(install-lib),
5265 $(install-bin), $(install-sbin), in object directory.
5266
5267 * Makeconfig (link-libc): Don't pass -rpath option with default
5268 path, since ld.so should use the same default.
5269 * Makerules (build-shlib): Likewise.
5270
5271 * Makerules (make-target-directory): Use mkinstalldirs.
5272
5273 * sysdeps/mach/i386/sysdep.h: Include unix/i386/sysdep.h to
5274 redefine ENTRY et al.
5275
5276 * sysdeps/unix/sysv/linux/i386/sysdep.h (NO_UNDERSCORES, ENTRY):
5277 Macros removed. The code in unix/i386/sysdep.h should now suffice.
5278
5279 * sysdeps/unix/i386/sysdep.h (ALIGNARG): New macro, defns for
5280 [HAVE_ELF] and not.
5281 (ENTRY): Use it in .align directive.
5282 (CALL_MCOUNT): New macro, empty unless [PROF].
5283 (ENTRY): Do CALL_MCOUNT just after the label.
5284
5285 * Makeconfig (CPPFLAGS-.po): New variable, use -DPROF so assembly
5286 code can call mcount.
5287
5288 Tue Feb 20 23:05:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5289
5290 * time/private.h, time/zdump.c, time/zic.c: Updated verbatim from ADO;
5291 translation markings are now integrated in his distribution.
5292
5293 * stdlib/strtod.c (round_and_return): Add missing (mp_limb) 1 cast.
5294
5295 Mon Feb 19 18:31:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5296
5297 * po: New directory where `LANG.po' files for message translations
5298 will reside.
5299 * po/SYS_libc.pot: New file, template of message strings as in source.
5300 * MakeTAGS: New rules to build po/SYS_libc.pot automatically from
5301 the source using xgettext.
5302 * Makerules ($(..)po/%.pot): New rule.
5303 * manual/Makefile (../po/manual.pot): New target, make it empty.
5304
5305 * sysdeps/unix/bsd/alarm.c: Moved to sysdeps/unix/alarm.c.
5306 * sysdeps/unix/bsd/nice.c: Moved to sysdeps/unix/nice.c.
5307 * sysdeps/unix/bsd/stime.c: Moved to sysdeps/unix/stime.c.
5308 * sysdeps/unix/bsd/time.c: Moved to sysdeps/unix/time.c.
5309 * sysdeps/unix/bsd/utime.c: Moved to sysdeps/unix/utime.c.
5310
5311 * time/zic.c, time/scheck.c, time/private.h, time/tzfile.h:
5312 Updated from ADO 96d.
5313
5314 Sun Feb 18 14:08:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5315
5316 * csu/initfini.c (_init): Remove bogus volatile declarations and
5317 extra variable, take the address of __gmon_start__ only implicitly
5318 to avoid the test being optimized out.
5319
5320 Sun Feb 18 15:08:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5321
5322 * sysdeps/posix/utimes.c (__utimes): There are 1000000 usecs in a
5323 sec.
5324
5325 Sun Feb 18 13:56:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5326
5327 * elf/Makefile, time/Makefile: Make `all' the default target.
5328
5329 Mon Feb 19 18:09:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5330
5331 * misc/sys/ptrace.h: Moved to ...
5332 * sysdeps/generic/sys/ptrace.h: ... here.
5333 * sys/ptrace.h: File removed.
5334
5335 Sun Feb 18 12:13:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5336
5337 * sysdeps/unix/sysv/linux/Makefile (headers): Add fpu_control.h.
5338
5339 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Put it into .bss
5340 so that the symbol alias works.
5341
5342 * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_SETCW): Corrected.
5343
5344 * sysdeps/unix/sysv/linux/resourcebits.h: New file.
5345
5346 * sysdeps/unix/sysv/linux/sys/ptrace.h: New file.
5347
5348 * sysdeps/unix/sysv/linux/syscalls.list: Add getegid, geteuid,
5349 getppid and reboot.
5350
5351 * sysdeps/unix/sysv/linux/sysconf.c: Special version that does not
5352 use getdtablesize.
5353
5354 Sat Feb 17 10:30:21 1996 David Mosberger-Tang <davidm@AZStarNet.com>
5355
5356 * stdio-common/printf_fp.c, stdlib/strtod.c, sysdeps/ieee754/dbl2mpn.c,
5357 sysdeps/ieee754/ldbl2mpn.c, sysdeps/ieee754/mpn2dbl.c,
5358 sysdeps/ieee754/mpn2ldbl.c: Cast left operands of shift instructions
5359 to `long' where necessary.
5360
5361 Thu Feb 15 20:04:50 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
5362
5363 * stdlib/fpioconst.h: Introduce new constant _FPIO_CONST_OFFSET.
5364 * stdio-common/printf_fp.c, stdlib/strtod.c: Use _FPIO_CONST_OFFSET
5365 to correctly access MPN array depending on architecture.
5366
5367 Mon Feb 19 15:30:26 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5368
5369 * stdio-common/tstscanf.c (main): Add check for "0" as %d.
5370
5371 * sysdeps/stub/msync.c: Undo change of Jan 29; just two args.
5372 Only some systems have three args; let them define their own stub.
5373
5374 * sysdeps/generic/dl-sysdep.c: Declare _dl_secure.
5375
5376 * sysdeps/generic/machine-gmon.h: New file.
5377 * gmon/Makefile (distribute): Add machine-gmon.h.
5378 * gmon/mcount.c: Undo changes of Feb 13.
5379 Include "machine-gmon.h".
5380
5381 Sun Feb 18 13:24:06 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5382
5383 * sysdeps/unix/sysv/linux/direct.h: File removed, since it is
5384 identical to unix/common/direct.h.
5385
5386 * sysdeps/unix/Makefile [no_deps]: Don't include s-proto.d.
5387
5388 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add ipc.
5389
5390 * stdio-common/Makefile (tests): Remove scanf6.
5391
5392 * sysdeps/unix/sysv/linux/Makefile (non-lib.a): Append libieee.a.
5393
5394 * time/mktime.c (mktime): Move static variable localtime_offset to
5395 file scope.
5396
5397 * stdio-common/vfscanf.c: Put '0' in buffer before scanning for %i
5398 base indicator.
5399
5400 Thu Feb 15 16:56:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5401
5402 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Corrected.
5403 (ELF_MACHINE_BEFORE_RTLD_RELOC): Define.
5404 (_dl_runtime_resolve): Save %a1 as well.
5405 (ELF_MACHINE_RUNTIME_FIXUP_ARGS): Add second dummy arg.
5406 (elf_machine_relplt): Define.
5407
5408 * elf/dl-runtime.c: Include possible extra args in declaration of
5409 fixup.
5410
5411 Fri Feb 16 11:01:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5412
5413 * time/tzset.c: Limit hours to 23, not 12. From jaffer.
5414
5415 Fri Feb 16 10:14:05 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5416
5417 * Makeconfig (CFLAGS-.po): Use -pg instead of -p.
5418
5419 Thu Feb 15 13:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5420
5421 * mach/Machrules: Use -include for $(*.ir).
5422
5423 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Mask off type bits in
5424 request values.
5425 * sysdeps/mach/hurd/ioctls.h (_IOC_NOTYPE): New macro.
5426 (_IOT_COUNT2): Field is 3 bits, not 2.
5427 * sysdeps/mach/hurd/ioctl.c: Ignore handler if it fails with ENOTTY.
5428 * hurd/hurdioctl.c (_hurd_lookup_ioctl_handler): Mask off type
5429 bits before looking up handler.
5430 (fioctl): Use __hurd_dfail.
5431 (fioctl, fioclex): Use ENOTTY for bogus request instead of EGRATUITOUS.
5432
5433 Thu Feb 15 11:49:45 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5434
5435 * sysdeps/unix/sysv/sysv4/Makefile [$(subdir)-signal]
5436 (sysdep_routines): Don't add sys-sig.
5437
5438 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
5439
5440 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
5441
5442 * sysdeps/alpha/memchr.c (memchr): loop searching for matching
5443 character bailed out one too early; changed constant 6 to
5444 7 to fix this.
5445
5446 Wed Feb 14 01:08:58 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5447
5448 * posix/execvp.c: When executing shell on script, first arg is
5449 full file name, not argv[0].
5450
5451 * mach/Makefile [no_deps]: Inhibit inclusion of mach-syscalls.mk.
5452 * mach/Machrules [no_deps]: Inhibit interface rules.
5453
5454 * malloc/Makefile (distribute): Removed TODO.
5455
5456 Tue Feb 13 05:12:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5457
5458 * sysdeps/unix/sysv/linux/syscalls.list (ipc): Specify msgget in
5459 caller column.
5460
5461 * sysdeps/unix/common/syscalls.list: Add sigaction syscall.
5462
5463 * sysdeps/unix/sysv/linux/gnu/types.h: Moved from linux/i386.
5464
5465 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]
5466 (sysdep_routines): Append setfpucw.
5467 (extra-objs): Append ieee-fpucw.o.
5468 (install-lib): Append libieee.a.
5469 (libieee.a): New target.
5470 * sysdeps/unix/sysv/linux/ieee-fpucw.c: New file.
5471 * sysdeps/unix/sysv/linux/i386/fpu_control.h
5472 (_FPU_GETCW, _FPU_SETCW): New macros.
5473 (fpu_control_t): New typedef.
5474 (__setfpucw): Use fpu_control_t for argument type.
5475 * sysdeps/unix/sysv/linux/fpu_control.c: Moved from linux/i386.
5476
5477 * sysdeps/unix/sysv/linux/init-first.c: Moved from linux/i386.
5478
5479 * sysdeps/unix/sysv/linux/syscalls.list: Add ipc syscall.
5480 * sysdeps/unix/sysv/linux/i386/syscalls.list: File removed.
5481
5482 Sat Feb 10 13:09:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5483
5484 * sysdeps/unix/sysv/linux/m68k/brk.c,
5485 sysdeps/unix/sysv/linux/m68k/mmap.S,
5486 sysdeps/unix/sysv/linux/m68k/select.S,
5487 sysdeps/unix/sysv/linux/m68k/sigcontext.h,
5488 sysdeps/unix/sysv/linux/m68k/sigreturn.S,
5489 sysdeps/unix/sysv/linux/m68k/socket.S,
5490 sysdeps/unix/sysv/linux/m68k/syscall.S,
5491 sysdeps/unix/sysv/linux/m68k/sysdep.S,
5492 sysdeps/unix/sysv/linux/m68k/sysdep.h: New files.
5493
5494 * sysdeps/unix/sysv/linux/m68k/fpu_control.h: New file.
5495
5496 * sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
5497 sysdeps/m68k/isinfl.c, sysdeps/m68k/isnanl.c: New files.
5498
5499 * sysdeps/unix/sysv/linux/sys/mman.h: Define MAP_ANON and
5500 MAP_FILE if not already defined.
5501
5502 * elf/elf.h: Add m68k reloc definitions.
5503 * sysdeps/m68k/dl-machine.h, sysdeps/m68k/elf/start.S: New files.
5504
5505 Tue Feb 13 00:12:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5506
5507 * elf/dl-runtime.c (fixup) [ELF_MACHINE_RUNTIME_FIXUP_ARGS]: Let
5508 this macro declare extra leading args.
5509
5510 * Makerules [$(elf)=yes] (ar-symtab-name): Define to empty.
5511
5512 * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
5513 elf_machine_relplt): New macros.
5514 * elf/dl-runtime.c: New file.
5515 * sysdeps/i386/dl-runtime.c, sysdeps/stub/dl-runtime.c: Files removed.
5516
5517 * gmon/Makefile (headers): Remove machine-gmon.h.
5518 * sysdeps/stub/machine-gmon.h, sysdeps/i386/machine-gmon.h: Removed.
5519 * gmon/mcount.c [! NO_UNDERSCORES] (_mcount): Specify "mcount" as
5520 the asm name.
5521 (_mcount): Define normally, taking no args.
5522 Use __builtin_return_address to fetch PC values of caller and caller's
5523 caller.
5524
5525 * Makerules: Rewrote rules to update libc archives of all flavors.
5526 Define separate specific rules for each flavor using o-iterator.
5527
5528 * sysdeps/unix/Makefile: Include s-proto.d only ifdef subdir.
5529
5530 Sat Feb 10 11:35:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5531
5532 * Makerules (ar-symtab-name): New macro. Replace all occurences
5533 of __.SYMDEF by $(ar-symtab-name).
5534 * sysdeps/unix/sysv/Makefile (ar-symtab-name): Define as empty.
5535
5536 Mon Feb 12 03:10:41 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5537
5538 * Makefile (configure, %/configure): Depend on aclocal.m4.
5539 * Make-dist (configure, %/configure): Likewise.
5540
5541 * sysdeps/unix/Makefile: Include s-proto.d for its deps.
5542
5543 * gmon/sys/gmon.h: Don't include machine-gmon.h; those defns are
5544 only needed in the implementation, not for any users.
5545
5546 * time/northamerica: Updated from ADO 96c, new rules for Mexico in
5547 1996.
5548
5549 * sunrpc/pm_getport.c: #if 0 out gratuitous inclusion of <net/if.h>.
5550 * sunrpc/pm_getmaps.c: Likewise.
5551
5552 * sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday,
5553 so real syscalls override unix/sysv/*.c on sysv-derived systems
5554 that have them.
5555 * sysdeps/unix/common/syscalls.list: Add settimeofday here, to
5556 override unix/sysv/settimeofday.c since that overrides
5557 unix/syscalls.list.
5558
5559 * Makeconfig (+link): Put $(link-libc) after deps from $^,
5560 regardless of where libc.a appears in the deps.
5561
5562 * sysdeps/unix/sysv/sysv4/syscalls.list: Remove redundancies.
5563 Add __waitid.
5564 * sysdeps/unix/sysv/linux/syscalls.list: Remove redundancies.
5565 Define __ name for sigprocmask.
5566 * sysdeps/unix/bsd/ultrix4/syscalls.list: Remove redundancies.
5567 Add getsysinfo.
5568 * sysdeps/unix/bsd/sun/sunos4/syscalls.list: Remove redundancies.
5569 * sysdeps/unix/bsd/sun/syscalls.list: Remove redundancies.
5570 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove redundancies.
5571 * sysdeps/unix/bsd/syscalls.list: Remove settimeofday, utimes.
5572 Add getdents, wait3, waitpid.
5573 * sysdeps/unix/syscalls.list: Add seteuid, setegid, setsid,
5574 settimeofday, sigsuspend, sstk, utimes.
5575 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
5576 * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
5577 * sysdeps/unix/bsd/ultrix4/mips/Makefile (sysdep_routines):
5578 Removed sigtramp.
5579 * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Renamed from sigtramp.c.
5580 * sysdeps/unix/bsd/bsd4.4/sstk.S: File removed.
5581 * sysdeps/unix/bsd/hp/m68k/syscalls.list: File removed.
5582 * sysdeps/unix/bsd/osf/alpha/getdents.S: File removed.
5583 * sysdeps/unix/bsd/ultrix4/getsysinfo.S: File removed.
5584 * sysdeps/unix/bsd/ultrix4/waitpid.S: File removed.
5585 * sysdeps/unix/bsd/ultrix4/mips/sigtramp.c: File removed.
5586 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
5587 * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: New file.
5588 * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
5589 * sysdeps/unix/sysv/irix4/wait3.S: File removed.
5590 * sysdeps/unix/sysv/sysv4/__waitid.S: File removed.
5591 * sysdeps/unix/sysv/sysv4/fchdir.S: File removed.
5592 * sysdeps/unix/sysv/sysv4/setegid.S: File removed.
5593 * sysdeps/unix/sysv/sysv4/seteuid.S: File removed.
5594 * sysdeps/unix/sysv/sysv4/sigaltstack.S: File removed.
5595 * sysdeps/unix/sysv/sysv4/solaris2/utimes.S: File removed.
5596
5597 * hurd/hurdfault.c (_hurdsig_fault_init): Set qlimit on
5598 FORWARD_SIGEXC to one. Uncomment setting of thread exc port, and
5599 move it to last thing.
5600
5601 Sat Feb 10 05:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5602
5603 * sysdeps/generic/make_siglist.c: #undef _SIGNAL_H before defining it.
5604
5605 * sysdeps/unix/sysv/linux/syscalls.list: Add sigprocmask, sigsuspend.
5606
5607 Sat Feb 10 04:18:48 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5608
5609 * posix/execvp.c: If execv fails with ENOEXEC, run the shell on
5610 the file.
5611
5612 Fri Feb 9 11:46:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5613
5614 * time/Makefile (CFLAGS-zdump.c, CFLAGS-zic.c, CFLAGS-ialloc.c,
5615 CFLAGS-scheck.c): Use -DNOID instead of -Wno-unused.
5616
5617 * hurd/Makefile (user-interfaces): Added hurd/tioctl.
5618
5619 Thu Feb 8 18:55:27 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5620
5621 * hurd/hurdioctl.c (tiocsctty): Set the terminal's pgrp to our own.
5622
5623 Wed Feb 7 18:48:30 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5624
5625 * Makefile (subdirs): Added wcsmbs.
5626 * wcsmbs: New directory of wide char/multibyte char functions from
5627 drepper.
5628
5629 * hurd/hurdmsg.c (_S_msg_report_wait): Function removed.
5630 * hurd/report-wait.c: New file.
5631 * hurd/Makefile (routines): Added report-wait.
5632
5633 * sysdeps/mach/hurd/Makefile (inhibit-unix-syscalls): New variable.
5634
5635 * sysdeps/mach/hurd/i386/intr-msg.h (struct mach_msg_trap_args):
5636 New type.
5637 (SYSCALL_EXAMINE, MSG_EXAMINE): New inline functions.
5638 * sysdeps/mach/hurd/i386/trampoline.c (struct mach_msg_trap_args):
5639 Structure moved to intr-msg.h; include that.
5640
5641 * time/Makefile (CFLAGS-ialloc.c): Add -Wno-unused.
5642 (CFLAGS-scheck.c): New variable.
5643
5644 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
5645 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
5646 __hurd_threadvar_stack_mask): New variables.
5647
5648 * sysdeps/mach/hurd/fork.c: Set the new task's exception port to
5649 its new message port.
5650
5651 * misc/init-misc.c: Put __init_misc in the __libc_subinit set.
5652
5653 * configure.in (uname): Add quoting.
5654
5655 * sysdeps/mach/hurd/fchdir.c: Don't consult errno unless lookup fails.
5656 * hurd/fchroot.c: Likewise.
5657
5658 * posix/sys/types.h [GCC >= 2.7]: Define intN_t/u_intN_t using
5659 __attribute__ ((__mode__ (__XX__))).
5660
5661 Wed Feb 7 03:24:05 1996 Torbjorn Granlund <tege@tmg.se>
5662
5663 * sysdeps/i386/i586/memcopy.h (WORD_COPY_FWD): Manually allocate
5664 destination cache lines.
5665 (WORD_COPY_BWD): Likewise.
5666
5667 Wed Feb 7 14:16:36 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5668
5669 * sysdeps/generic/Makefile (make_siglist): Get signum.h absolute
5670 file name first thing, before $(native-compile) changes directories.
5671
5672 From Gord Matzigkeit <gord@enci.ucalgary.ca>:
5673 * sysdeps/unix/make_errlist.c: Use strerror if available.
5674 * sysdeps/unix/configure.in: New file
5675
5676 * sysdeps/unix/bsd/sun/syscalls.list: Added sigvec.
5677 * sysdeps/unix/bsd/sun/sigvec.S: File removed.
5678
5679 * sysdeps/stub/sendto.c: Make sockaddr arg pointer to const.
5680 * sysdeps/stub/connect.c: Likewise.
5681 * sysdeps/stub/bind.c: Likewise.
5682
5683 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): RETRYNAME of
5684 "" is only special for FS_RETRY_NORMAL; for FS_RETRY_REAUTH, do
5685 another dir_lookup of "".
5686
5687 Tue Feb 6 12:46:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
5688
5689 * libc-symbols.h (weak_alias, weak_symbol): added definitions
5690 for ECOFF (HAVE_ECOFF).
5691
5692 Fri Feb 2 13:09:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5693
5694 * sysdeps/mach/hurd/fork.c: Clear trace flag in child.
5695
5696 Wed Jan 31 20:08:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5697
5698 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Clear SS->intr_port
5699 when cancelled before RPC.
5700
5701 Tue Jan 30 13:32:05 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5702
5703 * dirent/scandir.c: Allocate dirents with correct size for name, and
5704 copy with correct size.
5705
5706 * hurd/hurdinit.c [! PIC] (map0): New function, on _hurd_preinit_hook.
5707
5708 * stdio-common/vfscanf.c (TYPEMOD): New macro of all type modifier
5709 flag bits.
5710 (__vfscanf): Fix checking of extra type modifiers.
5711
5712 * time/asia, time/australasia, time/backward: Updated from ADO 96b.
5713
5714 Tue Jan 30 12:17:26 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
5715
5716 * stdlib/strtod.c: Only negate exponent when there really is one.
5717
5718 * stdio-common/vfscanf.c: Accept type modifiers on %n.
5719 Fix FP number parsing.
5720
5721 Mon Jan 29 21:53:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5722
5723 * sysdeps/stub/msync.c (msync): Declare third arg FLAGS.
5724
5725 * resolv/Makefile (+cflags): Append to this instead of CFLAGS.
5726
5727 Mon Jan 29 16:29:16 1996 Miles Bader <miles@gnu.ai.mit.edu>
5728
5729 * sysdeps/mach/hurd/select.c (__select): Recalculate GOT to
5730 include an increment for each operation allowed on each fd.
5731
5732 Mon Jan 29 11:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5733
5734 * sysdeps/unix/sysv/linux/configure: Set $inhibit_glue.
5735
5736 * Makefile: Use -include for sysd-dirs.
5737
5738 * configure.in (uname): Check for uname in syscalls.list files.
5739 * sysdeps/unix/sysv/syscalls.list: Remove uname.
5740 * sysdeps/unix/syscalls.list: Add uname.
5741
5742 * stdlib/strtol.c (weak1): New macro, to get the right name declared
5743 weak.
5744
5745 * sysdeps/posix/getcwd.c (size_t): Don't define #ifdef __GNU_LIBRARY__.
5746
5747 * db/hash/ndbm.c: Change all uses of `errno' struct member to `errnum'.
5748 (dbm_open): Use dynamic allocation for file name buffer, instead of
5749 limitting its size to MAXPATHLEN.
5750
5751 * db/btree/bt_open.c (tmp): Use dynamic allocation for file name
5752 buffer, instead of limitting its size to MAXPATHLEN.
5753
5754 * db/hash/hash.h (HTAB): Rename member `errno' to `errnum'.
5755 * db/hash/hash.c: Change all uses of `errno' struct member to `errnum'.
5756
5757 Sun Jan 28 19:42:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5758
5759 * time/Makefile: Fix check for cross compiling.
5760
5761 Thu Jan 25 21:10:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5762
5763 * db/Makefile (subdir-dirs): Renamed from dbdirs.
5764
5765 * Makerules (distinfo-vars): Add subdir-dirs.
5766
5767 * MakeTAGS: Remove vpath directives.
5768 (all-dirs): Prepend $(subdir-dirs).
5769 (all-sources, all-headers): Use wildcard to find sources.
5770
5771 Mon Jan 29 10:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5772
5773 * malloc/Makefile (CFLAGS-vm-limit.c, CFLAGS-ralloc.c): New
5774 variables.
5775
5776 * mach/msgserver.c: Declare DEMUX arg with prototype.
5777
5778 Sun Jan 28 17:25:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5779
5780 * setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to
5781 make C++ happy.
5782 * alpha/jmp_buf.h: Likewise.
5783 * m68k/jmp_buf.h: Likewise.
5784 * mips/jmp_buf.h: Likewise.
5785 * sparc/jmp_buf.h: Likewise.
5786 * vax/jmp_buf.h: Likewise.
5787
5788 * sysdeps/generic/memmem.c: Fix return value in case where
5789 NEEDLE_LEN==0.
5790
5791 * hurd/hurdlookup.c (__file_name_lookup_under,
5792 __file_name_lookup): Restrict mode with umask.
5793 * sysdeps/mach/hurd/xmknod.c: Restrict mode with umask.
5794 * sysdeps/mach/hurd/mkdir.c: Restrict mode with umask.
5795
5796 Fri Jan 26 12:20:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5797
5798 * stdlib/strtol.c: Undo last change. ANSI C changed since the
5799 draft I checked yesterday. Sigh.
5800
5801 Thu Jan 25 18:58:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5802
5803 * stdlib/strtol.c [UNSIGNED]: Don't recognize + or - as sign.
5804
5805 Wed Jan 24 03:22:07 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5806
5807 * malloc/mcheck.c (mabort): Declare prototype.
5808
5809 * sysdeps/unix/sysv/linux/fcntlbits.h: Moved from linux/i386.
5810
5811 * Makerules: Use -include for generated makefiles.
5812
5813 * errno.h: Don't declare errno if it's defined as a macro.
5814
5815 * stdio-common/vfscanf.c: Disallow l flag after ll or L.
5816
5817 * stdio-common/Makefile (tests): Add scanf[1-9].
5818 * stdio-common/scanf[1-9].c: New files. Bug tests from hjl.
5819
5820 Wed Jan 24 04:18:36 1996 Paul Eggert <eggert@twinsun.com>
5821
5822 * strftime.c (strftime):
5823 When invoking self, check whether the subsidiary invocation failed.
5824 Use "???" (not "") to denote unknown time zone information.
5825
5826 Make this source file portable to standalone contexts (e.g. GNU Emacs).
5827 <config.h>: Include if HAVE_CONFIG_H is defined.
5828 (HAVE_LIMITS_H, HAVE_MBLEN, HAVE_TM_ZONE, STDC_HEADERS): New symbols,
5829 defined if _LIBC or if <config.h> defines them.
5830 <ansidecl.h>, "../locale/localeinfo.h": Include only if _LIBC.
5831 <sys/types.h>: New include; some hosts require it for `time_t'.
5832 <ctype.h>: Include only if HAVE_MBLEN (since it's only needed then).
5833 <limits.h>: Include only if HAVE_LIMITS_H.
5834 <stddef.h, stdlib.h, string.h>: Include only if STDC_HEADERS.
5835 (memcpy): Define in terms of bcopy if !STDC_HEADERS.
5836 (__P, PTR): Define if not already defined.
5837 (__tzname, __daylight, __timezone): Remove macros; no longer needed.
5838 (add, strftime): Don't use NULL, for portability to some weird hosts.
5839 (fmt): If !_LIBC, don't assume sprintf returns a count.
5840 (week, strftime): Use old-style function declarations.
5841 (weekday_name, month_name): New constants.
5842 (strftime): Use traditional C values if locale support isn't available.
5843 Use `const' instead of CONST. For time zones, use tm_zone if
5844 possible, then fall back on tzname. Don't check for multibyte
5845 characters unless mblen is supported. Use formats like %02d instead
5846 of %.2d, for portability to older hosts.
5847
5848 Wed Jan 24 00:07:52 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5849
5850 * stdio-common/vfscanf.c (GROUP, MALLOC): New flag macros.
5851 (__vfscanf): Eliminate flag vars that were redundant with FLAGS bits.
5852 Fix bug in recognition of %ll flag for long long.
5853 Fix overeager checks for conflicting type modifiers.
5854 With ' flag, match thousands separators for decimal numbers.
5855
5856 Tue Jan 23 22:02:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5857
5858 * locale/Makefile (CFLAGS-locfile-lex.c): New variable.
5859
5860 * resolv/Makefile (CFLAGS): Disable some warnings.
5861
5862 * sysdeps/generic/Makefile (elided-routines): Removed hypot.
5863 (+gccwarn): Set with override.
5864
5865 * stdio-common/Makefile (CFLAGS-tst-printf.c): New variable.
5866
5867 * posix/Makefile (CFLAGS-regex.c): New variable.
5868
5869 * malloc/Makefile (CFLAGS-obstack.c): New variable.
5870
5871 * io/Makefile (CFLAGS-fts.c): New variable.
5872 * io/fts.c (fts_open): Use prototypes for COMPAR decl.
5873
5874 Tue Jan 23 21:35:32 1996 Miles Bader <miles@gnu.ai.mit.edu>
5875
5876 * sysdeps/mach/hurd/bind.c (bind): Ensure NAME for the AF_LOCAL
5877 case is '\0'-terminated.
5878
5879 Tue Jan 23 19:49:54 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5880
5881 * elf/rtld.c (dl_main): Support additional args in --list mode for
5882 debugging: look them up as symbol names and print values.
5883
5884 * misc/getttyent.c (skip, value): Declare with prototypes in file
5885 scope.
5886
5887 * csu/initfini.c (_init): Explicitly set a variable that is
5888 pointer to volatile with the address of __gmon_start__, to avoid
5889 the test being optimized out.
5890
5891 Mon Jan 22 10:40:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5892
5893 * sysdeps/posix/getcwd.c [__GNU_LIBRARY__]: Include unistd.h.
5894
5895 * io/fts.h (FTSENT): Define fts_compar member with prototype.
5896
5897 * hurd/hurd.h: Use prototype in getcttyid decl.
5898
5899 * stdlib/l64a.c: Fix typo in last change.
5900
5901 * stdlib/drand48-iter.c: Test limits.h macros instead of sizeof
5902 for determining size of types.
5903 * stdlib/srand48_r.c: Likewise.
5904
5905 * misc/utmp.h: Declare login, logout, logwtmp.
5906 * misc/logout.c: Declare argument as pointer to const.
5907 * misc/login.c: Likewise.
5908 * misc/logwtmp.c: Likewise.
5909 Include time.h, string.h.
5910
5911 * misc/efgcvt_r.c: Include stdlib.h.
5912
5913 * io/mknod.c: Include sys/types.h.
5914
5915 * gmon/sys/gmon.h: Declare monstartup, _mcleanup.
5916
5917 * csu/gmon-start.c (_start, etext): Declare with prototypes.
5918
5919 * stdio-common/vfscanf.c (%[): Fix range handling.
5920
5921 Sun Jan 21 00:55:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5922
5923 * misc/Makefile (headers): Rename queue.h to sys/queue.h.
5924 * misc/queue.h: Moved to misc/sys/queue.h.
5925
5926 * sysdeps/unix/sysv/linux/shmat.c: Include sys/shm.h instead of
5927 sys/sem.h.
5928
5929 * stdlib/stdlib.h [__USE_SVID]: Declare a64l, l64a.
5930
5931 * stdlib/l64a.c: Use 6-bit numbers as indices in CONV_TABLE, not
5932 literal byte values.
5933
5934 * misc/bsd-compat.c (getpgrp): Define with prototype.
5935
5936 * misc/init-misc.c (__progname_full): New variable.
5937 (program_invocation_name, program_invocation_short_name): New aliases.
5938 (__init_misc): Define with prototype. Set __progname_full.
5939 * misc/progname.c: File removed.
5940 * misc/Makefile (aux): Remove progname.
5941
5942 * misc/hsearch_r.c (isprime): Define with prototype.
5943
5944 * sysdeps/unix/sysv/linux/seteuid.c: Just include unix/bsd version.
5945 * sysdeps/unix/bsd/seteuid.c: Disallow arg of -1.
5946 * sysdeps/unix/bsd/setegid.c: Likewise.
5947
5948 Fri Jan 19 13:28:59 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5949
5950 * sysdeps/unix/sysv/linux/tcdrain.c: Define tcdrain, not
5951 __tcdrain.
5952
5953 * posix/glob.c (glob): Use prototype in getlogin decl.
5954
5955 * db/ndbm.h: Declare dbm_error, dbm_clearerr.
5956 * db/db/db.c (__dberr): Define with prototype.
5957 (__dbpanic): Use prototypes in casts.
5958 * db/hash/hash_log2.c: Add prototype decl.
5959
5960 * sysdeps/generic/_strerror.c (_strerror_internal): Define with
5961 prototype.
5962
5963 * sysdeps/unix/mkdir.c, syspdep/unix/rmdir.c: Moved from unix/sysv.
5964 They will be overridden with syscalls if extant by unix/syscalls.list.
5965
5966 * Makeconfig (+gccwarn): Add -Wstrict-prototypes.
5967
5968 * stdio-common/printf_fp.c (__printf_fp): Define with prototype.
5969 * stdio-common/vfprintf.c (_IO_helper_overflow): Likewise.
5970
5971 Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5972
5973 * io/Makefile (routines): Add mknod, xstat fxstat lxstat xmknod.
5974
5975 * sysdeps/unix/sysv/linux/ptrace.c: Use ... decl, and stdarg.h to
5976 get args.
5977
5978 * posix/glob.c (_GNU_SOURCE): Define if undefined, so glob.h
5979 defines GNU extensions.
5980 * posix/fnmatch.c: Likewise.
5981
5982 Replaced all simple system call files *.S throughout sysdeps/unix
5983 with syscalls.list files to be processed by make-syscalls.sh.
5984 * sysdeps/unix/s-proto.S: New file.
5985 * sysdeps/unix/syscalls.list: New file.
5986 * sysdeps/unix/bsd/syscalls.list: New file.
5987 * sysdeps/unix/bsd/bsd4.4/syscalls.list: New file.
5988 * sysdeps/unix/bsd/hp/m68k/syscalls.list: New file.
5989 * sysdeps/unix/bsd/osf/syscalls.list: New file.
5990 * sysdeps/unix/bsd/osf/alpha/syscalls.list: New file.
5991 * sysdeps/unix/bsd/sony/newsos4/syscalls.list: New file.
5992 * sysdeps/unix/bsd/sun/syscalls.list: New file.
5993 * sysdeps/unix/bsd/sun/sunos4/syscalls.list: New file.
5994 * sysdeps/unix/bsd/ultrix4/syscalls.list: New file.
5995 * sysdeps/unix/common/syscalls.list: New file.
5996 * sysdeps/unix/inet/syscalls.list: New file.
5997 * sysdeps/unix/mman/syscalls.list: New file.
5998 * sysdeps/unix/sysv/syscalls.list: New file.
5999 * sysdeps/unix/sysv/irix4/syscalls.list: New file.
6000 * sysdeps/unix/sysv/isc2.2/syscalls.list: New file.
6001 * sysdeps/unix/sysv/linux/syscalls.list: New file.
6002 * sysdeps/unix/sysv/linux/i386/syscalls.list: New file.
6003 * sysdeps/unix/sysv/sco3.2.4/syscalls.list: New file.
6004 * sysdeps/unix/sysv/sysv4/syscalls.list: New file.
6005 * sysdeps/unix/sysv/sysv4/i386/syscalls.list: New file.
6006 * sysdeps/unix/sysv/sysv4/solaris2/sparc/syscalls.list: New file.
6007 * sysdeps/unix/acct.S: File removed.
6008 * sysdeps/unix/chdir.S: File removed.
6009 * sysdeps/unix/chmod.S: File removed.
6010 * sysdeps/unix/chown.S: File removed.
6011 * sysdeps/unix/chroot.S: File removed.
6012 * sysdeps/unix/close.S: File removed.
6013 * sysdeps/unix/configure: File removed.
6014 * sysdeps/unix/configure.in: File removed.
6015 * sysdeps/unix/dup.S: File removed.
6016 * sysdeps/unix/fcntl.S: File removed.
6017 * sysdeps/unix/fsync.S: File removed.
6018 * sysdeps/unix/getgid.S: File removed.
6019 * sysdeps/unix/getpid.S: File removed.
6020 * sysdeps/unix/getuid.S: File removed.
6021 * sysdeps/unix/ioctl.S: File removed.
6022 * sysdeps/unix/kill.S: File removed.
6023 * sysdeps/unix/link.S: File removed.
6024 * sysdeps/unix/lseek.S: File removed.
6025 * sysdeps/unix/open.S: File removed.
6026 * sysdeps/unix/ptrace.S: File removed.
6027 * sysdeps/unix/read.S: File removed.
6028 * sysdeps/unix/reboot.S: File removed.
6029 * sysdeps/unix/setgid.S: File removed.
6030 * sysdeps/unix/setuid.S: File removed.
6031 * sysdeps/unix/sync.S: File removed.
6032 * sysdeps/unix/umask.S: File removed.
6033 * sysdeps/unix/unlink.S: File removed.
6034 * sysdeps/unix/write.S: File removed.
6035 * sysdeps/unix/bsd/flock.S: File removed.
6036 * sysdeps/unix/bsd/getdtsz.S: File removed.
6037 * sysdeps/unix/bsd/getpagesize.S: File removed.
6038 * sysdeps/unix/bsd/killpg.S: File removed.
6039 * sysdeps/unix/bsd/profil.S: File removed.
6040 * sysdeps/unix/bsd/readv.S: File removed.
6041 * sysdeps/unix/bsd/settimeofday.S: File removed.
6042 * sysdeps/unix/bsd/sigblock.S: File removed.
6043 * sysdeps/unix/bsd/sigpause.S: File removed.
6044 * sysdeps/unix/bsd/sigsetmask.S: File removed.
6045 * sysdeps/unix/bsd/sigstack.S: File removed.
6046 * sysdeps/unix/bsd/sigvec.S: File removed.
6047 * sysdeps/unix/bsd/utimes.S: File removed.
6048 * sysdeps/unix/bsd/writev.S: File removed.
6049 * sysdeps/unix/bsd/bsd4.4/chflags.S: File removed.
6050 * sysdeps/unix/bsd/bsd4.4/fchdir.S: File removed.
6051 * sysdeps/unix/bsd/bsd4.4/fchflags.S: File removed.
6052 * sysdeps/unix/bsd/bsd4.4/getdents.S: File removed.
6053 * sysdeps/unix/bsd/bsd4.4/getdomain.S: File removed.
6054 * sysdeps/unix/bsd/bsd4.4/revoke.S: File removed.
6055 * sysdeps/unix/bsd/bsd4.4/setdomain.S: File removed.
6056 * sysdeps/unix/bsd/bsd4.4/setegid.S: File removed.
6057 * sysdeps/unix/bsd/bsd4.4/seteuid.S: File removed.
6058 * sysdeps/unix/bsd/bsd4.4/setlogin.S: File removed.
6059 * sysdeps/unix/bsd/bsd4.4/setsid.S: File removed.
6060 * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: File removed.
6061 * sysdeps/unix/bsd/bsd4.4/wait4.S: File removed.
6062 * sysdeps/unix/bsd/hp/m68k/getdents.S: File removed.
6063 * sysdeps/unix/bsd/osf/msync.S: File removed.
6064 * sysdeps/unix/bsd/osf/alpha/wait4.S: File removed.
6065 * sysdeps/unix/bsd/sony/newsos4/fchdir.S: File removed.
6066 * sysdeps/unix/bsd/sony/newsos4/sys_wait4.S: File removed.
6067 * sysdeps/unix/bsd/sun/getdents.S: File removed.
6068 * sysdeps/unix/bsd/sun/sunos3/m68k/wait.S: File removed.
6069 * sysdeps/unix/bsd/sun/sunos4/msync.S: File removed.
6070 * sysdeps/unix/bsd/sun/sunos4/poll.S: File removed.
6071 * sysdeps/unix/bsd/sun/sunos4/setsid.S: File removed.
6072 * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: File removed.
6073 * sysdeps/unix/bsd/sun/sunos4/sys_wait4.S: File removed.
6074 * sysdeps/unix/bsd/sun/sunos4/uname.S: File removed.
6075 * sysdeps/unix/bsd/ultrix4/getdents.S: File removed.
6076 * sysdeps/unix/bsd/ultrix4/setsid.S: File removed.
6077 * sysdeps/unix/bsd/ultrix4/uname.S: File removed.
6078 * sysdeps/unix/common/access.S: File removed.
6079 * sysdeps/unix/common/adjtime.S: File removed.
6080 * sysdeps/unix/common/dup2.S: File removed.
6081 * sysdeps/unix/common/fchmod.S: File removed.
6082 * sysdeps/unix/common/fchown.S: File removed.
6083 * sysdeps/unix/common/ftruncate.S: File removed.
6084 * sysdeps/unix/common/getgroups.S: File removed.
6085 * sysdeps/unix/common/getitimer.S: File removed.
6086 * sysdeps/unix/common/getpgid.S: File removed.
6087 * sysdeps/unix/common/getpriority.S: File removed.
6088 * sysdeps/unix/common/getrlimit.S: File removed.
6089 * sysdeps/unix/common/getrusage.S: File removed.
6090 * sysdeps/unix/common/gettimeofday.S: File removed.
6091 * sysdeps/unix/common/mkdir.S: File removed.
6092 * sysdeps/unix/common/readlink.S: File removed.
6093 * sysdeps/unix/common/rename.S: File removed.
6094 * sysdeps/unix/common/rmdir.S: File removed.
6095 * sysdeps/unix/common/select.S: File removed.
6096 * sysdeps/unix/common/setgroups.S: File removed.
6097 * sysdeps/unix/common/setitimer.S: File removed.
6098 * sysdeps/unix/common/setpgid.S: File removed.
6099 * sysdeps/unix/common/setpriority.S: File removed.
6100 * sysdeps/unix/common/setregid.S: File removed.
6101 * sysdeps/unix/common/setreuid.S: File removed.
6102 * sysdeps/unix/common/setrlimit.S: File removed.
6103 * sysdeps/unix/common/swapon.S: File removed.
6104 * sysdeps/unix/common/symlink.S: File removed.
6105 * sysdeps/unix/common/truncate.S: File removed.
6106 * sysdeps/unix/common/vhangup.S: File removed.
6107 * sysdeps/unix/inet/accept.S: File removed.
6108 * sysdeps/unix/inet/bind.S: File removed.
6109 * sysdeps/unix/inet/connect.S: File removed.
6110 * sysdeps/unix/inet/gethostid.S: File removed.
6111 * sysdeps/unix/inet/gethostname.S: File removed.
6112 * sysdeps/unix/inet/getpeername.S: File removed.
6113 * sysdeps/unix/inet/getsockname.S: File removed.
6114 * sysdeps/unix/inet/getsockopt.S: File removed.
6115 * sysdeps/unix/inet/listen.S: File removed.
6116 * sysdeps/unix/inet/recv.S: File removed.
6117 * sysdeps/unix/inet/recvfrom.S: File removed.
6118 * sysdeps/unix/inet/recvmsg.S: File removed.
6119 * sysdeps/unix/inet/send.S: File removed.
6120 * sysdeps/unix/inet/sendmsg.S: File removed.
6121 * sysdeps/unix/inet/sendto.S: File removed.
6122 * sysdeps/unix/inet/sethostid.S: File removed.
6123 * sysdeps/unix/inet/sethostname.S: File removed.
6124 * sysdeps/unix/inet/setsockopt.S: File removed.
6125 * sysdeps/unix/inet/shutdown.S: File removed.
6126 * sysdeps/unix/inet/socket.S: File removed.
6127 * sysdeps/unix/inet/socketpair.S: File removed.
6128 * sysdeps/unix/mman/madvise.S: File removed.
6129 * sysdeps/unix/mman/mmap.S: File removed.
6130 * sysdeps/unix/mman/mprotect.S: File removed.
6131 * sysdeps/unix/mman/msync.S: File removed.
6132 * sysdeps/unix/mman/munmap.S: File removed.
6133 * sysdeps/unix/sysv/alarm.S: File removed.
6134 * sysdeps/unix/sysv/ftime.S: File removed.
6135 * sysdeps/unix/sysv/nice.S: File removed.
6136 * sysdeps/unix/sysv/pause.S: File removed.
6137 * sysdeps/unix/sysv/poll.S: File removed.
6138 * sysdeps/unix/sysv/s_getdents.S: File removed.
6139 * sysdeps/unix/sysv/signal.S: File removed.
6140 * sysdeps/unix/sysv/stime.S: File removed.
6141 * sysdeps/unix/sysv/time.S: File removed.
6142 * sysdeps/unix/sysv/times.S: File removed.
6143 * sysdeps/unix/sysv/ulimit.S: File removed.
6144 * sysdeps/unix/sysv/uname.S: File removed.
6145 * sysdeps/unix/sysv/utime.S: File removed.
6146 * sysdeps/unix/sysv/irix4/getpgid.S: File removed.
6147 * sysdeps/unix/sysv/irix4/msync.S: File removed.
6148 * sysdeps/unix/sysv/irix4/setpgid.S: File removed.
6149 * sysdeps/unix/sysv/irix4/signal.S: File removed.
6150 * sysdeps/unix/sysv/irix4/sysmp.S: File removed.
6151 * sysdeps/unix/sysv/irix4/syssgi.S: File removed.
6152 * sysdeps/unix/sysv/isc2.2/rename.S: File removed.
6153 * sysdeps/unix/sysv/linux/adjtimex.S: File removed.
6154 * sysdeps/unix/sysv/linux/fork.S: File removed.
6155 * sysdeps/unix/sysv/linux/getpgid.S: File removed.
6156 * sysdeps/unix/sysv/linux/getpgrp.S: File removed.
6157 * sysdeps/unix/sysv/linux/getsid.S: File removed.
6158 * sysdeps/unix/sysv/linux/gtty.S: File removed.
6159 * sysdeps/unix/sysv/linux/mlock.S: File removed.
6160 * sysdeps/unix/sysv/linux/mlockall.S: File removed.
6161 * sysdeps/unix/sysv/linux/mount.S: File removed.
6162 * sysdeps/unix/sysv/linux/munlock.S: File removed.
6163 * sysdeps/unix/sysv/linux/munlockall.S: File removed.
6164 * sysdeps/unix/sysv/linux/pipe.S: File removed.
6165 * sysdeps/unix/sysv/linux/s_ptrace.S: File removed.
6166 * sysdeps/unix/sysv/linux/setpgid.S: File removed.
6167 * sysdeps/unix/sysv/linux/setsid.S: File removed.
6168 * sysdeps/unix/sysv/linux/settimeofday.S: File removed.
6169 * sysdeps/unix/sysv/linux/sigpending.S: File removed.
6170 * sysdeps/unix/sysv/linux/stty.S: File removed.
6171 * sysdeps/unix/sysv/linux/umount.S: File removed.
6172 * sysdeps/unix/sysv/linux/wait4.S: File removed.
6173 * sysdeps/unix/sysv/linux/i386/ipc.S: File removed.
6174 * sysdeps/unix/sysv/sco3.2.4/pathconf.S: File removed.
6175 * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: File removed.
6176 * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: File removed.
6177 * sysdeps/unix/sysv/sco3.2.4/sigpending.S: File removed.
6178 * sysdeps/unix/sysv/sco3.2.4/sigprocmask.S: File removed.
6179 * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: File removed.
6180 * sysdeps/unix/sysv/sysv4/pgrpsys.S: File removed.
6181 * sysdeps/unix/sysv/sysv4/sigprocmask.S: File removed.
6182 * sysdeps/unix/sysv/sysv4/sigsuspend.S: File removed.
6183 * sysdeps/unix/sysv/sysv4/sysconfig.S: File removed.
6184 * sysdeps/unix/sysv/sysv4/sysinfo.S: File removed.
6185 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: File removed.
6186
6187 * io/mknod.c: New file.
6188
6189 * Makerules (COMPILE.s): New variable.
6190
6191 * sysdeps/unix/Makefile (sysd-syscalls): New target; generate with
6192 make-syscalls.sh and include it.
6193 [$(subdir)=misc] (sysdep_routines): Append extra syscalls from
6194 sysd-syscalls.
6195 * sysdeps/unix/make-syscalls.sh: New file.
6196
6197 * Makerules (COMPILE.S): New variable.
6198
6199 Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6200
6201 * sysdeps/unix/sysv/linux/statbuf.h (_STAT_VER_LINUX,
6202 _STAT_VER_SVR4, _STAT_VER): New macros.
6203 (_MKNOD_VER_LINUX, _MKNOD_VER_SVR4, _MKNOD_VER): New macros.
6204
6205 * sysdeps/unix/sysv/sysv4/i386/statbuf.h (_STAT_VER, _MKNOD_VER):
6206 New macros.
6207
6208 * io/sys/stat.h (_STAT_VER, _MKNOD_VER): New macros.
6209 (__xstat, __fxstat, __lxstat, __xmknod): Declare new functions.
6210 [__GNUC__] (stat, fstat, lstat, mknod): Define these (and __ names)
6211 as `extern inline's calling the `x' functions.
6212 * io/fstat.c: New file.
6213 * io/lstat.c: New file.
6214 * io/stat.c: New file.
6215 * sysdeps/generic/lstat.c: File removed.
6216 * sysdeps/generic/lxstat.c: New file.
6217 * sysdeps/mach/hurd/fstat.c: File removed.
6218 * sysdeps/mach/hurd/fxstat.c: New file.
6219 * sysdeps/mach/hurd/lstat.c: File removed.
6220 * sysdeps/mach/hurd/lxstat.c: New file.
6221 * sysdeps/mach/hurd/mknod.c: File removed.
6222 * sysdeps/mach/hurd/stat.c: File removed.
6223 * sysdeps/mach/hurd/xmknod.c: New file.
6224 * sysdeps/mach/hurd/xstat.c: New file.
6225 * sysdeps/stub/fstat.c: File removed.
6226 * sysdeps/stub/fxstat.c: New file.
6227 * sysdeps/stub/lstat.c: File removed.
6228 * sysdeps/stub/lxstat.c: New file.
6229 * sysdeps/stub/mknod.c: File removed.
6230 * sysdeps/stub/stat.c: File removed.
6231 * sysdeps/stub/xmknod.c: New file.
6232 * sysdeps/stub/xstat.c: New file.
6233 * sysdeps/unix/common/lstat.S: File removed.
6234 * sysdeps/unix/common/lxstat.c: New file.
6235 * sysdeps/unix/fstat.S: File removed.
6236 * sysdeps/unix/fxstat.c: New file.
6237 * sysdeps/unix/mknod.S: File removed.
6238 * sysdeps/unix/stat.S: File removed.
6239 * sysdeps/unix/sysv/linux/fstat.c: File removed.
6240 * sysdeps/unix/sysv/linux/i386/fxstat.S: File removed.
6241 * sysdeps/unix/sysv/linux/i386/lxstat.S: File removed.
6242 * sysdeps/unix/sysv/linux/i386/xmknod.S: File removed.
6243 * sysdeps/unix/sysv/linux/i386/xstat.S: File removed.
6244 * sysdeps/unix/sysv/linux/lstat.c: File removed.
6245 * sysdeps/unix/sysv/linux/mknod.c: File removed.
6246 * sysdeps/unix/sysv/linux/stat.c: File removed.
6247 * sysdeps/unix/sysv/sysv4/i386/fstat.S: File removed.
6248 * sysdeps/unix/sysv/sysv4/i386/lstat.S: File removed.
6249 * sysdeps/unix/sysv/sysv4/i386/mknod.S: File removed.
6250 * sysdeps/unix/sysv/sysv4/i386/stat.S: File removed.
6251 * sysdeps/unix/xmknod.c: New file.
6252 * sysdeps/unix/xstat.c: New file.
6253 * sysdeps/unix/mkfifo.c: Use __xmknod instead of __mknod.
6254 * misc/Makefile (routines): Remove mknod.
6255
6256 * sysdeps/ieee754/ieee754.h (union ieee854_long_double.ieee_nan):
6257 Add missing ; in little-endian case.
6258
6259 * elf/dynamic-link.h [ELF_MACHINE_NO_REL] (ELF_DYNAMIC_DO_REL):
6260 Define this instead of ELF_DYNAMIC_DO_RELA.
6261
6262 * sysdeps/unix/sysv/time.S: Moved from sysv4.
6263 * sysdeps/unix/sysv/irix4/time.S: File removed.
6264
6265 * sysdeps/unix/sysv/linux/signum.h: Moved from
6266 sysdeps/unix/sysv/linux/i386.
6267 (_NSIG): Move inside #ifdef _SIGNAL_H.
6268
6269 Tue Jan 16 17:37:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6270
6271 * sysdeps/unix/seekdir.c: Don't modify POS before seeking.
6272 * sysdeps/unix/telldir.c: Fix position calculation to account for
6273 buffered data properly.
6274
6275 * sysdeps/m68k/Makefile (crypt): Don't define if building a shared
6276 library.
6277
6278 * csu/initfini.c (_init): Call __gmon_start__ if defined (weak ref).
6279 * csu/gmon-start.c (__gmon_start__): Renamed from gmon_start, made
6280 global.
6281 [! HAVE_INITFINI]: Only make it a constructor in this case.
6282
6283 * gmon/Makefile (CFLAGS-mcount.c): New variable.
6284 (mcount.po): New target.
6285
6286 * Makeconfig (CFLAGS): Append $(CFLAGS-$(<F)).
6287
6288 * csu/Makefile [have-initfini=yes] (CPPFLAGS): Append -DHAVE_INITFINI.
6289 (initfini): Compile initfini.c with -fPIC.
6290
6291 Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
6292
6293 * sysdeps/mips/bytesex.h: Add default byte sex. By Ralf Baechle.
6294
6295 * sysdeps/unix/sysv/linux/adjtime.c [! MOD_OFFSET]: Use `mode'
6296 member of `struct timex' instead of `modes'. From Andreas Schwab.
6297
6298 * sysdeps/unix/sysv/linux/mknod.c: New file. Generic C version.
6299 * sysdeps/unix/sysv/linux/i386/mknod.S: Remove assembler version.
6300
6301 * sysdeps/unix/sysv/linux/Makefile (inhibit-glue): New variable.
6302 [$(subdir) = misc] (sysdep_routines): Add mount, umount, and s_ptrace.
6303 [$(subdir) = misc] (headers): Append sys/mount.h.
6304
6305 * sysdeps/unix/sysv/linux/mount.S, sysdeps/unix/sysv/linux/umount.S:
6306 New files. Implement system calls.
6307 * sysdeps/unix/sysv/linux/sys/mount.h: New header file.
6308
6309 * sysdeps/unix/sysv/linux/ptrace.c: New file. Wrapper around
6310 ptrace system call.
6311 * sysdeps/unix/sysv/linux/s_ptrace.S: New file: ptrace system call.
6312
6313 * sysdeps/unix/sysv/linux/i386/gnu/types.h: New file with correct
6314 types for i386/Linux.
6315
6316 Sun Jan 14 17:51:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6317
6318 * MakeTAGS (all-sources, all-headers): Always search the
6319 current directory first.
6320
6321 * db/btree/bt_seq.c (__bt_first): Return RET_SPECIAL when key not
6322 found.
6323
6324 * stdio-common/vfscanf.c (inchar, conv_error, input_error,
6325 memory_error): Add cast to void to avoid gcc warning.
6326 (vfscanf): Rewrite character class parsing to make it more efficient.
6327
6328 * misc/efgcvt_r.c (ecvt_r): Handle negative values.
6329
6330 * stdlib/stdlib.h: Replace __CONSTVALUE by attribute.
6331 * stdlib/abs.c, stdlib/div.c, stdlib/labs.c, stdlib/ldiv.c,
6332 sysdeps/generic/hypot.c: Remove obsolete __CONSTVALUE.
6333
6334 * stdio-common/printf_fp.c (__printf_fp): Fix parameter
6335 declaration.
6336
6337 * sysdeps/generic/putenv.c (putenv): Fix second argument of
6338 setenv.
6339
6340 * sysdeps/ieee754/hypot.c: New file, extracted out of cabs.c.
6341 * sysdeps/ieee754/cabs.c: Don't define hypot here.
6342
6343 * sysdeps/ieee754/ieee754.h (union ieee854_long_double): Fix
6344 definition of ieee_nan alternative.
6345
6346 * sysdeps/m68k/__longjmp.c, sysdeps/m68k/setjmp.c: Add register
6347 prefix spec.
6348
6349 * sysdeps/m68k/ffs.c (ffs): Fix register constraint.
6350
6351 * sysdeps/m68k/fpu/__math.h: Include <errno.h>. Replace obsolete
6352 __CONSTVALUE by attribute.
6353 (floor): Round to negative infinity.
6354 (rint, expm1) [__NO_MATH_INLINES]: Don't define, to avoid type
6355 clash when compiling source.
6356 (pow): Handle x == 0 and x < 0.
6357 (ceil, __isinf, __isnan): Fix register constraints.
6358 (__isinfl, __isnanl): Added.
6359 * sysdeps/m68k/fpu/acos.c, sysdeps/m68k/fpu/atan2.c,
6360 sysdeps/m68k/fpu/fmod.c, sysdeps/m68k/fpu/ldexp.c,
6361 sysdeps/m68k/fpu/pow.c: Remove obsolete __CONSTVALUE.
6362
6363 * sysdeps/m68k/bsd-_setjmp.S, sysdeps/m68k/bsd-setjmp.S: Fix
6364 assembler syntax.
6365
6366 * sysdeps/unix/bsd/bsd4.4/fchdir.S (fchdir): Take only one
6367 argument.
6368
6369 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Fix timeval to
6370 clock_t conversion.
6371 (clock): Don't multiply by CLOCKS_PER_SEC.
6372
6373 * sysdeps/unix/bsd/poll.c (poll): Fix msec to timeval conversion.
6374
6375 * sysdeps/unix/bsd/sun/m68k/brk.S (brk): Compare with address of
6376 __end.
6377
6378 * sysdeps/unix/bsd/sun/m68k/vfork.S: Fix assembler syntax.
6379
6380 * sysdeps/unix/bsd/ualarm.c (ualarm): Fix timeval calculation.
6381
6382 * sysdeps/unix/bsd/vax/vfork.S: Remove duplicate label.
6383
6384 Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
6385
6386 * stdlib/strtol.c: Return correct pointer for strings
6387 like "0xyz" and base 0 or 16.
6388
6389 * string/strxfrm.c: Handle case for LENGTH == 0 correct.
6390
6391 * sunrpc/etc.rpc: Add some more known protocols.
6392
6393 Fri Jan 12 13:40:01 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6394
6395 * posix/gnu/types.h: Moved to sysdeps/generic/gnu/types.h.
6396
6397 * posix/glob.c (glob): Add parens in glob call flags arg for
6398 GLOB_BRACE case.
6399
6400 * string/string.h (strdupa): New macro.
6401
6402 * stdio-common/vfscanf.c (%[): Grok ] as first char in set, not
6403 terminator on empty set. From drepper.
6404
6405 Thu Jan 11 13:09:20 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6406
6407 * elf/do-rel.h (elf_dynamic_do_rel): Use referring symbol as
6408 referent for STB_LOCAL.
6409
6410 Wed Jan 10 10:11:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6411
6412 * time/africa, time/antarctica, time/asia, time/australasia,
6413 time/europe, time/northamerica, time/pacificnew, time/solar87,
6414 time/solar88, time/solar89, time/southamerica: Updated from ADO 96a.
6415
6416 Tue Jan 9 16:10:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6417
6418 * elf/dl-load.c (_dl_map_object_from_fd): After mapping first
6419 segment to find location, mprotect excess region to no access,
6420 don't munmap it.
6421
6422 * sysdeps/mach/hurd/dl-sysdep.c (mmap): If vm_map returns
6423 KERN_NO_SPACE for fixed location, deallocate it and try again.
6424
6425 Mon Jan 8 17:43:23 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6426
6427 * locale/Makefile (lib-modules): Renamed hash to locfile-hash.
6428 * locale/hash.c: Renamed to locale/locfile-hash.c.
6429
6430 Sat Jan 6 16:39:14 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6431
6432 * Makefile (subdirs): Added db.
6433
6434 * resolv/Makefile (routines): Add res_data.
6435 * resolv/res_data.c, resolv/res_debug.c, resolv/resolv.h:
6436 Updated from BIND 4.9.3 final release.
6437
6438 * elf/dynamic-link.h (elf_get_dynamic_info): Handle
6439 processor-specific tags.
6440 (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA): Handle absent DT_PLTREL tag.
6441
6442 * elf/elf.h (DT_MIPS_NUM, DT_PROCNUM): New macros.
6443 * elf/link.h (struct link_map): Extend `l_info' by DT_PROCNUM.
6444
6445 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Take new
6446 arg LAZY. Only do our work if LAZY and there is a DT_JMPREL record.
6447 * elf/dl-reloc.c (_dl_relocate_object): Call
6448 elf_machine_runtime_setup unconditionally, and pass it LAZY flag.
6449
6450 * elf/dl-load.c: Fixed ELFMAG check to work for either byte order.
6451 Align end of load segment only to page size, not to segment alignment.
6452
6453 Thu Jan 4 11:35:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6454
6455 * sysdeps/mach/hurd/setitimer.c: Code rearranged a bit to use new
6456 preemption interface.
6457
6458 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
6459 Use _hurdsig_catch_memory_fault.
6460
6461 * hurd/Makefile (headers): Add hurd/sigpreempt.h.
6462 (sig): Add catch-signal.
6463
6464 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
6465 Rewritten using a preempter in new interface.
6466 * hurd/hurdfault.h (_hurdsig_catch_fault): Likewise.
6467 (_hurdsig_catch_memory_fault): New macro.
6468
6469 Wed Jan 3 20:23:42 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6470
6471 * hurd/catch-signal.c: New file.
6472
6473 * hurd/intr-msg.c: When restarting RPC, fetch a new reply port.
6474
6475 * hurd/hurdsig.c: Use new hurdfault.h interface.
6476 (abort_all_rpcs): Mutate return value to EINTR in threads whose
6477 replies we will wait for.
6478
6479 * hurd/hurdkill.c (_hurd_sig_post): When doing pgrp, make sure we
6480 do ourselves last.
6481
6482 Wed Jan 3 19:17:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
6483
6484 * sysdeps/mach/hurd/access.c (__access): Put the uid/gid arguments
6485 to auth_makeauth() in the right order.
6486
6487 Wed Jan 3 17:19:04 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6488
6489 * sysdeps/generic/strsep.c: Rewritten.
6490
6491 * sysdeps/mach/hurd/fork.c: Use a different workaround for the
6492 suspended page fault deadlock kernel bug: thread_abort our signal
6493 thread first thing after proc_dostop.
6494
6495 * sysdeps/mach/hurd/setgid.c: Rewrote gid frobnication to
6496 recognize rootness properly.
6497
6498 Tue Jan 2 00:50:10 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6499
6500 * hurd/hurd/signal.h (struct hurd_sigstate): New member `preempters'.
6501 (hurd_preempt_signals, hurd_unpreempt_signals): Decls removed.
6502 * hurd/hurd/sigpreempt.h: New file.
6503 * hurd/preempt-sig.c: Rewritten with new interface.
6504 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Remove local signal
6505 preempters being unwound past.
6506 * hurd/hurdsig.c: Use new signal preemption interface.
6507
6508 * db: New directory, 4.4 BSD db package incorporated from BSD db-1.85
6509 release.
6510
6511 * sysdeps/unix/sysv/linux/sys/param.h: Several new macros for BSD
6512 compatibility.
6513
6514 * misc/queue.h: New file, incorporated from 4.4BSD.
6515 * misc/Makefile (headers): Add queue.h.
6516
6517 * posix/sys/types.h [__USE_BSD]: Include endian.h.
6518
6519 * io/sys/stat.h (DEFFILEMODE, ALLPERMS, ACCESSPERMS, S_BLKSIZE):
6520 New macros.
6521
6522 Thu Dec 28 10:21:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6523
6524 * sysdeps/generic/confname.h: Define all names as self-referential
6525 macros so #ifdef works.
6526
6527 * hurd/preempt-sig.c (hurd_unpreempt_signals): Remove bogus asgnmt
6528 of _hurd_signal_preempters[SIGNO].
6529
6530 Mon Dec 25 20:56:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6531
6532 * sysdeps/mach/hurd/bind.c: Translate EEXIST from dir_link into
6533 EADDRINUSE. If translated node doesn't grok ifsock protocol,
6534 return EADDRINUSE.
6535
6536 * sysdeps/mach/hurd/connect.c: Make address arg
6537 `const struct sockaddr_un *'.
6538 The redecl is kosher and avoids another variable for AF_LOCAL case.
6539 * sysdeps/mach/hurd/sendto.c: Likewise.
6540 * sysdeps/mach/hurd/bind.c: Likewise.
6541
6542 * socket/sys/socket.h (__SOCKADDR_ARG): Enable transparent_union
6543 code for GCC >= 2.7; use __transparent_union__ for name safety;
6544 add several sockaddr flavors.
6545 (__SOCKADDR_ALLTYPES, __SOCKADDR_ONETYPE): New macros used in
6546 constructing the transparent union declarations.
6547 (__CONST_SOCKADDR_ARG): New type (or macro if not GCC 2.7).
6548 (bind, connect, sendto): Make the sockaddr argument use that.
6549
6550 Fri Dec 22 00:57:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6551
6552 * sysdeps/mach/hurd/setgid.c: In root case, store into NEWAUX, not
6553 old vector.
6554 * sysdeps/mach/hurd/setuid.c: Likewise.
6555
6556 * sysdeps/mach/hurd/setuid.c: Rewrote ID frobnication to do the
6557 right thing.
6558 * sysdeps/mach/hurd/setgid.c: Likewise.
6559 * sysdeps/mach/hurd/setreuid.c: Likewise.
6560 * sysdeps/mach/hurd/setregid.c: Likewise.
6561 * sysdeps/mach/hurd/setegid.c: Likewise.
6562 * sysdeps/mach/hurd/seteuid.c: Likewise.
6563
6564 * sysdeps/mach/hurd/fork.c: Peek __mach_task_self_ value before
6565 proc_dostop call to work around kernel paging bug.
6566
6567 Fri Dec 22 00:38:00 1995 H.J. Lu <hjl@nynexst.com>
6568
6569 * stdio-common/vfscanf.c: Correctly handle white space skipping.
6570 * stdio-common/Makefile (tests): Add bug11.
6571 * stdio-common/bug11.c: New file.
6572
6573 Thu Dec 21 12:19:32 1995 Miles Bader <miles@gnu.ai.mit.edu>
6574
6575 * sysdeps/mach/hurd/setuid.c (__setuid): Actually add the new uid
6576 instead of putting it (and other uids) in the gids and leaving the
6577 old uids as is.
6578
6579 Wed Dec 20 18:23:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6580
6581 * stdio/internals.c (flushbuf): If the target is -1, always
6582 discard the buffer of read data.
6583 Only set TWIDDLED flag in !ALIGNED case.
6584 Never increment target or offset when old value is -1.
6585
6586 Tue Dec 19 17:00:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6587
6588 * hurd/hurdpid.c (_S_msg_proc_newids): Only run the hook when the
6589 pgrp changes.
6590
6591 Mon Dec 18 13:40:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6592
6593 * stdio/fread.c: Don't increment __offset when it's -1.
6594
6595 * elf/rtld.c (dl_main): Prepend tab to "statically linked". Exit
6596 0 in that case.
6597
6598 * misc/err.c (vwarnx, vwarn): Fix major brainos.
6599
6600 * sysdeps/mach/hurd/dl-sysdep.c (mmap): Fix setting of
6601 inheritance.
6602
6603 Sun Dec 17 15:56:35 1995 Miles Bader <miles@gnu.ai.mit.edu>
6604
6605 * misc/getpass.c (getpass): Don't barf if getline returns a null BUF.
6606
6607 Sat Dec 16 10:33:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6608
6609 * Makerules: Use $(do-install-so) for installing shared objects.
6610 (do-install-so): New canned sequence. Make a symlink LIB.so after
6611 installing LIB.so.VERSION.
6612
6613 * inet/netinet/in.h: Fixed typo in IPPORT_WHOIS.
6614
6615 Fri Dec 15 04:41:22 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
6616
6617 * stdio-common/Makefile (tests): Add bug10.
6618 * stdio-common/bug10.c: New file. From HJ Lu.
6619
6620 * stdio-common/tstdiomisc.c: Make more test-suite like: exit
6621 status tells about successful run.
6622
6623 * stdio-common/vfscanf.c [!USE_IN_LIBIO]: Use `flags' to check
6624 format correctness.
6625 Correct handling of trailing white spaces in format + EOF.
6626
6627 Fri Dec 15 01:31:56 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
6628
6629 * stdio-common/Makefile (tests): Add bug8 and bug9.
6630 * stdio-common/bug8.c, stdio-common/bug9.c: New tests.
6631
6632 * stdio-common/vfscanf.c: Fix bug in dynamic buffer handling.
6633
6634 * stdlib/strtod.c: Correct spelling: nominator -> numerator.
6635 Thanks to Jim Meyering.
6636
6637 Sat Nov 25 06:05:12 1995 H.J. Lu <hjl@nynexst.com>
6638
6639 * stdio-common/vfscanf.c: Always check width !=0.
6640 Correctly handle %%.
6641
6642 Thu Dec 14 02:28:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6643
6644 * posix/glob.c (glob_in_dir): Cast result of opendir to __ptr_t,
6645 and cast STREAM to DIR * before passing to readdir and closedir.
6646
6647 Wed Dec 13 22:06:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6648
6649 * hurd/hurdsig.c (_hurd_internal_post_signal: suspend): Reply
6650 after aborting RPCs but before calling proc_mark_stop.
6651
6652 Mon Dec 11 20:07:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6653
6654 * posix/glob.c [! STDC_HEADERS]: Declare getenv.
6655 (glob): Avoid using function as value.
6656
6657 * elf/rtld.c (dl_main): When mapping argument executable, set
6658 l_name to "", not l_libname.
6659 After loading DT_NEEDED library, set its l_type to lt_library.
6660
6661 * sysdeps/mach/hurd/mmap.c: Don't interpret MAP_INHERIT to mean
6662 VM_INHERIT. We can't handle MAP_INHERIT easily.
6663 Handle non-page-aligned addresses if congruent to offset.
6664
6665 * elf/dl-init.c: Skip the initializer for l_type lt_executable
6666 with l_name "". Start at _dl_loaded; don't skip the first element.
6667
6668 * elf/dl-load.c (MAP_FILE): Define to zero if undefined.
6669 (MAP_COPY): Define to MAP_PRIVATE if undefined.
6670 (_dl_map_object_from_fd): Don't use MAP_INHERIT in mmap calls.
6671 If file it ET_EXEC, set its l_type to lt_executable.
6672
6673 Sun Dec 10 09:56:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6674
6675 * elf/dl-minimal.c (malloc): Use MAP_PRIVATE in mmap call.
6676
6677 Fri Dec 8 13:04:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6678
6679 * locale/error.c, locale/error.h: Files removed.
6680 * locale/Makefile (distribute): Remove error.h.
6681 (lib-modules): Remove error.
6682
6683 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For "tty"
6684 magic, return ENXIO if no ctty.
6685
6686 * sysdeps/mach/hurd/mmap.c: For MAP_FIXED, deallocate a previous
6687 mapping if vm_map fails for that reason.
6688
6689 * posix/glob.c: Implement new options GLOB_ALTDIRFUNC, GLOB_BRACE,
6690 GLOB_TILDE, GLOB_NOMAGIC.
6691 (glob): Use stat instead of lstat to determine directoriness.
6692 * posix/glob.h (GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_NOMAGIC, GLOB_TILDE):
6693 New flag bits.
6694 (__GLOB_FLAGS): Include them.
6695 (glob_t): New members gl_closedir, gl_readdir, gl_opendir, gl_lstat,
6696 gl_stat.
6697
6698 * elf/elf.h (ET_NUM, SHT_NUM, STB_NUM, STT_NUM, PT_NUM): New macros.
6699
6700 * sysdeps/unix/sysv/linux/sys/mman.h: Include <linux/mman.h> to
6701 define all the bit values.
6702 (MAP_*, MCL_*): Macros removed.
6703
6704 Thu Dec 7 02:27:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6705
6706 * resolv/res_comp.c, resolv/res_debug.c, resolv/res_send.c:
6707 Updated from BIND 4.9.3-BETA27.
6708
6709 Wed Dec 6 18:44:01 1995 Miles Bader <miles@gnu.ai.mit.edu>
6710
6711 * sysdeps/mach/hurd/select.c (__select): Swap size args to mach_msg.
6712
6713 * sysdeps/mach/hurd/select.c (__select): Frob TYPES correctly when
6714 we get a delayed reply.
6715 Only grab values out of entries in TYPES that have SELECT_RETURNED
6716 turned on, and turn it on whenever an rpc returns.
6717 Only clear bits in the user's fdsets -- those needing to be set
6718 should be already.
6719 Use SELECT_ALL in appropiate places.
6720 (SELECT_RETURNED, SELECT_ALL): New macros.
6721
6722 Wed Dec 6 09:10:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6723
6724 * sysdeps/mach/hurd/sys/param.h (NBBY): New macro.
6725
6726 * gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): New macro.
6727
6728 Tue Dec 5 14:00:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6729
6730 * misc/Makefile (headers): Add error.h, err.h.
6731 (routines): Add error, err.
6732 (gpl2lgpl): New variable.
6733 * misc/err.c: New file.
6734 * misc/err.h: New file.
6735 * misc/error.c, misc/error.h: New files.
6736
6737 * sysdeps/mach/hurd/ioctl.c: Fix typo in last change.
6738
6739 * Makeconfig (+link): Translate libc% from $^, not just libc.a.
6740 (link-libc): Append $(libc.so-version) to libc.so.
6741 (built-program-cmd): Fix comma usage.
6742 * Makerules [libc.so-version] (libc.so$(libc.so-version)): Make a
6743 symlink to libc.so in the build directory.
6744 * Rules ($(others) $(tests)): Depend on the library that appears
6745 in $(link-libc).
6746 (%.out): Use $(built-program-cmd) in commands.
6747
6748 * posix/unistd.h [__USE_MISC]: Declare brk, sbrk.
6749
6750 * sysdeps/generic/setenv.c: Added canonical portability cruft.
6751 (setenv): Use realloc on LAST_ENVIRON instead of always copying.
6752 (unsetenv): New function.
6753 * stdlib/stdlib.h [__USE_BSD]: Declare unsetenv.
6754 * sysdeps/generic/putenv.c: Rewritten using setenv and unsetenv.
6755
6756 Tue Dec 5 02:27:32 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
6757
6758 * libio/Makefile (routines): Remove iofscanf, add iopopen, pclose.
6759
6760 * libio/iofscanf.c: Remove file.
6761
6762 * libio/iogetdelim.c (_IO_getdelim): Correct stupid bug at string
6763 termination.
6764
6765 * libio/iopopen.c: New file from GNU libio.
6766
6767 * libio/memstream.c: Fixed bug in fclose handling. Instead of
6768 providing a close callback we need a finish callback.
6769
6770 * libio/pclose.c: New file. Derived from popen.c in GNU libio.
6771
6772 * posix/gnu/types.h: Fixed typo.
6773
6774 * stdio-common/errnobug.c: fputs returns EOF in error case. Do
6775 not test for != 0.
6776
6777 * stdio-common/printf-parse.h (parse_one_spec): Do not force
6778 padding with ' ' if precision is given. Fix by HJ Lu.
6779
6780 * stdio-common/printf_fp.c: Fix comment.
6781
6782 * stdio-common/tfformat.c, stdio-common/tiformat.c,
6783 stdio-common/tstdiomisc.c: New files from GNU libio test suite.
6784
6785 * stdio-common/tstgetln.c: Provide ssize_t type when testing
6786 libio.
6787
6788 * stdio-common/vfprintf.c (outchar): Use PUTC instead of putc.
6789 (vfprintf): Cleasr args_type array before using it.
6790 When printing 0 as an integer with precision 0 nothing must be
6791 written for the number.
6792 Based on patch by HJ Lu.
6793
6794 * stdio-common/vfscanf.c: Remove fixed input buffer. Now we
6795 have a dynamically extended buffer.
6796
6797 * stdlib/strtod.c: Merge with version in Linux libc. This fixes
6798 some bugs with handling of very small numbers and has different
6799 solution for formaer patches.
6800
6801 * sysdeps/i386/i586/add_n.S, sysdeps/i386/i586/sub_n.S: Rename
6802 macros r1 and r2 to t1, and t2 resp. This is necessary because
6803 glibc headers also define r1.
6804
6805 Mon Dec 4 12:10:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6806
6807 * stdlib/gen-mpn-copy (translations): Updated for new layout in
6808 GMP 1.910.
6809
6810 * malloc/malloc.c (__malloc_initialize): Renamed from initialize;
6811 made global.
6812 (malloc): Caller changed.
6813 * malloc/realloc.c (realloc): Call __malloc_initialize if
6814 necessary, before checking hook.
6815 * malloc/malloc.h: Declare __malloc_initialize.
6816
6817 * sysdeps/mach/hurd/ioctl.c: For IOC_VOID request, send ARG itself
6818 as integer_t arg in RPC.
6819
6820 Sat Dec 2 03:47:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6821
6822 * sysdeps/mach/hurd/brk.c (DATA_SIZE): Bump to 128MB.
6823 (_hurd_set_brk): Try to allocate more space when we run out.
6824
6825 * sysdeps/generic/sbrk.c: If __curbrk is zero, call __brk with
6826 zero and examine it again.
6827 * sysdeps/unix/sysv/linux/i386/brk.c: New file.
6828 * sysdeps/unix/sysv/linux/i386/brk.S: File removed.
6829 * sysdeps/unix/sysv/linux/i386/sbrk.S: File removed.
6830 * sysdeps/unix/sysv/linux/dl-sysdep.c: New file.
6831 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_SYSDEP_INIT]:
6832 Invoke this macro before calling DL_MAIN.
6833
6834 * malloc/malloc.c (malloc): Do initialization here, before
6835 checking the hook.
6836 (_malloc_internal): Don't do it here.
6837
6838 Wed Nov 29 12:30:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6839
6840 * libio/vsnprintf.c (__vsnprintf): Define as alias.
6841 * libio/iovsscanf.c (__vsscanf): Define as alias.
6842 * asprintf.c: Remove libio adaptation code added by drepper.
6843 * dprintf.c: Likewise.
6844 * printf.c: Likewise.
6845 * scanf.c: Likewise.
6846 * snprintf.c: Likewise.
6847 * sprintf.c: Likewise.
6848 * sscanf.c: Likewise.
6849 * vprintf.c: Likewise.
6850 * stdio-common/vfscanf.c [USE_IN_LIBIO] (__vfscanf): New wrapper
6851 function.
6852 (vfscanf): Define unconditionally.
6853
6854 * sysdeps/i386/dl-machine.h (elf_machine_rel): If SYM is null, use
6855 zero for value.
6856
6857 * misc/getpass.c: Write a newline after reading the unechoed
6858 password.
6859
6860 Mon Nov 27 19:24:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6861
6862 * posix/Makefile (routines): Add getsid.
6863 * sysdeps/unix/sysv/linux/getsid.S: New file.
6864 * sysdeps/mach/hurd/getsid.c: New file.
6865 * sysdeps/stub/getsid.c: New file.
6866 * posix/unistd.h [__USE_GNU]: Declare getsid.
6867
6868 Sun Nov 26 12:44:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6869
6870 * libc-symbols.h (N_): New macro.
6871
6872 Sat Nov 25 02:48:47 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
6873
6874 * assert/assert-perr.c, assert/assert.c, inet/rcmd.c,
6875 malloc/mcheck.c, malloc/vm-limit.c, posix/getconf.c, posix/id.c,
6876 resolv/herror.c, sunrpc/auth_unix.c, sunrpc/clnt_perr.c,
6877 sunrpc/clnt_raw.c, sunrpc/get_myaddr.c, sunrpc/pmap_clnt.c,
6878 sunrpc/pmap_rmt.c, sunrpc/portmap.c, sunrpc/rpc_main.c,
6879 sunrpc/rpc_parse.c, sunrpc/rpc_scan.c, sunrpc/rpc_util.c,
6880 sunrpc/rpcinfo.c, sunrpc/svc_simple.c, sunrpc/svc_tcp.c,
6881 sunrpc/svc_udp.c, time/zdump.c, time/zic.c: Mark translatable
6882 strings.
6883
6884 Sun Nov 26 02:00:02 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
6885
6886 * misc/syslog.c (vsyslog) [USE_IN_LIBIO]: Adapted for libio.
6887
6888 Thu Nov 23 02:21:55 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
6889
6890 * sysdeps/unix/sysv/linux/{mlock,munlock,mlockall,munlockall}.S:
6891 New files.
6892 * sysdeps/unix/sysv/linux/sys/mman.h: Add prototypes for new functions
6893 mlock, munlock, mlockall, and munlockall.
6894
6895 Thu Nov 23 18:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6896
6897 * configure.in (--enable-libio): Set $stdio based on $enableval,
6898 not always to libio.
6899
6900 Thu Nov 23 18:06:48 1995 Richard Stallman <rms@gnu.ai.mit.edu>
6901
6902 * malloc/malloc.c (_malloc_internal): Can't use
6903 get_contiguous_space when the heap info table
6904 will be growing. Account for new contiguous space in _heaplimit.
6905
6906 Wed Nov 22 12:37:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6907
6908 * sysdeps/unix/sysv/linux/i386/sysdep.S (_errno): Define as alias
6909 for errno.
6910
6911 * stdio-common/vfprintf.c [USE_IN_LIBIO] (vfprintf): Define as
6912 alias for _IO_vfprintf.
6913
6914 * sysdeps/unix/sysv/linux/sockaddrcom.h: File removed.
6915
6916 * sysdeps/unix/sysv/linux/i386/init-first.c (init): Use
6917 __fpu_control instead of ___fpu_control.
6918 * sysdeps/unix/sysv/linux/i386/ieee_fpu.c
6919 (___fpu_control): Renamed to __fpu_control.
6920 * sysdeps/unix/sysv/linux/i386/fpu_control.h: Likewise.
6921 * sysdeps/unix/sysv/linux/i386/fpu_control.c: Likewise.
6922
6923 * elf/dl-minimal.c: New file.
6924 * elf/Makefile (rtld-routines): Add dl-minimal.
6925 * elf/rtld.c (__dgettext, __assert_fail, __assert_perror_fail):
6926 Functions moved to dl-minimal.c.
6927 * sysdeps/mach/hurd/dl-sysdep.c (malloc, free, realloc,
6928 sigjmp_save, longjmp): Likewise.
6929
6930 * sysdeps/unix/sysv/linux/i386/brk.S (__curbrk): Always initialize
6931 to &_end, regardless of PIC.
6932
6933 * stdio-common/vfscanf.c (__vfscanf): Fix arg name in defn.
6934
6935 Tue Nov 21 14:12:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6936
6937 * malloc/malloc.c (align): Don't check contiguity and call abort.
6938
6939 * hurd/hurdsig.c (post_reply): Function removed.
6940 (abort_thread, abort_all_rpcs, _hurdsig_abort_rpcs): Don't call it.
6941 Take single callback fn arg instead of reply port and type.
6942 (_hurd_internal_post_signal): Callers changed.
6943 Cache reply stub fn ptr in local var before UNTRACED might be changed.
6944
6945 * sysdeps/mach/hurd/mmap.c: Cope with a null write memobj for
6946 PROT_READ|PROT_WRITE copy mapping. Pass a proper vm_inherit_t to
6947 vm_map.
6948
6949 * elf/rtld.c (_dl_start): For --list, do output and exit before
6950 relocating.
6951
6952 Mon Nov 20 16:19:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6953
6954 * intl/Makefile [gettext-srcdir]: Rewrote copying rules to only
6955 get .c and .h files.
6956
6957 * malloc/malloc.c (align): Use abort instead of assert.
6958
6959 Sun Nov 19 18:23:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6960
6961 * Makeconfig (+includes): Add $($(stdio)-include).
6962 (libio-include): New variable.
6963
6964 * stdlib/strtod.c: Put weak_symbol after function defn.
6965 * stdlib/strtol.c: Likewise.
6966
6967 * configure.in (--enable-libio): If not present, set $stdio to
6968 "default". Move stdio/libio check to end, so sysdeps fragments
6969 can affect it. Reset $stdio to "stdio" if it's "default".
6970 * sysdeps/unix/sysv/linux/configure: New file.
6971
6972 Sat Nov 18 16:46:01 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
6973
6974 * libio/Makefile, libio/cleanup.c, libio/clearerr.c, libio/feof.c,
6975 libio/ferror.c, libio/fgetc.c, libio/filedoalloc.c, libio/fileno.c,
6976 libio/fileops.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
6977 libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
6978 libio/iofdopen.c, libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
6979 libio/iofopen.c, libio/iofprintf.c, libio/iofputs.c, libio/iofread.c,
6980 libio/iofscanf.c, libio/iofsetpos.c, libio/ioftell.c, libio/iofwrite.c,
6981 libio/iogetdelim.c, libio/iogetline.c, libio/iogets.c, libio/iolibio.h,
6982 libio/iopadn.c, libio/ioprims.c, libio/ioputs.c, libio/ioseekoff.c,
6983 libio/ioseekpos.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
6984 libio/iosprintf.c, libio/ioungetc.c, libio/iovsprintf.c,
6985 libio/iovsscanf.c, libio/libio.h, libio/libioP.h, libio/putc.c,
6986 libio/putchar.c, libio/rewind.c, libio/setbuf.c, libio/setlinebuf.c,
6987 libio/stdfiles.c, libio/stdio.c, libio/stdio.h, libio/strfile.h,
6988 libio/strops.c, libio/vasprintf.c, libio/vscanf.c, libio/vsnprintf.c:
6989 New files. Slightly modified version from Linux libc.
6990
6991 * libio/memstream.c, libio/vdprintf.c: New files for functions not
6992 (yet) part of GNU libio.
6993
6994 * libio/iofopncook.c: Implementation of `fopencookie', mainly written
6995 by Per Bothner.
6996
6997 * stdio-common/getline.c: Adapted to libio.
6998 * stdio-common/snprintf.c: Adapted to libio.
6999 * stdio-common/vfprintf.c: Adapted to libio.
7000 * stdio-common/vfscanf.c: Adapted to libio.
7001 * sysdeps/posix/tempname.c: Adapted to libio.
7002
7003 Fri Nov 17 17:57:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7004
7005 * sysdeps/generic/Makefile (make_siglist): Add missing backslash.
7006
7007 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): New
7008 function.
7009
7010 * hurd/hurdfault.c: Replace __libc_fatal calls with assert_perror.
7011 (_hurdsig_fault_init): Remove #if 0 from setting exception port.
7012 Insert send right for SIGEXC before thread_set_special_port.
7013 * hurd/hurdsig.c: Replace __libc_fatal calls with assert_perror.
7014 (_hurdsig_init): Remove #if 0 from setting exception port.
7015
7016 * sysdeps/mach/hurd/ptrace.c (ptrace: PTRACE_CONT): Use
7017 HURD_MSGPORT_RPC macro.
7018
7019 Thu Nov 16 06:07:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7020
7021 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): New
7022 function.
7023 (_dl_sysdep_start): Move cleanup code there.
7024
7025 * Makeconfig (default-rpath): New variable.
7026 (link-libc): Use it.
7027 * elf/Makefile (ld.so): Pass -rpath=$(default-rpath).
7028 * elf/rtld.c (_dl_rpath): New variable.
7029 (_dl_start): Set it from rtld_map's DT_RPATH.
7030 Call _dl_setup_hash on rtld_map.
7031 (dl_main): Cache address of _exit in variable before relocating,
7032 and use that in later calls. Call _dl_sysdep_start_cleanup before
7033 relocating. Keep track of dependency order while loading; remove
7034 rtld_map from chain, and reinsert in proper order if there is a
7035 dependency on it.
7036
7037 * sysdeps/generic/Makefile (make_siglist): Pass
7038 -DSIGNUM_H=... with config's signum.h location.
7039 * sysdeps/generic/make_siglist.c: Include SIGNUM_H to define
7040 signal numbers.
7041 (HAVE_STRSIGNAL, HAVE_PSIGNAL): Define these before including signame.c
7042 (main): Deansideclize output.
7043
7044 * elf/dl-load.c (_dl_map_object): Use _dl_rpath variable in place
7045 of DEFAULT_RPATH macro.
7046 * elf/Makefile: Undo last change.
7047
7048 * sysdeps/mach/hurd/dl-sysdep.c (free): Don't abort, just nop.
7049
7050 Wed Nov 15 19:22:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7051
7052 * elf/dl-lookup.c (_dl_lookup_symbol): Undefined symbol is no
7053 error if weak.
7054
7055 * elf/Makefile (default-rpath): New variable.
7056 (CPPFLAGS): Append -DDEFAULT_RPATH=....
7057 * elf/dl-load.c (_dl_map_object): Use DEFAULT_RPATH instead of
7058 hard-coded "/lib:/usr/lib".
7059
7060 * sysdeps/mach/hurd/dl-sysdep.c: Include _itoa.h from stdio-common
7061 instead of stdio.
7062 (_dl_sysdep_start): If passed user entry is zero and
7063 EXEC_STACK_ARGS flag set, reset user entry to &_start.
7064
7065 * elf/rtld.c (dl_main): Only call _dl_setup_hash if there is a
7066 DT_HASH element.
7067
7068 * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Gratuitously
7069 repeat weak decl using weak_symbol macro, in case using broken GCC
7070 (<2.8).
7071
7072 Wed Nov 15 18:49:55 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
7073
7074 * sysdeps/i386/isnanl.c: New file.
7075 * sysdeps/i386/isinfl.c: New file.
7076
7077 Tue Nov 14 18:44:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7078
7079 * malloc/free.c (free): Moved null and aligned_blocks checks
7080 inside _free_internal.
7081
7082 Mon Nov 13 15:23:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7083
7084 * malloc/malloc.c (morecore): Fix inverted test in allocating new
7085 info table.
7086
7087 * malloc/malloc.c (align): Fix assertion.
7088
7089 * malloc/malloc.c: Include assert.h.
7090
7091 * libc-symbols.h: Use __attribute__ for GCC 2.8, not 2.7.
7092
7093 * malloc/malloc.h [emacs] (emacs_loser_valloc): Macro removed.
7094 (valloc): Protect decl with [! (_MALLOC_INTERNAL && emacs)].
7095
7096 Fri Nov 10 14:15:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7097
7098 * malloc/malloc.c (align): Assert that space for alignment
7099 adjustment is same original space.
7100
7101 * hurd/hurdprio.c (_hurd_priority_which_map): Cast vm_deallocate
7102 arg to vm_address_t.
7103
7104 * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO == 0,
7105 skip straight to pending check. When UNTRACED, resume process
7106 from suspension first.
7107
7108 * intl/Makefile (headers): New variable, libintl.h.
7109 [gettext-srcdir]: New rules to copy source from $(gettext-srcdir)/intl.
7110 * configure.in: Check for --with-gettext arg.
7111
7112 Fri Nov 10 13:51:30 1995 Richard Stallman <rms@gnu.ai.mit.edu>
7113
7114 * malloc/malloc.c (get_contiguous_space): New function.
7115 (morecore): Rewrite allocating new malloc info table.
7116 (_malloc_internal): Use get_contiguous_space.
7117
7118 Fri Nov 10 13:03:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7119
7120 * hurd/hurdexec.c (_hurd_exec): If exec'ing self, pass
7121 _hurd_msgport to be destroyed.
7122
7123 * Makerules (installed-libcs): Filter out %_pic.a.
7124
7125 * hurd/hurdinit.c (_hurd_proc_init): When traced, use msg_sig_post
7126 to our msgport to take SIGTRAP, instead of _hurd_raise_signal.
7127
7128 * hurd/Makefile (user-interfaces): Add hurd/process_request.
7129
7130 Wed Nov 8 16:31:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7131
7132 * termios/Makefile (headers): Add sys/ttychars.h.
7133 * termios/sys/ttychars.h: New file, incorporated from 4.4BSD-Lite
7134 for compatibility.
7135
7136 * signal/signal.h [__USE_BSD] (sig_t): New typedef.
7137
7138 Wed Nov 8 15:12:47 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
7139
7140 * sysdeps/mach/hurd/ptrace.c (ptrace) [PTRACE_TRACEME]: Notify the
7141 proc server that we are now traced.
7142
7143 Tue Nov 7 12:29:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7144
7145 * elf/Makefile (ldd): Make it executable.
7146
7147 * Makeconfig (config-LDFLAGS): Find dynamic linker in $(slibdir).
7148
7149 * Makeconfig (slibdir): New variable.
7150 * Makerules (install): Install libc.so in $(slibdir).
7151 * elf/Makefile (install-others): Install ld.so and ld-linux.so.1
7152 in $(slibdir).
7153
7154 * elf/linux-compat.c: New file.
7155 * elf/Makefile (distribute): Add linux-compat.c.
7156 (generated): Add librtld.so.
7157 [$(config-os)=linux*] (extra-objs): Add linux-compat.so.
7158 [$(config-os)=linux*] (extra-objs): Add ld-linux.so.1.
7159 (librtld.so): New target.
7160 (ld.so, ld-linux.so.1): Make from librtld.so.
7161
7162 * elf/rtld.c (dl_main): Instead of weak call to _dl_compat_init,
7163 call our own DT_INIT if we have one (and then clear it).
7164 (__dgettext): New weak function.
7165
7166 * intl/localealias.c (read_alias_file): Avoid sprintf; use memcpy
7167 by hand instead.
7168
7169 * sysdeps/generic/_strerror.c (_strerror_internal): Use _itoa
7170 instead of snprintf.
7171
7172 * sysdeps/mach/_strerror.c (_strerror_internal): Don't write
7173 BUF[BUFLEN].
7174
7175 * elf/rtld.c (rtld_map): New static variable.
7176 (_dl_start): Use a differently named local BOOTSTRAP_MAP for the
7177 bootstrapping. Then copy data into `rtld_map'.
7178 (dl_main): Finish filling in rtld_map and link it into the chain,
7179 instead of allocating a new structure.
7180 (dl_main): Call _dl_compat_init if it is defined (use weak ref).
7181
7182 * elf/dlsym.c: Fix last change: move REF out of `doit'.
7183
7184 Mon Nov 6 16:20:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7185
7186 * elf/dlsym.c: Return the proper value, not just the defining
7187 object's loadbase.
7188
7189 Sun Nov 5 16:09:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7190
7191 * stdio-common/vfprintf.c (%c): Count the character itself towards
7192 the field width in all cases.
7193
7194 * sysdeps/mach/hurd/getpriority.c (getpriority): Cast
7195 __vm_deallocate arg to vm_address_t.
7196
7197 Fri Nov 3 17:27:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7198
7199 * sysdeps/mach/hurd/sendto.c: Don't pass BINDING arg to
7200 socket_create_address.
7201 * sysdeps/mach/hurd/connect.c: Likewise.
7202 * sysdeps/mach/hurd/bind.c: Likewise.
7203
7204 * hurd/hurdprio.c (_hurd_priority_which_map): Pass threadwaits
7205 args to proc_getprocinfo.
7206 * sysdeps/mach/hurd/getpriority.c: Likewise.
7207
7208 * hurd/hurdmsg.c (_S_msg_report_wait): New stub function.
7209
7210 Thu Nov 2 19:24:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7211
7212 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Define as common.
7213
7214 Tue Oct 31 00:07:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7215
7216 * sysdeps/mach/hurd/getpriority.c (getpriority): Pass
7217 PI_FETCH_TASKINFO to proc_getprocinfo and through
7218 _hurd_priority_which_map.
7219
7220 * sysdeps/mach/hurd/setpriority.c (setpriority): Pass new arg to
7221 _hurd_priority_which_map.
7222 * hurd/hurdprio.c (_hurd_priority_which_map): New arg PI_FLAGS,
7223 passed through to proc_getprocinfo RPC.
7224 * hurd/hurd/resource.h: Add PI_FLAGS arg in decl.
7225
7226 * sysdeps/mach/hurd/group_member.c: New file.
7227 * sysdeps/generic/group_member.c: New file.
7228
7229 * Makerules (lib-noranlib): Don't depend on $(install-lib).
7230 (others): Do.
7231 * extra-lib.mk: Fix test of $(lib)-no-lib-dep.
7232
7233 Mon Oct 30 12:33:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7234
7235 * Rules (others): Depend on $(extra-objs).
7236
7237 * posix/unistd.h [__USE_GNU]: Declare group_member, __group_member.
7238 * posix/Makefile (routines): Add group_member.
7239
7240 * sysdeps/posix/euidaccess.c: New file, adapted from fileutils.
7241
7242 * sysdeps/unix/sysv/linux/i386/sigaction.c: Tighten constraint for
7243 SIG operand in asm so it must be a register.
7244 Add dead return to quiet gcc warning.
7245
7246 * Makerules (sysd-rules): Write a defn for sysd-rules-done.
7247 [! sysd-rules-done]: Inhibit deps.
7248
7249 Thu Oct 26 23:11:11 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
7250
7251 * sysdeps/unix/sysv/linux/poll.c: Don't define as stub. Use
7252 simulation of system call using select.
7253
7254 * sysdeps/unix/sysv/linux/signal.c: Use POSIX implementation.
7255
7256 * sysdeps/unix/sysv/linux/statbuf.h: Define _STAT_VER.
7257
7258 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct parameter
7259 name usage (new->act, old->oact).
7260 Correct asm statement because of gcc strangeness.
7261
7262 * sysdeps/i386/i586/strchr.S: Correct typos: cmp -> cmpb.
7263
7264 * sunrpc/clnt_perr.c: Remove declaration of sys_errlist. They
7265 conflict with the ones in stdio.h.
7266
7267 * string/tester.c: %Z is no complete format. Change to %Zd.
7268
7269 Thu Oct 26 18:13:33 1995 Miles Bader <miles@gnu.ai.mit.edu>
7270
7271 * sysdeps/mach/hurd/bind.c (bind): Swap args to dir_link.
7272 * sysdeps/mach/hurd/link.c (__link): Ditto.
7273 * sysdeps/mach/hurd/symlink.c (__symlink): Ditto.
7274 * sysdeps/mach/hurd/mknod.c (__mknod): Ditto.
7275 Include "stdio-common/_itoa.h" instead of "stdio/_itoa.h".
7276
7277 Thu Oct 26 00:11:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7278
7279 * sysdeps/unix/sysv/linux/i386/sigaction.c: New file.
7280
7281 * sysdeps/unix/sysv/linux/i386/xstat.S: Don't use JUMPTARGET macro
7282 on syscall_error. For PIC, it is a local label;
7283 for non-PIC, JUMPTARGET expands to the unadorned name anyway.
7284 * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise.
7285 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7286 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7287 * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise.
7288 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7289 * sysdeps/unix/sysv/linux/i386/brk.S: Likewise.
7290
7291 Thu Oct 26 03:01:22 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
7292
7293 * sysdeps/unix/sysv/linux/syscall.h: Strip list of syscalls in
7294 comment to the necessary ones. Add _readv and _writev.
7295
7296 * sysdeps/unix/configure.in: Change syntax for system call test
7297 candidates and adapt sed script for this. Now use : to separate
7298 syscall name and file name.
7299
7300 * sysdeps/unix/sysv/linux/i386/sysdep.h (ENTRY): System call
7301 number is now set is DO_CALL. So call with additional argument.
7302 (DO_CALL): Takes an additional argument. Load system call
7303 number according to new argument.
7304 (SYSCALL_ERROR_HANDLER): Add ; after last ret statement.
7305 * sysdeps/unix/sysv/linux/i386/brk.S [PIC]: Define __syscall_error
7306 locally using SYSCALL_ERROR_HANDLER macro.
7307 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7308 * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise.
7309 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7310 * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise.
7311 * sysdeps/unix/sysv/linux/i386/xstat.S: Likewise.
7312 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7313 Don't use DO_CALL macro; instead use lower level macros for better
7314 control.
7315
7316 * sysdeps/unix/sysv/linux/sigaction.h: New file.
7317 * sysdeps/unix/sysv/linux/sigaction.S: File removed.
7318 * sysdeps/unix/sysv/linux/signal.S: File removed.
7319
7320 Wed Oct 25 14:23:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7321
7322 * hurd/hurdstartup.c (_hurd_startup): Use new
7323 exec_startup_get_info RPC from exec_startup.defs
7324 in place of old exec_startup from exec.defs. Remove kludge to
7325 guess user entry and phdr locations, since the new RPC gives us
7326 that info.
7327
7328 * stdio/stdio.h (sys_errlist, _sys_errlist): Declare const.
7329 * sysdeps/generic/_strerror.c: Undo last change.
7330
7331 * sysdeps/unix/sysv/linux/stat.c: New file.
7332 * sysdeps/unix/sysv/linux/fstat.c: New file.
7333 * sysdeps/unix/sysv/linux/lstat.c: New file.
7334 * sysdeps/unix/sysv/linux/i386/stat.S: File removed.
7335 * sysdeps/unix/sysv/linux/i386/fstat.S: File removed.
7336 * sysdeps/unix/sysv/linux/i386/lstat.S: File removed.
7337
7338 Tue Oct 24 15:22:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7339
7340 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7341 New macro.
7342 (PSEUDO): Use it instead of SYSCALL_PIC_SETUP and jmp syscall_error.
7343
7344 * sysdeps/unix/sysv/linux/i386/sysdep.S (__syscall_error): Define
7345 only #ifndef PIC.
7346
7347 * Makeconfig (built-program-cmd): New variable.
7348 * sunrpc/Makefile (rpcgen-cmd): Use $(built-program-cmd).
7349 * time/Makefile (zic-cmd): Likewise.
7350
7351 * hurd/Makefile (user-interfaces): Add hurd/exec_startup.
7352
7353 * sunrpc/Makefile (librpcsvc-no-lib-dep): New variable.
7354 * extra-lib.mk: If $(lib)-no-lib-dep is defined and MAKELEVEL>0,
7355 make `others' rather than `lib-noranlib' depend on the libraries.
7356
7357 * sysdeps/unix/configure.in: Check for fchdir syscall.
7358 Improve sed script to allow / on rhs without / on lhs.
7359
7360 Thu Oct 19 03:47:32 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
7361
7362 * sysdeps/unix/sysv/linux/termbits.h: Don't define speed constants.
7363
7364 * elf/rtld.c: Include _itoa.h from stdio-common instead of stdio.
7365
7366 * sysdeps/unix/sysv/linux/select.S: New file.
7367
7368 Wed Oct 18 03:33:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7369
7370 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Use
7371 SYSCALL_PIC_SETUP before jumping to syscall_error.
7372 * sysdeps/unix/i386/sysdep.h (SYSCALL_PIC_SETUP): New macro.
7373 (PSEUDO): Use it before jumping to syscall_error.
7374 * sysdeps/unix/i386/sysdep.S [! PIC]: Don't find GOT address;
7375 expect it in %ebx on entry. Pop old %ebx value off stack after
7376 using it.
7377
7378 * signal/signal.h [__USE_BSD] (_sys_siglist, sys_siglist): Declare
7379 them.
7380
7381 * sysdeps/generic/_strerror.c: Declare _sys_errlist and _sys_nerr.
7382
7383 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For magic
7384 `fd/', pass the right pointer to strtol to parse the number.
7385
7386 Tue Oct 17 23:00:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7387
7388 * sysdeps/mach/_strerror.c: Include stdio-common/_itoa.h instead
7389 of stdio/_itoa.h.
7390
7391 Tue Oct 17 19:51:17 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
7392
7393 * sysdeps/unix/sysv/linux/i386/stat.S [PIC] (__stat): Set GOT
7394 register %ebx before calling __xstat through PLT.
7395
7396 * sysdeps/unix/sysv/linux/i386/sysdep.S: Fix typo in comment.
7397
7398 * sysdeps/unix/sysv/linux/sigset.h: Remove file.
7399
7400 Tue Oct 17 01:21:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7401
7402 * hurd/hurdsock.c: Include stdio-common/_itoa.h instead of
7403 stdio/_itoa.h.
7404 * hurd/hurdlookup.c: Likewise.
7405
7406 * hurd/hurd/signal.h: Declare hurd_preempt_signals and
7407 hurd_unpreempt_signals.
7408
7409 * stdio/stdio.h: Declare __snprintf and __vsnprintf.
7410
7411 * stdio-common/psignal.c: Translate signal description strings.
7412 * string/strsignal.c: Likewise.
7413 * sysdeps/generic/_strerror.c (_strerror_internal): Translate
7414 error strings.
7415 * sysdeps/mach/_strerror.c: Likewise.
7416
7417 * stdio-common/snprintf.c (__snprintf): Renamed from snprintf;
7418 call __vsnprintf.
7419 (snprintf): Define as weak alias.
7420 * stdio/vsnprintf.c (__vsnprintf): Renamed from vsnprintf.
7421 (vsnprintf): Define as weak alias.
7422
7423 Mon Oct 16 03:22:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7424
7425 * Makerules (install-lib): Filter out %_pic.a; install only the
7426 linked shared objects.
7427
7428 * locale/Makefile (aux): Add SYS_libc.
7429 * locale/SYS_libc.c: New file.
7430 * libc-symbols.h [! ASSEMBLER] (_): New macro.
7431
7432 * configure.in (libc_cv_asm_set_directive): Link program into
7433 conftest instead of letting it default to a.out.
7434
7435 * elf/Makefile (install-others): Add missing slash.
7436
7437 * elf/ldd.sh.in: Prepend `./' to relative file names so ld.so
7438 won't search LD_LIBRARY_PATH.
7439
7440 * Makefile (subdirs): Replace stdio with stdio-common and $(stdio).
7441 * configure.in: Grok arg --enable-libio.
7442 ($stdio = libio): Define USE_IN_LIBIO.
7443 * config.h.in (USE_IN_LIBIO): Add #undef.
7444 * config.make.in (stdio): New variable, set by configure.
7445 * Makeconfig (stdio): New variable.
7446 * stdio.h [USE_IN_LIBIO]: Include libio/stdio.h instead of
7447 stdio/stdio.h.
7448 * stdio-common/Makefile: New file.
7449 * stdio/Makefile: Half the contents moved to stdio-common/Makefile.
7450 * stdio/_itoa.c: Moved to stdio-common.
7451 * stdio/_itoa.h: Moved to stdio-common.
7452 * stdio/asprintf.c: Moved to stdio-common.
7453 * stdio/bug1.c: Moved to stdio-common.
7454 * stdio/bug1.input: Moved to stdio-common.
7455 * stdio/bug2.c: Moved to stdio-common.
7456 * stdio/bug3.c: Moved to stdio-common.
7457 * stdio/bug4.c: Moved to stdio-common.
7458 * stdio/bug5.c: Moved to stdio-common.
7459 * stdio/bug6.c: Moved to stdio-common.
7460 * stdio/bug6.input: Moved to stdio-common.
7461 * stdio/bug7.c: Moved to stdio-common.
7462 * stdio/dprintf.c: Moved to stdio-common.
7463 * stdio/errnobug.c: Moved to stdio-common.
7464 * stdio/getline.c: Moved to stdio-common.
7465 * stdio/getw.c: Moved to stdio-common.
7466 * stdio/perror.c: Moved to stdio-common.
7467 * stdio/printf-parse.h: Moved to stdio-common.
7468 * stdio/printf-prs.c: Moved to stdio-common.
7469 * stdio/printf.c: Moved to stdio-common.
7470 * stdio/printf.h: Moved to stdio-common.
7471 * stdio/printf_fp.c: Moved to stdio-common.
7472 * stdio/psignal.c: Moved to stdio-common.
7473 * stdio/putw.c: Moved to stdio-common.
7474 * stdio/reg-printf.c: Moved to stdio-common.
7475 * stdio/scanf.c: Moved to stdio-common.
7476 * stdio/snprintf.c: Moved to stdio-common.
7477 * stdio/sprintf.c: Moved to stdio-common.
7478 * stdio/sscanf.c: Moved to stdio-common.
7479 * stdio/tempnam.c: Moved to stdio-common.
7480 * stdio/temptest.c: Moved to stdio-common.
7481 * stdio/test-fseek.c: Moved to stdio-common.
7482 * stdio/test-fwrite.c: Moved to stdio-common.
7483 * stdio/test-popen.c: Moved to stdio-common.
7484 * stdio/test_rdwr.c: Moved to stdio-common.
7485 * stdio/tmpfile.c: Moved to stdio-common.
7486 * stdio/tmpnam.c: Moved to stdio-common.
7487 * stdio/tst-fileno.c: Moved to stdio-common.
7488 * stdio/tst-printf.c: Moved to stdio-common.
7489 * stdio/tstgetln.c: Moved to stdio-common.
7490 * stdio/tstgetln.input: Moved to stdio-common.
7491 * stdio/tstscanf.c: Moved to stdio-common.
7492 * stdio/tstscanf.input: Moved to stdio-common.
7493 * stdio/vfprintf.c: Moved to stdio-common.
7494 * stdio/vfscanf.c: Moved to stdio-common.
7495 * stdio/vprintf.c: Moved to stdio-common.
7496 * stdio/xbug.c: Moved to stdio-common.
7497 * sysdeps/generic/Makefile (siglist.c rules): Do this in subdir
7498 stdio-common instead of stdio.
7499 * sysdeps/unix/Makefile (errlist.c rules): Likewise.
7500 * stdio-common/asprintf.c [USE_IN_LIBIO]: Call libio primitive
7501 function.
7502 * stdio-common/dprintf.c: Likewise.
7503 * stdio-common/printf.c: Likewise.
7504 * stdio-common/scanf.c: Likewise.
7505 * stdio-common/snprintf.c: Likewise.
7506 * stdio-common/sprintf.c: Likewise.
7507 * stdio-common/sscanf.c: Likewise.
7508 * stdio-common/vprintf.c: Likewise.
7509
7510 * Makerules: Include $(+depfiles) directly instead of generating
7511 depend-$(subdir).
7512 (depend-$(subdir)): Target removed.
7513 (common-clean): Don't remove depend-$(subdir).
7514
7515 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): New variable.
7516 (config-LDFLAGS): Variable removed.
7517
7518 * sysdeps/mach/hurd/getcwd.c: Use __file_name_lookup_under.
7519 * sysdeps/mach/hurd/bind.c: Likewise.
7520 * sysdeps/mach/hurd/access.c: Use new __hurd_file_name_lookup
7521 calling convention.
7522
7523 * hurd/hurdexec.c: Undo last change (10 Oct 95).
7524
7525 Sun Oct 15 21:04:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7526
7527 * hurd/hurd/lookup.h: New file.
7528 * hurd/hurdlookup.c (__file_name_lookup_under): New function.
7529 (__hurd_file_name_lookup, __hurd_file_name_lookup_retry,
7530 __hurd_file_name_split): Rewritten to take callback functions for
7531 using any needed init or dtable port, instead of passing in crdir
7532 and cwdir ports.
7533 (__file_name_lookup, __file_name_split): Use new calling
7534 convention; pass _hurd_ports_use and __getdport as the callback
7535 functions.
7536
7537 * sysdeps/mach/hurd/chroot.c: Use __file_name_lookup_under instead
7538 of __hurd_file_name_lookup.
7539 * sysdeps/mach/hurd/chdir.c: Likewise.
7540 * sysdeps/mach/hurd/fchdir.c: Likewise.
7541 * hurd/fchroot.c: Likewise.
7542
7543 * stdlib/Makefile (mpn-found): Don't omit %.s.
7544 (mpn-copy-sysdep): Omit files in nonexistent directories.
7545 (copy-mpn): Commit files to CVS.
7546 * stdlib/gen-mpn-copy (translations): Update translations for GMP
7547 1.906.7.
7548
7549 * configure.in (machine): Translate alpha* to alpha/&, hppa* to hppa/&.
7550
7551 Sat Oct 14 02:52:36 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
7552
7553 * malloc/malloc.c (_malloc_internal): Performance fix. Move
7554 if statement out of loop.
7555
7556 * stdio/_itoa.c, stdio/_itoa.h: Complete rewrite. Much faster
7557 implementation using GMP functions. Contributed by
7558 Torbjorn Granlund and Ulrich Drepper.
7559
7560 * stdio/test_rdwr.c: Include <errno.h>.
7561
7562 * sysdeps/i386/i586/Implies: New file.
7563
7564 New highly optimized string functions for i[345]86.
7565 * sysdeps/i386/memchr.S, sysdeps/i386/memcmp.S: New files.
7566 * sysdeps/i386/stpcpy.S, sysdeps/i386/stpncpy.S: New files.
7567 * sysdeps/i386/strchr.S, sysdeps/i386/strcspn.S: New files.
7568 * sysdeps/i386/strpbrk.S, sysdeps/i386/strrchr.S: New files.
7569 * sysdeps/i386/strspn.S, sysdeps/i386/i486/strcat.S: New files.
7570 * sysdeps/i386/i486/strlen.S, sysdeps/i386/i586/strchr.S: New files.
7571 * sysdeps/i386/i586/strlen.S: New file.
7572 * sysdeps/i386/memchr.c: Removed. There is now an assembler version.
7573
7574 * sysdeps/i386/i586/memcopy.h (WORD_COPY_BWD): Parameters did
7575 not correspond to used values.
7576
7577 * sysdeps/unix/sysv/linux/nfs/nfs.h: New file. Simply a wrapper
7578 around a kernel header file.
7579 * sysdeps/unix/sysv/linux/Dist: Add it.
7580 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=sunrpc] (headers):
7581 Likewise.
7582
7583 * sysdeps/unix/sysv/linux/local_lim.h: Rewrite. Instead of
7584 defining ourself we use a kernel header file.
7585
7586 * sysdeps/unix/sysv/linux/i386/sysdep.h (DO_CALL): Optimize system
7587 call handler for i586.
7588
7589 * sysdeps/unix/sysv/linux/sys/param.h: Add copyright and clean up.
7590
7591 Thu Oct 12 15:45:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7592
7593 * hurd/hurd.h (file_name_lookup_under): Declare it.
7594 * hurd/Makefile (headers): Add hurd/lookup.h.
7595
7596 * hurd/hurdinit.c (_hurd_ports_use): New function.
7597 * hurd/hurd.h (_hurd_ports_use): Declare it.
7598 (hurd_invoke_translator, hurd_file_name_lookup, hurd_file_name_split,
7599 hurd_file_name_lookup_retry): Remove these decls.
7600 * hurd/Makefile (routines): Remove invoke-trans.
7601
7602 Wed Oct 11 00:00:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7603
7604 * sysdeps/i386/dl-machine.h (elf_machine_rel): Use +=, not =, to
7605 apply R_386_PC32 reloc.
7606
7607 * Makeconfig (config-LDFLAGS): Add missing slash.
7608
7609 * sysdeps/mach/hurd/profil.c (fork_profil): Only call
7610 update_waiter if profiling was enabled in the parent.
7611
7612 * csu/initfini.c: Don't pass -f flag to cp.
7613
7614 Tue Oct 10 23:08:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7615
7616 * Makerules (build-shlib): Pass -rpath and -rpath-link options.
7617 (LDFLAGS-c.so): Don't pass -dynamic-linker here.
7618 * Makeconfig (+link): Pass $(sysdep-LDFLAGS).
7619 (link-libc): Pass -rpath and -rpath-link options.
7620
7621 * MakeTAGS (all-dirs): Omit CVS directories.
7622 Specify vpath directives to find source files in $(all-dirs).
7623 (sources, headers): Append sources and headers from $(all-dist) to
7624 these.
7625 (all-dist): Filter them out of this.
7626 (all-headers, all-sources): Use $(shell find ...) instead of
7627 $(wildcard ...).
7628
7629 * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): New variable; pass
7630 -rpath-link.
7631
7632 * hurd/hurdexec.c: Pass poly and dealloc args to __file_exec.
7633
7634 * elf/Makefile (install-others): Add missing $.
7635
7636 Mon Oct 9 02:54:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7637
7638 * mach/Makefile ($(objpfx)errsystems.c): Rule reenabled.
7639
7640 * Makeconfig (config-LDFLAGS): Define to
7641 -Wl-dynamic-linker=$(libdir)$(rtld-installed-name).
7642 (rtld-installed-name): New variable.
7643 * elf/Makefile (install-lib): Variable removed.
7644 (install-others): Define this instead, to
7645 $(libdir)(rtld-installed-name).
7646 ($(libdir)(rtld-installed-name)): New target; install from ld.so.
7647
7648 * elf/ldd.sh.in: New file.
7649 * elf/Makefile (distribute): Add ldd.sh.in.
7650 (install-bin): Add ldd.
7651 ($(objpfx)ldd: ldd.sh.in): New rule.
7652
7653 * sysdeps/mach/hurd/dl-sysdep.c: Use __hurd_fail throughout.
7654 * hurd/hurd.h (__hurd_fail): Replace macro with inline function.
7655 Translate some Mach errors to Hurd errors.
7656
7657 * elf/rtld.c (dl_main): Under --list, print msg if executable is
7658 statically linked.
7659
7660 * elf/dl-load.c (_dl_map_object_from_fd): Rewrote program header
7661 table processing.
7662
7663 Sat Oct 7 01:25:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7664
7665 * sysdeps/stub/machine-gmon.h: Add #error.
7666
7667 Fri Oct 6 01:49:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7668
7669 * elf/dynamic-link.h (elf_get_dynamic_info): If DYN is null, don't
7670 examine it.
7671
7672 Fri Sep 29 03:43:51 1995 Paul Eggert <eggert@twinsun.com>
7673
7674 Rewrite mktime from scratch for performance, and for correctness
7675 in the presence of leap seconds.
7676
7677 * time/mktime.c (ydhms_tm_diff, not_equal_tm, print_tm, check_result):
7678 New functions.
7679 (LEAP_SECONDS_POSSIBLE, CHAR_BIT, INT_MIN, INT_MAX,
7680 TIME_T_MIN, TIME_T_MAX, TM_YEAR_BASE, EPOCH_YEAR): New macros.
7681 <limits.h>, <stdlib.h>: New #includes.
7682 (main): Support tests with given broken-down value; support benchmarks.
7683 (__mon_lengths, debugging_enabled, printtm, dist_tm, doit,
7684 do_normalization, normalize, BAD_STRUCT_TM, SKIP_VALUE,
7685 <ctype.h>): Remove.
7686
7687 * time/time.h, time/mktime.c (__mktime_internal): New offset arg.
7688 * time/mktime.c (mktime), time/timegm.c (timegm): Use it.
7689
7690 * time/mktime.c (__mon_yday): New variable; replaces `__mon_lengths'.
7691 time/offtime.c (__offtime), time/tzset.c (compute_change): Use it.
7692
7693 * time/offtime.c (__offtime): Remove useless assignment
7694 `tp->tm_isdst = -1'.
7695
7696 * manual/maint.texi: Update credits.
7697
7698 Fri Oct 6 00:28:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7699
7700 * sysdeps/unix/common/readv.S: Moved to sysdeps/unix/bsd.
7701 * sysdeps/unix/common/writev.S: Moved to sysdeps/unix/bsd.
7702 * sysdeps/unix/sysv/linux/readv.c: File removed.
7703 * sysdeps/unix/sysv/linux/writev.c: File removed.
7704 * sysdeps/unix/configure.in: Check for readv and writev syscalls.
7705
7706 * sysdeps/unix/configure.in: If eval doesn't set $unix_srcname,
7707 set it to $unix_syscall instead of $unix_function.
7708
7709 Thu Oct 5 00:59:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7710
7711 * elf/rtld.c (dl_main): Grok --list flag.
7712 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Ignore -- args.
7713
7714 Wed Oct 4 00:21:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7715
7716 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_message): New function.
7717 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_message): New function.
7718 * elf/link.h (_dl_sysdep_message): Declare it.
7719
7720 * sysdeps/unix/Makefile ($(common-objpfx)ioctls): Remove NULL from
7721 the list.
7722
7723 * time/northamerica: Corrections to Canada data from ADO 95i.
7724
7725 * sysdeps/unix/sysv/linux/Makefile (headers): Don't append to this
7726 unconditionally. In socket subdir, append sys/socketcall.h; in
7727 time subdir, append sys/timex.h.
7728 (config-LDFLAGS): New variable.
7729 * sysdeps/unix/sysv/linux/Dist: New file.
7730 * Makeconfig (+link): Pass $(config-LDFLAGS) before $(LDFLAGS).
7731
7732 * sysdeps/generic/stpncpy.c: Don't increment DEST when zero-filling.
7733
7734 * elf/dlopen.c (dlopen): Don't pass USER_ENTRY arg to _dl_map_object.
7735
7736 Sat Sep 30 11:47:05 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7737
7738 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): If started by
7739 kernel with args on stack, point _dl_hurd_data at zero data
7740 instead of garbage. When ld.so run as program, grok args
7741 -LIB=MEMOBJ and pre-load shared object files found in memory
7742 objects loaded by the boot loader.
7743
7744 * elf/link.h (struct link_map): New member `l_entry'.
7745 (_dl_map_object, _dl_map_object_from_fd): Remove last arg ENTRY_POINT.
7746 * elf/dl-load.c (_dl_map_object, _dl_map_object_from_fd): Remove
7747 last arg ENTRY_POINT. Store the entry point location in the
7748 `l_entry' member of the new map.
7749 * elf/rtld.c (dl_main): Don't pass USER_ENTRY arg to
7750 _dl_map_object. When run as program, set *USER_ENTRY to L->l_entry.
7751 * elf/dl-init.c (_dl_init_next): Don't pass ENTRY_POINT arg to
7752 _dl_map_object.
7753
7754 * posix/tstgetopt.c, posix/tstgetopt.args: Test long options too.
7755
7756 * sysdeps/unix/sysv/linux/i386/init-first.c (init): Save, set, and
7757 restore %ebx by hand for personality syscall.
7758 GCC cannot deal with spilling the dedicated GOT register.
7759
7760 * misc/Makefile (routines): Add mntent, which was somehow omitted.
7761
7762 Fri Sep 29 15:07:10 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
7763
7764 * sysdeps/unix/sysv/linux/adjtime.c (__adjtime):
7765 Change name of field `mode' in `struct timex' to `modes'.
7766 Linux-1.3.28 updates this name according to RFC 1489.
7767
7768 Thu Sep 28 13:05:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7769
7770 Merge new message handling code from GNU gettext, by Drepper.
7771 * intl: New directory.
7772 * Makefile (subdirs): Add intl.
7773
7774 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Return
7775 USER_ENTRY instead of storing it on our stack.
7776
7777 * elf/rtld.c (rtld_command): Variable removed.
7778 (_dl_skip_args): New variable.
7779 (dl_main): Increment _dl_skip_args instead of setting rtld_command.
7780 If the link_map for the executable itself is not first in the chain,
7781 make it so.
7782 * sysdeps/i386/dl-machine.h (RTLD_START): Use _dl_skip_args as
7783 count of args to skip.
7784
7785 Thu Sep 28 09:20:04 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
7786
7787 * stdlib/strtod.c (STRTOF): Fix handling of numbers with lots of
7788 leading zeroes.
7789
7790 Wed Sep 27 00:27:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7791
7792 * sysdeps/mach/hurd/getcwd.c (__getcwd): Renamed from getcwd.
7793 (getcwd): Define as weak alias.
7794 * sysdeps/posix/getcwd.c: Likewise.
7795 * sysdeps/stub/getcwd.c: Likewise.
7796 * posix/unistd.h: Declare __getcwd.
7797
7798 * string/string.h: Declare __strcasecmp.
7799 * sysdeps/generic/strcasecmp.c (__strcasecmp): Renamed from
7800 strcasecmp.
7801 (strcasecmp): Define as weak alias.
7802
7803 * string/string.h: Declare __stpcpy.
7804 * sysdeps/generic/stpcpy.c (__stpcpy): Renamed from stpcpy.
7805 (stpcpy): Define as weak alias.
7806
7807 * sysdeps/unix/sysv/linux/Implies: Add unix/common.
7808
7809 * sysdeps/unix/i386/sysdep.h [HAVE_ELF] (ASM_TYPE_DIRECTIVE):
7810 Don't use `type' for arg name, since we are using it as a keyword
7811 in the rhs.
7812
7813 * sysdeps/unix/configure.in: Check for syscalls getpriority,
7814 setpriority, getrlimit, setrlimit.
7815
7816 * sysdeps/posix/truncate.c: Include fcntl.h.
7817
7818 * sysdeps/generic/getdomain.c: Include string.h for strncpy decl.
7819
7820 * sysdeps/stub/getpriority.c: Don't include obsolete gnu-stabs.h;
7821 use new stub_warning syntax.
7822 * sysdeps/stub/setpriority.c: Likewise.
7823 * sysdeps/stub/__longjmp.c: Likewise.
7824 * sysdeps/stub/_exit.c: Likewise.
7825 * sysdeps/stub/accept.c: Likewise.
7826 * sysdeps/stub/acos.c: Likewise.
7827 * sysdeps/stub/alarm.c: Likewise.
7828 * sysdeps/stub/asin.c: Likewise.
7829 * sysdeps/stub/atan2.c: Likewise.
7830 * sysdeps/stub/bind.c: Likewise.
7831 * sysdeps/stub/cbrt.c: Likewise.
7832 * sysdeps/stub/chroot.c: Likewise.
7833 * sysdeps/stub/closedir.c: Likewise.
7834 * sysdeps/stub/connect.c: Likewise.
7835 * sysdeps/stub/cos.c: Likewise.
7836 * sysdeps/stub/cosh.c: Likewise.
7837 * sysdeps/stub/ctermid.c: Likewise.
7838 * sysdeps/stub/cuserid.c: Likewise.
7839 * sysdeps/stub/defs.c: Likewise.
7840 * sysdeps/stub/exp.c: Likewise.
7841 * sysdeps/stub/fmod.c: Likewise.
7842 * sysdeps/stub/frexp.c: Likewise.
7843 * sysdeps/stub/fsync.c: Likewise.
7844 * sysdeps/stub/getcwd.c: Likewise.
7845 * sysdeps/stub/getenv.c: Likewise.
7846 * sysdeps/stub/gethostid.c: Likewise.
7847 * sysdeps/stub/getlogin.c: Likewise.
7848 * sysdeps/stub/getpeername.c: Likewise.
7849 * sysdeps/stub/getrlimit.c: Likewise.
7850 * sysdeps/stub/getsockname.c: Likewise.
7851 * sysdeps/stub/getsockopt.c: Likewise.
7852 * sysdeps/stub/listen.c: Likewise.
7853 * sysdeps/stub/log.c: Likewise.
7854 * sysdeps/stub/log10.c: Likewise.
7855 * sysdeps/stub/mkfifo.c: Likewise.
7856 * sysdeps/stub/morecore.c: Likewise.
7857 * sysdeps/stub/nice.c: Likewise.
7858 * sysdeps/stub/nlist.c: Likewise.
7859 * sysdeps/stub/opendir.c: Likewise.
7860 * sysdeps/stub/pipestream.c: Likewise.
7861 * sysdeps/stub/ptrace.c: Likewise.
7862 * sysdeps/stub/putenv.c: Likewise.
7863 * sysdeps/stub/readdir.c: Likewise.
7864 * sysdeps/stub/reboot.c: Likewise.
7865 * sysdeps/stub/recv.c: Likewise.
7866 * sysdeps/stub/recvfrom.c: Likewise.
7867 * sysdeps/stub/rename.c: Likewise.
7868 * sysdeps/stub/rewinddir.c: Likewise.
7869 * sysdeps/stub/seekdir.c: Likewise.
7870 * sysdeps/stub/send.c: Likewise.
7871 * sysdeps/stub/sendto.c: Likewise.
7872 * sysdeps/stub/setegid.c: Likewise.
7873 * sysdeps/stub/seteuid.c: Likewise.
7874 * sysdeps/stub/setgroups.c: Likewise.
7875 * sysdeps/stub/sethostid.c: Likewise.
7876 * sysdeps/stub/sethostname.c: Likewise.
7877 * sysdeps/stub/setjmp.c: Likewise.
7878 * sysdeps/stub/setrlimit.c: Likewise.
7879 * sysdeps/stub/setsockopt.c: Likewise.
7880 * sysdeps/stub/shutdown.c: Likewise.
7881 * sysdeps/stub/signal.c: Likewise.
7882 * sysdeps/stub/sigsuspend.c: Likewise.
7883 * sysdeps/stub/sin.c: Likewise.
7884 * sysdeps/stub/sinh.c: Likewise.
7885 * sysdeps/stub/socket.c: Likewise.
7886 * sysdeps/stub/socketpair.c: Likewise.
7887 * sysdeps/stub/sqrt.c: Likewise.
7888 * sysdeps/stub/sync.c: Likewise.
7889 * sysdeps/stub/system.c: Likewise.
7890 * sysdeps/stub/tan.c: Likewise.
7891 * sysdeps/stub/tanh.c: Likewise.
7892 * sysdeps/stub/tcdrain.c: Likewise.
7893 * sysdeps/stub/tcflow.c: Likewise.
7894 * sysdeps/stub/tcgetpgrp.c: Likewise.
7895 * sysdeps/stub/tcsendbrk.c: Likewise.
7896 * sysdeps/stub/tcsetattr.c: Likewise.
7897 * sysdeps/stub/tcsetpgrp.c: Likewise.
7898 * sysdeps/stub/telldir.c: Likewise.
7899 * sysdeps/stub/tempname.c: Likewise.
7900 * sysdeps/stub/ttyname.c: Likewise.
7901 * sysdeps/stub/ttyname_r.c: Likewise.
7902 * sysdeps/stub/utime.c: Likewise.
7903
7904 * gmon/gmon.c (moncontrol): Don't cast buffer arg to profil.
7905
7906 * time/mktime.c (localtime_r): Use 0 instead of NULL.
7907
7908 * config.make.in (AS): New variable; set to `$(CC) -c'.
7909
7910 * posix/unistd.h [__USE_BSD]: Declare profil.
7911
7912 * elf/dl-load.c (_dl_map_object_from_fd): New function, broken out
7913 of _dl_map_object.
7914 (_dl_map_object): Call it.
7915 * elf/link.h (_dl_map_object_from_fd): Declare it.
7916
7917 Tue Sep 26 16:50:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7918
7919 * locale/libintl.h: Rewritten by Ulrich Drepper for use with GNU
7920 gettext code.
7921
7922 * sysdeps/unix/sysv/linux/sys/param.h: New file.
7923 * sysdeps/unix/sysv/linux/Subdirs: File removed.
7924
7925 * libc-symbols.h (_LIBC): Define to 1, not just empty.
7926
7927 * gmon: New directory of profiling code, incorporated from
7928 4.4BSD-Lite and modified.
7929 * sysdeps/i386/machine-gmon.h: New file.
7930 * sysdeps/stub/machine-gmon.h: New file.
7931 * sysdeps/mach/hurd/profil.c: New file.
7932 * sysdeps/stub/profil.c: New file.
7933 * sysdeps/unix/bsd/profil.S: New file.
7934 * Makefile (subdirs): Add gmon.
7935 * csu/gmon-start.c: New file.
7936 * csu/Makefile (extra-objs): Add gmon-start.o,
7937 g$(start-installed-name).
7938 (install-lib, omit-deps): Add g$(start-installed-name).
7939 ($(objpfx)g$(start-installed-name)): New target.
7940
7941 Fri Sep 22 14:24:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7942
7943 * sysdeps/mach/hurd/Makefile: Elide sunrpc from $(subdirs) for the
7944 time being.
7945
7946 Thu Sep 21 00:03:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7947
7948 * sysdeps/unix/configure.in: Check for `profil' syscall.
7949
7950 * manual/Makefile (infodir, prefix, INSTALL, INSTALL_DATA): Variables
7951 removed.
7952
7953 * time/africa, time/asia, time/europe, time/northamerica,
7954 time/yearistype: New data from ADO 95h.
7955
7956 * Makerules (build-shlib): Use $(@F:lib%.so=%) in place of
7957 $(notdir $*), so it wins for the explicit libc.so rule as well as the
7958 pattern rule.
7959
7960 * sysdeps/stub/sys/sem_buf.h (union semun): New type.
7961
7962 * sysdeps/mach/hurd/i386/init-first.c (init1) [PIC]: Call
7963 __libc_global_ctors.
7964 * sysdeps/i386/init-first.c: Rewritten.
7965 * sysdeps/unix/sysv/linux/i386/init-first.S: File removed.
7966 * sysdeps/unix/sysv/linux/i386/init-first.c: New file.
7967
7968 * sysdeps/unix/sysv/linux/i386/fpu_control.h: Fix name in decl of
7969 ___fpu_control.
7970
7971 * Makerules (build-shlib): New canned sequence, broken out of
7972 lib%.so rule. Link in $^ instead of just $<.
7973 (lib%.so: lib%_pic.a): Use it.
7974 (libc.so): New target; use $(build-shlib) for cmds, but also depend
7975 on soinit.so first and sofini.so last.
7976
7977 * elf/soinit.c: New file.
7978 * elf/sofini.c: New file.
7979 * elf/Makefile (distribute): Add soinit.c and sofini.c.
7980 (extra-objs): Add soinit.so and sofini.so.
7981
7982 * sysvipc/sys/shm.h (shmat): Fix return type to char *.
7983 * sysdeps/stub/sys/ipc_buf.h (key_t): Type removed.
7984
7985 * misc/syslog.c (vsyslog): Rewritten using open_memstream to
7986 dynamically allocate buffers.
7987
7988 * Makerules (install-lib-nosubdir): Make this, rather than
7989 install-no-libc.a, depend on the installed shared libraries.
7990
7991 Wed Sep 20 18:02:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7992
7993 * locale/locale.c: Include errno.h.
7994 * locale/localedef.c: Likewise.
7995
7996 Tue Sep 19 00:02:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7997
7998 * Makefile (distclean-1): Remove config.cache, config.log, config.h.
7999 (parent-mostlyclean): Remove all flavors of the parent library.
8000
8001 * misc/mntent.c (getmntent): Skip multiple whitespace chars
8002 between fields.
8003
8004 * hurd/hurdstartup.c (_hurd_startup): If RPC returns
8005 EXEC_STACK_ARGS flag, get args from stack.
8006 If args on stack but have info from RPC, relocate args on stack to make
8007 space for struct hurd_startup_data.
8008
8009 Mon Sep 18 15:06:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8010
8011 * elf/dl-object.c: Include errno.h.
8012 * posix/execvp.c: Likewise.
8013 * dirent/scandir.c: Likewise.
8014 * sysdeps/posix/system.c: Likewise.
8015 * sysdeps/generic/setenv.c: Likewise.
8016 * stdlib/msort.c: Likewise.
8017 * stdio/memstream.c: Likewise.
8018 * stdio/fclose.c: Likewise.
8019 * stdio/getdelim.c: Likewise.
8020 * stdio/setvbuf.c: Likewise.
8021 * sysdeps/ieee754/ldexp.c: Likewise.
8022 * locale/locfile-parse.c: Likewise.
8023
8024 * stdlib/lcong48_r.c: Don't check for null argument; let it fault.
8025 * stdlib/seed48_r.c: Likewise.
8026 * stdlib/srand48_r.c: Likewise.
8027 * stdlib/jrand48_r.c: Likewise.
8028 * stdlib/nrand48_r.c: Likewise.
8029
8030 * Makeconfig (+gccwarn): Remove -Wbad-function-cast, which seems
8031 to be useless.
8032
8033 Mon Sep 18 12:39:22 1995 Paul Eggert <eggert@twinsun.com>
8034
8035 * mktime.c (localtime_r): Add substitute if the system doesn't
8036 provide one.
8037
8038 Mon Sep 18 14:39:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8039
8040 * time/gmtime.c (gmtime_r): Define as weak alias.
8041 * time/localtime.c (localtime_r): Define as weak alias.
8042 * time/time.h [__USE_REENTRANT] (gmtime_r, localtime_r): Declare them.
8043
8044 * errno.h: Only define _ERRNO_H #ifndef __need_Emath.
8045 #undef __need_Emath after including errnos.h.
8046 [_ERRNO_H]: Protect decls with this.
8047
8048 Sun Sep 17 08:22:12 1995 Paul Eggert <eggert@twinsun.com>
8049
8050 Fix mktime so that it does not write over localtime's returned value.
8051 * localtime.c (__localtime_r): New function, with extra arg
8052 specifying where to store result.
8053 (localtime): Use it.
8054 (_tmbuf): New var.
8055 * gmtime.c (__gmtime_r, gmtime, _tmbuf): Likewise.
8056 * mktime.c (__mktime_internal): Conversion function is now
8057 __localtime_r style, not localtime style.
8058 (mktime): Pass __localtime_r, not localtime.
8059 * timegm.c (timegm): Pass __gmtime_r, not gmtime.
8060 * offtime.c (__offtime): New arg specifying where to store result.
8061 * time.h (__mktime_internal, __offtime): Adjust decls accordingly.
8062 (__gmtime_r, __localtime_r): New decls.
8063
8064 * time/localtime.c: <stddef.h>, <ctype.h>, <stdio.h>,
8065 <stdlib.h>, <string.h>: Remove includes.
8066 <errno.h>: Add include.
8067
8068 * time/mktime.c, time/time.h, time/timegm.c (__mktime_internal):
8069 Renamed from _mktime_internal to avoid namespace pollution.
8070
8071 * time/gmtime.c: Clear tm_isdst.
8072
8073 Mon Sep 18 01:58:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8074
8075 * misc/efgcvt_r.c (ecvt_r, fcvt_r): Last arg is size_t, not int.
8076 * stdlib/stdlib.h (ecvt_r, fcvt_r): Fix type of last arg: make it
8077 size_t.
8078
8079 * sysdeps/mach/hurd/fpathconf.c: Call __io_pathconf instead of
8080 __file_pathconf.
8081 * sysdeps/mach/hurd/pathconf.c: Likewise.
8082
8083 * Makefile (subdirs): Add sysvipc.
8084
8085 * stdlib/srand48_r.c (srand48_r): Use UL suffix for huge constant.
8086 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8087
8088 Sun Sep 17 18:29:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8089
8090 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Call
8091 __file_set_size instead of __file_truncate.
8092
8093 * features.h (__USE_REENTRANT): New macro.
8094
8095 * sysdeps/mach/hurd/truncate.c: Call __file_set_size instead of
8096 __file_truncate.
8097 * sysdeps/mach/hurd/ftruncate.c: Likewise.
8098
8099 * sysdeps/unix/sysv/linux/dl-machine.h: File removed.
8100
8101 Sat Sep 16 17:47:19 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
8102
8103 * elf/elf.h (AT_GID): Fix typo: Read -> Real.
8104
8105 * misc/efgvt_r.c: New file. Reentrant version of [efg]cvt functions.
8106 * misc/efgcvt.c: Rewrite to use reentrant functions.
8107 * misc/search.h: Many decls for hsearch functions.
8108 * misc/hsearch_r.c: New file. Reentrant version of functions from
8109 hsearch family.
8110 * misc/hsearch.c, misc/tsearch.c: New files.
8111 * misc/Makefile (routines): Add efgcvt_r, hsearch_r, hsearch, tsearch.
8112
8113 * posix/unistd.h (ttyname_r): Add prototype for new function.
8114
8115 * stdlib/drand48_r.c, stdlib/erand48_r.c, stdlib/jrand48_r.c,
8116 stdlib/lrand48_r.c, stdlib/mrand48_r.c, stdlib/nrand48_r.c,
8117 stdlib/seed48_r.c, stdlib/srand48_r.c, stdlib/lcong48_r.c,
8118 stdlib/drand48-iter.c: New files implementing reentrant versions
8119 of functions from drand48 family.
8120 * stdlib/seed48.c, stdlib/drand48.c, stdlib/erand48.c,
8121 stdlib/jrand48.c, stdlib/lrand48.c, stdlib/mrand48.c,
8122 stdlib/nrand48.c, stdlib/srand48.c, stdlib/lcong48.c:
8123 Rewrite to use reentrant versions.
8124 * stdlib/a64l.c, stdlib/l64a.c: New files. Implement a64l()
8125 and l64a() functions from SysV library.
8126 * stdlib/Makefile (routines): Add drand48_r, erand48_r, lrand48_r,
8127 nrand48_r, mrand48_r, jrand48_r, srand48_r, seed48_r, lcong48_r,
8128 drand48-iter, a64l, l64a.
8129 * stdlib/stdlib.h: Declare them.
8130
8131 * stdlib/random_r.c: New file. Reentrant version of functions
8132 from random family.
8133 * stdlib/stdlib.h: Declare them.
8134 * stdlib/random.c: Rewrite to use reentrant functions.
8135
8136 * string/strerror_r.c: New file. Reentrant version.
8137 * string/strerror.c: Change for new _strerror_internal form.
8138 * string/Makefile (routines): Add strerror_r.
8139
8140 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Set default
8141 value of user_entry to `_start'.
8142 Close AT_ENTRY case with `break'.
8143
8144 * sysdeps/generic/strstr.c: New and much faster implementation
8145 by Stephen R. van den Berg.
8146
8147 * sysdeps/generic/_strerror.c: _strerror_internal now takes
8148 three argument and has and explicit buffer length.
8149 * sysdeps/mach/_strerror.c: Change for new interface with three
8150 arguments.
8151 * stdio/perror.c, stdio/vfprintf.c: Callers changed.
8152
8153 * sysdeps/mach/hurd/ttyname_r.c: New file. Reentrant version.
8154 * sysdeps/posix/ttyname_r.c: New file. Reentrant version.
8155 * sysdeps/stub/ttyname_r: New file. Define as dummy function.
8156
8157 * sysdeps/posix/utimes.c: Include <utime.h> for prototype.
8158 (utimes): First parameter to utime must be file, not path.
8159
8160 * sysdeps/posix/sysconf.c (__sysconf): Test for CLK_TCK in case
8161 _SC_CLK_TCK and return it when available.
8162 Test for STREAM_MAX in case _SC_STREAM_MAX and return it when
8163 available.
8164 Add case for _SC_2_LOCALEDEF which is now available.
8165
8166 * posix/sys/types.h [__USE_SVID] (key_t): New type.
8167 * sysvipc/Makefile, sysvipc/ftok.c, sysvipc/sys/ipc.h,
8168 sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h,
8169 sysdeps/stub/sys/msq_buf.h, sysdeps/stub/sys/sem_buf.h,
8170 sysdeps/stub/sys/shm_buf.h, sysdeps/stub/sys/ipc_buf.h,
8171 sysdeps/stub/semctl.c, sysdeps/stub/semget.c, sysdeps/stub/semop.c,
8172 sysdeps/stub/shmat.c, sysdeps/stub/shmctl.c, sysdeps/stub/shmdt.c,
8173 sysdeps/stub/shmget.c, sysdeps/stub/msgctl.c, sysdeps/stub/msgget.c,
8174 sysdeps/stub/msgrcv.c, sysdeps/stub/msgsnd.c: New files.
8175 Add implementation of System V IPC.
8176
8177 Fri Sep 15 21:34:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8178
8179 * hurd/hurdsig.c: Include <hurd/crash.h> in place of <hurd/core.h>.
8180 (write_corefile): Call __crash_dump_task instead of __core_dump_task.
8181 Use envariable CRASHSERVER instead of CORESERVER.
8182 * hurd/Makefile (user-interfaces): Replace hurd/core with hurd/crash.
8183
8184 Tue Sep 12 14:30:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8185
8186 * misc/mntent.c: New file.
8187 * misc/mntent.h: New file.
8188 * misc/Makefile (headers): Added mntent.h.
8189 (routines): Added mntent.
8190 * misc/fstab.c: Rewritten using mntent functions.
8191
8192 Mon Sep 11 14:00:14 1995 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
8193
8194 * posix/glob.c (glob): Comment fix.
8195
8196 Fri Sep 8 16:25:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8197
8198 * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Declare the
8199 symbols weak.
8200
8201 * conf/portability.h (NEED_INETADDR, NEED_INETATON): Define to 1,
8202 not empty.
8203
8204 Fri Sep 8 16:32:12 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
8205
8206 * sysdeps/unix/sysv/linux/Implies,
8207 sysdeps/unix/sysv/linux/Makefile, sysdeps/unix/sysv/linux/Subdirs,
8208 sysdeps/unix/sysv/linux/accept.S, sysdeps/unix/sysv/linux/adjtime.c,
8209 sysdeps/unix/sysv/linux/adjtimex.S, sysdeps/unix/sysv/linux/bind.S,
8210 sysdeps/unix/sysv/linux/connect.S, sysdeps/unix/sysv/linux/direct.h,
8211 sysdeps/unix/sysv/linux/dl-machine.h, sysdeps/unix/sysv/linux/errnos.h,
8212 sysdeps/unix/sysv/linux/fork.S, sysdeps/unix/sysv/linux/gethostid.c,
8213 sysdeps/unix/sysv/linux/gethostname.C,
8214 sysdeps/unix/sysv/linux/getpeername.S,
8215 sysdeps/unix/sysv/linux/getpgid.S, sysdeps/unix/sysv/linux/getpgrp.S,
8216 sysdeps/unix/sysv/linux/getsockname.S,
8217 sysdeps/unix/sysv/linux/getsockopt.S, sysdeps/unix/sysv/linux/gtty.S,
8218 sysdeps/unix/sysv/linux/listen.S, sysdeps/unix/sysv/linux/local_lim.h,
8219 sysdeps/unix/sysv/linux/madvise.c, sysdeps/unix/sysv/linux/msgctl.c,
8220 sysdeps/unix/sysv/linux/msgget.c, sysdeps/unix/sysv/linux/msgrcv.c,
8221 sysdeps/unix/sysv/linux/msgsnd.c, sysdeps/unix/sysv/linux/pipe.S,
8222 sysdeps/unix/sysv/linux/poll.c, sysdeps/unix/sysv/linux/readv.c,
8223 sysdeps/unix/sysv/linux/recv.S, sysdeps/unix/sysv/linux/recvfrom.S,
8224 sysdeps/unix/sysv/linux/recvmsg.S, sysdeps/unix/sysv/linux/semctl.c,
8225 sysdeps/unix/sysv/linux/semget.c, sysdeps/unix/sysv/linux/semop.c,
8226 sysdeps/unix/sysv/linux/send.S, sysdeps/unix/sysv/linux/sendmsg.S,
8227 sysdeps/unix/sysv/linux/sendto.S, sysdeps/unix/sysv/linux/setegid.c,
8228 sysdeps/unix/sysv/linux/seteuid.c, sysdeps/unix/sysv/linux/sethostid.c,
8229 sysdeps/unix/sysv/linux/setpgid.c, sysdeps/unix/sysv/linux/setpgrp.c,
8230 sysdeps/unix/sysv/linux/setsid.S, sysdeps/unix/sysv/linux/setsockopt.S,
8231 sysdeps/unix/sysv/linux/settimeofday.S,
8232 sysdeps/unix/sysv/linux/shmat.c, sysdeps/unix/sysv/linux/shmctl.c,
8233 sysdeps/unix/sysv/linux/shmdt.c, sysdeps/unix/sysv/linux/shmget.c,
8234 sysdeps/unix/sysv/linux/shutdown.S,
8235 sysdeps/unix/sysv/linux/sigaction.S, sysdeps/unix/sysv/linux/signal.S,
8236 sysdeps/unix/sysv/linux/sigpending.S, sysdeps/unix/sysv/linux/sigset.h,
8237 sysdeps/unix/sysv/linux/sockaddrcom.h,
8238 sysdeps/unix/sysv/linux/socketpair.S, sysdeps/unix/sysv/linux/speed.c,
8239 sysdeps/unix/sysv/linux/statbuf.h, sysdeps/unix/sysv/linux/stty.S,
8240 sysdeps/unix/sysv/linux/syscall.h, sysdeps/unix/sysv/linux/sysconf.c,
8241 sysdeps/unix/sysv/linux/tcdrain.c, sysdeps/unix/sysv/linux/tcflow.c,
8242 sysdeps/unix/sysv/linux/tcflush.c, sysdeps/unix/sysv/linux/tcgetattr.c,
8243 sysdeps/unix/sysv/linux/tcsetattr.c,
8244 sysdeps/unix/sysv/linux/termbits.h, sysdeps/unix/sysv/linux/ualarm.c,
8245 sysdeps/unix/sysv/linux/ulimit.c, sysdeps/unix/sysv/linux/usleep.c,
8246 sysdeps/unix/sysv/linux/utsnamelen.h, sysdeps/unix/sysv/linux/vfork.c,
8247 sysdeps/unix/sysv/linux/wait.c, sysdeps/unix/sysv/linux/wait4.S,
8248 sysdeps/unix/sysv/linux/waitpid.c, sysdeps/unix/sysv/linux/writev.c:
8249 New Linux/ELF specific, architecture independent files.
8250 * sysdeps/unix/sysv/linux/i386/Dist,
8251 sysdeps/unix/sysv/linux/i386/Makefile,
8252 sysdeps/unix/sysv/linux/i386/brk.S,
8253 sysdeps/unix/sysv/linux/i386/fcntlbits.h,
8254 sysdeps/unix/sysv/linux/i386/fpu_control.c,
8255 sysdeps/unix/sysv/linux/i386/fpu_control.h,
8256 sysdeps/unix/sysv/linux/i386/fstat.S,
8257 sysdeps/unix/sysv/linux/i386/fxstat.S,
8258 sysdeps/unix/sysv/linux/i386/ieee_fpu.c,
8259 sysdeps/unix/sysv/linux/i386/init-first.S,
8260 sysdeps/unix/sysv/linux/i386/ipc.S,
8261 sysdeps/unix/sysv/linux/i386/lstat.S,
8262 sysdeps/unix/sysv/linux/i386/lxstat.S,
8263 sysdeps/unix/sysv/linux/i386/mknod.S,
8264 sysdeps/unix/sysv/linux/i386/mmap.S,
8265 sysdeps/unix/sysv/linux/i386/sbrk.S,
8266 sysdeps/unix/sysv/linux/i386/setfpucw.c,
8267 sysdeps/unix/sysv/linux/i386/signum.h,
8268 sysdeps/unix/sysv/linux/i386/socket.S,
8269 sysdeps/unix/sysv/linux/i386/stat.S,
8270 sysdeps/unix/sysv/linux/i386/syscall.S,
8271 sysdeps/unix/sysv/linux/i386/sysdep.S,
8272 sysdeps/unix/sysv/linux/i386/sysdep.h,
8273 sysdeps/unix/sysv/linux/i386/xmknod.S,
8274 sysdeps/unix/sysv/linux/i386/xstat.S:
8275 New Linux i386/ELF specific files.
8276 * sysdeps/unix/sysv/linux/sys/ipc_buf.h,
8277 sysdeps/unix/sysv/linux/sys/mman.h,
8278 sysdeps/unix/sysv/linux/sys/msq_buf.h,
8279 sysdeps/unix/sysv/linux/sys/sem_buf.h,
8280 sysdeps/unix/sysv/linux/sys/shm_buf.h,
8281 sysdeps/unix/sysv/linux/sys/socketcall.h,
8282 sysdeps/unix/sysv/linux/sys/timex.h:
8283 New Linux/ELF specific, architecture independent header files.
8284 * sysdeps/unix/sysv/sysv4/linux: Tree removed.
8285
8286 Thu Sep 7 17:05:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8287
8288 * stdlib/msort.c (msort_with_tmp): Fixed alignment test. B1 and
8289 B2 are always congruent; just test that B1 is aligned.
8290
8291 Wed Sep 6 19:41:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8292
8293 * elf/dl-lookup.c (_dl_lookup_symbol): Test WEAK_VALUE.s rather
8294 than WEAK_VALUE.a to see if a weak value has been set. A valid
8295 weak value may set WEAK_VALUE.a to 0.
8296
8297 Fri Sep 1 16:16:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8298
8299 * sysdeps/mach/hurd/i386/longjmp-ts.c: Use new array format for
8300 jmp_buf.
8301
8302 * libc-symbols.h (link_warning): Take new first arg SYMBOL; ask
8303 for a warning on references to that specific symbol, not the
8304 entire containing object file.
8305 (stub_warning): Pass symbol name to link_warning.
8306 * stdio/gets.c: Pass function name in link_warning invocation.
8307
8308 * hurd/intr-msg.c: Treat apparent EINTR return from msg trap like
8309 MACH_SEND_INTERRUPTED. That indicates interrupt_operation was
8310 sent, but failed.
8311
8312 * stdlib/msort.c: Include memcopy.h.
8313 (msort_with_tmp): If operating on aligned op_t words, use direct word
8314 fetches and stores.
8315
8316 * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): Add
8317 missing backslash.
8318
8319 Thu Aug 31 13:23:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8320
8321 * sysdeps/unix/i386/brk.S [PIC]: Set __curbrk through the GOT.
8322
8323 Rewrote i386 setjmp code in assembly, so as to avoid fighting
8324 with the compiler for the register values.
8325 * sysdeps/i386/setjmp.S, sysdeps/i386/__longjmp.S: New files.
8326 * sysdeps/i386/setjmp.c, sysdeps/i386/__longjmp.c: Files removed.
8327 * sysdeps/i386/jmp_buf.h [! _ASM] (__jmp_buf): Define as array of ints.
8328 [__USE_MISC || _ASM] (JB_*): New macros, for indices therein.
8329 (_JMPBUF_UNWINDS): Use JB_SP.
8330
8331 Wed Aug 30 16:44:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8332
8333 * sysdeps/mach/hurd/select.c: Deal with out of order replies
8334 during io_select request loop.
8335 Handle MACH_RCV_TIMED_OUT error from requests.
8336 * hurd/intr-msg.c: If the user passed the MACH_RCV_TIMEOUT option,
8337 distinguish MACH_RCV_TIMED_OUT from EINTR.
8338
8339 * posix/glob.c (glob): Use realloc to extend strings for GLOB_MARK
8340 slash.
8341 (glob_in_dir): Don't allocate extra byte here.
8342
8343 * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
8344 Decrement the DT_RELSZ value for the skipped reloc.
8345
8346 Tue Aug 29 12:35:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8347
8348 * time/australasia: Updated data from ADO.
8349
8350 Mon Aug 28 17:47:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8351
8352 * dirent/dirent.h: Don't include <dirstream.h>.
8353 Instead, define DIR as typedef for (undefined) `struct __dirstream'.
8354
8355 Fri Aug 25 12:12:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8356
8357 * sysdeps/mach/hurd/dirstream.h: Define `struct __dirstream'
8358 instead of `DIR'.
8359 * sysdeps/unix/bsd/dirstream.h: Likewise.
8360 * sysdeps/stub/dirstream.h: Likewise.
8361 * sysdeps/unix/dirstream.h: Likewise.
8362 * sysdeps/mach/hurd/telldir.c: Include "dirstream.h".
8363 * sysdeps/mach/hurd/seekdir.c: Likewise.
8364 * sysdeps/mach/hurd/opendir.c: Likewise.
8365 * sysdeps/mach/hurd/closedir.c: Likewise.
8366 * sysdeps/mach/hurd/readdir.c: Likewise.
8367 * sysdeps/unix/telldir.c: Likewise.
8368 * sysdeps/unix/seekdir.c: Likewise.
8369 * sysdeps/unix/rewinddir.c: Likewise.
8370 * sysdeps/unix/readdir.c: Likewise.
8371 * sysdeps/unix/opendir.c: Likewise.
8372 * sysdeps/unix/closedir.c: Likewise.
8373 * sysdeps/unix/bsd/telldir.c: Likewise.
8374 * sysdeps/unix/bsd/readdir.c: Likewise.
8375 * dirent/Makefile (headers): Remove dirstream.h.
8376 (distribute): Put it here instead.
8377
8378 * sysdeps/mach/hurd/mmap.c: Fix inverted test of MAP_FIXED.
8379
8380 * stdio/vfscanf.c (number): Allow field width to inhibit first
8381 digit after base detection.
8382
8383 * stdio/vfprintf.c (vfprintf: %s): Never search past the limit
8384 specified by the precision.
8385
8386 * grp/grpread.c (__grpscan): New function.
8387 * grp/grp.h (__grpscan): Declare it.
8388 * grp/getgrgid.c: Use __grpscan.
8389 * grp/getgrnam.c: Likewise.
8390 * pwd/pwdread.c (__pwdscan): New function.
8391 * pwd/pwd.h (__pwdscan): Declare it.
8392 * pwd/getpwnam.c: Use __pwdscan.
8393 * pwd/getpwuid.c: Likewise.
8394
8395 Thu Aug 24 16:29:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8396
8397 * sysdeps/mach/hurd/mmap.c: Treat (FLAGS & MAP_TYPE) == 0 like
8398 MAP_FILE.
8399
8400 * hurd/thread-cancel.c: Return EINTR when called on self.
8401 * sysdeps/i386/elf/start.S (data_start): Define as weak alias for
8402 __data_start.
8403
8404 Tue Aug 22 16:49:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8405
8406 * inet/netdb.h: Moved to resolv.
8407 * inet/Makefile (headers): Remove netdb.h.
8408 * resolv/Makefile (headers): Add netdb.h.
8409 * resolv/gethnamaddr.c, resolv/inet_addr.c, resolv/netdb.h,
8410 resolv/res_send.c: Updated from BIND-4.9.3-BETA26.
8411
8412 * hurd/thread-cancel.c: If SS->cancel_hook is not null, call it before
8413 resuming the thread.
8414 * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel_hook'.
8415
8416 * hurd/Makefile: Removed dep on hurd/signal.h for RPC stub objects.
8417
8418 Mon Aug 21 16:37:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8419
8420 * sysdeps/i386/dl-machine.h (elf_machine_rel): Grok R_386_NONE
8421 relocs, and do nothing. Why the linker generates them we may
8422 never know.
8423
8424 Thu Aug 17 16:18:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8425
8426 * sysdeps/mach/hurd/Makefile: Don't elide sunrpc and manual from
8427 `subdirs' variable.
8428
8429 * sysdeps/mach/hurd/i386/intr-msg.h: New file.
8430 * hurd/intr-msg.c: Use INTR_MSG_TRAP macro from machine-dependent
8431 "intr-msg.h" for special syscall code, instead of i386-specific asm.
8432 * hurd/hurdsig.c: Use INTR_MSG_BACK_OUT macro from
8433 machine-dependent "intr-msg.h" before mutating thread state to
8434 skip RPC.
8435
8436 * sysdeps/mach/hurd/i386/trampoline.c: If PC is inside
8437 _hurd_intr_rpc_mach_msg special syscall code, use real SP saved in
8438 %ecx.
8439
8440 * Makeconfig (link-libc): New variable; use shared library if
8441 available.
8442 (+link): Use it.
8443
8444 * sysdeps/mach/hurd/fork.c (_hurd_fork_locks): Variable removed.
8445 Instead, declare with `symbol_set_declare'.
8446 (fork): Use symbol_set_* macros for _hurd_fork_locks.
8447 Use SS->thread instead of __mach_thread_self (). Suspend all
8448 other threads during task_create and port copying.
8449
8450 Wed Aug 16 17:04:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8451
8452 * hurd/intr-msg.c: Fixed calculation of syscall %esp.
8453
8454 Tue Aug 15 12:26:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8455
8456 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Remove `static'.
8457
8458 * hurd/Makefile (sig): Add intr-msg.
8459
8460 Mon Aug 14 16:51:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8461
8462 * hurd/thread-cancel.c: New file.
8463 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): In
8464 rpc_wait case, frob mach_msg args to set timeout on receive.
8465 (_hurdsig_rcv_interrupted_p): Function removed.
8466 * sysdeps/mach/hurd/alpha/trampoline.c: Likewise.
8467 * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
8468 * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
8469 * hurd/intr-msg.c: New file.
8470 * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel'.
8471 (_hurdsig_rcv_interrupted_p): Declaration removed.
8472 (HURD_EINTR_RPC): Macro removed.
8473 (_hurd_longjmp_thread_state, _hurd_interrupted_rpc_timeout): Declare
8474 these.
8475 * hurd/intr-rpc.h: New file.
8476 * hurd/intr-rpc.defs: Just import intr-rpc.h.
8477 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): New variable.
8478 (interrupted_reply_port_location): Take new flag arg; only catch
8479 faults if it's set.
8480 (abort_rpcs): Rename to _hurdsig_abort_rpcs; take same new flag arg.
8481 No longer use _hurdsig_rcv_interrupted_p; instead compare PC to
8482 &_hurd_intr_rpc_msg_in_trap. If before it, mutate state to simulate
8483 MACH_SEND_INTERRUPTED return; on it, interrupt the operation. All
8484 callers changed.
8485 * hurd/hurd.h (hurd_thread_cancel, hurd_check_cancel): Declare these.
8486 * hurd/Makefile (distribute): Remove intr-rpc.awk.
8487 (sig): Add thread-cancel.
8488 (transform-user-stub, transform-user-stub-output): Variables removed.
8489 * sysdeps/mach/hurd/dl-sysdep.c: Change all RPCs from
8490 `__hurd_intr_rpc_*' to `__*'.
8491 (_hurd_intr_rpc_mach_msg): New function.
8492 (_hurd_thread_sigstate): Function removed.
8493 * sysdeps/mach/hurd/ioctl.c: Use _hurd_intr_rpc_mach_msg function,
8494 instead of __mach_msg inside HURD_EINTR_RPC macro.
8495
8496 * sysdeps/generic/morecore.c [__GNU_LIBRARY__]: Declare `__sbrk'
8497 to take ptrdiff_t arg.
8498
8499 * sysdeps/mach/hurd/fork.c: Remove _hurd_longjmp_thread_state decl.
8500
8501 * sysdeps/mach/hurd/kill.c (kill_pid): Don't make `inline'.
8502
8503 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_symbol,
8504 weak_alias): Use `extern' storage class.
8505
8506 Wed Aug 9 14:25:35 1995 Miles Bader <miles@geech.gnu.ai.mit.edu>
8507
8508 * sysdeps/mach/hurd/setuid.c (__setuid): Switch the port-type and
8509 port-count parameters to __auth_makeauth.
8510 * sysdeps/mach/hurd/setgid.c (__setgid): Ditto.
8511
8512 Tue Aug 8 12:22:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8513
8514 * hurd/sigunwind.c: Remove _hurd_longjmp_thread_state decl.
8515
8516 * inet/netinet/tcp.h: New file, incorporated from 4.4BSD-Lite.
8517
8518 Tue Aug 8 12:06:04 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu>
8519
8520 * inet/netinet/in.h (IP_MULTICAST_TTL, IP_MULTICAST_LOOP,
8521 IP_MULTICAST_IP, IP_ADD_MEMBERSHIP, IP_DROP_MEMBERSHIP): New IP
8522 layer socket options.
8523 (IPPROTO_GGP): Delete obsolote protocol.
8524 (IPPROTO_IGMP): Add new protocol (with same value [2] as old GGP).
8525 (struct ip_mreq): New type.
8526
8527 Mon Aug 7 14:04:36 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8528
8529 * stdlib/strtol.c: Use #ifdef, not #if, for HAVE_LIMITS_H.
8530
8531 * posix/glob.c (glob_in_dir): Allocate GLOB_MARK byte in case when
8532 (NFOUND == 0 && (FLAGS & GLOB_NOCHECK)).
8533
8534 * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Return failure
8535 when __stdio_open fails with a code other than ENFILE or EMFILE.
8536
8537 Fri Aug 4 16:01:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8538
8539 * Makefile (headers): Added gnu-versions.h.
8540
8541 Thu Aug 3 14:41:11 1995 Michael I. Bushnell <mib@duality.gnu.ai.mit.edu>
8542
8543 * inet/netinet/in.h (IN_CLASSD, IN_EXPERIMENTAL, IN_BADCLASS): Use
8544 equality, not assignment, to test bitfields.
8545
8546 Sat Jul 29 10:41:06 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
8547
8548 * sysdeps/mach/hurd/sendto.c (sendto): Use the ifsock protocol to
8549 resolve AF_LOCAL addresses.
8550
8551 * sysdeps/mach/hurd/accept.c (accept): If the protocol family
8552 can't tell us what an address means, just return a zero-length
8553 buffer instead.
8554 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Ditto.
8555
8556 Fri Jul 28 15:29:11 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
8557
8558 * sysdeps/mach/hurd/bind.c (bind): Don't use
8559 file_invoke_translator, as it doesn't work. Instead just lookup
8560 the translated node again, and hope we're not hit by any race
8561 conditions.
8562
8563 Wed Jul 26 02:00:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8564
8565 * csu/Makefile [$(elf)=yes] (have-initfini): Set to yes.
8566 [$(have-initfini)=yes]: Test this rather than $(elf) for crtstuff.
8567 [start-installed-name-rule]: If this is defined, elide rule for
8568 $(objpfx)$(start-installed-name).
8569 * csu/initfini.c (SECTION): New macro, different definitions for
8570 #ifdef HAVE_ELF and not.
8571 (_init, _fini): Use that macro.
8572 * sysdeps/unix/sysv/sco3.2.4/Makefile [$(subdir)=csu]
8573 (start-installed-rule, start-installed-name-rule): New variables;
8574 specify crt1.o, created by our own rule.
8575 ($(objpfx)crt1.o): New rule.
8576 * configure.in: Require autoconf 2.4.2 or later. Change all
8577 AC_CACHE_VAL uses to use new AC_CACHE_CHECK macro instead;
8578 prettify some messages.
8579 [$elf!=yes] (libc_cv_have_initfini): New test for `.init' and `.fini'
8580 sections.
8581 * munch-tmpl.c [HAVE_INITFINI]: Call _init and atexit (_fini) in
8582 this case rather than #ifdef HAVE_ELF.
8583 * config.h.in (HAVE_INITFINI): New macro.
8584 * config.make.in (have-initfini): New variable, set by configure.
8585
8586 * stdio/vfscanf.c (conv_error): Simplify expression to avoid
8587 "value computed is not used" warning.
8588
8589 * Makeconfig (+gccwarn): Removed -Wconversion.
8590
8591 * csu/initfini.c (GLOBAL): Macro removed.
8592 (_init, _fini): Always define globally.
8593 * csu/Makefile (crtstuff, initfini): Don't make crt[in]_s.o.
8594
8595 * asia, backward, europe, leapseconds, southamerica: New data from
8596 ADO's 95e.
8597
8598 * inet/Makefile (routines): Removed inet_addr.
8599 * inet/inet_addr.c: Moved to resolv/ subdirectory.
8600 * resolv/Makefile (routines): Added inet_addr.
8601 * resolv/inet_addr.c: Incorporated from BIND 4.9.3-BETA24 release.
8602 * resolv/gethnamaddr.c: Likewise.
8603 * resolv/getnetbyaddr.c: Likewise.
8604 * resolv/getnetbyname.c: Likewise.
8605 * resolv/getnetent.c: Likewise.
8606 * resolv/getnetnamadr.c: Likewise.
8607 * resolv/herror.c: Likewise.
8608 * resolv/nsap_addr.c: Likewise.
8609 * resolv/res_comp.c: Likewise.
8610 * resolv/res_debug.c: Likewise.
8611 * resolv/res_init.c: Likewise.
8612 * resolv/res_mkquery.c: Likewise.
8613 * resolv/res_query.c: Likewise.
8614 * resolv/res_send.c: Likewise.
8615 * resolv/resolv.h: Likewise.
8616 * resolv/sethostent.c: Likewise.
8617 * resolv/arpa/nameser.h: Likewise.
8618 * inet/netdb.h: Incorporated from BIND 4.9.3-BETA24 release.
8619 [__GNU_LIBRARY__]: Include <rpc/netdb.h> instead of repeating
8620 its declarations (and doing so only #ifdef sun!).
8621 * conf/portability.h (NEED_INETADDR, NEED_INETATON): New macros.
8622
8623 * posix/sys/types.h [__USE_BSD] (__BIT_TYPES_DEFINED__): New macro.
8624 [__USE_BSD] [__GNUC__] (int64_t, u_int64_t, register_t): New typedefs.
8625
8626 * malloc/memalign.c: Allocate (SIZE + ALIGNMENT - 1) and then trim
8627 if possible.
8628
8629 * mach/shortcut.awk: Emit decls for RPC.
8630
8631 * libc-symbols.h [GCC >= 2.7 && !ASSEMBLER] (weak_symbol,
8632 weak_alias, strong_alias): Define using GCC __attribute__ syntax.
8633
8634 * Makerules ($(installed-libcs)): Depend on `lib' (only).
8635
8636 Tue Jul 25 09:14:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8637
8638 * sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int.
8639
8640 * stdlib/strtol.c [_LIBC]: Define STDC_HEADERS.
8641
8642 * sysdeps/unix/sysv/ftime.S: New file.
8643
8644 * locale/locfile-parse.c (categories_write): Cast "" to char *.
8645
8646 * io/fcntl.h [__OPTIMIZE__] (creat): Macro removed.
8647
8648 * time/strftime.c: Use year modulo 100 for %y.
8649
8650 * time/sys/timeb.h: Add __BEGIN_DECLS and __END_DECLS.
8651
8652 * sysdeps/unix/snarf-ioctls (snarfexclude): Use two sed's instead
8653 of one, to work around bug in sunos4.1.2 sed.
8654
8655 * stdio/vfprintf.c (vfprintf): For %s with precision spec, use
8656 memchr instead of strlen to limit search for NUL by precision.
8657
8658 Mon Jul 24 03:13:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8659
8660 * sysdeps/posix/pathconf.c: New file.
8661
8662 Sat Jul 22 20:53:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8663
8664 * sysdeps/unix/i386/sysdep.h (JUMPTARGET): Use ## to avoid space
8665 before @PLT.
8666 * sysdeps/mach/i386/sysdep.h (JUMPTARGET): New macro.
8667 * sysdeps/i386/bsd-_setjmp.S: Use JUMPTARGET macro in jmp insn.
8668 * sysdeps/i386/bsd-setjmp.S: Likewise.
8669
8670 Sat Jul 22 19:58:54 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
8671
8672 * inet/Makefile (routines): Added `ruserpass'.
8673 * inet/ruserpass.c: New file, from BSD Net-2 sources for the FTP
8674 client. Modified to remove the fourth arg AACCT. Do nothing for
8675 the `account' and `macdef' keywords. Other incidental changes
8676 because we are not in the FTP source tree.
8677
8678 Sat Jul 22 01:56:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8679
8680 * sysdeps/stub/init-posix.c: Removed stub warning.
8681
8682 * Makefile (autoconf-it): Make it executable and unwritable.
8683
8684 * configure.in (sysnames): Under --enable-debug-configure, spew
8685 potential sysnames.
8686
8687 * sysdeps/unix/i386/sysdep.h (JUMPTARGET): New macro; use name@PLT
8688 #ifdef PIC.
8689 (PSEUDO): Use JUMPTARGET(syscall_error) in jump insn.
8690 * sysdeps/unix/i386/syscall.S: Use JUMPTARGET(syscall_error) in
8691 jump insn.
8692
8693 * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.h: Rewritten.
8694 * sysdeps/unix/sysv/sysv4/linux/i386/syscall.S: New file.
8695 * sysdeps/unix/sysv/sysv4/linux/i386/socket.S: Include
8696 <sys/socketcall.h>. Save %ebx in call-clobbered %edx instead of
8697 stack. Use JUMPTARGET(syscall_error) in jump insn.
8698
8699 * Makeconfig (+gccwarn): Add -Wbad-function-cast -Wconversion.
8700
8701 * sysdeps/unix/i386/sysdep.h (ENTRY): Use ASM_GLOBAL_DIRECTIVE and
8702 ASM_TYPE_DIRECTIVE.
8703 (ASM_TYPE_DIRECTIVE): New macro; defined using `.type' #ifdef ELF.
8704
8705 * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.S (__syscall_error):
8706 Rewritten, #include'ing unix/i386/sysdep.S for most of the code.
8707 * sysdeps/unix/i386/sysdep.S [PIC]: Store into `errno' through the GOT.
8708
8709 * configure.in (os=linux*): Use unix/sysv/sysv4 for $base_os,
8710 instead of unix/sysv.
8711 * sysdeps/unix/sysv/linux/{accept,connect,getsockname,rename,
8712 socketpair,waitpid,bind,getpeername,listen,setsid,wait4}.S: Moved
8713 to new directory sysdeps/unix/sysv/sysv4/linux.
8714 * sysdeps/unix/sysv/linux: Directory removed.
8715 * sysdeps/unix/sysv/i386/linux/{socket.S,sysdep.h,sysdep.S}: Moved
8716 to new directory sysdeps/unix/sysv/sysv4/linux/i386.
8717 * sysdeps/unix/sysv/linux/i386: Directory removed.
8718
8719 Fixes to help Linux, inspired by drepper's work:
8720 * sysdeps/posix/utimes.c: New file.
8721 * sysdeps/generic/getdomain.c: New file.
8722 * sysdeps/i386/init-first.c: Removed gratuitous #include <hurd.h>.
8723 * sysdeps/generic/dl-sysdep.c: Include <unistd.h> and declare
8724 externals _dl_argc, _dl_argc, and _environ.
8725
8726 Fri Jul 21 12:57:29 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
8727
8728 * sysdeps/mach/hurd/socket.c (socket): Consider MIG_BAD_ID and
8729 EOPNOTSUPP as indications that the server has died.
8730 * sysdeps/mach/hurd/pipe.c (__pipe): Likewise.
8731 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
8732
8733 Mon Jul 17 08:45:40 1995 Jim Meyering (meyering@comco.com)
8734
8735 * strtol.c: Portability changes from Uli Drepper.
8736 [!STDC_HEADERS && !defined(NULL)]: Define NULL.
8737
8738 Mon Jul 10 05:39:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8739
8740 * sysdeps/mach/hurd/i386/init-first.c (init): Take just one arg,
8741 DATA for the entry SP; DATA[-1] is always the return address
8742 location. In both cthreads and non-cthreads cases, use asm to
8743 force parameters into %eax and %ecx before return, and mutate
8744 DATA[-1] to return to specific asm code to set up the user from
8745 %eax and %ecx.
8746 [PIC] (_init): Caller changed.
8747 (__libc_init_first) [! PIC] (doinit): Use asm to effect call to init
8748 with SP unwound to argument data ptr.
8749
8750 Thu Jul 6 14:28:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8751
8752 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Fixed this kludge to work
8753 when 0x08000000 and up are not mapped.
8754
8755 * Makerules (stamp$o-$(subdir) rule): Remove the timestamp file
8756 before touching it.
8757 (lib%.so): Use -Wl to get -soname to ld.
8758
8759 * elf/dlsym.c: Pass final arg to _dl_lookup_symbol.
8760
8761 * elf/Makefile (libdl.so): Pass $(LDFLAGS.so).
8762
8763 Tue Jun 20 02:18:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8764
8765 * Makerules (lib%.so: lib%_pic.a): Pass -soname switch giving the
8766 library's name including $(libprefix) and major version number.
8767
8768 * locale/locale-ctype.c (allocate_arrays): Use xmalloc and bzero
8769 in place of xcalloc.
8770
8771 * Makeconfig (prefix, exec_prefix, libprefix): Instead of
8772 `ifndef', use the $(origin) function to only set these if they are
8773 undefined, and not if they are defined to empty.
8774
8775 * gnu-versions.h: New file.
8776 * features.h (__GNU_LIBRARY__): Increase value to 5.
8777
8778 Wed Jun 14 03:45:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8779
8780 * stdio/stdio.h (__validfp): Use ({...}) rather than a comma
8781 expression, to avoid gcc's "value computed is not used" warning.
8782
8783 * libc-symbols.h (_elf_set_element): Give the set-element variable
8784 an `unused' attribute.
8785
8786 * hurd/hurd/threadvar.h (__hurd_threadvar_location): Declare with
8787 __attribute__ ((__const__)).
8788 * hurd/hurd/signal.h (_hurd_self_sigstate): Likewise.
8789
8790 * hurd/hurd/userlink.h (_hurd_userlink_link): Properly set
8791 LINK->resource.next->resource.prevp when appropriate, not
8792 LINK->resource.next->thread.prevp!!!
8793
8794 Tue Jun 13 15:45:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8795
8796 * configure.in (libc_cv_asm_set_directive): Make sure that the
8797 `.set' directive really worked by linking against a reference to
8798 the alias.
8799
8800 * sysdeps/stub/init-first.c: Don't include <hurd.h>.
8801 [PIC] (soinit): Renamed to (global) _init.
8802
8803 Mon Jun 12 13:15:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8804
8805 * malloc/Makefile (gmalloc-routines): Remove valloc.
8806 (dist-routines): Add it here.
8807
8808 * malloc/malloc.h [_MALLOC_INTERNAL] [emacs] (valloc): #define to
8809 emacs_loser_valloc to inhibit valloc declaration below.
8810
8811 * Makerules (lib%.so: lib%_pic.a): Moved this rule to after
8812 installation rules.
8813
8814 * sysdeps/mach/sysdep.h [HAVE_ELF] (ENTRY): Redefine this macro so
8815 it uses the `.type' directive, which is necessary for shared
8816 libraries to work properly.
8817
8818 Thu Jun 8 02:50:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8819
8820 * elf/dl-load.c (_dl_map_object): Add MAP_INHERIT flag in mmap
8821 from zero fill.
8822
8823 * elf/dl-lookup.c (_dl_lookup_symbol): Take new flag arg NOSELF;
8824 if nonzero, don't let *REF satisfy the reference itself.
8825 * elf/link.h (_dl_lookup_symbol): Add new arg NOSELF in decl.
8826 * sysdeps/i386/dl-runtime.c (_dl_runtime_resolve): Pass new arg to
8827 _dl_lookup_symbol.
8828 * elf/do-rel.h (elf_dynamic_do_rel): Pass new second arg of
8829 R->r_offset to RESOLVE callback.
8830 * elf/dl-reloc.c (_dl_relocate_object: resolve): Don't let *REF
8831 satisfy the reference itself if its value equals the reloc's
8832 offset.
8833
8834 * elf/rtld.c (dl_main): Write a newline in fatal msg.
8835
8836 * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS.so).
8837
8838 * elf/rtld.c [! NDEBUG] (__assert_perror_fail): New function.
8839
8840 * hurd/hurdstartup.c (_hurd_startup): Fancier kludge to guess phdr
8841 and user entry point addresses.
8842
8843 * elf/dl-load.c (open_path): Don't do strlen on DIRPATH if it's null.
8844 (_dl_map_object): DT_RPATH value is relative to DT_STRTAB value.
8845
8846 * Makerules (install-lib.so): Don't include libc.so.
8847 [$(build-shared)=yes] (install): Depend on the installed libc.so file.
8848 [$(build-shared)=yes] (install-no-libc.a): Make this, rather than
8849 install, depend on the installed $(install-lib.so) files.
8850 [$(build-shared)=yes] (install-lib.so): Append libc.so after that rule.
8851
8852 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Add kludge to
8853 allocate high addresses to avoid random mappings appearing there.
8854 (mmap): Comment out mask; always pass zero.
8855
8856 Tue Jun 6 13:34:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8857
8858 * sysdeps/i386/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New macro.
8859 * sysdeps/mach/hurd/dl-sysdep.c (mmap): Use it as mask in vm_map call.
8860
8861 * elf/dl-error.c (_dl_catch_error): Clear *ERRSTRING and *OBJNAME
8862 when successful.
8863
8864 * sysdeps/mach/hurd/dl-sysdep.c (threadvars): New static variable.
8865 (__hurd_threadvar_max, __hurd_threadvar_stack_offset): Define these
8866 variables, using the `threadvars' buffer.
8867
8868 * elf/dl-reloc.c: Don't dereference L->l_prev when it's null.
8869 * sysdeps/i386/dl-runtime.c: Likewise.
8870
8871 * elf/rtld.c (dl_main): Add missing NULL terminating argument in
8872 _dl_sysdep_fatal call.
8873 (__assert_fail): Likewise.
8874
8875 * locale/Makefile (localedef-modules): Renamed ctype to
8876 locale-ctype so as not to conflict with the object file for
8877 ctype/ctype.c in the build directory.
8878
8879 Mon Jun 5 04:02:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8880
8881 * elf/elf.h (ELFMAG): Use \177 instead of \x7f. It seems GCC
8882 insists on seeing the following E as part of hex 7FE, and
8883 complaining that is wider than a byte.
8884
8885 Sun Jun 4 22:14:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8886
8887 * hurd/Makefile (sig): Added thread-self.
8888 * hurd/hurd.h: Declare hurd_thread_self.
8889 * hurd/thread-self.c: New file.
8890
8891 Thu Jun 1 12:17:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8892
8893 * elf/rtld.c: Initialize RTLD_MAP.l_type.
8894 * elf/dl-reloc.c (_dl_relocate_object): Clear LAZY if relocating
8895 the dynamic linker itself.
8896 * sysdeps/i386/dl-machine.h (elf_machine_rel): If MAP->l_type is
8897 lt_interpreter, first undo relocation done during bootstrapping.
8898
8899 Tue May 30 15:52:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8900
8901 * mach/Makefile (server-interfaces): Removed notify and
8902 device_reply. For shlibs with eager binding, libmachuser.so must
8903 not refer to any functions not defined in libc.
8904
8905 Sat May 27 16:23:22 1995 Jim Meyering (meyering@comco.com)
8906
8907 * sysdeps/generic/memchr.c: Cast RHS to const unsigned char *
8908 to avoid error from Irix-4.0.5's C compiler. From Kaveh Ghazi.
8909
8910 Fri May 26 13:00:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8911
8912 * hurd/hurdsig.c (_hurd_internal_post_signal): Don't loop to check
8913 pending signals if the thread is in a critical section. It will
8914 send us a msg when it finishes.
8915
8916 * sysdeps/mach/hurd/pathconf.c: New file.
8917 * sysdeps/mach/hurd/fpathconf.c: New file.
8918
8919 * sysdeps/mach/hurd/sigaction.c: Only notify the proc server for
8920 SIGCHLD when the SA_NOCLDSTOP bit actually changes.
8921
8922 Sun May 21 05:05:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8923
8924 * elf/Makefile (ld.so): Use -nostartfiles in addition to
8925 -nostdlib.
8926
8927 Sun May 21 02:01:29 1995 Jim Meyering (meyering@comco.com)
8928
8929 * sysdeps/generic/memchr.c: Don't include <string.h> at all.
8930 HPUX-9.01 and IRIX-4.0.5 vendor C compilers get conflicting dcls for
8931 memchr unless one manually arranges for them to define __STDC__.
8932
8933 Fri May 19 17:16:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8934
8935 * sysdeps/mach/hurd/i386/init-first.c: In cthreads case, handle
8936 args on stack from kernel.
8937
8938 * posix/Makefile, sysdeps/alpha/Makefile,
8939 * sysdeps/mach/hurd/Makefile, sysdeps/sparc/Makefile, Makefile,
8940 * Makerules, Make-dist: Fix "cvs commit" cmds in rules to not fail
8941 in the absence of CVS dirs.
8942
8943 * hurd/hurdstartup.c: Don't call __mach_init. Grok args from the
8944 kernel on the stack properly.
8945
8946 * set-init.c: Never call _init/_fini; just run __libc_subinit.
8947
8948 * Makerules (LDFLAGS-c.so): Add -nostartfiles.
8949 * mach/Machrules (LDFLAGS-$(interface.so)): Likewise.
8950
8951 * configure.in: Move defaulting of --with-elf and --with-gnu-*
8952 based on host os outside the AC_CACHE_VAL for the sysdirs
8953 calculation.
8954
8955 * Makeconfig (localedir, nlsdir): New variables.
8956
8957 * values.h: New file.
8958 * Makefile (headers): Add values.h.
8959
8960 * locale/Makefile (distribute): Add error.h.
8961 * locale/localedef.c: Include "error.h".
8962 (main): Use error_message_count instead of warning_cntr.
8963
8964 Wed May 17 16:50:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8965
8966 Merged 1003.2 locale and localedef programs by Ulrich Drepper.
8967 * locale/charmap.c: New file.
8968 * locale/collate.c: New file.
8969 * locale/config.h: New file.
8970 * locale/ctype.c: New file.
8971 * locale/ctypedump.c: New file.
8972 * locale/hash.c: New file.
8973 * locale/hash.h: New file.
8974 * locale/iso-4217.def: New file.
8975 * locale/keyword.gperf: New file.
8976 * locale/keyword.h: New file.
8977 * locale/libintl.h: New file.
8978 * locale/locale.c: New file.
8979 * locale/localedef.c: New file.
8980 * locale/localedef.h: New file.
8981 * locale/locfile-lex.c: New file.
8982 * locale/locfile-parse.c: New file.
8983 * locale/messages.c: New file.
8984 * locale/monetary.c: New file.
8985 * locale/numeric.c: New file.
8986 * locale/token.h: New file.
8987
8988 * posix/regex.c, posix/regex.h: New files, incorporated from GNU regex.
8989 * posix/Makefile (headers): Add regex.h.
8990 (routines): Add regex.
8991 (gpl2lgpl): Add regex.c and regex.h.
8992
8993 Tue May 16 17:35:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8994
8995 * locale/loadlocale.c: Expect macro LOCALE_PATH to be defined,
8996 instead of hard-coding "/share/locale".
8997
8998 Sat May 13 02:16:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8999
9000 * configure.in (os=gnu*): Always set elf=yes, not just for os=gnu*elf*.
9001
9002 Fri May 12 15:31:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9003
9004 * elf/elf.h (ELFMAG, SELFMAG): New macros.
9005
9006 Fri May 12 11:24:53 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu>
9007
9008 * hurd/alloc-fd.c (_hurd_alloc_fd): Don't reduce FIRST_FD in
9009 the case where it starts out less than _hurd_dtablesize.
9010
9011 Thu May 11 20:51:05 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9012
9013 * hurd/alloc-fd.c (_hurd_alloc_fd): When expanding the dtable,
9014 make sure the new size exceeds FIRST_FD.
9015
9016 Wed May 10 21:00:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9017
9018 * sysdeps/mach/i386/sysdep.h (RETURN_TO): New macro.
9019
9020 Tue May 9 01:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9021
9022 * Makerules (install-lib.so): Add %.so for each %_pic.a.
9023
9024 * sysdeps/i386/elf/start.S (__data_start): Define this symbol as
9025 the first thing in .data.
9026
9027 * sysdeps/mach/_strerror.c (_strerror_internal): Eschew sprintf.
9028
9029 * hurd/hurdstartup.h: New file.
9030
9031 * sysdeps/i386/elf/start.S: Give two operands to `testl' when they
9032 are the same. Use `jz' instead of `jeq'.
9033
9034 * Makeconfig (config.make): Depend on config.status, and run it to
9035 update.
9036 (config.status): New target; depend on configure.
9037 If target (config.status) exists, run it with --recheck to update;
9038 if not, give error msg saying to run confiugre by hand.
9039 * Makerules [$(sysd-Makefile-sysdirs) != $(sysdirs)]
9040 (sysd-Makefile-force): Set this variable to FORCE in this case, to
9041 force a rebuild of sysd-Makefile.
9042 (sysd-Makefile): Depend on $(sysd-Makefile-force).
9043 Write into the file sysd-Makefile-sysdirs:=$(sysdirs).
9044 [$(sysd-rules-sysdirs) != $(sysdirs)] (sysd-rules-force): Set this
9045 variable to FORCE in this case, to force a rebuild of sysd-rules.
9046 (sysd-rules): Depend on $(sysd-rules-force).
9047 Write into the file sysd-rules-sysdirs:=$(sysdirs).
9048
9049 * Makerules (LDFLAGS-c.so): Change ld option -interp to
9050 -dynamic-linker.
9051
9052 * Makerules (do-install-program): New canned sequence.
9053 (install-bin, install-sbin): Use it.
9054 (install for lib*.so): Use it instead of $(do-install).
9055 Fix .so installation rules to handle lib*.so and *.so, deal with
9056 $(libprefix) right, and install *.so as *.so$($(*.so)-version);
9057 i.e. "libc.so-version = .1".
9058
9059 Mon May 8 05:10:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9060
9061 * elf/do-rel.h: New file, split out of dynamic-link.h.
9062 * elf/Makefile (distribute): Add do-rel.h.
9063
9064 Sat May 6 11:06:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9065
9066 * Makeconfig (+gccwarn): Add -Winline.
9067
9068 * hurd/hurdsig.c (_hurd_internal_post_signal): If SS->context is
9069 set, avoid abort_rpcs, and use reply and intr ports saved in
9070 SS->context.
9071 * sysdeps/mach/hurd/i386/trampoline.c: Don't set SS->intr_port
9072 from SS->context. Don't clear SS->context.
9073 * sysdeps/mach/hurd/i386/sigreturn.c: Don't set SS->intr_port when
9074 setting SS->context. If msg_sig_post returns, re-lock and clear
9075 SS->context.
9076
9077 Fri May 5 10:37:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9078
9079 * mach/Makefile (errsystems.c): Comment out generation rule.
9080
9081 * sysdeps/mach/_strerror.c: Consider a system unknown if its
9082 bad_sub member is null.
9083
9084 * mach/mig-alloc.c: Add weak alias to non-__ name.
9085
9086 Wed May 3 11:56:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9087
9088 * sysdeps/mach/hurd/dup2.c: Fixed broken test in last change.
9089
9090 Tue May 2 01:52:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9091
9092 * elf/dl-error.c (_dl_catch_error): Actually call the OPERATE
9093 function. Duh.
9094
9095 * hurd/Makefile (distribute): Added hurdstartup.h.
9096 * hurd/hurd.h: Remove _hurd_startup decl.
9097
9098 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Use __attribute__
9099 ((__unused__)) instead of gratuitous self reference.
9100
9101 * sysdeps/mach/hurd/dup2.c: Call _hurd_alloc_fd to expand the
9102 table if FD2 doesn't fit.
9103
9104 * sysdeps/mach/hurd/getdtsz.c: Return the RLIM_NOFILE soft limit,
9105 not the current table size.
9106
9107 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS, CALL_WITH_SP): Rewritten.
9108
9109 Implemented runtime dynamic linker to support ELF shared libraries.
9110 * elf/Makefile: Added rules to make ld.so and libdl.
9111 * elf/dl-error.c: New file.
9112 * elf/dl-fini.c: New file.
9113 * elf/dl-init.c: New file.
9114 * elf/dl-load.c: New file.
9115 * elf/dl-lookup.c: New file.
9116 * elf/dl-object.c: New file.
9117 * elf/dl-reloc.c: New file.
9118 * elf/dlclose.c: New file.
9119 * elf/dlerror.c: New file.
9120 * elf/dlopen.c: New file.
9121 * elf/dlsym.c: New file.
9122 * elf/dynamic-link.h: New file.
9123 * elf/link.h: New file.
9124 * elf/rtld.c: New file.
9125 * sysdeps/i386/dl-machine.h: New file.
9126 * sysdeps/stub/dl-machine.h: New file.
9127 * sysdeps/i386/dl-runtime.c: New file.
9128 * sysdeps/stub/dl-runtime.c: New file.
9129 * sysdeps/i386/elf/start.S: New file.
9130 * sysdeps/generic/dl-sysdep.c: New file.
9131 * sysdeps/mach/hurd/dl-sysdep.c: New file.
9132 * sysdeps/mach/hurd/i386/init-first.c: New file.
9133 * sysdeps/i386/init-first.c: New file.
9134 * sysdeps/stub/init-first.c: New file.
9135
9136 Mon May 1 18:48:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9137
9138 * Makerules (LDFLAGS-c.so): Add -interp and -e switches to make
9139 libc.so runnable.
9140 * version.c (__libc_print_version): Add "et al" and missing NL to
9141 author credit.
9142
9143 Sat Apr 29 15:46:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9144
9145 * posix/glob.c (S_ISDIR): Define if undefined.
9146
9147 Thu Apr 27 01:24:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9148
9149 * configure.in: Unless --without-fp, prepend */fpu before each
9150 machine dir in $mach; don't prepend FPU dirs at end. If
9151 --with-elf, prepend MACHINE/elf directories at end; don't insert
9152 them into $mach.
9153
9154 * Makerules (dist): Filter out *.[cSs] from $(distribute) in deps.
9155
9156 * sysdeps/stub/clock.c: Added stub warning.
9157 * sysdeps/stub/dirfd.c: Likewise.
9158 * sysdeps/stub/exc2signal.c: Likewise.
9159 * sysdeps/stub/fdopen.c: Likewise.
9160 * sysdeps/stub/flock.c: Likewise.
9161 * sysdeps/stub/fpathconf.c: Likewise.
9162 * sysdeps/stub/ftruncate.c: Likewise.
9163 * sysdeps/stub/gtty.c: Likewise.
9164 * sysdeps/stub/isatty.c: Likewise.
9165 * sysdeps/stub/killpg.c: Likewise.
9166 * sysdeps/stub/madvise.c: Likewise.
9167 * sysdeps/stub/mkstemp.c: Likewise.
9168 * sysdeps/stub/mktemp.c: Likewise.
9169 * sysdeps/stub/mprotect.c: Likewise.
9170 * sysdeps/stub/msync.c: Likewise.
9171 * sysdeps/stub/pathconf.c: Likewise.
9172 * sysdeps/stub/poll.c: Likewise.
9173 * sysdeps/stub/raise.c: Likewise.
9174 * sysdeps/stub/readv.c: Likewise.
9175 * sysdeps/stub/setenv.c: Likewise.
9176 * sysdeps/stub/setlogin.c: Likewise.
9177 * sysdeps/stub/sigaltstack.c: Likewise.
9178 * sysdeps/stub/sigintr.c: Likewise.
9179 * sysdeps/stub/sigstack.c: Likewise.
9180 * sysdeps/stub/sleep.c: Likewise.
9181 * sysdeps/stub/sstk.c: Likewise.
9182 * sysdeps/stub/stime.c: Likewise.
9183 * sysdeps/stub/stty.c: Likewise.
9184 * sysdeps/stub/syscall.c: Likewise.
9185 * sysdeps/stub/sysconf.c: Likewise.
9186 * sysdeps/stub/truncate.c: Likewise.
9187 * sysdeps/stub/ualarm.c: Likewise.
9188 * sysdeps/stub/usleep.c: Likewise.
9189 * sysdeps/stub/utimes.c: Likewise.
9190 * sysdeps/stub/writev.c: Likewise.
9191
9192 * sysdeps/stub/libc_fatal.c: Remove __NORETURN keyword.
9193
9194 Wed Apr 26 16:06:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9195
9196 * locale/loadlocale.c (_nl_free_locale): Do nothing if DATA is null.
9197
9198 Tue Apr 25 17:17:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9199
9200 * posix/glob.c (glob): If GLOB_MARK set, stat names to find
9201 directories and append slashes to them in final pass before
9202 sorting.
9203 (glob_in_dir): If GLOB_MARK set, just allocate the extra char for the
9204 slash; never append it here.
9205
9206 Sat Apr 22 14:48:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9207
9208 * mach/Machrules [interface-library]
9209 (LDFLAGS-$(interface-library:lib%=%.so)): New variable, set to
9210 -nostdlib.
9211
9212 * sysdeps/mach/hurd/fork.c: Subfunction `unlockss' removed. Lock
9213 _hurd_siglock only around initial task creation in parent. Use
9214 _hurd_critical_section_unlock at end. Handle dead name rights
9215 properly, and deal with a send right dying while we try to copy
9216 it. For the time being, use assert_perror for kernel and proc RPC
9217 failures.
9218
9219 Fri Apr 21 01:10:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9220
9221 * extra-lib.mk: Don't include $(o-iterator); construct it by hand
9222 using $(object-suffixes-$(lib)) instead.
9223
9224 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): New variable.
9225
9226 * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS-$(notdir $*).so).
9227 (LDFLAGS-c.so): New variable.
9228
9229 * resolv/res_init.c (res_init): Don't clobber _res.options with
9230 RES_DEFAULT. If RES_INIT is clear, OR in RES_DEFAULT.
9231
9232 * hurd/hurd.h: Declare _hurd_startup.
9233 * hurd/hurdstartup.c: New file.
9234 * hurd/Makefile (routines): Add hurdstartup.
9235
9236 Thu Apr 20 22:23:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9237
9238 * hurd/hurdsig.c: Use assert_perror for many calls which should
9239 never fail and previously were not checked.
9240
9241 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
9242 Point the return address for sigreturn's frame at a "hlt" insn so
9243 it will definitely crash if sigreturn returns.
9244
9245 Wed Apr 19 18:40:11 1995 Brendan Kehoe (brendan@zen.org)
9246
9247 * time/tzset.c (__tzname, __daylight, __timezone): Don't check
9248 HAVE_WEAK_SYMBOLS for doing weak_alias.
9249
9250 Wed Apr 19 18:12:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9251
9252 * configure.in: Move $os tests to set $elf et al earlier, before
9253 construction of $sysnames. Instead of prepending MACHINE/elf to
9254 $sysnames, append &/elf after each elt appended to $mach.
9255
9256 Tue Apr 18 14:00:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9257
9258 * configure.in (libc_cv_asm_global_directive): New check to define
9259 ASM_GLOBAL_DIRECTIVE.
9260 * config.h.in: Add #undef ASM_GLOBAL_DIRECTIVE.
9261 * libc-symbols.h (strong_alias_asm, strong_alias): Use
9262 ASM_GLOBAL_DIRECTIVE on the alias.
9263
9264 * sysdeps/unix/make_errlist.c (main): Don't generate "#ifdef
9265 HAVE_WEAK_SYMBOLS" #defns.
9266
9267 Mon Apr 17 12:02:49 1995 Brendan Kehoe (brendan@zen.org)
9268
9269 * sysdeps/alpha/strlen.c (strlen): Fix cmpbge insn, and returning
9270 of the byte that was zero, so we return a valid number.
9271
9272 Sun Apr 16 03:23:09 1995 Brendan Kehoe (brendan@zen.org)
9273
9274 * sysdeps/unix/bsd/ultrix4/mips/sysdep.h: New file defining
9275 NO_UNDERSCORES then using sysdeps/unix/mips/sysdep.h.
9276
9277 Fri Apr 14 18:49:03 1995 Brendan Kehoe (brendan@zen.org)
9278
9279 * sysdeps/ieee754/mpn2dbl.c (__mpn_construct_double)
9280 [BITS_PER_MP_LIMB == 64]: Refer to `u', not to non-existent `i'.
9281 * sysdeps/ieee754/mpn2ldbl.c (__mpn_construct_long_double)
9282 [BITS_PER_MP_LIMB == 64]: Likewise.
9283
9284 * sysdeps/unix/bsd/osf/alpha/killpg.S (killpg): Add .end directive.
9285 * sysdeps/unix/bsd/osf/alpha/sigblock.S (__sigblock): Likewise.
9286 * sysdeps/unix/bsd/osf/alpha/sigsetmask.S (__sigsetmask): Likewise.
9287 * sysdeps/unix/bsd/osf/alpha/sigpause.S (__sigpause): Likewise.
9288 * sysdeps/unix/bsd/osf/alpha/sigvec.S (__sigvec): Likewise.
9289 * sysdeps/unix/bsd/osf/alpha/getdents.S (__getdirentries): Likewise.
9290 * sysdeps/unix/bsd/osf/alpha/fork.S (__fork): Likewise.
9291 * sysdeps/unix/bsd/osf/alpha/pipe.S (__pipe): Likewise.
9292 * sysdeps/unix/bsd/osf/alpha/recv.S (recv): Likewise.
9293 * sysdeps/unix/bsd/osf/alpha/send.S (send): Likewise.
9294 * sysdeps/unix/bsd/osf/alpha/vhangup.S (vhangup): Likewise.
9295
9296 * sysdeps/unix/mips/brk.S (__brk, __curbrk): Add .end directive.
9297 * sysdeps/unix/mips/fork.S (fork): Likewise.
9298 * sysdeps/unix/mips/pipe.S (fork): Likewise.
9299 * sysdeps/unix/mips/sigreturn.S (__sigreturn): Likewise.
9300 * sysdeps/unix/mips/sysdep.S (sysdep_error): Likewise.
9301 * sysdeps/unix/mips/wait.S (__handler): Likewise.
9302 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
9303 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
9304 * sysdeps/unix/bsd/ultrix4/getsysinfo.S (getsysinfo): Likewise.
9305 * sysdeps/unix/bsd/ultrix4/wait3.S (waitpid): Likewise.
9306 * sysdeps/unix/bsd/ultrix4/waitpid.S (waitpid): Likewise.
9307 * sysdeps/unix/bsd/ultrix4/mips/__handler.S (__handler): Likewise.
9308 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S (__raw_sigvec): Likewise.
9309 * sysdeps/unix/bsd/ultrix4/mips/start.S (__start): Likewise.
9310 * sysdeps/unix/bsd/ultrix4/mips/vfork.S (vfork): Likewise.
9311 * sysdeps/mips/bsd-_setjmp.S (setjmp): Likewise. Use `$0'
9312 instead of `zero' for the li instruction.
9313
9314 * sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be
9315 preprocessor comments, not assembler comments.
9316 * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.
9317 * sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define.
9318
9319 Fri Apr 14 15:53:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9320
9321 * malloc/malloc.c (register_heapinfo) [__GNUC__]: Use __inline__
9322 in place of inline.
9323
9324 Thu Apr 13 09:45:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9325
9326 * Makefile (distribute): Add ChangeLog.[0-9].
9327
9328 * configure.in: Add check for .set directive.
9329 * config.h.in: Add #undef HAVE_ASM_SET_DIRECTIVE.
9330 * libc-symbols.h [! HAVE_ASM_SET_DIRECTIVE] (strong_alias,
9331 strong_alias_asm): Use `foo = bar' syntax instead.
9332
9333 * Makerules [! subdir] (O%-lib): Don't prepend ../.
9334
9335 * sysdeps/generic/expm1.c: #undef expm1 before weak_alias.
9336
9337 * configure.in: Fix AC_ARG_WITH uses; check for --with-fp. Move
9338 $host_os checks to set gnu_ld/as and elf before sysdirs
9339 generation. Fix $with_fp test.
9340 [$elf=yes]: Prepend MACHINE/elf directory.
9341
9342 * elf/libelf.h (elf_hash): Use XOR instead of ANDN when the bits
9343 being cleared are already known to be set. Thanks Ulrich.
9344
9345 Wed Apr 12 23:27:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9346
9347 * posix/environ.c: Add weak alias `_environ'.
9348
9349 Tue Apr 11 20:38:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9350
9351 * sysdeps/i386/add_n.S [PIC]: Use self-call to avoid generating reloc.
9352 * sysdeps/i386/sub_n.S [PIC]: Likewise.
9353
9354 Mon Apr 10 14:53:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9355
9356 * libc-symbols.h (_elf_set_element) [PIC]: Don't make the element
9357 word `const'.
9358
9359 * Makeconfig (CPPFLAGS, CFLAGS): Fix swapped references to
9360 $(foo-$(suffix $@)).
9361
9362 * manual/Makefile (chapters-incl): Filter out summary.texi.
9363
9364 * stdlib/strtod.c (STRTOF): Use extra macro to make STRTOF's #defn
9365 a weak symbol instead of literal "STRTOF".
9366
9367 * locale/setlocale.c: Work around ld bug: don't weakify refs to
9368 _nl_{current,C}_*.
9369
9370 Sun Apr 9 01:24:33 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9371
9372 * Makerules (+depfiles): Translate %.so to %.o in $(extra-objs).
9373
9374 * malloc/free.c [emacs] (__malloc_safe_bcopy): Define to safe_bcopy.
9375 * malloc/realloc.c (__malloc_safe_bcopy): Undefine before defining.
9376
9377 * malloc/free.c (memmove, __malloc_safe_bcopy): Do include these
9378 #ifdef emacs, but only #ifndef memmove.
9379 * malloc/realloc.c [emacs] (__malloc_safe_bcopy): Just #define to
9380 safe_bcopy.
9381 (memmove): Define only if undefined.
9382
9383 Sat Apr 8 00:40:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9384
9385 * extra-lib.mk (install-lib, extra-objs, alltypes-$(lib)): Make
9386 sure these are simply-expanded variables.
9387
9388 * locale/loadlocale.c (_nl_load_locale): Use MAP_INHERIT flag in
9389 mmap call.
9390
9391 * configure.in (os=freebsd*|bsdi*): Set base_os=unix/bsd/bsd4.4
9392 for these too.
9393
9394 * sysdeps/unix/sysv/tcsetattr.c: Use |= instead of = to properly
9395 set c_oflag value.
9396
9397 * Makeconfig [! objpfx] (csu-objpfx): Add trailing slash.
9398
9399 * locale/Makefile (categories): Uncomment collate.
9400 * locale/lc-collate.c: New file.
9401
9402 * malloc/free.c (__malloc_safe_bcopy, memmove): Don't define
9403 #ifdef emacs.
9404 * malloc/realloc.c: Likewise.
9405
9406 * stdio/_itoa.h (_EXTERN_INLINE): Define if undefined.
9407 (_itoa): Use it in defn.
9408 * stdio/_itoa.c (_EXTERN_INLINE): Define to empty before #include
9409 "_itoa.h".
9410 (_itoa): Function removed.
9411
9412 * malloc/free.c: Remove use of `assert'.
9413
9414 * malloc/realloc.c [! emacs] (safe_bcopy): Renamed to
9415 __malloc_safe_bcopy; #define safe_bcopy.
9416 * malloc/free.c: Cope with systems lacking `memmove'.
9417 (_free_internal): Cast result of _malloc_internal.
9418
9419 Wed Apr 5 00:13:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9420
9421 * hurd/hurdinline.c: Include signal.h first, so we don't define
9422 its inlines too.
9423
9424 * sysdeps/unix/sysv/sysv4/sigset.h (__sigfillset): Use ~0L instead
9425 of -1 to avoid compiler warning.
9426
9427 * configure.in (host_os=linux*): Set elf=yes for this, not just
9428 linux*elf*.
9429
9430 * misc/login_tty.c [! TIOCSCTTY]: Try an emulation using ttyname
9431 and open.
9432
9433 * sysdeps/i386/bsd-_setjmp.S: Fix typo in name: setjmp -> _setjmp.
9434
9435 Tue Apr 4 00:48:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9436
9437 * sysdeps/unix/start.c: Remove spurious decl and #endif.
9438
9439 * misc/progname.c (program_invocation_name,
9440 program_invocation_short_name): Make these initialized data
9441 definitions.
9442
9443 * sysdeps/mach/hurd/setitimer.c (fork_itimer): Add self reference
9444 so gcc doesn't optimize out the function entirely.
9445
9446 Sun Apr 2 13:13:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9447
9448 * posix/execvp.c: Don't use stat to search path; just try execv
9449 until it works.
9450
9451 * sysdeps/mach/hurd/i386/trampoline.c: Add a link to
9452 SS->active_resources, so that _hurdsig_longjmp_from_handler will
9453 be called when a longjmp unwinds the signal frame.
9454 * sysdeps/mach/hurd/i386/sigreturn.c: Remove the link on the
9455 SS->active_resources chain added by _hurd_setup_sighandler.
9456 * hurd/sigunwind.c: New file.
9457 * hurd/Makefile (sig): Add sigunwind.
9458
9459 * Makerules (lib%.so: lib%_pic.a): Remove dir name from $*.
9460
9461 * MakeTAGS (tags-sources): Include $(all-dist).
9462 [subdir] (all-dist): Define to $(distribute).
9463
9464 Sat Apr 1 00:08:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9465
9466 * Makerules (lib%.so: lib%_pic.a): Pass -L options for subdir and
9467 parent objdirs.
9468
9469 * extra-lib.mk (object-suffixes-$(lib)): New variable, produced by
9470 filtering out $($(lib)-inhibit-o); use that instead of
9471 $(object-suffixes) in all the other variables.
9472
9473 * locale/loadlocale.c (_nl_load_locale) [MAP_FILE]: Define it zero
9474 if undefined.
9475
9476 * string/strxfrm.c: Just copy the string (for now).
9477 * string/strcoll.c: Just call strcmp (for now).
9478
9479 * mach/Makefile (lock): Add mutex-init.
9480 * mach/mutex-solid.c (_cthread_mutex_lock_routine,
9481 _cthread_mutex_unlock_routine): Variables removed.
9482 (__mutex_lock_solid, __mutex_unlock_solid): Don't use them; just stub.
9483 (__mutex_init): Function moved to new file mutex-init.c.
9484 * mach/mutex-init.c: New file, broken out of mutex-solid.c.
9485
9486 Thu Mar 30 20:43:02 1995 Brendan Kehoe <brendan@zen.org>
9487
9488 * sysdeps/mips/__longjmp.c (__longjmp): Take out CONST.
9489 * sysdeps/alpha/__longjmp.c (__longjmp): Take out const.
9490
9491 Thu Mar 30 01:38:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9492
9493 * elf/elf.h (STN_UNDEF): New macro (distinct from SHN_UNDEF, though
9494 both are zero).
9495
9496 Wed Mar 29 11:26:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9497
9498 * elf/dlfcn.h: New file.
9499
9500 * Make-dist (README): Commit it to CVS if there is a CVS directory.
9501
9502 More changes from Germano Caronni <caronni@tik.ethz.ch>:
9503 * malloc/free.c: Relocate _heapinfo when that allows us to return
9504 core to the system.
9505
9506 * malloc/malloc.c: Move #include <errno.h> outside #ifndef
9507 _MALLOC_INTERNAL.
9508
9509 Mon Mar 27 02:23:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9510
9511 * mach/Makefile (headers): Add mach/mach_traps.h.
9512
9513 * Makerules ($(installed-libcs) rule): Fix typos.
9514
9515 * sysdeps/unix/bsd/bsd4.4/revoke.S: New file.
9516 * sysdeps/stub/revoke.c: New file.
9517 * misc/Makefile (routines): Add revoke.
9518 * posix/unistd.h [__USE_BSD] (revoke): Declare it.
9519 * sysdeps/generic/pty.c (openpty, forkpty): Declare return types.
9520 (forkpty): Declare login_tty.
9521 * misc/logwtmp.c (logwtmp): Declare to return void.
9522 * misc/login_tty.c (login_tty): Include unistd.h. Declare return type.
9523
9524 * posix/unistd.h [__USE_BSD] (ttyslot): Declare it.
9525
9526 * posix/unistd.h [__USE_BSD] (L_SET, L_INCR, L_XTND): Define
9527 unless L_SET already defined.
9528 * misc/sys/file.h (L_SET, L_INCR, L_XTND): Don't define if L_SET
9529 already defined.
9530
9531 Incorporated -lutil library from 4.4-Lite.
9532 * misc/Makefile (extra-libs, libutil-routines): New variables.
9533 * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c,
9534 sysdeps/generic/pty.c: New files for -lutil incorporated from 4.4-Lite.
9535
9536 Support simple, light-weight unwind-protect mechanism for longjmp.
9537 * setjmp/longjmp.c: Call _longjmp_unwind first thing.
9538 * sysdeps/mach/hurd/jmp-unwind.c: New file.
9539 * sysdeps/stub/jmp-unwind.c: New file.
9540 * sysdeps/i386/jmp_buf.h (_JMPBUF_UNWINDS): New macro.
9541 * sysdeps/mips/jmp_buf.h (_JMPBUF_UNWINDS): New macro.
9542 * setjmp/Makefile (routines): Add jmp-unwind.
9543 * hurd/hurd/userlink.h (struct hurd_userlink): Move `next' and
9544 `prevp' members into new substructure `resource'; add another such
9545 substructure `thread' and members `cleanup' (function ptr) and
9546 `cleanup_data' (generic ptr).
9547 (_hurd_userlink_link, _hurd_userlink_unlink): Insert/remove LINK
9548 into the `_hurd_self_sigstate ()->active_resources' list via the
9549 `thread' substructure.
9550 * hurd/hurd/port.h (_hurd_port_cleanup): Declare it.
9551 (_hurd_port_locked_get): Set LINK->cleanup to _hurd_port_cleanup and
9552 LINK->cleanup_data' to the port extracted.
9553 * hurd/hurd/signal.h (struct hurd_sigstate): New member
9554 `active_resources'.
9555 * hurd/port-cleanup.c: New file.
9556 * hurd/Makefile (routines): Add port-cleanup.
9557
9558 * malloc/malloc.c: Include errno.h.
9559
9560 Sat Mar 25 18:24:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9561
9562 * locale/loadlocale.c (_nl_load_locale): Avoid */ inside comment.
9563
9564 Fri Mar 24 02:35:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9565
9566 * misc/Makefile (headers): Add utmp.h.
9567 * misc/utmp.h: New file, incorporated from 4.4-Lite.
9568
9569 * stdio/printf-parse.h: New file, mostly written by drepper.
9570 * stdio/vfprintf.c: Rewritten, mostly by drepper.
9571 * stdio/printf-prs.c: Rewritten.
9572 * stdio/Makefile (distribute): Add printf-parse.h.
9573
9574 Thu Mar 23 22:03:44 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9575
9576 * sysdeps/unix/start.c [! NO_UNDERSCORES]: Don't declare _start
9577 with asm name. Just do a ".set start, __start".
9578
9579 * malloc/realloc.c: Call _free_internal instead of free.
9580
9581 Tue Mar 21 00:14:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9582
9583 * locale/loadlocale.c (_nl_load_locale): If LOCALE/LC_* is a
9584 directory, open LOCALE/LC_*/SYS_LC_* instead.
9585
9586 Mon Mar 20 03:19:23 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9587
9588 * stdio/fpioconst.c, stdio/fpioconst.h, stdio/gmp-impl.h,
9589 stdio/gmp.h, stdio/longlong.h, stdio/mp_clz_tab.c,
9590 stdio/gen-mpn-copy: Files moved to stdlib.
9591 * stdio/Makefile: All mpn stuff moved to stdlib/Makefile.
9592 * stdlib/Makefile: All the mpn stuff moved here from stdio/Makefile.
9593 * stdio/printf_fp.c: Use ../stdlib to find fpioconst.h and gmp
9594 headers.
9595 * stdlib/strtod.c: Don't use ../stdio to find fpioconst.h and gmp
9596 headers.
9597
9598 * Makefile (parent-mostlyclean): Don't use $(libc.a).
9599 (parent-clean): Use $(objpfx) to find sysd-*.
9600 * Rules (generated): Append dummy.o dummy.c.
9601 * Makerules (lib): Depend on lib-noranlib.
9602 (lib-noranlib): Depend on $(install-lib) in objdir.
9603 (common-mostlyclean): Remove $(install-lib) and stub-$(subdir)
9604 from objdir. Don't remove TAGS; it comes in the distribution.
9605
9606 * malloc/malloc.c (morecore): Save errno around call to
9607 _realloc_internal. Don't account for the additional new blocks of
9608 the info table itself when choosing the new table size for the
9609 first crack; if it succeeds, the new blocks will have been found
9610 in existing free space already described by the existing info
9611 table.
9612
9613 * stdio/vfscanf.c (%n): Use READ_IN - 1, so as not to count the
9614 read-ahead character.
9615
9616 Sat Mar 18 14:07:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9617
9618 * hurd/dtable.c, hurd/getdport.c, hurd/hurd.h, hurd/hurdexec.c,
9619 hurd/hurdinit.c, hurd/hurdprio.c, hurd/hurdsock.c,
9620 hurd/ports-get.c, hurd/ports-set.c, hurd/setauth.c,
9621 hurd/setuids.c, sysdeps/mach/hurd/i386/trampoline.c:
9622 Get anal with unsigned to pacify compiler.
9623
9624 * stdio/vfscanf.c: Grok positional parameter specs (i.e. %3$d
9625 means %d from 3rd arg).
9626
9627 * sysdeps/mach/hurd/closedir.c: Include hurd/fd.h.
9628
9629 * stdlib/strtol.c: If !GROUP, set END to null. In loop, test only
9630 END, not GROUP.
9631
9632 Fri Mar 17 12:58:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9633
9634 * Makefile (subdirs): Put elf last.
9635
9636 * sunrpc/Makefile (install-lib): Variable removed.
9637 (rpcsvc-objs): Variable removed.
9638 (extra-objs): Don't include $(rpcsvc-objs).
9639 (extra-libs): New variable, contains librpcsvc.
9640 (librpcsvc-routines): New variable.
9641 (librpcsvc-inhibit-o): New variable, contains .so.
9642 (omit-deps): Set this to $(librpcsvc-routines).
9643 ($(objpfx)rpcgen): Don't use $(libc.a).
9644 (lib, $(objpfx)librpcsvc.a): Targets removed.
9645
9646 * o-iterator.mk, extra-lib.mk: New files.
9647 * Makerules (o-iterator): New variable.
9648 [extra-libs]: Include extra-lib.mk to generate rules for each word
9649 of $(extra-libs).
9650 * Makefile (distribute): Add extra-lib.mk, o-iterator.mk.
9651
9652 Fri Mar 17 13:28:04 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
9653
9654 * sysdeps/ieee754/ldbl2mpn.c (__mpn_extract_long_double):
9655 Handle 80-bit denormalized numbers correctly.
9656
9657 * stdlib/strtod.c, stdlib/strtof.c, stdlib/strtold.c:
9658 (IMPLICIT_ONE, *_MAX_10_EXP_LOG): Macros removed; no longer needed.
9659 * stdlib/strtod.c (RETURN): Add parentheses around return value.
9660 (round_and_return): Correct handling of denormalized numbers.
9661
9662 * stdio/fpioconst.c, stdio/fpioconst.h: Don't use
9663 LDBL_MAX_10_EXP_LOG; LAST_POW10 defines the maximal available
9664 exponent.
9665
9666 Thu Mar 16 00:04:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9667
9668 * locale/C-ctype.c: New correct data generated by drepper.
9669
9670 * Rules: Don't use $(libc.a).
9671
9672 Parsing of grouped numbers contributed by Ulrich Drepper.
9673 * stdlib/strtol.c (__strtol_internal): Renamed from strtol. Take
9674 new flag arg; if nonzero, parse locale-dependent thousands
9675 grouping and interpret only the prefix that is correctly grouped.
9676 (strtol): Define this to call _strtol_internal with zero for the flag.
9677 Use a weak symbol for the definition.
9678 * stdlib/strtod.c (strtod, __strtod_internal): Likewise.
9679 Check for the exponent of the number overflowing the float format.
9680 * stdlib/stdlib.h (__strtof, __strtold): Declarations removed.
9681 (__strto{f,d,ld,l,ul,q,uq}_internal): Declare these functions.
9682 [__OPTIMIZE__]: Define inline functions calling those.
9683 * stdlib/strtold.c (STRTOF): Set to strtold, not __strtold.
9684 (strtold): Remove weak alias.
9685 * stdlib/strtof.c (STRTOF): Set to strtof, not __strtof.
9686 (strtof): Remove weak alias.
9687 * stdlib/grouping.h: New file, written by drepper.
9688 * stdlib/Makefile (distribute): Add grouping.h.
9689 * stdio/vfscanf.c: Grok %' modifier to numeric conversions. Call
9690 __strtoX_internal with the grouping flag set iff the modifier is
9691 present.
9692
9693 Wed Mar 15 00:40:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9694
9695 * sysdeps/generic/memchr.c: Fix typos: limit.h -> limits.h.
9696
9697 * mach/Machrules: Produce static deps for all object flavors.
9698 [interface-library]: Remove all these variables and rules.
9699 ($(interface-library)-routines): Define this variable.
9700 (extra-libs): Append $(interface-library) to this.
9701 * mach/Makefile (interface-library): Omit .a suffix.
9702 * hurd/Makefile: Likewise.
9703
9704 Tue Mar 14 23:40:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9705
9706 * stdio/internals.c (flushbuf): If !FLUSH_ONLY, don't skip out
9707 early if no new data in buffer after priming.
9708
9709 Mon Mar 13 01:48:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9710
9711 * Makerules (object-suffixes, libtypes): Move all these variables
9712 to Makeconfig.
9713 * Makeconfig (object-suffixes, libtypes): Moved here from Makerules.
9714
9715 * Makerules (build-extra-lib): New canned sequence.
9716
9717 * sysdeps/mach/hurd/euidaccess.c: Include fcntl.h. Declare ERR;
9718 fix uses of FILE and PORT. Remove bogus weak alias for `access'.
9719
9720 * sysdeps/mach/hurd/dirfd.c: Include hurd/fd.h and errno.h.
9721 Add missing semicolon.
9722 * sysdeps/mach/hurd/opendir.c: Include hurd/fd.h. Use a `struct
9723 hurd_fd *' temp var, since DIRP->__fd is a `void *'.
9724 * sysdeps/mach/hurd/readdir.c: Include hurd/fd.h.
9725
9726 * stdlib/wcstombs.c: #if 0 out code for non-ASCII chars until the
9727 locale data format is implemented.
9728
9729 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
9730 Pass &__sigreturn on the stack to the trampoline code, so it is
9731 not position-dependent.
9732
9733 * stdio/printf_fp.c (NDEBUG): Define this to disable assert.
9734 Don't include <stdarg.h>.
9735 (__printf_fp): Last arg ARGS is now `const void **const';
9736 dereference ARGS[0] instead of using va_arg.
9737
9738 * locale/setlocale.c: In LC_ALL case, initialize CATEGORY before
9739 loop to install data.
9740
9741 * locale/loadlocale.c (_nl_category_num_items): Use _NL_ITEM_INDEX
9742 to extract number from item code.
9743 (_nl_load_locale): Close the descriptor when finished.
9744
9745 * malloc/realloc.c (_realloc_internal): Call _malloc_internal in
9746 place of malloc.
9747
9748 * time/tzfile.c (__tzfile_default): Initialize RULE_STDOFF to zero.
9749
9750 * stdio/printf_fp.c (group_number): Cast *GROUPING to unsigned int
9751 to avoid warning.
9752 * sysdeps/generic/sigset.h (__SIGSETFN): Cast result of sizeof to
9753 int to avoid warning.
9754
9755 Support building several flavors of objects and libraries.
9756 * Makerules (libtypes, object-suffixes): New variables.
9757 (libtype.*, CFLAGS-*, CPPFLAGS-*): New variables for each object
9758 suffix.
9759 (CFLAGS, CPPFLAGS): Append $(C{,CPP}FLAGS-$(suffix $@)).
9760 (%.so, %.po, %.go): New compilation rules for %.S, %.s, %.c.
9761 (close-check-inhibit-asm): Append a semicolon.
9762 (sysd-rules): Generate rules for each object suffix.
9763 (compile.S, compile.c): Always assume gcc.
9764 (OUTPUT_OPTION): Define unconditionally.
9765 (+make-deps): In generated rule, produce a dependent for each
9766 object suffix.
9767 (.SUFFIXES): Add $(object-suffixes) in place of .o.
9768 (.PRECIOUS): Make all suffix flavors precious.
9769 ($(libc.a)): Target removed.
9770 (lib): Depend on each enabled libtype.
9771 (libobjs, objects, objs): Depend on all the enabled object flavors.
9772 (lib%.a): New pattern rule.
9773 [$(build-shared)=yes] (lib%.so: lib%_pic.a): New pattern rule.
9774 (stamp-$(subdir)): Rewritten to a pattern rule for stamp.%-$(subdir)
9775 to make one for each flavor; library dep rule likewise rewritten.
9776 ($(libc.a)(__.SYMDEF)): Target replaced with one target for each
9777 flavor.
9778 (symdef.%): New pattern rule; helper for __.SYMDEF targets.
9779 (installed-libcs): New variable.
9780 (install): Depend on that instead of
9781 $(libdir)/lib$(libprefix)$(libc-name).a;
9782 that file's rule rewritten to make each enabled libtype.
9783 (install-lib.so): New variable, filters lib%.so from $(install-lib).
9784 (install-lib): Filter out lib%.so after setting install-lib.so.
9785 [$(build-shared)=yes] (install): Install $(install-lib.so).
9786 (common-mostlyclean): Remove all flavors of objects.
9787 * Makefile ($(libc.a)(__.SYMDEF)): Target removed.
9788 [$(build-shared)=yes] (lib): Depend on $(common-objpfx)libc.so.
9789
9790 Sun Mar 12 18:21:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9791
9792 * sysdeps/stub/ulimit.c: Don't include gnu-stabs.h.
9793 * sysdeps/stub/pause.c: Likewise.
9794 * sysdeps/stub/time.c: Likewise.
9795
9796 * stdlib/mbtowc.c: #if 0 out code for non-ASCII chars until the
9797 locale data format is implemented.
9798 * stdlib/wctomb.c: Likewise.
9799
9800 * mach/Makefile ($(objpfx)errsystems.c): Reenable this rule; the
9801 gcc bug is fixed.
9802 * mach/errsystems.c: File removed.
9803
9804 * Makeconfig (libc.a): Variable removed.
9805 (+link): Don't use it.
9806
9807 * configure.in (AC_ARG_ENABLE calls): Use $enableval instead of
9808 assuming `yes'.
9809
9810 * malloc/malloc.h (_malloc_internal, _realloc_internal): Declare these.
9811 * malloc/realloc.c (_realloc_internal): Renamed from realloc;
9812 don't use __realloc_hook.
9813 (realloc): New function; call __realloc_hook ?: _realloc_internal.
9814 * malloc/malloc.c (_malloc_internal): Renamed from malloc;
9815 don't use __malloc_hook.
9816 (malloc): New function; call __malloc_hook ?: _malloc_internal.
9817 Changes from Germano Caronni <caronni@tik.ethz.ch>:
9818 (initialize): Set up _heaplimit to cover the _heapinfo table.
9819 (morecore_recursing): New static variable.
9820 (morecore): If that is set, return null immediately.
9821 When growing the info table, before getting new core from the
9822 system for it, set morecore_recursing and try moving _heapinfo
9823 with _realloc_internal. When that fails and we get new core, set
9824 _heaplimit to cover the core for the new _heapinfo table.
9825 (register_heapinfo): New function. Record the _heapinfo table's
9826 own blocks in that table and in the statistics variables.
9827 (initialize, _malloc_internal): Use it after allocating new table.
9828
9829 Fri Mar 10 22:26:28 1995 Jim Meyering (meyering@comco.com)
9830
9831 * sysdeps/generic/memchr.c: Remove ansidecl.h and clean up for use
9832 by other packages.
9833 [LONG_MAX <= LONG_MAX_32_BITS]: Don't compile 64-bit code.
9834
9835 Fri Mar 10 13:31:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9836
9837 * mach/errorlib.h (errors): Use const for decl.
9838
9839 * time/tzfile.c (uc2ul, _uc2ul): Macros removed.
9840 (decode): New inline function; decode signed 32-bit integers, and
9841 sign-extend properly when long is longer than 32 bits.
9842 (__tzfile_read): Changed all uses of uc2ul to decode.
9843 Decode the transition times properly when sizeof (time_t) > 4.
9844
9845 * stdio/printf.h: Doc fixes. Don't #include <stddef.h>.
9846 (printf_function): Make last arg ARGS a vector of pointers instead of a
9847 pointer to va_list.
9848
9849 Fri Mar 10 13:46:25 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
9850
9851 * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Use return value of _IO_padn.
9852 (buffered_vfprintf): Remove line buffer when flush failed.
9853
9854 Fri Mar 10 00:04:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9855
9856 * time/tzfile.c (struct ttinfo): New member `isgmt'.
9857 (__tzfile_read): Read isgmt flags for each type.
9858 (__tzfile_default): When using TZDEFRULES DST rules, adjust
9859 transition times according to the isstd and isgmt flags for the
9860 types of each transition, and adjust each transition to point to
9861 type index either 0 or 1. Reset type indices 0 and 1 to describe
9862 the user's settings.
9863
9864 Thu Mar 9 22:29:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9865
9866 * locale/categories.def (LC_CTYPE): Merge CLASS_EB and CLASS_EL
9867 into just CLASS. Add standard/optional flag to all items.
9868
9869 * locale/localeinfo.h (_NL_CURRENT_DEFINE): Fix typo.
9870
9871 * ctype/ctype.h [__BYTE_ORDER == __LITTLE_ENDIAN] (_ISbit):
9872 Rearrange defn to satisfy compiler.
9873
9874 * locale/localeinfo.h: Declare _nl_current.
9875
9876 * configure.in: Use AC_CHECK_TOOL for CC, AR, RANLIB. Accept args
9877 --enable-shared, --enable-profile, --enable-omitfp; pass settings
9878 through to config.make.
9879 * config.make.in (build-shared, build-profile, build-omitfp): New
9880 config vars.
9881
9882 * elf/elf.h (STN_UNDEF): Renamed to SHN_UNDEF (typo).
9883 (DT_NUM): New macro.
9884
9885 * locale/nl_langinfo.c: Include errno.h and stddef.h. Fix typos.
9886
9887 * locale/lc-ctype.c (_nl_postload_ctype): Fix macro insanity.
9888
9889 * locale/loadlocale.c (_nl_load_locale) [! MAP_COPY]: Define
9890 MAP_COPY to MAP_PRIVATE.
9891
9892 Thu Mar 9 17:16:53 1995 Brendan Kehoe (brendan@zen.org)
9893
9894 * sysdeps/alpha/divrem.m4: Undefine `ret' to avoid the definition
9895 that's used inside the alpha sysdep.h.
9896
9897 * sysdeps/alpha/__longjmp.c (__longjmp): Remove obsolete __NORETURN
9898 keyword.
9899 * sysdeps/alpha/__math.h (__copysign): Remove obsolete __CONSTVALUE.
9900
9901 * configure.in: Match `osf*', not `osf1*'.
9902 * configure: Likewise.
9903 * sysdeps/unix/bsd/osf: Renamed from `sysdeps/unix/bsd/osf1'.
9904
9905 Wed Mar 8 13:38:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9906
9907 * posix/glob/configure.bat: Fixes from DJ.
9908
9909 * time/backward, time/europe, time/northamerica, time/pacificnew,
9910 time/zdump.c, time/zic.c, time/tzfile.h, time/private.h,
9911 time/ialloc.c: Code and data updated from ADO's 95b.
9912 * time/emkdir.c: File removed.
9913 * time/Makefile (distribute, extra-objs, zic): Omit it.
9914
9915 * time/localtime.c: Deansideclized. Never #define __tzname et al
9916 to non-__ names.
9917
9918 * locale/lc-ctype.c (__ctype_tolower, __ctype_toupper): Use int *
9919 instead of short int *.
9920 * ctype/ctype-info.c: Likewise.
9921 * ctype/ctype.h: Likewise.
9922
9923 * locale/langinfo.h (_NL_CTYPE_CLASS): Use this (just one) instead
9924 of EB and EL versions.
9925
9926 Mon Mar 6 12:34:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9927
9928 * ctype/ctype.h (_ISbit): New macro, defined dependent on byte order.
9929 (_IS* enum): Use _ISbit to produce values.
9930
9931 Sun Mar 5 19:40:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9932
9933 * locale/localeinfo.h: Rewritten for new locale system, using
9934 locale data files and with <langinfo.h> interface.
9935 * locale/setlocale.c: Rewritten to use locale data files.
9936 * langinfo.h: New file.
9937 * locale/langinfo.h: New file.
9938 * locale/nl_langinfo.c: New file.
9939 * locale/loadlocale.c: New file.
9940 * locale/lc-ctype.c: New file.
9941 * locale/lc-messages.c: New file.
9942 * locale/lc-monetary.c: New file.
9943 * locale/lc-numeric.c: New file.
9944 * locale/lc-time.c: New file.
9945 * locale/categories.def: New file.
9946 * locale/Makefile (headers): Remove localeinfo.h.
9947 (distribute): New variable; put localeinfo.h here, and categories.def.
9948 (routines): Add loadlocale.
9949 (categories): New variable.
9950 (aux): Use that to get C-category and lc-category.
9951 * ctype/ctype.h (_IS*): Use independent bits for all but _ISalnum.
9952 * ctype/ctype-info.c: For initial tables, use
9953 _nl_C_LC_CTYPE_{class,toupper,tolower} constant tables defined in
9954 locale/C-ctype.c.
9955 * locale/C-ctype.c, locale/C-messages.c: New files.
9956 * locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c:
9957 Default "C" locale data updated for new locale system.
9958 * locale/C-collate.c: File removed.
9959 * locale/C-ctype_ct.c: File removed.
9960 * locale/C-ctype_mb.c: File removed.
9961 * locale/C-response.c: File removed.
9962 * locale/localeconv.c: Use _NL_CURRENT macro to access locale data.
9963 * stdio/printf_fp.c, stdio/vfprintf.c, stdio/vfscanf.c,
9964 stdlib/strtod.c, time/asctime.c, time/strftime.c:
9965 Include ../locale/localeinfo.h and use _NL_CURRENT macro to access
9966 locale data.
9967 * time/localtime.c: Don't include <localeinfo.h>.
9968 * time/tzset.c: Don't use locale items for default TZ value or
9969 "GMT" string (use "UTC").
9970
9971 * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Only call the function if
9972 WIDTH>0; update DONE.
9973
9974 * malloc/malloc.c (morecore): Fix last change to calculate by
9975 blocks instead of bytes.
9976
9977 Fri Mar 3 12:24:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9978
9979 * sysdeps/generic/sys/mman.h (__mmap, __munmap): Declare these.
9980 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
9981 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
9982 * sysdeps/unix/bsd/osf1/sys/mman.h: Likewise.
9983 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
9984 * sysdeps/stub/munmap.c (munmap): Rename to __munmap, add weak
9985 alias munmap.
9986 * sysdeps/unix/mman/munmap.S: Likewise.
9987 * sysdeps/mach/munmap.c: Likewise.
9988 * sysdeps/mach/hurd/mmap.c (mmap): Rename to __mmap, add weak
9989 alias mmap.
9990 * sysdeps/unix/mman/mmap.S: Likewise.
9991 * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
9992 * sysdeps/stub/mmap.c: Likewise.
9993
9994 * sysdeps/unix/bsd/setsid.c: Use __getpgid instead of __getpgrp.
9995
9996 * sysdeps/unix/dirfd.c: #undef dirfd before function defn.
9997
9998 Thu Mar 2 12:15:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9999
10000 * misc/search.h: Add missing semicolon.
10001
10002 * sysdeps/unix/dirfd.c: Fix typo.
10003
10004 * sysdeps/generic/sys/mman.h (mmap): Use __off_t instead of off_t
10005 in decl.
10006
10007 * stdio/vfscanf.c (%c): In no-assign case, fix loop to decrement
10008 WIDTH before test.
10009
10010 Wed Mar 1 00:57:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10011
10012 * stdlib/strtod.c: Fixes from drepper.
10013 [IMPLICIT_ONE]: New macro, one for IEEE754 formats.
10014 * stdlib/strtold.c [IMPLICIT_ONE]: New macro, 0.
10015 * stdlib/strtof.c [IMPLICIT_ONE]: New macro, 1.
10016
10017 * stdio/vfprintf.c: Correctly notice Z modifier.
10018
10019 * misc/search.h: New file.
10020 * misc/Makefile (headers): Add search.h.
10021 * misc/insremque.c: Include search.h.
10022 (struct qelem): Type removed.
10023
10024 Mon Feb 27 07:00:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10025
10026 * elf/libelf.h: New file.
10027 * elf/elf_hash.c: New file.
10028
10029 Sun Feb 26 15:51:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10030
10031 Changes from Germano Caronni <caronni@tik.ethz.ch>:
10032 * malloc/malloc.c (morecore): Account in NEWSIZE for the
10033 malloc_info structures for each new block.
10034
10035 Sat Feb 25 02:17:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10036
10037 * sysdeps/mach/hurd/kill.c: When the process has no message port
10038 registered and we have its task port, translate a few signals to
10039 task_suspend/task_resume/task_terminate.
10040
10041 Fri Feb 24 14:40:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10042
10043 * io/Makefile (routines): Add euidaccess.
10044 * sysdeps/mach/hurd/euidaccess.c: New file.
10045 * sysdeps/stub/euidaccess.c: New file.
10046 * posix/unistd.h [__USE_GNU] (euidaccess): Declare it.
10047
10048 * dirent/Makefile (routines): Add dirfd.
10049 * sysdeps/stub/dirfd.c: New file.
10050 * sysdeps/unix/dirfd.c: New file.
10051 * sysdeps/unix/dirstream.h (_DIR_dirfd): New macro.
10052 * dirent/dirent.h (dirfd): Declare new function. Define as macro
10053 _DIR_dirfd if that is defined.
10054 * sysdeps/mach/hurd/dirstream.h (DIR): Replace `__port' member
10055 with `void *__fd'.
10056 * sysdeps/mach/hurd/opendir.c: Use DIRP->__fd instead of DIRP->__port.
10057 Open the file with `open'; set FD_CLOEXEC on the fd.
10058 * sysdeps/mach/hurd/closedir.c: Likewise.
10059 * sysdeps/mach/hurd/readdir.c: Likewise.
10060 * sysdeps/mach/hurd/dirfd.c: New file.
10061
10062 * posix/Makefile (glob/configure): Do cvs commit if there is a CVS
10063 directory.
10064 (glob/ChangeLog): Likewise.
10065
10066 * locale/locale.h (LC_*): Use small integers instead of bit masks.
10067
10068 * stdio/bug4.c: Put temporary files in /tmp.
10069 * stdio/bug3.c: Likewise.
10070 * stdio/bug5.c: Likewise.
10071 * stdio/test-fseek.c: Likewise.
10072 * stdio/test-popen.c: Likewise.
10073
10074 Wed Feb 22 00:44:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10075
10076 * posix/glob/configure.in: Put AC_ISC_POSIX before AC_CONST.
10077
10078 * libc-symbols.h (weak_symbol): New macro.
10079
10080 * hurd/hurdsig.c (_hurd_internal_post_signal): Ignore preempter
10081 elts with null handlers.
10082
10083 * sysdeps/mach/hurd/i386/sigreturn.c: Restore the FPU state.
10084
10085 Tue Feb 21 21:53:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10086
10087 * stdlib/random.c (__srandom): Change algorithm used to populate
10088 the state array.
10089 (randtbl): Recomputed with new algorithm.
10090
10091 * sysdeps/sparc/Makefile [subdir=crypt] (crypt): Reset only if set
10092 to original value of `crypt'.
10093 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile [subdir=crypt]
10094 (crypt): New variable, set to crypt.solar.
10095
10096 Tue Feb 21 11:50:37 1995 Brendan Kehoe (brendan@zen.org)
10097
10098 * sysdeps/sparc/Makefile (routines): Reference `dotmul', not `mul'.
10099
10100 * config.h.in: Put comment around ^L to pacify Solaris as here too.
10101
10102 Tue Feb 21 00:10:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10103
10104 * string/Makefile (distribute): Add pagecopy.h.
10105 * sysdeps/mach/pagecopy.h: New file.
10106 * sysdeps/generic/pagecopy.h: New file.
10107 * sysdeps/generic/memcpy.c: Include pagecopy.h; call
10108 PAGE_COPY_FWD_MAYBE first when word aligned.
10109 * sysdeps/generic/memmove.c: Likewise.
10110
10111 * misc/bsd-compat.c (longjmp, setjmp): Functions removed.
10112 (getpgrp): Call __getpgid instead of __getpgrp.
10113
10114 * Makefile (subdirs): Add elf first.
10115 * elf/Makefile: New file.
10116 * elf/elf.h: New file.
10117
10118 * sysdeps/unix/start.c (errno): Only define if it's not #define'd
10119 as a macro.
10120 [! NO_UNDERSCORES]: Define `start' as a weak alias, not a symbol
10121 indirection.
10122
10123 * csu/Makefile (crtstuff): New variable consolidates crti, crtn;
10124 add crti_s, crtn_s.
10125 (install-lib, extra-objs, generated-, omit-deps): Use that.
10126 (initfini): New canned sequence, broken out of crt[in].s rule.
10127 (crt[in].s rule): Use it.
10128 (crt[in]_s.s): New rule.
10129 * csu/initfini.c (GLOBAL): New macro; define it to empty if undefined.
10130 (_init, _fini): Use GLOBAL as storage class.
10131 Add self reference to avoid GCC optimizing out the functions.
10132
10133 * Makefile (headers): Remove $(stddef.h).
10134 * Makeconfig (stddef.h): Variable removed; now require gcc version
10135 >= 2.2.
10136 * stddef.h: File removed.
10137
10138 Mon Feb 20 19:42:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10139
10140 * sysdeps/unix/bsd/ultrix4/mips/start.S: Remove `__environ'
10141 definition.
10142 * sysdeps/unix/bsd/osf1/alpha/start.S: Likewise.
10143
10144 * stdlib/strtod.c: Allow the string to start with a decimal point
10145 without a leading zero.
10146
10147 Mon Feb 20 04:04:57 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
10148
10149 * Makefile (subdirs): Put csu first.
10150
10151 * sysdeps/mach/hurd/start.c: Include unistd.h for __environ decl.
10152
10153 * Makeconfig [elf=yes] (+preinit, +postinit): New variables, set
10154 to crt[in].o.
10155 (csu-objpfx): New variable.
10156 (+link): Use it to find start.o and $(+preinit), $(+postinit).
10157
10158 * Rules (subdir_lib, all): Depend on objs.
10159
10160 * config.h.in [HAVE_ELF || HAVE_GNU_LD]: Define HAVE_WEAK_SYMBOLS.
10161
10162 * stdlib/strtod.c (PASTE, PASTE1): New helper macros; use these in
10163 access to float.h macros.
10164
10165 * misc/efgcvt.c: New file.
10166 * misc/Makefile (routines): Add efgcvt.
10167
10168 Sun Feb 19 20:10:43 1995 Brendan Kehoe <brendan@zen.org>
10169
10170 * sysdeps/sparc/mul.S: Renamed to `dotmul.S'.
10171 * sysdeps/sparc/Makefile (routines): Reference `dotmul.S', not `mul.S',
10172 to avoid a misreference that would override sysdeps/generic/mul.c.
10173 * sysdeps/sparc/Dist: Likewise.
10174
10175 Sun Feb 19 17:46:13 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
10176
10177 * posix/Makefile (aux): Add environ.
10178 * posix/environ.c: New file.
10179 * sysdeps/unix/sparc/start.c: Remove __environ definition.
10180 * sysdeps/unix/start.c: Likewise.
10181 * sysdeps/unix/sysv/irix4/start.c: Likewise.
10182 * sysdeps/mach/hurd/start.c: Likewise.
10183 * sysdeps/mach/start.c: Likewise.
10184 * sysdeps/stub/start.c: Likewise.
10185
10186 * sysdeps/unix/make_errlist.c: In produced program, test
10187 HAVE_WEAK_SYMBOLS instead of HAVE_GNU_LD.
10188 * sysdeps/unix/sysv/sysv4/dup2.c: Fix #include of renamed file.
10189 Remove extra weak alias.
10190
10191 * sysdeps/unix/sysv/sysv4/sigaltstack.S: Fix unsquashed file name
10192 in #include.
10193
10194 * libc-symbols.h: Put comment around ^L to pacify Solaris as.
10195
10196 * sysdeps/posix/Makefile (cded-objdir-includes): New variable
10197 replaced cded-objdir-CPPFLAGS; transform $(+includes) instead of
10198 $(CPPFLAGS).
10199 (mk-stdiolim): Use it instead.
10200
10201 Fri Feb 17 12:16:27 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
10202
10203 * mach/mach_init.c (__vm_page_size): Make it initialized. It does
10204 not work to make a weak alias to a bss symbol.
10205
10206 * stdio/Makefile (distribute): Remove mpn-copy.mk; add gen-mpn-copy.
10207 (tests): Add test-fwrite.
10208 * stdio/test-fwrite.c: New file.
10209
10210 * stdlib/stdlib.h [__USE_GNU]: Declare strtof, strtold, __strtof,
10211 __strtold.
10212
10213 * Makefile (autoconf-it): New canned sequence. Do cvs commit if
10214 there is a CVS directory.
10215 (configure, %/configure): Use $(autoconf-it) for cmds.
10216 * Make-dist: Likewise.
10217 * sysdeps/mach/hurd/Makefile (errlist.c, errnos.h): Do cvs commit
10218 if there is a CVS directory.
10219 * sysdeps/sparc/Makefile (divrem output): Likewise.
10220 * sysdeps/alpha/Makefile (divrem output): Likewise.
10221 * Makerules ($(gpl2lgpl)): Likewise.
10222
10223 * Makerules (rule to install lib%.a from $(install-lib)): Fix
10224 patsubst to elide ranlib for $(non-lib.a).
10225
10226 * stdio/tst-printf.c: Enable FP tests. Add some new tests from rfg.
10227
10228 Thu Feb 16 04:06:06 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
10229
10230 * sysdeps/mach/hurd/mig-reply.c: Add weak aliases to non-__ names.
10231 * mach/mig-dealloc.c: Add weak alias mig_deallocate.
10232
10233 Wed Feb 15 13:34:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10234
10235 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Take new arg
10236 DEALLOC_REFPORT; deallocate the refport after use only if it
10237 evaluates to nonzero.
10238 * sysdeps/mach/hurd/kill.c: Pass DEALLOC_REFPORT arg of one.
10239 * hurd/hurdkill.c: Pass DEALLOC_REFPORT arg of zero.
10240
10241 * hurd/hurdsig.c (abort_rpcs): Take new arg int *STATE_CHANGE; set
10242 *STATE_CHANGE to indicate whether or not we changed *STATE and it
10243 should be committed to the thread.
10244 (abort_all_rpcs): Take new arg LIVE; if nonzero and abort_rpcs changes
10245 state for a thread, do thread_set_state on that thread. Don't use
10246 SS->intr_port for collecting reply ports, it is not safe to
10247 clobber that when suspending; instead, alloca a temporary array.
10248 (_hurd_internal_post_signal): Pass LIVE flag to abort_all_rpcs:
10249 zero when dying, one when suspending. Pass new arg to abort_rpcs.
10250
10251 * sysdeps/mach/hurd/stdio_init.c: Don't lock the file descriptor;
10252 HURD_FD_PORT_USE will. Don't use critical sections around
10253 HURD_FD_PORT_USE invocations.
10254
10255 * sysdeps/mach/hurd/stdio_init.c: Don't make pipes/FIFOs unbuffered.
10256 * sysdeps/posix/stdio_init.c: Likewise.
10257
10258 Tue Feb 14 03:01:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10259
10260 * hurd/hurd/fd.h (_hurd_fd_get): Don't do critical section
10261 locking; don't leave the descriptor locked on return.
10262 (HURD_FD_PORT_USE): Don't expect _hurd_fd_get to return the fd locked.
10263 Use a critical section around locking the descriptor.
10264 Check for an empty descriptor and return EBADF.
10265 * sysdeps/mach/hurd/dup2.c: Likewise.
10266 * sysdeps/mach/hurd/fcntl.c: Likewise.
10267 Use HURD_FD_PORT_USE macro for RPCs.
10268 * sysdeps/mach/hurd/sysd-stdio.c: Don't lock the descriptor before
10269 using HURD_FD_PORT_USE.
10270 * sysdeps/mach/hurd/defs.c (init_stdio): Don't expect _hurd_fd_get
10271 to lock the descriptor.
10272 * sysdeps/mach/hurd/stdio_init.c: Use critical sections while
10273 locking the descriptor.
10274 * sysdeps/mach/hurd/fdopen.c: Likewise.
10275 * hurd/fd-close.c: Likewise.
10276 Don't expect the descriptor to be locked on entry.
10277 Check for empty descriptor and return EBADF.
10278
10279 Factor ctty RPC code for SIGTTIN/SIGTTOU generation out into
10280 new functions _hurd_ctty_input and _hurd_ctty_output, each
10281 called with (io_t port, io_t ctty, error_t (*rpc) (io_t)).
10282 * hurd/ctty-input.c: New file.
10283 * hurd/ctty-output.c: New file.
10284 * hurd/Makefile (dtable): Add ctty-input and ctty-output.
10285 * hurd/fd-read.c: Use _hurd_ctty_input.
10286 * hurd/fd-write.c: Use _hurd_ctty_output.
10287 * sysdeps/mach/hurd/ioctl.c: Likewise.
10288 * hurd/hurd/fd.h (_hurd_ctty_input, _hurd_ctty_output): Declare them.
10289
10290 Mon Feb 13 11:36:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10291
10292 * stdio/vfscanf.c (%e, %f, %g): Use strtod, __strtold, or __strtof
10293 as appropriate to the type.
10294
10295 * sysdeps/ieee754/huge_val.h (__huge_val_t): New macro to avoid
10296 repeating the union.
10297 (HUGE_VAL, __huge_val): Use it.
10298 [__USE_GNU] (HUGE_VALf, HUGE_VALl): New macros, along with
10299 analogous macros to HUGE_VAL's: __huge_val[fl]_t, __HUGE_VAL[fl]_bytes.
10300 * stdlib/strtold.c (FLOAT_HUGE_VAL): Define this to HUGE_VALl.
10301 (STRTOF): Set to __strtold; define strtold as weak alias.
10302 * stdlib/strtof.c (FLOAT_HUGE_VAL): Define this to HUGE_VALf.
10303 (STRTOF): Set to __strtof; define strtof as weak alias.
10304
10305 * sysdeps/ieee754/ieee754.h (union ieee754_float): New type.
10306 (IEEE754_FLOAT_BIAS): New macro.
10307
10308 * sysdeps/ieee754/mpn2ldbl.c: Fix typos.
10309
10310 * stdlib/testmb.c: Add tests from rfg for using normal chars as
10311 multibyte chars.
10312
10313 * hurd/hurdmalloc.c (malloc_init): Add self reference to avoid not
10314 only the `defined but not used' warning, but also to avoid GCC
10315 optimizing out the entire function (!).
10316
10317 * stdlib/wctomb.c: Include ctype.h.
10318
10319 * Makerules (install-lib-non.a): Don't include $(non-lib.a).
10320
10321 * hurd/hurdmalloc.c: Include string.h; #define bcopy using memcpy.
10322
10323 Sat Feb 11 04:05:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10324
10325 * stdio/printf_fp.c: Include "fpioconst.h".
10326 (_tens_p): Table moved to fpioconst.c, renamed to _fpioconst_pow10.
10327 (__printf_fp): All references changed.
10328 Don't bother computing THOUSANDS_SEP if GROUPING is empty.
10329 (group_number): Use memmove instead of memcpy, since operands overlap.
10330 * stdio/fpioconst.c: New file, tables broken out of stdio/printf_fp.c.
10331 * stdio/fpioconst.h: New file, header declaring the table data.
10332 * stdio/Makefile (aux): Add fpioconst.
10333 (distribute): Add fpioconst.h.
10334 * stdlib/strtod.c: Complete rewrite from drepper.
10335 * stdlib/strtof.c: New file.
10336 * stdlib/strtold.c: New file.
10337 * stdlib/Makefile (routines): Add strtof, strtold.
10338 * stdio/Makefile (routines): Add mpn2flt, mpn2dbl, mpn2ldbl.
10339 * sysdeps/stub/mpn2flt.c: New file.
10340 * sysdeps/stub/mpn2dbl.c: New file.
10341 * sysdeps/stub/mpn2ldbl.c: New file.
10342 * sysdeps/ieee754/mpn2flt.c: New file.
10343 * sysdeps/ieee754/mpn2dbl.c: New file.
10344 * sysdeps/ieee754/mpn2ldbl.c: New file.
10345
10346 * Makerules (install-lib.a): Don't filter out $(non-lib.a).
10347 ($(install-lib.a) in $(libdir) rule): Elide ranlib command when $@
10348 appears in $(non-lib.a).
10349
10350 Fri Feb 10 17:20:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10351
10352 * stdlib/wctomb.c: A normal ASCII character translates to itself.
10353 * stdlib/mbtowc.c: Likewise.
10354
10355 Thu Feb 9 03:55:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10356
10357 * setjmp/setjmp.h (longjmp, _longjmp, __longjmp, siglongjmp):
10358 Remove `const' from prototypes.
10359 * sysdeps/m68k/__longjmp.c: Likewise.
10360 * setjmp/longjmp.c: Likewise.
10361 * sysdeps/i386/__longjmp.c: Likewise.
10362
10363 * sysdeps/posix/tempname.c: Increment *IDX at beginning of loop,
10364 so when we return a name, it is incremented past the value that
10365 produces that same name.
10366
10367 * stdio/fgets.c (fgets): Change `size_t' to `int' in prototype. Sigh.
10368 * stdio/stdio.h (fgets): Likewise.
10369
10370 * stdio/vfprintf.c (printf_unknown): Print ' for INFO->group flag.
10371
10372 * hurd/fd-write.c: Don't clobber ERR with the msg_sig_post call
10373 when it's EBACKGROUND; we need to notice that it is EBACKGROUND
10374 and retry the RPC.
10375 * hurd/fd-read.c: Likewise.
10376
10377 Wed Feb 8 05:01:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10378
10379 * sysdeps/mach/sysdep.h (FATAL_PREPARE_INCLUDE): New macro, set to
10380 <mach/mig_support.h>.
10381 * assert/assert-perr.c [FATAL_PREPARE_INCLUDE]: Include it.
10382 * assert/assert.c: Likewise.
10383 * sysdeps/posix/libc_fatal.c: Likewise.
10384
10385 Tue Feb 7 12:17:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10386
10387 * stdio/stdio.h [__STRICT_ANSI__] (stdin, stdout, stderr): Define
10388 as macros, to satisfy ANSI pedants.
10389
10390 * stdio/internals.c (flushbuf): When there is no new data after
10391 priming the stream, return without writing out the buffer.
10392 * stdio/Makefile (tests): Add bug7.
10393 * stdio/bug7.c: New file.
10394
10395 * io/sys/stat.h (S_IFIFO, S_IFLNK, S_IFSOCK, S_ISFIFO, S_ISLNK,
10396 S_ISSOCK): Define only if the corresponding underlying __S_IF* macro
10397 is defined.
10398
10399 * stdio/getdelim.c: Decrement COPY after getting a char from __fillbf.
10400
10401 * stdio/Makefile (tests): Add errnobug.
10402 * stdio/errnobug.c: New file.
10403
10404 * mach/mig_strncpy.c: Include string.h.
10405
10406 * sysdeps/mach/sysdep.h: Don't #include <mach/mig_support.h>. Its
10407 inlines cause trouble for files defining global register variables.
10408
10409 * stdio/vfprintf.c: Use _strerror_internal for %m.
10410
10411 * sysdeps/ieee754/dbl2mpn.c: Fixes from drepper for 64-bit limbs.
10412
10413 * stdio/printf.h (struct printf_info): New member `group', for %' flag.
10414 * stdio/printf-prs.c (parse_printf_format): Grok %' flag and set flag.
10415 * stdio/vfprintf.c (group_number): New function.
10416 (vfprintf): Support %' flag for integer formats, by calling
10417 group_number after formatting the number in WORK.
10418 * stdio/printf_fp.c (guess_grouping, group_number): New functions.
10419 (__printf_fp): Implement `group' flag using them.
10420
10421 * Makefile (include sysd-dirs): Protect with ifndef avoid-generated.
10422 (parent-clean): Remove sysd-rules, not sysdirs.
10423 (distclean): Pass avoid-generated=yes to submake.
10424 (distclean-1): Remove $(sysdep-$(distclean-1)).
10425
10426 * Makerules (objects, objs): Depend on $(extra-objs) too.
10427 (include sysd-Makefile): Protect with ifndef avoid-generated.
10428
10429 * Makeconfig (+defines, +gnu-stabs, gnu-as): Variables removed.
10430 (CPPFLAGS): Use $(defines) in place of $(+defines).
10431 Replace -D_LIBC with -include $(..)libc-symbols.h.
10432
10433 * stdio/freopen.c: Set seen bit before calling fclose.
10434
10435 Mon Feb 6 18:34:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10436
10437 * sysdeps/mach/hurd/setpriority.c: Keep track of numbers of
10438 successes and each kind of failure. Return EPERM or EACCES only
10439 if every task failed that way.
10440
10441 * sysdeps/mach/hurd/getpriority.c: Handle out of band buffers
10442 correctly.
10443
10444 * sysdeps/mach/hurd/ptrace.c (PTRACE_ATTACH, PTRACE_DETACH): Stop
10445 or resume the process after frobbing.
10446
10447 * hurd/hurdsig.c: Use spin lock operations on sigstate locks
10448 throughout.
10449 (_hurd_thread_sigstate): Don't lock the sigstate lock.
10450 (_hurd_internal_post_signal): New subfunction `mark_pending'; replace
10451 repeated sequences with calls to it. Don't expect the sigstate
10452 lock to be held on entry; lock it just before examining sigaction.
10453 In handler case, check SS->critical_section after calling
10454 abort_rpcs; if set, mark the signal pending and resume the thread.
10455 * hurd/hurd/signal.h (_hurd_self_sigstate_unlocked): Function removed.
10456 (_hurd_self_sigstate): Don't lock the sigstate lock.
10457 (HURD_EINTR_RPC): Call _hurd_self_sigstate instead of
10458 _hurd_self_sigstate_unlocked.
10459 * hurd/msgportdemux.c: Don't expect _hurd_self_sigstate to lock
10460 the sigstate lock.
10461 * hurd/hurdexec.c: Use spin lock operations on sigstate lock.
10462 Don't expect _hurd_self_sigstate to lock it. Fix critical section
10463 locking.
10464 * hurd/hurd-raise.c: Likewise.
10465 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
10466 * sysdeps/mach/hurd/sigpending.c: Likewise.
10467 * sysdeps/mach/hurd/sigaltstack.c: Likewise.
10468 * sysdeps/mach/hurd/sigaction.c: Likewise.
10469 * sysdeps/mach/hurd/sigprocmask.c: Likewise.
10470 * hurd/fd-write.c: Likewise.
10471 * hurd/fd-read.c: Likewise.
10472 * sysdeps/mach/hurd/ioctl.c: Likewise.
10473 * sysdeps/mach/hurd/fork.c: Likewise.
10474 * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
10475 * sysdeps/mach/hurd/mips/sigreturn.c: Likewise.
10476 * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise.
10477 * hurd/hurdmsg.c (get_int): Likewise.
10478
10479 * stdio/vfprintf.c: Include stddef.h. Fix typos in libio code.
10480
10481 * stdio/vfprintf.c (__pad): Function renamed to __printf_pad, made
10482 global.
10483 (PAD): Caller changed.
10484 * stdio/printf_fp.c (__pad): Function removed.
10485 (PAD): Use __printf_pad instead.
10486
10487 Sun Feb 5 17:59:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10488
10489 Merged new FP printer by Ulrich Drepper.
10490 * stdio/printf_fp.c: Rewrite by drepper.
10491 * stdio/Makefile (routines): Add ldbl2mpn.
10492 * sysdeps/ieee754/ieee754.h (union ieee754_double): Add `ieee_nan'
10493 member.
10494 (union ieee854_long_double): New type, from drepper.
10495 (IEEE754_DOUBLE_BIAS, IEEE854_LONG_DOUBLE_BIAS): New macros.
10496 * sysdeps/ieee754/ldbl2mpn.c: New file, by drepper.
10497 * sysdeps/stub/ldbl2mpn.c: New file.
10498 * math/Makefile (routines): Add isinfl and isnanl.
10499 * sysdeps/ieee754/isinfl.c: New file.
10500 * sysdeps/stub/isinfl.c: New file.
10501 * sysdeps/ieee754/isnanl.c: New file.
10502 * sysdeps/stub/isnanl.c: New file.
10503
10504 * malloc/malloc.c (__malloc_extra_blocks): New variable.
10505 (malloc): When getting more core, get __malloc_extra_blocks extra;
10506 put the new block at the end of the free list and let the next loop
10507 iteration use the initial portion of it.
10508 * malloc/free.c (_free_internal): Account for twice
10509 __malloc_extra_blocks in deciding if we have so much extra memory
10510 we should return it to the system.
10511 * malloc/malloc.h (__malloc_extra_blocks): Declare it.
10512 * posix/glob.c (prefix_array, glob_pattern_p): Remove gratuitous
10513 const in parameter decl.
10514
10515 * sysdeps/unix/mips/sysdep.h (ENTRY): Add `.ent' directive.
10516
10517 Fri Feb 3 18:15:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10518
10519 * munch.awk (EXTERNS): Print decls using __P instead of EXFUN.
10520
10521 * sysdeps/mips/setjmp_aux.c: Use ENV[0].__jmpbuf[0].
10522 * sysdeps/mips/bsd-_setjmp.S: Use `li' insn instead of `move'.
10523 * sysdeps/mips/bsd-setjmp.S: Likewise.
10524 * sysdeps/mips/__longjmp.c: Remove obsolete __NORETURN keyword.
10525 * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
10526 Use `long int' for sigcode. Use explicit register numbers instead
10527 of names.
10528 (_hurdsig_rcv_interrupted_p): Use _hurdsig_catch_fault.
10529 * sysdeps/mach/hurd/mips/exc2signal.c: Use `long int' for sigcode.
10530
10531 Thu Feb 2 20:06:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10532
10533 * hurd/hurdmalloc.c: Remove bogus bcopy decl.
10534
10535 * mach/mig_strncpy.c: Add missing `const' in prototype. Rewritten
10536 using __stpncpy.
10537
10538 * io/ftw.c (ftw, ftw_dir): Treat ENOENT from stat like EACCES.
10539
10540 * stdio/vfprintf.c: Set PREC to zero for %. without following digit.
10541
10542 Tue Jan 31 13:49:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10543
10544 * mach/mig_strncpy.c: Include mach.h instead of string.h. Use
10545 vm_size_t instead of size_t for arg and return types.
10546
10547 * mach/mach_init.c: Don't declare __mig_init; mach/mig_support.h
10548 already does.
10549
10550 Mon Jan 30 00:33:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10551
10552 * set-hooks.h (RUN_HOOK): Dereference PTR properly.
10553
10554 * configure.in (friendly stddef.h check): Write override defn for
10555 `stddef.h' Make variable.
10556 (AC_LINK_FILES): Use `echo ...` to avoid " " appearing nonempty.
10557
10558 * configure.in (host_os=sysv4*|solaris2*): Set elf=yes.
10559
10560 * Rules ($(objpfx)dummy.o): Write an empty function, not just an
10561 empty file.
10562
10563 * sysdeps/sparc/Makefile (sysdep-realclean): New variable.
10564
10565 Sat Jan 28 03:38:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10566
10567 * Makefile (distribute): Remove gnu-stabs.h; add libc-symbols.h.
10568
10569 * sysdeps/mach/sysdep.h [ASSEMBLER]: Protect include of
10570 mach/machine/syscall_sw.h with this.
10571
10572 Fri Jan 27 18:33:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10573
10574 * hurd/hurd/signal.h: Include <hurd/msg.h>, and <spin-lock.h>
10575 instead of <lock-intern.h>.
10576 (struct hurd_sigstate): Member `lock' changed to a `spin_lock_t'.
10577 (_hurd_critical_section_lock): Use spin lock operators.
10578 Don't hold the sigstate lock, unlock it after setting the flag.
10579 (_hurd_critical_section_unlock): Take the sigstate lock
10580 to clear the flag; while holding it, check pending signals. After
10581 unlocking, sig_post ourselves if there were pending signals.
10582
10583 * hurd/catch-exc.c (_S_catch_exception_raise): Don't take the
10584 sigstate lock. If it is locked, clear SS->critical_section and
10585 SS->context, and unlock it.
10586
10587 * sysdeps/mach/sysdep.h (EXT, LEXT): New macros.
10588
10589 * set-init.c (__libc_init) [HAVE_ELF]: Run _init and atexit (_fini).
10590 * munch-tmpl.c: Likewise.
10591
10592 * mach/Makefile (routines): Don't filter out syscall_% from
10593 $(mach-syscalls).
10594
10595 Fri Jan 27 17:53:49 1995 Jim Meyering (meyering@comco.com)
10596
10597 * posix/fnmatch.c: Declare errno if it's not defined.
10598 That's simpler than testing #if !defined(__GNU_LIBRARY__)
10599 && !defined(STDC_HEADERS).
10600
10601 Fri Jan 27 15:40:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10602
10603 * csu/Makefile: New file.
10604 * csu/initfini.c: New file.
10605 * Makefile (+other_dirs): Add csu.
10606 (+init): Variable renamed to libc-init. All references changed.
10607 (aux): Remove start.
10608 (install-lib): Variable removed.
10609 (crt0.o, Mcrt1.o crt1.o): Targets removed.
10610
10611 * mach/Machrules (static deps of RPC_*.o): Add $(..)libc-symbols.h
10612 and $(objpfx)config.h.
10613 (static deps of RPC alias *.o): Removed.
10614
10615 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h [ASSEMBLER]:
10616 Protect macros with this.
10617 * sysdeps/unix/bsd/osf1/alpha/sysdep.h: Likewise.
10618 * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
10619 * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
10620 * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
10621 * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
10622 * sysdeps/unix/mips/sysdep.h: Likewise.
10623
10624 Thu Jan 26 00:02:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10625
10626 * Makerules (compile.[Sc]): Match gcc in $(CC) better.
10627 (BUILD_CFLAGS): Instead of $(config-defines), use -include config.h.
10628
10629 * hurd/intr-rpc.awk: Emit weak alias.
10630
10631 * sysdeps/unix/bsd/sun/sunos4/wait4.c: Call getpgrp instead of
10632 __getpgrp.
10633
10634 * sysdeps/unix/bsd/hp/m68k/sysdep.h [ASSEMBLER]: Protect macros with
10635 this.
10636 * sysdeps/unix/i386/sysdep.h: Likewise.
10637 * sysdeps/unix/sparc/sysdep.h: Likewise.
10638
10639 * io/ftw.c: Avoid `ret' as variable name.
10640 * posix/glob.c: Likewise.
10641
10642 * ctype/ctype.h (_ISalpha): Define as its own bit.
10643 * locale/C-ctype_ct.c (__ctype_b_C): Set _ISalpha bit in all letters.
10644
10645 * stdlib/exit.c [HAVE_GNU_LD]: Protect #include "set-hooks.h" and
10646 DEFINE_HOOK with this.
10647
10648 Wed Jan 25 00:45:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10649
10650 * hurd/hurdinit.c: Use DECLARE_HOOK instead of `extern DEFINE_HOOK'.
10651 * mach/spin-solid.c (spin_lock_solid): Define as weak alias to __name.
10652 * mach/shortcut.awk: Emit weak alias.
10653 * mach/spin-lock.c: Add weak aliases for all spin-lock.h functions.
10654 * mach/mach_init.c (mach_init, vm_page_size): Defin weak aliases for
10655 __ names.
10656 * mach/Makefile (lock): Remove spin-syms.
10657 (routines): Remove __ names, vm_page_size, msgserver_t.
10658 ($(mach-syscalls) rule): Generate files without __, add weak alias.
10659 Remove symbol alias file rule.
10660 ($(mach-shortcuts) rule): Likewise.
10661 [!mach-shortcuts] (user-interfaces): Filter out mach/mach4 too.
10662 * mach/Machrules (if-calls.c): Variable and rule removed.
10663 (interface-headers): Don't add $($(if)-calls).
10664 (transform-user-stub): Define to add weak alias.
10665 * set-hooks.h: Use new libc-symbols.h set access macros.
10666 * time/Makefile (routines): Remove __ names.
10667 (aux): Variable removed.
10668 * hurd/Makefile: Likewise.
10669 * sysdeps/unix/start.c (environ): Define as weak alias for __environ.
10670 (data_start): Define as weak alias for __data_start.
10671 * sysdeps/mach/hurd/start.c: Likewise.
10672 * sysdeps/unix/sparc/start.c: Likewise.
10673 * sysdeps/unix/make_errlist.c: Emit weak aliases for sys_nerr and
10674 sys_errlist.
10675 * sysdeps/mach/hurd/errlist.awk: Likewise.
10676 * sysdeps/unix/bsd/osf1/alpha/start.S (environ): Define as weak
10677 alias for __environ.
10678 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
10679 * sysdeps/stub/setdomain.c: Use new stub_warning macro.
10680 * sysdeps/stub/getdomain.c: Likewise.
10681 * sysdeps/stub/vhangup.c: Likewise.
10682 * sysdeps/stub/swapon.c: Likewise.
10683 * sysdeps/stub/sendmsg.c: Likewise.
10684 * sysdeps/stub/recvmsg.c: Likewise.
10685 * sysdeps/stub/acct.c: Likewise.
10686 * sysdeps/stub/isinf.c: Likewise. Add weak alias isinf for __isinf.
10687 * sysdeps/mach/hurd/_exit.c: Remove obsolete __NORETURN keyword.
10688 * sysdeps/posix/libc_fatal.c: Likewise.
10689 * sysdeps/i386/abort.c: Likewise.
10690 * sysdeps/i386/__longjmp.c: Likewise.
10691 * sysdeps/generic/make_siglist.c: Emit defn always for
10692 _sys_siglist. Emit weak alias to sys_siglist.
10693 * sysdeps/generic/atan.c: Remove obsolete __CONSTVALUE keyword.
10694 * sysdeps/ieee754/log10.c: Likewise.
10695 * time/difftime.c: Likewise.
10696 * stdlib/random.c (srand): Define as weak alias for __srandom.
10697 * stdlib/exit.c: Remove obsolete __NORETURN keyword. Use set-hooks
10698 macros for __libc_atexit.
10699 * stdlib/Makefile (routines): Remove __random, srand.
10700 * stdio/gets.c: Use new link_warning macro instead of old
10701 warn_references.
10702 * stdio/Makefile (routines): Remove __ names.
10703 (aux): Remove syms-stdio.
10704 * socket/Makefile (routines): Added e on getpeernam and getsocknam.
10705 * setjmp/longjmp.c: Remove obsolete __NORETURN keyword.
10706 * setjmp/Makefile (routines): Remove _longjmp, siglongjmp.
10707 * setjmp/setjmp.h: Replace __NORETURN keyword with __attribute__ uses.
10708 * stdio/stdio.h: Likewise.
10709 * misc/Makefile (routines): Remove __ names.
10710 (aux): Remove data_start.
10711 * sysdeps/mach/hurd/defs.c: Don't include gnu-stabs.h.
10712 * sysdeps/mach/hurd/brk.c: Likewise.
10713 * hurd/hurdid.c: Likewise.
10714 * hurd/hurdpid.c: Likewise.
10715 * hurd/openport.c: Likewise.
10716 * hurd/hurdsock.c: Likewise.
10717 * hurd/hurdsig.c: Likewise.
10718 * hurd/hurdrlimit.c: Likewise.
10719 * hurd/hurdmalloc.c: Likewise.
10720 * hurd/dtable.c: Likewise.
10721 * hurd/setauth.c: Likewise.
10722 * misc/progname.c: Likewise.
10723 * misc/init-misc.c: Likewise.
10724 * sysdeps/generic/vfork.c: Likewise.
10725 * sysdeps/unix/bsd/init-posix.c: Likewise.
10726 * math/math.h: Replace __CONSTVALUE keyword with __attribute__ uses.
10727 * time/time.h: Likewise.
10728 * math/Makefile (routines): Remove __ names.
10729 * io/Makefile: Likewise.
10730 * termios/Makefile: Likewise.
10731 * resource/Makefile: Likewise.
10732 * signal/Makefile: Likewise.
10733 * dirent/Makefile: Likewise.
10734 * assert/assert.h: Replace __NORETURN keyword with __attribute__
10735 uses. Functions return void and macros deal with this.
10736 * assert/assert-perr.c: Remove obsolete __NORETURN keyword.
10737 Return void. Don't include gnu-stabs.h.
10738 * assert/assert.c: Likewise.
10739 * posix/Makefile (routines): Remove __ names, setpgrp. Add
10740 getpgid.
10741 (aux): Remove environ.
10742 * stdlib/stdlib.h (abort, exit): Replace __NORETURN keyword with
10743 __attribute__ use.
10744 * posix/unistd.h (_exit): Likewise.
10745 (__getpgrp, __setpgrp): Declarations removed.
10746 (__getpgid, getpid): Declare these.
10747
10748 * configure.in (host_os=gnuelf|linuxelf): Set elf=yes. Do AC_SUBST
10749 for gnu_ld, gnu_as, elf, and weak. Call AC_LINK_FILEES on
10750 $libc_link_{sources,dests}.
10751 * sysdeps/unix/configure.in: Remove __ from file names. Don't
10752 create files, just add to libc_link_{dests,sources}.
10753
10754 * config.make.in (gnu-as, gnu-ld, elf, weak-symbols): New variables.
10755
10756 * config.h.in: Add #undefs used by sysdeps configures.
10757
10758 * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Removed
10759 __setpgid, __getpgid.
10760 * sysdeps/unix/sysv/sco3.2.4/setpgid.c: Included file was renamed
10761 from setpgrp.c.
10762 * sysdeps/unix/sysv/sco3.2.4/getpgid.c: Included file was renamed
10763 from __getpgrp.c.
10764 * sysdeps/unix/bsd/getpgrp.c: File removed.
10765 * sysdeps/generic/getpgrp.c: Moved from sysdeps/stub/getpgrp.c.
10766 Call __getpgid with zero.
10767 * sysdeps/stub/setpgid.c: Renamed __setpgrp to __setpgid, added
10768 weak aliases setpgid and setpgrp.
10769 * sysdeps/unix/sysv/irix4/setpgid.S: Likewise.
10770 * sysdeps/unix/common/setpgid.S: Likewise.
10771 * sysdeps/mach/hurd/setpgid.c: Likewise.
10772 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
10773 Use subcall 5 to __pgrpsys.
10774 * sysdeps/stub/getpgid.c: Renamed __getpgrp to __getpgid, added
10775 weak alias getpgid.
10776 * sysdeps/mach/hurd/getpgid.c: Likewise.
10777 * sysdeps/unix/sysv/irix4/getpgid.S: Likewise.
10778 * sysdeps/unix/common/getpgid.S: Likewise.
10779 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
10780 Use subcall 4 to __pgrpsys.
10781 * sysdeps/stub/__getpgrp.c: Renamed to getpgid.c.
10782 * sysdeps/unix/sysv/sysv4/__getpgrp.c: Renamed to getpgid.c.
10783 * sysdeps/unix/sysv/sco3.2.4/__getpgrp.c: Renamed to getpgid.c.
10784 * sysdeps/unix/sysv/irix4/__getpgrp.S: Renamed to getpgid.S.
10785 * sysdeps/unix/common/__getpgrp.S: Renamed to getpgid.S.
10786 * sysdeps/mach/hurd/__getpgrp.c: Renamed to getpgid.c.
10787 * sysdeps/stub/setpgrp.c: Renamed to setpgid.c.
10788 * sysdeps/unix/sysv/sysv4/setpgrp.c: Renamed to setpgid.c.
10789 * sysdeps/unix/sysv/sco3.2.4/setpgrp.c: Renamed to setpgid.c.
10790 * sysdeps/unix/sysv/irix4/setpgrp.S: Renamed to setpgid.S.
10791 * sysdeps/unix/common/setpgrp.S: Renamed to setpgid.S.
10792 * sysdeps/mach/hurd/setpgrp.c: Renamed to setpgid.c.
10793
10794 * sysdeps/unix/bsd/hp/m68k/getdents.S: Included file was renamed
10795 from __getdents.S.
10796
10797 * sysdeps/posix/defs.c: Don't include gnu-stabs.h.
10798 * sysdeps/stub/sigpending.c: Use new libc-symbols.h macro for stub
10799 warning.
10800 * sysdeps/stub/fexecve.c: Likewise.
10801 * sysdeps/stub/fchdir.c: Likewise.
10802 * sysdeps/stub/fchflags.c: Likewise.
10803 * sysdeps/stub/chflags.c: Likewise.
10804
10805 * sysdeps/m68k/__longjmp.c: Remove __NORETURN; it's obsolete.
10806 * sysdeps/generic/abort.c: Likewise.
10807 * sysdeps/ieee754/ldexp.c: Remove __CONSTVALUE; it's obsolete.
10808
10809 * hurd/hurdioctl.c: Include hurd/ioctl.h.
10810 (_hurd_ioctl_handler_lists): Define this set.
10811 (_hurd_lookup_ioctl_handler): New function.
10812 * hurd/hurd/fd.h: ioctl handler stuff moved to hurd/ioctl.h.
10813 * hurd/hurd/ioctl.h: New file, broken out of hurd/fd.h.
10814 (_hurd_lookup_ioctl_handler): Declare it.
10815 (ioctl_handler_t): New typedef. Use it throughout.
10816 * sysdeps/mach/hurd/ioctl.c: Include hurd/ioctl.h.
10817 (_hurd_ioctl_handler_lists): Don't define.
10818 (__ioctl): Call _hurd_lookup_ioctl_handler.
10819
10820 * stdlib/strtol.c (maxquad): Make this const.
10821 [__GNUC__ == 2 && __GNUC_MINOR__ < 7]: Only use maxquad in this case.
10822
10823 * posix/glob/configure.in: Put AC_AIX and AC_MINIX early, before
10824 any compile tests.
10825
10826 * sysdeps/mach/hurd/setitimer.c (timer_thread): Call
10827 __msg_sig_post_request, not __sig_post_request.
10828
10829 * misc/getusersh.c: Renamed to getusershell.c.
10830 * sysdeps/stub/sethostnam.c: Renamed to sethostname.c.
10831 * sysdeps/unix/inet/sethostnam.S: Renamed to sethostname.S.
10832 * sysdeps/unix/sysv/sysv4/sethostnam.c: Renamed to sethostname.c.
10833 * sysdeps/mach/hurd/sethostnam.c: Renamed to sethostname.c.
10834
10835 Tue Jan 24 00:14:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10836
10837 * sysdeps/stub/settod.c: Renamed to settimeofday.c.
10838 * sysdeps/unix/bsd/settod.S: Renamed to settimeofday.c.
10839 * sysdeps/unix/sysv/settod.c: Renamed to settimeofday.c.
10840 * sysdeps/mach/hurd/settod.c: Renamed to settimeofday.c.
10841 * sysdeps/stub/setitmr.c: Renamed to setitimer.c.
10842 * sysdeps/unix/common/setitmr.S: Renamed to setitimer.S.
10843 * sysdeps/mach/hurd/setitmr.c: Renamed to setitimer.c.
10844 * sysdeps/posix/fpathcon.c: Renamed to fpathconf.c.
10845 * sysdeps/stub/fpathcon.c: Renamed to fpathconf.c.
10846 * sysdeps/unix/sysv/irix4/fpathcon.c: Renamed to fpathconf.c.
10847 * sysdeps/stub/getprio.c: Renamed to getpriority.c.
10848 * sysdeps/unix/sysv/irix4/getprio.c: Renamed to getpriority.c.
10849 * sysdeps/unix/common/getprio.S: Renamed to getpriority.S.
10850 * sysdeps/mach/hurd/getprio.c: Renamed to getpriority.c.
10851 * sysdeps/stub/setprio.c: Renamed to setpriority.c.
10852 * sysdeps/unix/sysv/irix4/setprio.c: Renamed to setpriority.c.
10853 * sysdeps/unix/common/setprio.S: Renamed to setpriority.S.
10854 * sysdeps/mach/hurd/setprio.c: Renamed to setpriority.c.
10855 * sysdeps/stub/getpeernam.c: Renamed to getpeername.c.
10856 * sysdeps/unix/inet/getpeernam.S: Renamed to getpeername.S.
10857 * sysdeps/unix/sysv/linux/getpeernam.S: Renamed to getpeername.S.
10858 * sysdeps/mach/hurd/getpeernam.c: Renamed to getpeername.c.
10859 * sysdeps/stub/getsocknam.c: Renamed to getsockname.c.
10860 * sysdeps/unix/inet/getsocknam.S: Renamed to getsockname.S.
10861 * sysdeps/unix/sysv/linux/getsocknam.S: Renamed to getsockname.S.
10862 * sysdeps/mach/hurd/getsocknam.c: Renamed to getsockname.c.
10863 * sysdeps/stub/sigaltstk.c: Renamed to sigaltstack.c.
10864 * sysdeps/unix/bsd/bsd4.4/sigaltstk.S: Renamed to sigaltstack.S.
10865 * sysdeps/unix/sysv/sysv4/sigaltstk.S: Renamed to sigaltstack.S.
10866 * sysdeps/mach/hurd/sigaltstk.c: Renamed to sigaltstack.c.
10867
10868 * sysdeps/mach/hurd/i386/sigreturn.c: Call __msg_sig_post instead
10869 of __sig_post.
10870 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
10871 * sysdeps/mach/hurd/kill.c: Likewise.
10872 * sysdeps/mach/hurd/sigprocmask.c: Likewise.
10873
10874 * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Macros removed.
10875 [!__GNUC__ || __GNUC__<2] (__attribute__): Define to empty.
10876
10877 * sysdeps/stub/remove.c: New file.
10878 * sysdeps/posix/remove.c: New file.
10879
10880 Mon Jan 23 03:26:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10881
10882 * time/mktime.c [weak_alias] (timelocal): Define as weak alias for
10883 mktime.
10884 * mach/mig_strncpy.c (mig_strncpy): Define as weak alias for
10885 __mig_strncpy.
10886 * mach/msg-destroy.c: Renamed from __msg_dest.c.
10887 (mach_msg_destroy): Define as weak alias for __mach_msg_destroy.
10888 * mach/setup-thread.c (mach_setup_thread): Define as weak alias.
10889 * time/tzset.c (tzname, daylight, timezone): Define as weak
10890 aliases for __ names.
10891 * hurd/hurdkill.c (hurd_sig_post): Define as weak alias.
10892 * hurd/hurdlookup.c: Add weak aliases for non-__ names.
10893 * Makefile (+init): Test $(gnu-ld)=yes, not for $(+gnu-stabs)
10894 being defined.
10895
10896 Sun Jan 22 15:19:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10897
10898 * string/Makefile (routines): Remove __ names, index, rindex, and
10899 bcmp.
10900 * sysdeps/alpha/strchr.c [weak_alias] (index): Define as weak
10901 alias for strchr.
10902 * sysdeps/generic/strchr.c: Likewise.
10903 * sysdeps/generic/strrchr.c [weak_alias] (rindex): Define as weak
10904 alias for strrchr.
10905 * sysdeps/generic/memcmp.c [weak_alias] (bcmp): Define as weak
10906 alias for memcmp.
10907
10908 * malloc/free.c (cfree): Define this function, with weak_alias if
10909 available, otherwise a C function.
10910 * malloc/Makefile (gmalloc-routines): Remove cfree.
10911
10912 Sat Jan 21 08:08:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10913
10914 * stdio/fseek.c: Do move bufp by O when that puts it exactly at
10915 get_limit. This has the effect of no-op'ing properly for zero.
10916
10917 * configure.in: Add AC_CONFIG_HEADER(config.h).
10918 (--with-elf, --with-weak-symbols): Grok these and define HAVE_*.
10919 * config.h.in: New file.
10920
10921 * setjmp/longjmp.c: Add weak aliases _longjmp, siglongjmp.
10922 All code converted to use weak symbols, defined in the files which
10923 define the real code (with the __ names, the non-__ names are weak).
10924 All old symbol alias files removed.
10925 Many files renamed to remove __ prefix since there is now just
10926 the one file for both the __ and non-__ name for each function.
10927 * libc-symbols.h: New file.
10928 * set-hooks.h: Use libc-symbols.h macros for accessing symbol
10929 sets.
10930 * gnu-stabs.h: Prepend #error this file is obsolete.
10931 * sysdeps/ieee754/ldexp.c: Add weak aliases scalb and __scalb.
10932 * sysdeps/stub/__access.c: Renamed to access.c; added weak alias
10933 access.
10934 * sysdeps/unix/common/__access.S: Likewise.
10935 * sysdeps/mach/hurd/__access.c: Likewise.
10936 * sysdeps/stub/__adjtime.c: Renamed to adjtime.c; added weak alias
10937 adjtime.
10938 * sysdeps/unix/common/__adjtime.S: Likewise.
10939 * sysdeps/mach/__adjtime.c: Likewise.
10940 * sysdeps/mach/hurd/__adjtime.c: Likewise.
10941 * sysdeps/stub/__brk.c: Renamed to brk.c; added weak alias brk.
10942 * sysdeps/unix/bsd/sun/m68k/__brk.S: Likewise.
10943 * sysdeps/unix/bsd/vax/__brk.S: Likewise.
10944 * sysdeps/unix/bsd/hp/m68k/__brk.S: Likewise.
10945 * sysdeps/unix/bsd/osf1/alpha/__brk.S: Likewise.
10946 * sysdeps/unix/i386/__brk.S: Likewise.
10947 * sysdeps/unix/sparc/__brk.S: Likewise.
10948 * sysdeps/unix/mips/__brk.S: Likewise.
10949 * sysdeps/mach/hurd/__brk.c: Likewise.
10950 * sysdeps/standalone/__brk.c: Likewise.
10951 * sysdeps/stub/__chdir.c: Renamed to chdir.c; added weak alias chdir.
10952 * sysdeps/unix/__chdir.S: Likewise.
10953 * sysdeps/mach/hurd/__chdir.c: Likewise.
10954 * sysdeps/stub/__chmod.c: Renamed to chmod.c; added weak alias chmod.
10955 * sysdeps/unix/__chmod.S: Likewise.
10956 * sysdeps/mach/hurd/__chmod.c: Likewise.
10957 * sysdeps/stub/__chown.c: Renamed to chown.c; added weak alias chown.
10958 * sysdeps/unix/__chown.S: Likewise.
10959 * sysdeps/mach/hurd/__chown.c: Likewise.
10960 * sysdeps/stub/__close.c: Renamed to close.c; added weak alias close.
10961 * sysdeps/unix/__close.S: Likewise.
10962 * sysdeps/mach/hurd/__close.c: Likewise.
10963 * sysdeps/standalone/__close.c: Likewise.
10964 * sysdeps/generic/__copysign.c: Renamed to copysign.c; added weak
10965 alias copysign.
10966 * sysdeps/ieee754/__copysign.c: Likewise.
10967 * sysdeps/alpha/__copysign.c: Likewise.
10968 * sysdeps/ieee754/__drem.c: Renamed to drem.c; added weak alias drem.
10969 * sysdeps/m68k/fpu/__drem.c: Likewise.
10970 * sysdeps/stub/__drem.c: Likewise.
10971 * sysdeps/posix/__dup.c: Renamed to dup.c; added weak alias dup.
10972 * sysdeps/stub/__dup.c: Likewise.
10973 * sysdeps/unix/__dup.S: Likewise.
10974 * sysdeps/posix/__dup2.c: Renamed to dup2.c; added weak alias dup2.
10975 * sysdeps/stub/__dup2.c: Likewise.
10976 * sysdeps/unix/sysv/sysv4/__dup2.c: Likewise.
10977 * sysdeps/unix/sysv/irix4/__dup2.c: Likewise.
10978 * sysdeps/unix/common/__dup2.S: Likewise.
10979 * sysdeps/mach/hurd/__dup2.c: Likewise.
10980 * sysdeps/stub/__execve.c: Renamed to execve.c; added weak alias
10981 execve.
10982 * sysdeps/unix/__execve.S: Likewise.
10983 * sysdeps/mach/hurd/__execve.c: Likewise.
10984 * sysdeps/generic/__expm1.c: Renamed to expm1.c; added weak alias
10985 expm1.
10986 * sysdeps/m68k/fpu/__expm1.c: Likewise.
10987 * sysdeps/stub/__fchmod.c: Renamed to fchmod.c; added weak alias
10988 fchmod.
10989 * sysdeps/unix/common/__fchmod.S: Likewise.
10990 * sysdeps/mach/hurd/__fchmod.c: Likewise.
10991 * sysdeps/stub/__fchown.c: Renamed to fchown.c; added weak alias
10992 fchown.
10993 * sysdeps/unix/common/__fchown.S: Likewise.
10994 * sysdeps/mach/hurd/__fchown.c: Likewise.
10995 * sysdeps/stub/__fcntl.c: Renamed to fcntl.c; added weak alias fcntl.
10996 * sysdeps/unix/__fcntl.S: Likewise.
10997 * sysdeps/mach/hurd/__fcntl.c: Likewise.
10998 * math/__finite.c: Renamed to finite.c; added weak alias finite.
10999 * sysdeps/posix/__flock.c: Renamed to flock.c; added weak alias flock.
11000 * sysdeps/stub/__flock.c: Likewise.
11001 * sysdeps/unix/bsd/__flock.S: Likewise.
11002 * sysdeps/mach/hurd/__flock.c: Likewise.
11003 * hurd/__fopenport.c: Renamed to fopenport.c; added weak alias
11004 fopenport.
11005 * sysdeps/stub/__fork.c: Renamed to fork.c; added weak alias fork.
11006 * sysdeps/unix/__fork.S: Likewise.
11007 * sysdeps/unix/bsd/osf1/alpha/__fork.S: Likewise.
11008 * sysdeps/unix/i386/__fork.S: Likewise.
11009 * sysdeps/unix/sparc/__fork.S: Likewise.
11010 * sysdeps/unix/mips/__fork.S: Likewise.
11011 * sysdeps/mach/hurd/__fork.c: Likewise.
11012 * sysdeps/posix/__fpathcon.c: Renamed to fpathcon.c; added weak
11013 alias fpathconf.
11014 * sysdeps/stub/__fpathcon.c: Likewise.
11015 * sysdeps/unix/sysv/irix4/__fpathcon.c: Likewise.
11016 * sysdeps/stub/__fstat.c: Renamed to fstat.c; added weak alias fstat.
11017 * sysdeps/unix/__fstat.S: Likewise.
11018 * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Likewise.
11019 * sysdeps/mach/hurd/__fstat.c: Likewise.
11020 * stdio/__getdelim.c: Renamed to getdelim.c; added weak alias
11021 getdelim.
11022 * sysdeps/stub/__getdents.c: Renamed to getdents.c; added weak
11023 alias getdents.
11024 * sysdeps/unix/__getdents.c: Likewise.
11025 * sysdeps/unix/bsd/sun/__getdents.S: Likewise.
11026 * sysdeps/unix/bsd/hp/m68k/__getdents.S: Likewise.
11027 * sysdeps/unix/bsd/ultrix4/__getdents.S: Likewise.
11028 * sysdeps/unix/bsd/bsd4.4/__getdents.S: Likewise.
11029 * sysdeps/unix/bsd/osf1/alpha/__getdents.S: Likewise.
11030 * sysdeps/unix/sysv/__getdents.c: Likewise.
11031 * sysdeps/mach/hurd/__getdents.c: Likewise.
11032 * hurd/__getdport.c: Renamed to getdport.c; added weak alias getdport.
11033 * sysdeps/posix/__getdtsz.c: Renamed to getdtsz.c; added weak
11034 alias getdtablesize.
11035 * sysdeps/stub/__getdtsz.c: Likewise.
11036 * sysdeps/unix/bsd/__getdtsz.S: Likewise.
11037 * sysdeps/unix/sysv/sysv4/__getdtsz.c: Likewise.
11038 * sysdeps/mach/hurd/__getdtsz.c: Likewise.
11039 * sysdeps/stub/__getegid.c: Renamed to getegid.c; added weak alias
11040 getegid.
11041 * sysdeps/unix/__getegid.S: Likewise.
11042 * sysdeps/mach/hurd/__getegid.c: Likewise.
11043 * sysdeps/stub/__geteuid.c: Renamed to geteuid.c; added weak alias
11044 geteuid.
11045 * sysdeps/unix/__geteuid.S: Likewise.
11046 * sysdeps/mach/hurd/__geteuid.c: Likewise.
11047 * sysdeps/stub/__getgid.c: Renamed to getgid.c; added weak alias
11048 getgid.
11049 * sysdeps/unix/__getgid.S: Likewise.
11050 * sysdeps/mach/hurd/__getgid.c: Likewise.
11051 * sysdeps/stub/__getgrps.c: Renamed to getgroups.c; added weak
11052 alias getgroups.
11053 * sysdeps/unix/bsd/sequent/i386/__getgrps.S: Likewise.
11054 * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: Likewise.
11055 * sysdeps/unix/sysv/irix4/__getgrps.c: Likewise.
11056 * sysdeps/unix/common/__getgrps.S: Likewise.
11057 * sysdeps/mach/hurd/__getgrps.c: Likewise.
11058 * sysdeps/stub/__gethstnm.c: Renamed to gethostname.c; added weak
11059 alias gethostname.
11060 * sysdeps/unix/inet/__gethstnm.S: Likewise.
11061 * sysdeps/unix/sysv/__gethstnm.c: Likewise.
11062 * sysdeps/unix/sysv/sysv4/__gethstnm.c: Likewise.
11063 * sysdeps/mach/hurd/__gethstnm.c: Likewise.
11064 * sysdeps/stub/__getitmr.c: Renamed to getitimer.c; added weak
11065 alias getitimer.
11066 * sysdeps/unix/common/__getitmr.S: Likewise.
11067 * sysdeps/mach/hurd/__getitmr.c: Likewise.
11068 * stdio/__getline.c: Renamed to getline.c; added weak alias getline.
11069 * sysdeps/posix/__getpgsz.c: Renamed to getpagesize.c; added weak
11070 alias getpagesize.
11071 * sysdeps/stub/__getpgsz.c: Likewise.
11072 * sysdeps/unix/__getpgsz.c: Likewise.
11073 * sysdeps/unix/bsd/__getpgsz.S: Likewise.
11074 * sysdeps/unix/sysv/sysv4/__getpgsz.c: Likewise.
11075 * sysdeps/mach/__getpgsz.c: Likewise.
11076 * sysdeps/stub/__getpid.c: Renamed to getpid.c; added weak alias
11077 getpid.
11078 * sysdeps/unix/__getpid.S: Likewise.
11079 * sysdeps/mach/hurd/__getpid.c: Likewise.
11080 * sysdeps/stub/__getppid.c: Renamed to getppid.c; added weak alias
11081 getppid.
11082 * sysdeps/unix/__getppid.S: Likewise.
11083 * sysdeps/mach/hurd/__getppid.c: Likewise.
11084 * sysdeps/posix/__gettod.c: Renamed to gettimeofday.c; added weak
11085 alias gettimeofday.
11086 * sysdeps/stub/__gettod.c: Likewise.
11087 * sysdeps/unix/sysv/irix4/__gettod.c: Likewise.
11088 * sysdeps/unix/common/__gettod.S: Likewise.
11089 * sysdeps/mach/__gettod.c: Likewise.
11090 * sysdeps/stub/__getuid.c: Renamed to getuid.c; added weak alias
11091 getuid.
11092 * sysdeps/unix/__getuid.S: Likewise.
11093 * sysdeps/mach/hurd/__getuid.c: Likewise.
11094 * sysdeps/generic/__infnan.c: Renamed to infnan.c; added weak
11095 alias infnan.
11096 * sysdeps/ieee754/__infnan.c: Likewise.
11097 * sysdeps/vax/__infnan.c: Likewise.
11098 * sysdeps/stub/__ioctl.c: Renamed to ioctl.c; added weak alias ioctl.
11099 * sysdeps/unix/__ioctl.S: Likewise.
11100 * sysdeps/mach/hurd/__ioctl.c: Likewise.
11101 * sysdeps/posix/__isatty.c: Renamed to isatty.c; added weak alias
11102 isatty.
11103 * sysdeps/stub/__isatty.c: Likewise.
11104 * sysdeps/unix/bsd/__isatty.c: Likewise.
11105 * sysdeps/mach/hurd/__isatty.c: Likewise.
11106 * sysdeps/ieee754/__isinf.c: Renamed to isinf.c; added weak alias
11107 isinf.
11108 * sysdeps/m68k/fpu/__isinf.c: Likewise.
11109 * sysdeps/stub/__isinf.c: Likewise.
11110 * sysdeps/generic/__isnan.c: Renamed to isnan.c; added weak alias
11111 isnan.
11112 * sysdeps/ieee754/__isnan.c: Likewise.
11113 * sysdeps/m68k/fpu/__isnan.c: Likewise.
11114 * sysdeps/stub/__kill.c: Renamed to kill.c; added weak alias kill.
11115 * sysdeps/unix/__kill.S: Likewise.
11116 * sysdeps/mach/hurd/__kill.c: Likewise.
11117 * sysdeps/stub/__link.c: Renamed to link.c; added weak alias link.
11118 * sysdeps/unix/__link.S: Likewise.
11119 * sysdeps/mach/hurd/__link.c: Likewise.
11120 * sysdeps/ieee754/__logb.c: Renamed to logb.c; added weak alias logb.
11121 * sysdeps/m68k/fpu/__logb.c: Likewise.
11122 * sysdeps/stub/__logb.c: Likewise.
11123 * sysdeps/stub/__lseek.c: Renamed to lseek.c; added weak alias lseek.
11124 * sysdeps/unix/__lseek.S: Likewise.
11125 * sysdeps/mach/hurd/__lseek.c: Likewise.
11126 * sysdeps/generic/__lstat.c: Renamed to lstat.c; added weak alias
11127 lstat.
11128 * sysdeps/stub/__lstat.c: Likewise.
11129 * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Likewise.
11130 * sysdeps/unix/common/__lstat.S: Likewise.
11131 * sysdeps/mach/hurd/__lstat.c: Likewise.
11132 * sysdeps/generic/__memccpy.c: Renamed to memccpy.c; added weak
11133 alias memccpy.
11134 * sysdeps/vax/__memccpy.c: Likewise.
11135 * sysdeps/stub/__mkdir.c: Renamed to mkdir.c; added weak alias mkdir.
11136 * sysdeps/unix/sysv/__mkdir.c: Likewise.
11137 * sysdeps/unix/common/__mkdir.S: Likewise.
11138 * sysdeps/mach/hurd/__mkdir.c: Likewise.
11139 * sysdeps/stub/__mknod.c: Renamed to mknod.c; added weak alias mknod.
11140 * sysdeps/unix/__mknod.S: Likewise.
11141 * sysdeps/unix/sysv/sysv4/i386/__mknod.S: Likewise.
11142 * sysdeps/mach/hurd/__mknod.c: Likewise.
11143 * mach/__msg.c: Renamed to msg.c; added weak alias mach_msg.
11144 * mach/__msgserver.c: Renamed to msgserver.c; added weak alias
11145 mach_msg_server.
11146 * sysdeps/stub/__open.c: Renamed to open.c; added weak alias open.
11147 * sysdeps/unix/__open.S: Likewise.
11148 * sysdeps/mach/hurd/__open.c: Likewise.
11149 * sysdeps/standalone/__open.c: Likewise.
11150 * sysdeps/stub/__pathconf.c: Renamed to pathconf.c; added weak
11151 alias pathconf.
11152 * sysdeps/unix/sysv/sco3.2.4/__pathconf.S: Likewise.
11153 * sysdeps/unix/sysv/irix4/__pathconf.c: Likewise.
11154 * hurd/__pid2task.c: Renamed to pid2task.c; added weak alias pid2task.
11155 * sysdeps/stub/__pipe.c: Renamed to pipe.c; added weak alias pipe.
11156 * sysdeps/unix/bsd/vax/__pipe.S: Likewise.
11157 * sysdeps/unix/bsd/m68k/__pipe.S: Likewise.
11158 * sysdeps/unix/bsd/osf1/alpha/__pipe.S: Likewise.
11159 * sysdeps/unix/i386/__pipe.S: Likewise.
11160 * sysdeps/unix/sparc/__pipe.S: Likewise.
11161 * sysdeps/unix/mips/__pipe.S: Likewise.
11162 * sysdeps/mach/hurd/__pipe.c: Likewise.
11163 * stdlib/__random.c: Renamed to random.c; added weak alias random.
11164 * sysdeps/stub/__read.c: Renamed to read.c; added weak alias read.
11165 * sysdeps/unix/__read.S: Likewise.
11166 * sysdeps/mach/hurd/__read.c: Likewise.
11167 * sysdeps/standalone/__read.c: Likewise.
11168 * sysdeps/stub/__readlink.c: Renamed to readlink.c; added weak
11169 alias readlink.
11170 * sysdeps/unix/common/__readlink.S: Likewise.
11171 * sysdeps/mach/hurd/__readlink.c: Likewise.
11172 * sysdeps/generic/__rint.c: Renamed to rint.c; added weak alias rint.
11173 * sysdeps/m68k/fpu/__rint.c: Likewise.
11174 * sysdeps/stub/__rmdir.c: Renamed to rmdir.c; added weak alias rmdir.
11175 * sysdeps/unix/sysv/__rmdir.c: Likewise.
11176 * sysdeps/unix/common/__rmdir.S: Likewise.
11177 * sysdeps/mach/hurd/__rmdir.c: Likewise.
11178 * sysdeps/generic/__sbrk.c: Renamed to sbrk.c; added weak alias sbrk.
11179 * sysdeps/stub/__sbrk.c: Likewise.
11180 * sysdeps/mach/hurd/__sbrk.c: Likewise.
11181 * math/__scalb.c: Renamed to scalb.c; added weak alias scalb.
11182 * sysdeps/stub/__select.c: Renamed to select.c; added weak alias
11183 select.
11184 * sysdeps/unix/common/__select.S: Likewise.
11185 * sysdeps/mach/hurd/__select.c: Likewise.
11186 * hurd/__setauth.c: Renamed to setauth.c; added weak alias setauth.
11187 * sysdeps/stub/__setgid.c: Renamed to setgid.c; added weak alias
11188 setgid.
11189 * sysdeps/unix/__setgid.S: Likewise.
11190 * sysdeps/unix/bsd/__setgid.c: Likewise.
11191 * sysdeps/mach/hurd/__setgid.c: Likewise.
11192 * sysdeps/stub/__setitmr.c: Renamed to setitmr.c; added weak alias
11193 setitmr
11194 * sysdeps/unix/common/__setitmr.S: Likewise.
11195 * sysdeps/mach/hurd/__setitmr.c: Likewise.
11196 * sysdeps/stub/__setpgrp.c: Renamed to setpgrp.c; added weak alias
11197 setpgrp
11198 * sysdeps/unix/sysv/sysv4/__setpgrp.c: Likewise.
11199 * sysdeps/unix/sysv/sco3.2.4/__setpgrp.c: Likewise.
11200 * sysdeps/unix/sysv/irix4/__setpgrp.S: Likewise.
11201 * sysdeps/unix/common/__setpgrp.S: Likewise.
11202 * sysdeps/mach/hurd/__setpgrp.c: Likewise.
11203 * sysdeps/stub/__setregid.c: Renamed to setregid.c; added weak
11204 alias setregid.
11205 * sysdeps/unix/common/__setregid.S: Likewise.
11206 * sysdeps/mach/hurd/__setregid.c: Likewise.
11207 * sysdeps/stub/__setreuid.c: Renamed to setreuid.c; added weak
11208 alias setreuid.
11209 * sysdeps/unix/common/__setreuid.S: Likewise.
11210 * sysdeps/mach/hurd/__setreuid.c: Likewise.
11211 * sysdeps/stub/__setsid.c: Renamed to setsid.c; added weak alias
11212 setsid.
11213 * sysdeps/unix/bsd/__setsid.c: Likewise.
11214 * sysdeps/unix/bsd/sun/sunos4/__setsid.S: Likewise.
11215 * sysdeps/unix/bsd/ultrix4/__setsid.S: Likewise.
11216 * sysdeps/unix/bsd/bsd4.4/__setsid.S: Likewise.
11217 * sysdeps/unix/sysv/linux/__setsid.S: Likewise.
11218 * sysdeps/unix/sysv/sysv4/__setsid.c: Likewise.
11219 * sysdeps/unix/sysv/sco3.2.4/__setsid.c: Likewise.
11220 * sysdeps/mach/hurd/__setsid.c: Likewise.
11221 * sysdeps/stub/__settod.c: Renamed to settod.c; added weak alias
11222 settimeofday.
11223 * sysdeps/unix/bsd/__settod.S: Likewise.
11224 * sysdeps/unix/sysv/__settod.c: Likewise.
11225 * sysdeps/mach/hurd/__settod.c: Likewise.
11226 * sysdeps/stub/__setuid.c: Renamed to setuid.c; added weak alias
11227 setuid.
11228 * sysdeps/unix/__setuid.S: Likewise.
11229 * sysdeps/unix/bsd/__setuid.c: Likewise.
11230 * sysdeps/mach/hurd/__setuid.c: Likewise.
11231 * sysdeps/posix/__sigblock.c: Renamed to sigblock.c; added weak
11232 alias sigblock.
11233 * sysdeps/stub/__sigblock.c: Likewise.
11234 * sysdeps/unix/bsd/__sigblock.S: Likewise.
11235 * sysdeps/unix/bsd/bsd4.4/__sigblock.c: Likewise.
11236 * sysdeps/unix/bsd/osf1/alpha/__sigblock.S: Likewise.
11237 * sysdeps/posix/__sigpause.c: Renamed to sigpause.c; added weak
11238 alias sigpause.
11239 * sysdeps/stub/__sigpause.c: Likewise.
11240 * sysdeps/unix/bsd/__sigpause.S: Likewise.
11241 * sysdeps/unix/bsd/osf1/alpha/__sigpause.S: Likewise.
11242 * sysdeps/stub/__sigproc.c: Renamed to sigprocmask.c; added weak
11243 alias sigprocmask.
11244 * sysdeps/unix/bsd/__sigproc.c: Likewise.
11245 * sysdeps/unix/sysv/sysv4/__sigproc.S: Likewise.
11246 * sysdeps/unix/sysv/sco3.2.4/__sigproc.S: Likewise.
11247 * sysdeps/mach/hurd/__sigproc.c: Likewise.
11248 * sysdeps/stub/__sigret.c: Renamed to sigreturn.c; added weak
11249 alias sigreturn.
11250 * sysdeps/unix/bsd/sun/__sigret.S: Likewise.
11251 * sysdeps/unix/sysv/i386/__sigret.S: Likewise.
11252 * sysdeps/unix/sysv/irix4/__sigret.S: Likewise.
11253 * sysdeps/unix/i386/__sigret.S: Likewise.
11254 * sysdeps/unix/mips/__sigret.S: Likewise.
11255 * sysdeps/mach/hurd/i386/__sigret.c: Likewise.
11256 * sysdeps/mach/hurd/alpha/__sigret.c: Likewise.
11257 * sysdeps/mach/hurd/mips/__sigret.c: Likewise.
11258 * sysdeps/posix/__sigvec.c: Renamed to sigvec.c; added weak alias
11259 sigvec.
11260 * sysdeps/stub/__sigvec.c: Likewise.
11261 * sysdeps/unix/bsd/__sigvec.S: Likewise.
11262 * sysdeps/unix/bsd/sun/__sigvec.S: Likewise.
11263 * sysdeps/unix/bsd/sequent/i386/__sigvec.S: Likewise.
11264 * sysdeps/unix/bsd/ultrix4/mips/__sigvec.S: Likewise.
11265 * sysdeps/unix/bsd/bsd4.4/__sigvec.c: Likewise.
11266 * sysdeps/unix/bsd/osf1/alpha/__sigvec.S: Likewise.
11267 * sysdeps/stub/__stat.c: Renamed to stat.c; added weak alias stat.
11268 * sysdeps/unix/__stat.S: Likewise.
11269 * sysdeps/unix/sysv/sysv4/i386/__stat.S: Likewise.
11270 * sysdeps/mach/hurd/__stat.c: Likewise.
11271 * sysdeps/generic/__stpncpy.c: Renamed to stpncpy.c; added weak
11272 alias stpncpy.
11273 * sysdeps/stub/__symlink.c: Renamed to symlink.c; added weak alias
11274 symlink.
11275 * sysdeps/unix/common/__symlink.S: Likewise.
11276 * sysdeps/mach/hurd/__symlink.c: Likewise.
11277 * sysdeps/posix/__sysconf.c: Renamed to sysconf.c; added weak
11278 alias sysconf.
11279 * sysdeps/stub/__sysconf.c: Likewise.
11280 * sysdeps/unix/bsd/ultrix4/__sysconf.c: Likewise.
11281 * sysdeps/unix/sysv/sysv4/__sysconf.c: Likewise.
11282 * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Likewise.
11283 * sysdeps/unix/sysv/irix4/__sysconf.c: Likewise.
11284 * hurd/__task2pid.c: Renamed to task2pid.c; added weak alias task2pid.
11285 * sysdeps/stub/__times.c: Renamed to times.c; added weak alias times.
11286 * sysdeps/unix/bsd/__times.c: Likewise.
11287 * sysdeps/unix/sysv/__times.S: Likewise.
11288 * time/__tzset.c: Renamed to tzset.c; added weak alias tzset.
11289 * sysdeps/stub/__umask.c: Renamed to umask.c; added weak alias umask.
11290 * sysdeps/unix/__umask.S: Likewise.
11291 * sysdeps/mach/hurd/__umask.c: Likewise.
11292 * sysdeps/stub/__unlink.c: Renamed to unlink.c; added weak alias
11293 unlink.
11294 * sysdeps/unix/__unlink.S: Likewise.
11295 * sysdeps/mach/hurd/__unlink.c: Likewise.
11296 * sysdeps/stub/__utimes.c: Renamed to utimes.c; added weak alias
11297 utimes.
11298 * sysdeps/unix/bsd/__utimes.S: Likewise.
11299 * sysdeps/unix/sysv/sysv4/solaris2/__utimes.S: Likewise.
11300 * sysdeps/mach/hurd/__utimes.c: Likewise.
11301 * sysdeps/generic/__vfork.c: Renamed to vfork.c; added weak alias
11302 vfork.
11303 * sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise.
11304 * sysdeps/unix/bsd/vax/__vfork.S: Likewise.
11305 * sysdeps/unix/bsd/i386/__vfork.S: Likewise.
11306 * sysdeps/unix/bsd/hp/m68k/__vfork.S: Likewise.
11307 * sysdeps/unix/bsd/ultrix4/mips/__vfork.S: Likewise.
11308 * sysdeps/unix/sysv/sysv4/i386/__vfork.S: Likewise.
11309 * sysdeps/unix/sparc/__vfork.S: Likewise.
11310 * stdio/__vfscanf.c: Renamed to vfscanf.c; added weak alias vfscanf.
11311 * stdio/__vsscanf.c: Renamed to vsscanf.c; added weak alias vsscanf.
11312 * sysdeps/posix/__wait.c: Renamed to wait.c; added weak alias wait.
11313 * sysdeps/stub/__wait.c: Likewise.
11314 * sysdeps/unix/bsd/sony/newsos4/__wait.c: Likewise.
11315 * sysdeps/unix/bsd/sun/sunos4/__wait.c: Likewise.
11316 * sysdeps/unix/bsd/sun/sunos3/m68k/__wait.S: Likewise.
11317 * sysdeps/unix/bsd/vax/__wait.S: Likewise.
11318 * sysdeps/unix/bsd/m68k/__wait.S: Likewise.
11319 * sysdeps/unix/bsd/bsd4.4/__wait.c: Likewise.
11320 * sysdeps/unix/sysv/i386/linux/__wait.S: Likewise.
11321 * sysdeps/unix/sysv/irix4/__wait.S: Likewise.
11322 * sysdeps/unix/i386/__wait.S: Likewise.
11323 * sysdeps/unix/mips/__wait.S: Likewise.
11324 * sysdeps/posix/__wait3.c: Renamed to wait3.c; added weak alias wait3.
11325 * sysdeps/stub/__wait3.c: Likewise.
11326 * sysdeps/unix/bsd/sony/newsos4/__wait3.c: Likewise.
11327 * sysdeps/unix/bsd/sun/sunos4/__wait3.c: Likewise.
11328 * sysdeps/unix/bsd/vax/__wait3.S: Likewise.
11329 * sysdeps/unix/bsd/i386/__wait3.S: Likewise.
11330 * sysdeps/unix/bsd/hp/m68k/__wait3.S: Likewise.
11331 * sysdeps/unix/bsd/ultrix4/__wait3.S: Likewise.
11332 * sysdeps/unix/bsd/bsd4.4/__wait3.c: Likewise.
11333 * sysdeps/unix/sysv/irix4/__wait3.S: Likewise.
11334 * sysdeps/stub/__wait4.c: Renamed to wait4.c; added weak alias wait4.
11335 * sysdeps/unix/bsd/sony/newsos4/__wait4.c: Likewise.
11336 * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Likewise.
11337 * sysdeps/unix/bsd/bsd4.4/__wait4.S: Likewise.
11338 * sysdeps/unix/bsd/osf1/alpha/__wait4.S: Likewise.
11339 * sysdeps/unix/sysv/linux/__wait4.S: Likewise.
11340 * sysdeps/mach/hurd/__wait4.c: Likewise.
11341 * sysdeps/stub/__waitpid.c: Renamed to waitpid.c; added weak alias
11342 waitpid.
11343 * sysdeps/unix/bsd/sun/sunos4/__waitpid.c: Likewise.
11344 * sysdeps/unix/bsd/ultrix4/__waitpid.S: Likewise.
11345 * sysdeps/unix/bsd/bsd4.4/__waitpid.c: Likewise.
11346 * sysdeps/unix/bsd/osf1/alpha/__waitpid.c: Likewise.
11347 * sysdeps/unix/sysv/linux/__waitpid.S: Likewise.
11348 * sysdeps/unix/sysv/sysv4/__waitpid.c: Likewise.
11349 * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Likewise.
11350 * sysdeps/unix/sysv/irix4/__waitpid.c: Likewise.
11351 * sysdeps/stub/__write.c: Renamed to write.c; added weak alias write.
11352 * sysdeps/unix/__write.S: Likewise.
11353 * sysdeps/mach/hurd/__write.c: Likewise.
11354 * sysdeps/standalone/__write.c: Likewise.
11355 * sysdeps/stub/__tcgetatr.c: Renamed to tcgetattr.c; added weak
11356 alias tcgetattr.
11357 * sysdeps/unix/bsd/__tcgetatr.c: Likewise.
11358 * sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c: Likewise.
11359 * sysdeps/unix/bsd/bsd4.4/__tcgetatr.c: Likewise.
11360 * sysdeps/unix/sysv/__tcgetatr.c: Likewise.
11361 * sysdeps/stub/__sigact.c: Renamed to sigaction.c; added weak
11362 alias sigaction.
11363 * sysdeps/unix/bsd/__sigact.c: Likewise.
11364 * sysdeps/unix/sysv/__sigact.c: Likewise.
11365 * sysdeps/unix/sysv/sysv4/__sigact.c: Likewise.
11366 * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Likewise.
11367 * sysdeps/mach/hurd/__sigact.c: Likewise.
11368 * sysdeps/posix/__sigstmsk.c: Renamed to sigsetmask.c; added weak
11369 alias sigsetmask.
11370 * sysdeps/stub/__sigstmsk.c: Likewise.
11371 * sysdeps/unix/bsd/__sigstmsk.S: Likewise.
11372 * sysdeps/unix/bsd/bsd4.4/__sigstmsk.c: Likewise.
11373 * sysdeps/unix/bsd/osf1/alpha/__sigstmsk.S: Likewise.
11374 * sysdeps/stub/__getrusag.c: Renamed to getrusage.c; added weak
11375 alias getrusage.
11376 * sysdeps/unix/sysv/irix4/__getrusag.c: Likewise.
11377 * sysdeps/unix/common/__getrusag.S: Likewise.
11378 * hurd/task2pid.c: File removed.
11379 * hurd/setauth.c: File removed.
11380 * hurd/pid2task.c: File removed.
11381 * hurd/hurdsyms.c: File removed.
11382 * hurd/getdport.c: File removed.
11383 * hurd/fopenport.c: File removed.
11384 * mach/thread-sym.c: File removed.
11385 * mach/spin-syms.c: File removed.
11386 * mach/msgserver_t.c: File removed.
11387 * mach/msgserver.c: File removed.
11388 * mach/msg.c: File removed.
11389 * mach/mig_syms.c: File removed.
11390 * malloc/mcheck-init.c: File removed.
11391 * malloc/cfree.c: File removed.
11392 * io/flock.c: File removed.
11393 * io/write.c: File removed.
11394 * io/unlink.c: File removed.
11395 * io/umask.c: File removed.
11396 * io/symlink.c: File removed.
11397 * io/rmdir.c: File removed.
11398 * io/readlink.c: File removed.
11399 * io/read.c: File removed.
11400 * io/pipe.c: File removed.
11401 * io/open.c: File removed.
11402 * io/mkdir.c: File removed.
11403 * io/lstat.c: File removed.
11404 * io/lseek.c: File removed.
11405 * io/link.c: File removed.
11406 * io/isatty.c: File removed.
11407 * io/stat.c: File removed.
11408 * io/fstat.c: File removed.
11409 * io/fchown.c: File removed.
11410 * io/fchmod.c: File removed.
11411 * io/dup2.c: File removed.
11412 * io/dup.c: File removed.
11413 * io/close.c: File removed.
11414 * io/fcntl.c: File removed.
11415 * io/chmod.c: File removed.
11416 * io/chdir.c: File removed.
11417 * io/access.c: File removed.
11418 * io/chown.c: File removed.
11419 * time/tzset.c: File removed.
11420 * time/timelocal.c: File removed.
11421 * time/syms-time.c: File removed.
11422 * time/settod.c: File removed.
11423 * time/setitmr.c: File removed.
11424 * time/gettod.c: File removed.
11425 * time/getitmr.c: File removed.
11426 * time/adjtime.c: File removed.
11427 * termios/tcgetattr.c: File removed.
11428 * string/stpncpy.c: File removed.
11429 * string/rindex.c: File removed.
11430 * string/memccpy.c: File removed.
11431 * string/index.c: File removed.
11432 * string/bcmp.c: File removed.
11433 * stdlib/srand.c: File removed.
11434 * stdlib/random.c: File removed.
11435 * stdio/vsscanf.c: File removed.
11436 * stdio/vfscanf.c: File removed.
11437 * stdio/syms-stdio.c: File removed.
11438 * stdio/remove.c: File removed.
11439 * stdio/getline.c: File removed.
11440 * stdio/getdelim.c: File removed.
11441 * signal/ssignal.c: File removed.
11442 * signal/sigvec.c: File removed.
11443 * signal/sigsetmask.c: File removed.
11444 * signal/sigret.c: File removed.
11445 * signal/sigproc.c: File removed.
11446 * signal/sigpause.c: File removed.
11447 * signal/sigblock.c: File removed.
11448 * signal/sigaction.c: File removed.
11449 * signal/kill.c: File removed.
11450 * signal/gsignal.c: File removed.
11451 * setjmp/siglongjmp.c: File removed.
11452 * setjmp/_longjmp.c: File removed.
11453 * resource/getrusage.c: File removed.
11454 * posix/waitpid.c: File removed.
11455 * posix/wait4.c: File removed.
11456 * posix/wait3.c: File removed.
11457 * posix/wait.c: File removed.
11458 * posix/times.c: File removed.
11459 * posix/sysconf.c: File removed.
11460 * posix/setuid.c: File removed.
11461 * posix/setsid.c: File removed.
11462 * posix/setpgrp.c: File removed.
11463 * posix/setpgid.c: File removed.
11464 * posix/setgid.c: File removed.
11465 * posix/pathconf.c: File removed.
11466 * posix/getuid.c: File removed.
11467 * posix/getppid.c: File removed.
11468 * posix/getpid.c: File removed.
11469 * posix/getgrps.c: File removed.
11470 * posix/getgid.c: File removed.
11471 * posix/geteuid.c: File removed.
11472 * posix/getegid.c: File removed.
11473 * posix/fpathcon.c: File removed.
11474 * posix/fork.c: File removed.
11475 * posix/execve.c: File removed.
11476 * posix/environ.c: File removed.
11477 * misc/utimes.c: File removed.
11478 * misc/setreuid.c: File removed.
11479 * misc/setregid.c: File removed.
11480 * misc/select.c: File removed.
11481 * misc/sbrk.c: File removed.
11482 * misc/mknod.c: File removed.
11483 * misc/ioctl.c: File removed.
11484 * misc/getpgsz.c: File removed.
11485 * misc/gethstnm.c: File removed.
11486 * misc/getdtsz.c: File removed.
11487 * misc/data_start.c: File removed.
11488 * misc/brk.c: File removed.
11489 * math/scalb.c: File removed.
11490 * math/rint.c: File removed.
11491 * math/logb.c: File removed.
11492 * math/isnan.c: File removed.
11493 * math/isinf.c: File removed.
11494 * math/infnan.c: File removed.
11495 * math/finite.c: File removed.
11496 * math/expm1.c: File removed.
11497 * math/drem.c: File removed.
11498 * math/copysign.c: File removed.
11499 * math/__scalb.c: File removed.
11500 * dirent/getdents.c: File removed.
11501
11502 Fri Jan 20 16:11:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11503
11504 * sysdeps/generic/morecore.c (__default_morecore): Use
11505 __malloc_ptrdiff_t; don't cast arg to int.
11506
11507 * resolv/getnetnamadr.c: Include "conf/portability.h".
11508
11509 Thu Jan 19 02:20:04 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11510
11511 * stdlib/strtol.c: Include errno.h.
11512 [QUAD] (ULONG_MAX): Define to a static variable initialized to
11513 ULONG_LONG_MAX. This is to work around a GCC bug in using the
11514 constant in arithmetic.
11515
11516 * posix/unistd.h (daemon): Declare it.
11517
11518 * malloc/mcheck-init.c: Remove GNU ld hacks.
11519 (__malloc_initialize_hook): Initialize this hook to turn_on_mcheck.
11520 * malloc/malloc.c (__malloc_initialize_hook): New hook variable.
11521 (initialize): Call the hook if set.
11522 * malloc/malloc.h: Use __malloc_{size,ptrdiff}_t in prototypes.
11523 (__malloc_initialize_hook): Declare new hook variable.
11524
11525 Wed Jan 18 01:43:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11526
11527 * hurd/hurdsig.c: Prepend `msg_' to server RPC names.
11528 * hurd/hurdpid.c: Likewise.
11529 * hurd/hurdauth.c: Likewise.
11530
11531 Tue Jan 17 03:16:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11532
11533 * sysdeps/mach/hurd/__select.c: If some replies are EINTR, succeed
11534 if any are successful.
11535
11536 * hurd/hurdmsg.c: Prepend `msg_' to all RPC names.
11537 (_S_msg_get_exec_flags, _S_msg_set_exec_flags,
11538 _S_msg_set_some_exec_flags, _S_msg_clear_some_exec_flags): New
11539 functions.
11540 (_S_io_select_done, _S_dir_changed, _S_file_changed): Stubs removed.
11541
11542 * hurd/hurdkill.c: __sig_post renamed to __msg_sig_post.
11543 * hurd/hurd-raise.c: Likewise.
11544 * hurd/hurdsig.c (post_reply): Prepend `msg_' to RPC names.
11545
11546 * sysdeps/mach/hurd/ptrace.c: New file.
11547
11548 * sysdeps/mach/hurd/__select.c: Revamped to use new io_select
11549 interface, which has normal EINTR semantics. Instead of waiting
11550 for io_select_done notification messages, send io_select messages
11551 with short reply timeout and then wait for io_select_reply
11552 messages.
11553
11554 * hurd/hurdexec.c (_hurd_exec): Pass (_hurd_exec_flags &
11555 EXEC_INHERITED) to file_exec.
11556
11557 * hurd/hurdsig.c (post_reply): Take new arg UNTRACED; if nonzero,
11558 use sig_post_untraced_reply. All callers changed.
11559 (abort_thread, abort_rpcs): Take same new arg and pass it through.
11560 All callers changed.
11561 (_hurd_internal_post_signal): Take new arg UNTRACED.
11562 If zero and process is traced, stop with SIGNO as stop signal. If
11563 nonzero, resume process before delivering signal (unless
11564 ACT==stop). Expand local fn sigwakeup into block at end taken iff
11565 SIGNO!=0.
11566 (signal_allowed): New function, broken out of _S_sig_post.
11567 (_S_sig_post): Call it. Pass UNTRACED arg of false to
11568 _hurd_internal_post_signal.
11569 (_S_sig_post_untraced): New function. Just like _S_sig_post, but
11570 pass true for UNTRACED.
11571 * hurd/hurd/signal.h (_hurd_internal_post_signal): Take new arg
11572 UNTRACED.
11573 * hurd/catch-exc.c (_S_catch_exception_raise): Pass UNTRACED arg
11574 to _hurd_internal_post_signal (value zero).
11575
11576 Mon Jan 16 16:40:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11577
11578 * hurd/hurdinit.c (_hurd_exec_flags): New variable.
11579 (_hurd_init): Initialize it from FLAGS arg.
11580 (_hurd_proc_init): If EXEC_TRACED is set in _hurd_exec_flags,
11581 raise a SIGTRAP signal (with a sigcode of zero).
11582 * hurd/hurd.h (_hurd_exec_flags): Declare it.
11583
11584 * Version 1.09.5.
11585
11586 Mon Jan 16 16:16:55 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
11587
11588 * malloc/malloc.c (malloc): Fix 1-off in previous change.
11589
11590 Mon Jan 16 15:49:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11591
11592 * posix/glob/Makefile.in: Remove config.h and config.log.
11593
11594 Sun Jan 15 06:56:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11595
11596 * posix/glob/configure.in: Add AC_CONST check.
11597
11598 * conf/portability.h: #undef sun.
11599 * resolv/res_query.c: Updated from BIND-4.9.3-BETA17.
11600 * resolv/getnetnamadr.c: Likewise.
11601
11602 * socket/Makefile (headers): Add sockaddrcom.h.
11603 * inet/netinet/in.h: Include <sockaddrcom.h>.
11604 (struct sockaddr_in): Use the __SOCKADDR_COMMON macro.
11605 * socket/sys/un.h (struct sockaddr_in): Likewise.
11606 * socket/sys/socket.h (struct sockaddr): Likewise.
11607 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: New file.
11608 * sysdeps/generic/sockaddrcom.h: New file.
11609
11610 * sysdeps/unix/sysv/sysv4/ftruncate.c: New file.
11611 * sysdeps/unix/common/fcntlbits.h [__USE_SVID] (F_ALLOCSP,
11612 F_FREESP): New macros.
11613 * sysdeps/posix/truncate.c: New file.
11614
11615 * malloc/malloc.c (malloc): Fix typos in RMS's change.
11616
11617 * malloc/Makefile (dist-routines): Add malloc-find.
11618 * malloc/malloc.h (malloc_find_object_address): Declare it.
11619 * malloc/malloc-find.c: New file.
11620
11621 * malloc/malloc.h (__malloc_ptrdiff_t): New macro, defined a la
11622 __malloc_size_t.
11623 (malloc_info): Use that type for member `busy.info.size'.
11624
11625 * stdlib/strtol.c: Change uses of `long' keyword throughout to use
11626 `LONG' macro.
11627 [! QUAD] (LONG): Define as long.
11628 [QUAD] (LONG): Define as long long.
11629 [QUAD] (LONG_MIN, LONG_MAX, ULONG_MAX): Redefine to long long
11630 versions.
11631 [QUAD] (strtoul, strtol): Define to strtouq, strtoq.
11632 * stdlib/Makefile (routines): Add strtoq and strtouq.
11633 * stdlib/strtoq.c, stdlib/strtouq.c: New files.
11634 * stdlib/stdlib.h [__GNUC__ && __USE_BSD] (strtoq, strtouq):
11635 Declare them.
11636
11637 * stdio/vfprintf.c: If there was a precision specified, ignore the
11638 0 flag and always pad with spaces.
11639
11640 * stdio/vfprintf.c: Don't use strchr to skip text until next %.
11641 Use a loop and also stop on first !isascii char.
11642
11643 Wed Jan 11 00:07:10 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
11644
11645 * malloc/malloc.h (malloc_info): Change usage of .busy.info.size.
11646
11647 * malloc/malloc.c (malloc): For a multi-block object, store a
11648 negative number into the busy.info.size of all but the first block.
11649
11650 Tue Jan 10 13:45:20 1995 Brendan Kehoe <brendan@zen.org>
11651
11652 * sysdeps/unix/bsd/ultrix4/mips/start.S: Use s0, s1, and s2
11653 instead of t0, t1, and t2.
11654
11655 Tue Jan 10 05:53:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11656
11657 * malloc/memalign.c (__memalign_hook): New variable.
11658 (memalign): Call it if set.
11659 * malloc/malloc.h (__memalign_hook): Declare new variable.
11660
11661 Wed Dec 28 03:27:21 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11662
11663 * conf/portability.h: Include string.h and stdlib.h.
11664 * inet/netdb.h (NETDB_INTERNAL, NETDB_SUCCESS): New macros.
11665 * resolv/resolv.h, resolv/arpa/nameser.h, resolv/gethnamaddr.c,
11666 resolv/getnetbyname.c, resolv/getnetent.c, resolv/herror.c,
11667 resolv/res_mkquery.c, resolv/res_send.c, resolv/res_comp.c,
11668 resolv/res_debug.c, resolv/res_init.c: Updated from BIND 4.9.3-BETA14.
11669
11670 * sysdeps/m68k/fpu/__math.h (__m81_inline): New macro. Replace
11671 all uses of `extern __inline' with `__m81_inline'.
11672
11673 * sysdeps/unix/bsd/hp/m68k/__vfork.S: Use subl, not decl.
11674 * sysdeps/unix/__fork.S: Swap args in subl.
11675
11676 * posix/sys/types.h [__USE_MISC] (ushort, uint): New typedefs, for
11677 compatibility.
11678
11679 Tue Dec 20 13:33:20 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
11680
11681 * sysdeps/mach/hurd/__setpgrp.c (__setpgrp): Use __swtch_pri instead
11682 of swtch.
11683 * sysdeps/mach/hurd/__setsid.c (__setsid): Likewise.
11684 * mach/spin-solid.c (__spin_lock_solid): Likewise.
11685
11686 Thu Dec 15 12:01:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11687
11688 * inet/rcmd.c (iruserok): Use alloca instead of fixed-size buffer
11689 for PBUF.
11690 (__ivaliduser): Use getline instead of fgets with fixed-size buffer.
11691
11692 * sysdeps/mach/hurd/Makefile (subdirs): Don't elide inet.
11693
11694 Wed Dec 14 18:20:56 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11695
11696 * sysdeps/alpha/bsd-setjmp.S: Reverse register and immediate args
11697 in `bis' insn; immediate must be second.
11698
11699 * sysdeps/unix/__fork.S: Use subl instead of decl.
11700 * sysdeps/unix/i386/__fork.S: New file.
11701
11702 * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler):
11703 Remove A macro; just use `asm volatile' with proper quotes in each
11704 line.
11705 * sysdeps/mach/alpha/sysdep.h (CALL_WITH_SP): Put parens around
11706 jmp target register.
11707
11708 * time/africa, time/asia, time/australasia, time/emkdir.c,
11709 time/europe, time/ialloc.c, time/northamerica, time/private.h,
11710 time/scheck.c, time/yearistype, time/zdump.c, time/zic.c: New code
11711 and data from ADO 94h distribution.
11712
11713 * sysdeps/sparc/setjmp.S: Use sethi and or to put address of
11714 __sigjmp_save in %g1 and jmp there. jmp cannot contain a complete
11715 absolute pointer. Put second store in jmp delay slot.
11716
11717 Tue Dec 13 15:47:52 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11718
11719 * sysdeps/sparc/bsd-_setjmp.S: Use sethi and or to put address of
11720 __sigsetjmp in %g1 and jmp there. jmp cannot contain a complete
11721 absolute pointer.
11722 * sysdeps/sparc/bsd-setjmp.S: Likewise.
11723
11724 * configure.in: Use ; before } in { ... } exprs.
11725
11726 \f
11727
11728 See ChangeLog.4 for earlier changes.