]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Mon Apr 1 13:34:55 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
[thirdparty/glibc.git] / ChangeLog
1 Mon Apr 1 13:34:55 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
2
3 * stdio-common/tst-printf.c (main): Add new test case.
4
5 * sysdeps/generic/setenv.c (unsetenv): Use old-style definition.
6
7 Mon Apr 1 11:39:10 Ulrich Drepper <drepper@gnu.ai.mit.edu>
8
9 * stdlib/strtod.c (STRTOD): Fix handling of American style FP
10 numbers.
11
12 * stdio-common/vfprintf.c (vfprintf): Don't increment format
13 string pointer twice after seeing `*'.
14
15 Sun Mar 31 17:31:54 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
16
17 * MakeTAGS (po/SYS_libc.pot): Prepend header processed from
18 po/header.pot.
19
20 Sun Mar 31 18:07:32 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
21
22 * locale/Makefile (others, install-bin): Compiling locale works
23 again.
24 (locale-modules): locale has no --dump option anymore. Remove
25 ctypedump.
26
27 * locale/programs/config.h: Don't declare euidaccess.
28 Use #include_next to get libc's config.h.
29
30 * locale/programs/ctypedump.c: Not needed anymore. Dump option
31 of locale is removed.
32
33 * locale/programs/locale.c: Adapt for new locale implementation.
34
35 * stdio-common/_itoa.h (_itoa_word): Define as inline function.
36 * stdio-common/_itoa.c (_itoa_lower_digits, _itoa_upper_digits):
37 Don't declare static because used in _itoa_word inline function.
38
39 * stdio-common/printf-parse.h: Prepare for use in wide-char
40 stdio implementation.
41 (find_spec): Take additional argument to work with mbrlen instead
42 of mblen.
43 (parse_one_spec): Ditto.
44
45 * stdio-common/printf-prs.c: Prepare for use in wide-char
46 stdio implementation.
47
48 * stdio-common/printf.h: Mark change for wide-char handling.
49 Changing it now would result in incompatibilities.
50
51 * stdio-common/vfprintf.c: New and fast implementation.
52
53 * wcsmbs/Makefile (routines): Remove pre-ISO C multibyte functions
54 mbsadvance, mbscat, mbschr, mbscmp, mbscpy, mbsdup, mbslen,
55 mbsncat, mbsncmp, mbsncpy, mbsrchr, mbstomb.
56 Change wcswcs to wcsstr.
57 Add wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset, btowc, wctob,
58 mbsinit, mbrlen, mbrtowc, wcrtomb, mbsrtowcs, wcsrtombs.
59
60 * wcsmbs/btowc.c, wcsmbs/mbrlen.c, wcsmbs/mbrtowc.c,
61 wcsmbs/mbsinit.c, wcsmbs/mbsrtowcs.c, wcsmbs/wchar.h,
62 wcsmbs/wcrtomb.c, wcsmbs/wcsrtombs.c, wcsmbs/wcsstr.c,
63 wcsmbs/wctob.c, wcsmbs/wmemchr.c, wcsmbs/wmemcmp.c,
64 wcsmbs/wmemcpy.c, wcsmbs/wmemmove.c, wcsmbs/wmemset.c: New
65 function according to ISO C amendment 1.
66 * wchar.h: Wrapper around "wcsmbs/wchar.h".
67
68 * wcsmbs/wcscat.c, wcsmbs/wcschr.c, wcsmbs/wcscmp.c,
69 wcsmbs/wcscpy.c, wcsmbs/wcscspn.c, wcsmbs/wcsdup.c,
70 wcsmbs/wcslen.c, wcsmbs/wcsncat.c, wcsmbs/wcsncmp.c,
71 wcsmbs/wcsncpy.c, wcsmbs/wcspbrk.c, wcsmbs/wcsrchr.c,
72 wcsmbs/wcsspn.c, wcsmbs/wcstok.c: Changed to conform with ISO C
73 amendment 1.
74
75 * wcsmbs/mbsadvance.c, wcsmbs/mbscat.c, wcsmbs/mbschr.c,
76 wcsmbs/mbscmp.c, wcsmbs/mbscpy.c, wcsmbs/mbsdup.c,
77 wcsmbs/mbslen.c, wcsmbs/mbsncat.c, wcsmbs/mbsncmp.c,
78 wcsmbs/mbsncpy.c, wcsmbs/mbsrchr.c, wcsmbs/mbstomb.c,
79 wcsmbs/mbstr.h, wcsmbs/wcstr.h, wcsmbs/wcswcs.c: Removed.
80 Implement functions from early drafts, not part of final standard.
81
82 Sun Mar 31 16:50:41 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
83
84 * setjmp/setjmp.h (jmp_buf): Change gratuitous struct tag name to
85 __jmp_bug_tag so its C++ implicit typedef does not conflict with the
86 __jmp_buf typedef.
87
88 * Makerules (BUILD_CFLAGS) [! objdir]: Use $(..)config.h when
89 compiling in the source directories.
90
91 Fri Mar 29 16:26:35 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
92
93 * sysdeps/libm-ieee754/w_gamma.c: Use signgam instead of __signgam.
94 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
95
96 Fri Mar 29 11:29:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
97
98 * sysdeps/libm-ieee754/s_signgam.c (signgam): Renamed to __signgam,
99 with weak alias signgam.
100
101 Thu Mar 28 18:32:34 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
102
103 * Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally.
104
105 Thu Mar 28 14:22:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
106
107 * sunrpc/rpc_main.c (main): Call textdomain.
108
109 * MakeTAGS (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): Add
110 --no-location.
111 (all-pot): Replace $(subdirs) files with $P/subdirs.pot.
112 ($P/subdirs.pot): New target.
113 ($P/SYS_libc.pot): Add -n switch.
114
115 * locale/locale.h (LC_*): Values reordered to match Linux libc.
116
117 * sysdeps/mach/hurd/kill.c: If proc_pid2task gives us MACH_PORT_NULL
118 the process is a zombie; send no messages and return success.
119
120 Thu Mar 28 11:53:26 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
121
122 * wctype/cname-lookup.h: Find localeinfo.h in ../locale.
123 * wctype/wctype.c: Likewise.
124 * wctype/wctrans.c: Likewise.
125
126 Thu Mar 28 03:00:43 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
127
128 * locale/nl_langinfo.c (nl_langinfo): Use DATA->values instead of
129 DATA->strings.
130
131 * Makerules (BUILD_CFLAGS): Remove $(common-objpfx) from config.h.
132
133 * configure.in (.weakext check): Fix asm code to use .weakext instead
134 of .weak! Fix bogus test calls.
135 * configure: Regenerated.
136
137 Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
138
139 * locale/programs/xmalloc.c: Test _LIBC as well as STDC_HEADERS.
140
141 * locale/programs/ld-collate.c (collate_finish): Use error_at_line
142 instead of error_with_loc.
143
144 * locale/weight.h: Use u_int32_t instead of u32_t.
145 * string/strxfrm.c: Likewise.
146
147 * string/strxfrm.c: Find weight.h in ../locale; don't #include
148 "localeinfo.h".
149 * string/strcoll.c: Likewise.
150
151 * intl/Makefile (copysrc): Add missing > in sed cmd.
152
153 Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
154
155 * Makeconfig: Rename Makefile variable nlsdir to i18ndir and
156 change value to $(datadir)/i18n. `nls' is not an appropriate
157 name.
158
159 * Makefile (subdirs): Add new subdir wctype.
160
161 * ctype/ctype-info.c: Add new global variable __ctype_names
162 and initialize from _nl_C_LC_CTYPE.
163
164 * ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
165 class. Use bit 11.
166 [_ISbit]: Protect definition of bitmasks because they are also
167 used in wctype.h.
168
169 * libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
170 after successfully pushing back a character.
171
172 Fundamental changes in locale implementation. Almost nothing
173 from the old code is used anymore.
174 * locale/charmap.c, locale/collate.c, locale/config.h,
175 locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
176 locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
177 locale/locale.c locale/localeconv.c, locale/localedef.c,
178 locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
179 locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
180 locale/numeric.c, locale/setlocale.c, locale/token.h,
181 locale/xmalloc.c: Removed.
182
183 * locale/Makefile: Update for new locale implementation with
184 program source code distributed in subdir.
185
186 * locale/categories.def, locale/iso-4217.def: Updated file
187 for new locale implementation.
188
189 * locale/langinfo.h: Updated for new locale implementation.
190 (ERA_D_T_FMT, ERA_T_FMT): New official values according to
191 P1003.2b/D11.
192 (_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
193 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
194 _NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
195 _NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
196 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
197 _NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
198 extended LC_CTYPE and LC_COLLATE implementation.
199
200 * locale/programs/simple-hash.c, locale/programs/simple-hash.h,
201 locale/programs/xmalloc.c, locale/programs/xstrdup.c: Helper functions
202 for locale related programs.
203
204 * locale/C-collate.c, locale/C-ctype.c,
205 locale/C-messages.c, locale/C-monetary.c,
206 locale/C-numeric.c, locale/C-time.c,
207 locale/lc-collate.c, locale/lc-ctype.c,
208 locale/lc-messages.c, locale/lc-monetary.c,
209 locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
210 functions, and new generated "C" locale data.
211
212 * locale/loadlocale.c: Now handles word fields in locale binary
213 automatically by changing the endianess if necessary.
214
215 * locale/localeinfo.h (LIMAGIC): Changed magic number because
216 of incompatible changes.
217 (locale_data): Changed definition to allow word as a value type.
218 (coll_sort_rule): Values for collation sorting mode.
219 (_NL_CURRENT_WORD): New macro to access word value of locale entry.
220 (__collate_table, __collate_extra): Declare new global variables
221 for collation tables.
222
223 * locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
224 locale/programs/charmap.c, locale/programs/charset.c,
225 locale/programs/charset.h, locale/programs/config.h,
226 locale/programs/ctypedump.c, locale/programs/ld-collate.c,
227 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
228 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
229 locale/programs/ld-time.c, locale/programs/linereader.c,
230 locale/programs/linereader.h, locale/programs/locale.c,
231 locale/programs/localedef.c, locale/programs/locales.h,
232 locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
233 locale/programs/locfile-token.h, locale/programs/locfile.c,
234 locale/programs/locfile.h, locale/programs/stringtrans.c,
235 locale/programs/stringtrans.h: Implementation of locale related
236 programs.
237
238 * locale/weight.h: Functions to access collation tables.
239
240 * posix/unistd.h: Define _POSIX2_LOCALEDEF.
241
242 * stdio-common/printf_fp.c: Fix bug with printing certain numbers
243 < 10^-1. Reported by Bill Metzenthen.
244
245 * stdio-common/tfformat.c: Add new test for above bug.
246
247 * string/strcoll.c, string/strxfrm.c: Real implementation of
248 string collation according to ISO C.
249
250 * wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
251 wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
252 wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
253 Implementation of wide character classes and mapping.
254
255 Wed Mar 27 14:52:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
256
257 * elf/rtld.c (dl_main): Call _dl_sysdep_start_cleanup after
258 _dl_relocate_object loop. Avoid relocating RTLD_MAP in that loop, and
259 do it individually if necessary after _dl_sysdep_start_cleanup call.
260
261 * stdlib/Makefile (mpn-routines): Add divrem.
262
263 Tue Mar 26 22:54:14 Ulrich Drepper <drepper@gnu.ai.mit.edu>
264
265 * stdio-common/printf_fp.c (__printf_fp): Use mpn_divmod
266 instead of __mpn_divmod.
267
268 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
269
270 * sysdeps/alpha/setjmp.S: Must establish global pointer before
271 address of __sigsetjmp_aux can be loaded.
272
273 Wed Mar 27 02:23:19 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
274
275 * sysdeps/i386/i586/memset.S: New file. Highly optimized
276 version for i586 contributed by Torbjorn Granlund.
277 Adapted for use as bzero.
278 * sysdeps/i386/i586/bzero.S: Use sysdeps/i386/i586/memset.S
279 code to implement bzero().
280
281 Tue Mar 26 20:01:17 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
282
283 * stdlib/Makefile (mpn-routines): Remove divmod.
284
285 Tue Mar 26 15:40:14 1996 Brendan Kehoe <brendan@zen.org>
286
287 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (NO_UNDERSCORES): Use
288 wrapped with #ifndef, to avoid config.h defining it.
289
290 Mon Mar 25 13:10:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
291
292 * malloc/realloc.c (_realloc_internal): In case of growing large
293 block, leave _heaplimit zero across _malloc_internal call.
294
295 * intl/Makefile [gettext-srcdir]: Use gpl2lgpl.sed on copied sources.
296
297 Mon Mar 25 03:35:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
298
299 * malloc/malloc.c (morecore): Don't attempt recursive realloc of info
300 table when _heaplimit==0 during realloc growing large block.
301
302 * MakeTAGS (extract): Remove /dev/null from xgettext command line.
303 (text-srcs): New variable: extract only C sources from $(tags_sources).
304 (po/$(domain).pot): Depend on that.
305 If it's empty, cp /dev/null $@ instead of $(extract).
306
307 * misc/Makefile (headers): Add iovec.h.
308 * sysdeps/unix/sysv/linux/iovec.h: New file.
309 * sysdeps/generic/iovec.h: New file.
310 * misc/sys/uio.h (struct iovec): Type replaced with #include <iovec.h>.
311
312 * configure.in (NO_UNDERSCORES check): Use AC_TRY_LINK instead of
313 AC_TRY_COMPILE.
314
315 * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): Move these
316 macros inside [! __STDC__].
317
318 * stdlib/rpmatch.c: New file.
319 * stdlib/Makefile (routines): Add rpmatch.
320 * stdlib/stdlib.h [__USE_SVID]: Declare rpmatch.
321
322 * MakeTAGS (MSGJOIN): Variable removed.
323 (po/SYS_libc.pot): Use $(XGETTEXT) instead of $(MSGJOIN).
324
325 Wed Mar 20 20:08:46 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
326
327 * sysdeps/unix/sysdep.h: Don't define C_SYMBOL_NAME.
328
329 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't define
330 NO_UNDERSCORES.
331
332 Thu Mar 21 11:19:15 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
333
334 * mach/devstream.c (input): Translate \r to \n on input.
335
336 Wed Mar 20 11:28:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
337
338 * stdio-common/printf.h, stdio-common/printf_fp.c,
339 stdio-common/vfprintf.c: Place const in parameter list at
340 correct place.
341
342 Wed Mar 20 23:58.12 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
343
344 * sysdeps/i386/ldbl2mpn.c: Copy of former version of
345 sysdeps/ieee754/ldbl2mpn.c.
346 * sysdeps/ieee754/ldbl2mpn.c: Remove i386 specific unification.
347 Reported by Andreas Schwab.
348
349 Wed Mar 20 19:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
350
351 * version.c: Include version.h to define RELEASE and VERSION macros.
352 (__libc_release, __libc_version): Use them.
353 * locale/SYS_libc.c (_libc_intl_domainname): Include ../version.h and
354 use VERSION to define domainname as `SYS_GNU_libc-VERSION'.
355 * Make-dist (rel+vers): Snarf the macro values from version.h.
356
357 * MakeTAGS (extract): Pass $(XGETTEXTFLAGS-$(@F)).
358 (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): New variables;
359 pass -a for these files.
360
361 * Makerules (po/%.pot): Depend on FORCE target so recursive make is
362 always run.
363
364 Mon Mar 18 22:54:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
365
366 * sysdeps/unix/sysv/linux/wait3.c: New file.
367 * sysdeps/unix/sysv/linux/wait.c: Use the bsd4.4 wait, not the
368 one from sysdeps/posix.
369
370 Wed Mar 20 09:42:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
371
372 * sysdeps/unix/bsd/waitflags.h (WNOREAP): New macro.
373
374 * elf/dl-load.c (_dl_map_object_from_fd): Always set L->l_type; if not
375 lt_executable, then lt_library.
376 * elf/rtld.c (dl_main): Don't set NEW->l_type after _dl_map_object.
377
378 Wed Mar 20 00:08:23 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
379
380 * sysdeps/unix/sysv/linux/syscalls.list: Remove gtty and stty.
381
382 Tue Mar 19 16:31:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
383
384 * sysdeps/unix/sysv/linux/termbits.h (CRTSCTS, CBAUDEX, VEOL,
385 VEOL2, VMIN, VTIME): Corrected.
386 (PAGEOUT, WRAP, VDSUSP): Deleted.
387
388 Tue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
389
390 * sysdeps/unix/readdir.c: Test [! _DIRENT_HAVE_D_RECLEN] instead of
391 (sizeof (DP->d_name) > 1) to detect fixed-size dir entries.
392
393 * sysdeps/i386/fpu/__math.h (asinh): Call log1p instead of __log1p.
394
395 * math/math.h: Move M_* constants before __math.h include.
396 [__NO_MATH_INLINES || __OPTIMIZE__]: Include __math.h only #if this.
397
398 * misc/efgcvt_r.c (ecvt_r): Declare floor, log10, fabs as weak extern.
399 If log10 is not defined (i.e. no -lm), use stupid loop instead.
400
401 * features.h (__FAVOR_BSD): Define only if _BSD_SOURCE is defined
402 and no other _*_SOURCE macro is.
403 (_GNU_SOURCE): Don't define by default.
404 * libc-symbols.h (_GNU_SOURCE): Define it.
405
406 * configure.in (alpha*-*-linux*): Unset $gnu_ld and $elf.
407
408 * config.make.in (weak-symbols): Variable removed.
409 * configure.in (--with-weak-symbols): Option removed.
410 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
411 New tests.
412
413 * config.h.in (HAVE_WEAK_SYMBOLS): #undef removed.
414 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
415 New #undefs.
416 * libc-symbols.h: Use them instead of HAVE_WEAK_SYMBOLS.
417
418 * sysdeps/unix/bsd/pause.c: Moved to sysdeps/unix/common/pause.c.
419
420 Mon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
421
422 * inet/inet_lnaof.c: Use u_int32_t instead of u_long.
423 * inet/inet_mkadr.c: Likewise.
424 * inet/inet_net.c: Likewise.
425 * inet/inet_netof.c: Likewise.
426 * inet/rcmd.c: Likewise.
427 * inet/arpa/inet.h: Likewise.
428 * inet/netinet/in.h: Likewise.
429 * inet/netinet/tcp.h: Likewise.
430 * inet/protocols/rwhod.h: Likewise.
431 * inet/protocols/talkd.h: Likewise.
432 * resolv/inet_addr.c: Likewise.
433
434 * sysdeps/unix/sysv/linux/adjtime.c: Use INT_MAX instead of LONG_MAX.
435
436 * sysdeps/unix/sysv/Makefile (sysdep_routines): Don't add s_getdents.
437
438 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add mount,
439 umount.
440
441 * sysdeps/alpha/__math.h (atan, cabs): New functions.
442
443 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: new file (syscall
444 expects set-value, not pointer to it).
445
446 Sun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
447
448 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: New file.
449
450 * gmon/gmon.c (__bb_head): new variable.
451 (write_hist, write_call_graph, write_bb_counts): new functions.
452 (_mcleanup): modified to call above functions instead of directly
453 writing out gmon.out.
454 * gmon/sys/gmon.h (struct __bb): New type.
455 (struct gmonhdr): Type removed.
456 (struct gmonparam): New member `log_hashfraction'.
457 (GMONVERSION): Macro removed.
458
459 * gmon/sys/gmon_out.h, gmon/bb_exit_func.c,
460 sysdeps/generic/bb_init_func.c, sysdeps/alpha/bb_init_func.S: new
461 files.
462 * gmon/Makefile (headers): Add sys/gmon_out.h.
463 (routines): Add bb_init_func, bb_exit_func.
464
465 * gmon/mcount.c: Avoid integer division.
466
467 Wed Feb 21 23:56:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
468
469 * sysdeps/alpha/setjmp.S: switched order in which sp and fp are
470 passed to match what __sigsetjmp_aux() expects.
471
472 Tue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com>
473
474 * sysdeps/unix/sysv/linux/alpha/syscalls.list (select, bind,
475 connect, getpeername, getsockname, listen, recv, recvfrom,
476 recvmsg, send, sendmsg, sendto, setsockopt, shutdown, socketpair):
477 added to override same-name assembly file in the parent directory.
478
479 * stdlib/stdlib.h: add include of sys/types.h in front of random
480 etc declarations to ensure int32_t is declared.
481
482 * stdlib/random.c, stdlib/random_r.c: replaced "long int" by int32_t
483 where 32 bit integers are required. Also change LONG_MAX into
484 0x7fffffff since the intent is to turn off the sign bit in a
485 32 bit integer.
486
487 * time/offtime.c (__offtime): Use Paul Eggert's code to deal
488 with very large values for "days" (e.g., 64 bit values).
489
490 Mon Feb 19 22:22:12 1996 David Mosberger-Tang <davidm@azstarnet.com>
491
492 * stdlib/stdlib.h (__random, __random_r, random_r, struct
493 random_data): use int32_t instead of `long int'.
494
495 Sat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
496
497 * sysdeps/unix/sysv/linux/alpha/ioperm.c: new file.
498
499 * sysdeps/alpha/ffs.S: new file.
500
501 * sysdeps/alpha/fabs.c: File removed.
502
503 * time/tzfile.c (__tzfile_read): counter variable is i, *not*
504 num_transitions!
505
506 * time/offtime.c: make capable of dealing with very large (64 bit)
507 time_t values. Use old algorithm until a year is reached that
508 is an integer multiple of 400, then use DAYS_PER_400_YEARS to
509 do the remainder in a single division.
510
511 * sysdeps/generic/ffs.c (ffs): fix variable declarations to
512 be unsigned int, not unsigned long.
513
514 * string/test-ffs.c (main): add test case with all upper bits
515 set.
516
517 * stdlib/tst-strtol.c: add tests cases for machines where
518 sizeof(long)==8.
519
520 * stdlib/testrand.c (main): disallow rand() to return negative
521 integers.
522
523 * stdlib/testmb.c (main): fix format to use %lx instead of %x.
524
525 * stdlib/stdlib.h: on 64 bit machines, declare
526 struct random_data, __random(), __random_r, and random_r to
527 return "int" instead of "long int".
528
529 * stdlib/random_r.c: 64 bit machines use "int" instead of "long
530 int". Similarly, use INT_MAX instead of LONG_MAX.
531
532 * stdlib/random.c: on 64 bit machines, randtbl[] and __random[]
533 need to operate on "int" instead of "long int".
534
535 * locale/locfile-hash.c (compute_hashval): make shifted constant
536 a long to avoid loosing bits on 64 bit machines.
537
538 * dirent/tst-seekdir.c (main): fix confusing comment; print
539 a line to mark point where directory is rewound.
540
541 Fri Feb 16 15:01:49 1996 David Mosberger-Tang <davidm@azstarnet.com>
542
543 * time/strftime.c (strftime): any hour > 11 is PM (not > 12!).
544
545 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
546
547 * sysdeps/unix/sysv/linux/alpha/Makefile,
548 sysdeps/unix/sysv/linux/alpha/brk.S,
549 sysdeps/unix/sysv/linux/alpha/fpu_control.c,
550 sysdeps/unix/sysv/linux/alpha/fpu_control.h,
551 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
552 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
553 sysdeps/unix/sysv/linux/alpha/pipe.S,
554 sysdeps/unix/sysv/linux/alpha/setfpucw.c,
555 sysdeps/unix/sysv/linux/alpha/sigprocmask.c,
556 sysdeps/unix/sysv/linux/alpha/speed.c,
557 sysdeps/unix/sysv/linux/alpha/start.S,
558 sysdeps/unix/sysv/linux/alpha/syscall.S,
559 sysdeps/unix/sysv/linux/alpha/syscalls.list,
560 sysdeps/unix/sysv/linux/alpha/alpha/regdef.h,
561 sysdeps/unix/sysv/linux/alpha/sysdep.S,
562 sysdeps/unix/sysv/linux/alpha/sysdep.h: New files.
563
564 * sysdeps/alpha/setjmp_aux.c (__sigsetjmp_aux): restore return
565 address register before returning (gcc 2.7.1 doesn't do it,
566 presumably because $26 is declared as a global variable).
567
568 * sysdeps/unix/sysv/linux/sys/mman.h: msync was missing "flags"
569 argument.
570
571 * sysdeps/unix/alarm.c (alarm): do roundup using test & increment
572 instead of multiplication.
573
574 * sysdeps/posix/sleep.c (sleep): initialize sa_mask to mask of
575 currently blocked signals instead of the empty mask to ensure
576 that execution of alarm handler occurs with none of the currently
577 blocked signals enabled.
578
579 * sysdeps/unix/alpha/sysdep.h: new file (adapted from OSF/1 version).
580
581 * sysdeps/unix/bsd/osf/alpha/sysdep.h: include
582 sysdeps/unix/alpha/sysdep.h and removed definitions now in that file.
583
584 * sysdeps/alpha/divrem.S, sysdeps/alpha/htonl.S,
585 sysdeps/alpha/htons.S, sysdeps/alpha/machine-gmon.h,
586 sysdeps/alpha/_mcount.S, sysdeps/alpha/ntohl.s, sysdeps/alpha/ntohs.s,
587 sysdeps/alpha/strlen.S: New files.
588
589 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
590 sysdeps/alpha/divqu.S, sysdeps/alpha/divrem.m4,
591 sysdeps/alpha/macros.m4, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
592 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S, sysdeps/alpha/strlen.c:
593 Removed.
594
595 * sysdeps/generic/sbrk.c (__sbrk): argument is of type ptrdiff_t, not
596 int.
597
598 * sysdeps/alpha/__longjmp.c (__longjmp): moved dummy while loop
599 to end of function to avoid a jump across NOPs.
600
601 * sysdeps/alpha/Makefile (sysdep_routines): Removed all rules
602 pertaining to integer division/remainder routines since new code
603 doesn't require them.
604
605 * sunrpc/xdr_mem.c, sunrpc/xdr_stdio.c: Use 4 instead of sizeof(long)
606 where 32 bit quantities are consumed/stored. Various other minor
607 64-bit cleanups (casting).
608
609 * sunrpc/xdr.c (xdr_int): test for sizeof(int)==4 to determine
610 whether xdr_long or xdr_short should be used to encode an int.
611 Notice that an xdr_long is 4 bytes independent of the architecture
612 (otherwise no Alpha could interoperate with existing NFS servers,
613 for example). Ditto for enums.
614
615 * sunrpc/svc_udp.c (svcudp_recv): changed test from 4*sizeof(u_long)
616 to 16 since it really wants 16 bytes.
617
618 * sunrpc/svc.c (maskp): changed from u_long* to u_int32*.
619
620 * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): change casts to
621 u_int32_t (instead of u_long).
622
623 * sunrpc/rpc_cmsg.c (xdr_callmsg), sunrpc/svc_authux.c: increment
624 "buf" pointer by casting it to a char* first since a long* may be 8
625 bytes or more and oa->oa_length may be any multiple of 4.
626
627 * sunrpc/clnt_udp.c (clntudp_call): replaced sizeof(u_long) by 4
628 since it really is testing for 32 bits. Fixed casts to use
629 u_int32 instead of u_long.
630 * sunrpc/xdr_rec.c: Likewise.
631
632 * sunrpc/clnt_tcp.c (clnttcp_call): replaced u_long by u_int32.
633 * sunrpc/rpc/auth.h: Likewise.
634
635 * limits.h (LONG_MAX, LONG_MIN, ULONG_MAX): use 64 bit values
636 for Alpha.
637
638 Tue Mar 19 13:27:49 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
639
640 * sysdeps/i386/fpu/__math.h: New file.
641 Contributed by John C. Bowman <bowman@hagar.ph.utexas.edu>.
642
643 Sun Mar 17 00:28:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
644
645 * sysdeps/posix/clock.c: Don't multiply the return value by
646 CLOCKS_PER_SEC or CLK_TCK.
647
648 Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
649
650 * sysdeps/mach/hurd/getcwd.c: Fail with ENOENT if a parent directory
651 scan finds no match.
652
653 * posix/unistd.h (setpgrp): Declare no-arg version unless __FAVOR_BSD.
654 * misc/bsd-compat.c (setpgrp): New function, two arg version.
655 * sysdeps/stub/setpgid.c: Remove setpgrp alias.
656 * sysdeps/mach/hurd/setpgid.c: Likewise.
657 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
658 * sysdeps/unix/common/syscalls.list (setpgid): Remove setpgrp alias.
659 * sysdeps/unix/sysv/irix4/syscalls.list: Likewise.
660 * sysdeps/unix/sysv/linux/setpgrp.c: Obsolete file removed.
661 * posix/setpgrp.c (setpgrp): New file.
662 * posix/Makefile (routines): Add setpgrp.
663
664 * elf/Makefile (rtld-link): New canned sequence.
665 (ld.so, ld-linux.so.1): Use it. Pass -soname option.
666
667 * sysdeps/i386/setjmp.S (__setjmp): Define compatibility entry point.
668
669 Sun Mar 17 23:15:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
670
671 * sysdeps/unix/sysv/linux/tcgetpgrp.c,
672 sysdeps/unix/sysv/linux/tcsetpgrp.c: New files.
673
674 Sun Mar 17 07:19:33 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
675
676 * db/Makefile (CFLAGS-hash_func.c): New variable; pass -Wno-unused.
677 (CFLAGS): Append -Wno-unitialized.
678
679 Sat Mar 16 20:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
680
681 * stdlib/erand48_r.c: Use FP division by powers of two to distribute
682 short bits into double.
683
684 Sat Mar 16 20:08:22 1996 David Mosberger-Tang <davidm@azstarnet.com>
685
686 * sysdeps/alpha/memchr.S: New file.
687 * sysdeps/alpha/memchr.c: Obsolete file removed.
688 * string/tester.c: Soup up memchr tests.
689
690 Sat Mar 16 16:26:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
691
692 * misc/Makefile (headers): Add sysexits.h.
693 * misc/sysexits.h: New file.
694
695 Thu Mar 14 15:20:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
696
697 * sysdeps/libm-ieee754/e_atan2.c (__ieee754_atan2): Change atan
698 call to __atan.
699 * sysdeps/libm-ieee754/e_atan2f.c (__ieee754_atan2f): Change atanf
700 call to __atanf.
701
702 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
703 sysdeps/m68k/fpu/e_asin.c, sysdeps/m68k/fpu/e_asinf.c,
704 sysdeps/m68k/fpu/e_atanh.c, sysdeps/m68k/fpu/e_atanhf.c,
705 sysdeps/m68k/fpu/e_cosh.c, sysdeps/m68k/fpu/e_coshf.c,
706 sysdeps/m68k/fpu/e_exp.c, sysdeps/m68k/fpu/e_expf.c,
707 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
708 sysdeps/m68k/fpu/e_log.c, sysdeps/m68k/fpu/e_log10.c,
709 sysdeps/m68k/fpu/e_log10f.c, sysdeps/m68k/fpu/e_logf.c,
710 sysdeps/m68k/fpu/e_pow.c, sysdeps/m68k/fpu/e_powf.c,
711 sysdeps/m68k/fpu/e_remainder.c, sysdeps/m68k/fpu/e_remainderf.c,
712 sysdeps/m68k/fpu/e_scalb.c, sysdeps/m68k/fpu/e_scalbf.c,
713 sysdeps/m68k/fpu/e_sinh.c, sysdeps/m68k/fpu/e_sinhf.c,
714 sysdeps/m68k/fpu/e_sqrt.c, sysdeps/m68k/fpu/e_sqrtf.c,
715 sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_cosf.c,
716 sysdeps/m68k/fpu/k_sin.c, sysdeps/m68k/fpu/k_sinf.c,
717 sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/k_tanf.c,
718 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
719 sysdeps/m68k/fpu/s_ceil.c, sysdeps/m68k/fpu/s_ceilf.c,
720 sysdeps/m68k/fpu/s_cos.c, sysdeps/m68k/fpu/s_cosf.c,
721 sysdeps/m68k/fpu/s_expm1.c, sysdeps/m68k/fpu/s_expm1f.c,
722 sysdeps/m68k/fpu/s_fabs.c, sysdeps/m68k/fpu/s_fabsf.c,
723 sysdeps/m68k/fpu/s_finite.c, sysdeps/m68k/fpu/s_finitef.c,
724 sysdeps/m68k/fpu/s_floor.c, sysdeps/m68k/fpu/s_floorf.c,
725 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
726 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
727 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
728 sysdeps/m68k/fpu/s_isnan.c, sysdeps/m68k/fpu/s_isnanf.c,
729 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
730 sysdeps/m68k/fpu/s_log1p.c, sysdeps/m68k/fpu/s_log1pf.c,
731 sysdeps/m68k/fpu/s_logb.c, sysdeps/m68k/fpu/s_logbf.c,
732 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c,
733 sysdeps/m68k/fpu/s_rint.c, sysdeps/m68k/fpu/s_rintf.c,
734 sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
735 sysdeps/m68k/fpu/s_significand.c,
736 sysdeps/m68k/fpu/s_significandf.c, sysdeps/m68k/fpu/s_sin.c,
737 sysdeps/m68k/fpu/s_sinf.c, sysdeps/m68k/fpu/s_tan.c,
738 sysdeps/m68k/fpu/s_tanf.c, sysdeps/m68k/fpu/s_tanh.c,
739 sysdeps/m68k/fpu/s_tanhf.c: New files, for m68881 port of fdlibm.
740
741 * sysdeps/m68k/fpu/__math.h: Rewritten for fdlibm.
742
743 * sysdeps/m68k/fpu/isinfl.c: Rewritten to get argument type right.
744 * sysdeps/m68k/fpu/isnanl.c: Likewise.
745
746 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
747
748 * posix/glob.c (glob): In GLOB_BRACE brace expansion, fix buffer size
749 calculation to include trailing invariant portion. Don't use alloca;
750 instead use a dynamic auto array for GCC, malloc for non-GCC.
751 Handle nested braces properly.
752
753 * elf/elf.h (Elf32_auxv_t): Specify prototype (void) for `a_un.a_fcn'.
754
755 * libc-symbols.h (lint): New macro.
756
757 Fri Mar 15 01:18:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
758
759 * libio/iosetvbuf.c: Add weak alias setvbuf.
760
761 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
762
763 * string/strnlen.c: New file.
764 * string/Makefile (routines): Add strnlen.
765 * string/string.h [__USE_GNU] (strnlen): Declare new function.
766 [__OPTIMIZE__]: Define extern inline implementation of it.
767
768 * stdlib/erand48_r.c: Use __mpn_construct_double instead of ldexp and
769 addition, to avoid using anything from -lm.
770
771 Mon Mar 4 21:57:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
772
773 * sysdeps/unix/sysv/linux/m68k/Makefile: New file.
774
775 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYS_ify): Redefine.
776 (CALL_MCOUNT): New macro, empty unless [PROF].
777 (ENTRY): Do CALL_MCOUNT just after the label.
778 (JUMPTARGET): New macro.
779 (SYSCALL_ERROR_HANDLER): Fix syntax.
780
781 Thu Mar 14 04:20:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
782
783 * sysdeps/unix/sysv/linux/init-first.c (init): Call `__personality'
784 function instead of using inline asm i386 syscall.
785 * sysdeps/unix/sysv/linux/syscalls.list: Add personality syscall.
786
787 * posix/unistd.h [__USE_BSD]: Declare usleep.
788
789 Tue Mar 12 04:57:57 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
790
791 * misc/efgcvt.c (MAXDIG): New macro computed from <floats.h> constants.
792 (fcvt, ecvt): Use it for buffer size.
793
794 * stdlib/drand48-iter.c (__drand48_iterate): Use u_int64_t instead of
795 conditionalizing long vs long long.
796
797 * stdlib/drand48-iter.c (__drand48_iterate): Don't check for null
798 pointers; never return EFAULT.
799 * stdlib/drand48_r.c (drand48_r): Likewise.
800 * stdlib/erand48_r.c (erand48_r): Likewise.
801
802 * setjmp/Makefile (tests): Add jmpbug.
803 * setjmp/jmpbug.c: New file.
804
805 Tue Mar 12 04:42:01 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
806
807 * sysdeps/sparc/jmp_buf.h: Rewritten; use array of ints, not struct.
808 * sysdeps/sparc/setjmp.S: Rewritten; store %fp value as well.
809 * sysdeps/sparc/__longjmp.S: Rewritten; unwind frames one by one with
810 `restore' until the target frame is hit.
811
812 Sun Mar 10 20:29:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
813
814 * sysdeps/unix/sysv/linux/sigsuspend.c: New file.
815 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigsuspend, add
816 s_sigsuspend.
817
818 Thu Mar 7 21:30:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
819
820 * Makerules (+make-deps, sed-remove-objpfx): Quote periods on the
821 left side of sed substitutions.
822
823 Sun Mar 10 16:58:10 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
824
825 * stdio-common/printf_fp.c (hack_digit): __mpn_normal_size
826 is not available anymore. Do it ourselves.
827
828 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_SETCW):
829 Correct GCC `asm' syntax.
830
831 Tue Mar 12 03:15:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
832
833 * stdio-common/Makefile (tests): Add tst-ungetc.
834 * stdio-common/tst-ungetc.c: New test from drepper.
835 * stdio-common/tstscanf.c (main): New %[ test case from drepper.
836
837 * sysdeps/libm-ieee754/s_scalbn.c (scalbn): Rename to __scalbn;
838 somehow this was missed, though the weak alias is already there.
839
840 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_DEFAULT): Change
841 default to double precision, all interrupts masked; fdlibm requires.
842
843 Sat Mar 9 18:44:27 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
844
845 * sysdeps/unix/sysv/linux/i386/setfpucw.c: Obsolete file removed.
846
847 Fri Mar 8 22:16:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
848
849 * stdio-common/printf_fp.c (HAVE_ALLOCA): New macro.
850
851 Tue Mar 5 18:45:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
852
853 * sysdeps/mach/hurd/select.c (__select): Include LASTFD in the
854 final loop.
855
856 Mon Mar 4 20:54:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
857
858 * Makeconfig ($(common-objpfx)config.make): Depend on config.h.in.
859
860 Tue Mar 5 12:14:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
861
862 * sysdeps/mach/hurd/select.c (__select): Also don't fault just
863 because some fdmask is 0.
864
865 Mon Mar 4 17:35:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
866
867 * sysdeps/mach/hurd/select.c (__select):
868 Don't increment GOT only because READ/WRITE/EXCEPTFDS is 0!
869 Don't return without frobbing the bitmasks after a timeout.
870 When clearing the bitmasks, only loop from FIRSTFD to LASTFD.
871
872 Mon Mar 4 17:35:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
873
874 * hurd/catch-signal.c (hurd_safe_memmove): New function.
875 (hurd_safe_copyin, hurd_safe_copyout): New functions.
876 * hurd/hurd/sigpreempt.h: Declare them.
877
878 Sun Mar 3 08:43:44 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
879
880 Replace math code with fdlibm from Sun as modified for netbsd by
881 JT Conklin and Ian Taylor, including x86 FPU support.
882 * sysdeps/libm-ieee754, sysdeps/libm-i387: New directories.
883 * math/math_private.h: New file.
884 * sysdeps/i386/fpu/Implies: New file.
885 * sysdeps/ieee754/Implies: New file.
886 * math/machine/asm.h, math/machine/endian.h: New files.
887 * math/Makefile, math/math.h: Rewritten.
888 * mathcalls.h, math/mathcalls.h: New file, broken out of math.h.
889 * math/finite.c: File removed.
890 * sysdeps/generic/Makefile [$(subdir)=math]: Frobnication removed.
891
892 * math/test-math.c: Include errno.h and string.h.
893
894 * sysdeps/unix/bsd/dirstream.h: File removed.
895 * sysdeps/unix/bsd/readdir.c: File removed.
896
897 Sat Mar 2 16:35:40 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
898
899 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: File removed.
900 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: File
901 removed.
902 * sysdeps/generic/profil-counter.h: New file.
903
904 Fri Mar 1 17:11:59 1996 Brendan Kehoe <brendan@zen.org>
905
906 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sigcontext.h: New file,
907 including <sysdeps/unix/bsd/sun/sparc/sigcontext.h>.
908 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: New file,
909 same as linux/m68k/profil-counter.h except the comment.
910
911 Fri Mar 1 10:09:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
912
913 * stdlib/Makefile (mpn-stuff): New target.
914 (copy-mpn): Use it.
915
916 * Code copied from GMP updated to 1.937 version.
917 * stdlib/strtod.c (HAVE_ALLOCA): Define this for gmp headers.
918
919 * posix/glob.c: Use canonical code from autoconf manual for dirent
920 include.
921 [_D_NAMLEN]: Redefine NAMLEN using this.
922 (glob_in_dir): Use NAMLEN macro.
923
924 * sysdeps/posix/profil.c: New file.
925
926 Thu Feb 29 20:55:57 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
927
928 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: New file.
929
930 Tue Feb 27 12:14:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
931
932 * libc-symbols.h [GCC >= 2.8] (strong_alias, weak_alias): Remove
933 `extern' keyword.
934
935 * time/strftime.c: Support - and _ flags to affect number padding.
936
937 * sysdeps/unix/common/tcsendbrk.c: New file.
938
939 Mon Feb 26 10:22:30 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
940
941 * sysdeps/unix/dirstream.h: Rewritten.
942 * sysdeps/unix/readdir.c: Rewritten.
943 * sysdeps/unix/telldir.c: Rewritten.
944 * sysdeps/unix/closedir.c: Use <...> instead of "..." for dirstream.h.
945 Remove __ from DIR struct member names.
946 * sysdeps/unix/dirfd.c: Likewise.
947 * sysdeps/unix/seekdir.c: Likewise.
948 * sysdeps/unix/rewinddir.c: Likewise.
949 * sysdeps/unix/opendir.c: Likewise. Don't allocate extra space after
950 DIR structure.
951 * sysdeps/stub/direct.h: File removed.
952 * sysdeps/unix/bsd/bsd4.4/direct.h: File removed.
953 * sysdeps/unix/bsd/direct.h: File removed.
954 * sysdeps/unix/common/direct.h: File removed.
955 * sysdeps/unix/sysv/irix4/direct.h: File removed.
956 * sysdeps/unix/sysv/isc3/direct.h: File removed.
957 * sysdeps/unix/sysv/sco3.2.4/direct.h: File removed.
958 * sysdeps/unix/sysv/sysv4/solaris2/direct.h: File removed.
959 * sysdeps/unix/common/direntry.h: New file.
960 * sysdeps/unix/bsd/direntry.h: New file.
961 * sysdeps/unix/bsd/bsd4.4/direntry.h: New file.
962 * sysdeps/unix/sysv/direntry.h: New file.
963 * sysdeps/stub/direntry.h: New file.
964 * dirent/dirent.h (struct dirent): Type removed. Include <direntry.h>
965 to define it.
966 (_D_EXACT_NAMLEN, _D_ALLOC_NAMLEN): New macros.
967 * dirent/Makefile (headers): Add direntry.h.
968 (distribute): Remove direct.h.
969 * sysdeps/posix/getcwd.c: Use new macros instead of d_namlen.
970 * dirent/scandir.c: Likewise.
971 * io/fts.c (fts_build): Likewise.
972 * io/ftw.c (ftw_dir): Likewise.
973 * sysdeps/posix/ttyname.c: Likewise.
974
975 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
976
977 * sysdeps/mach/hurd/profil.c (MAX_PC_SAMPLES): New macro.
978 (collector_timeout): New static variable.
979 (update_waiter): Actually call __task_enable_pc_sampling.
980 Set collector_timeout based on the `tick' count returned.
981 (profile_waiter): Use MAX_PC_SAMPLES. Set nsamples before RPC.
982 Use collector_timeout in __mach_msg call.
983
984 * gmon/Makefile (noprof): New variable containing mcount.
985 Append profil unless it is in $(unix-syscalls).
986 (mcount.po): Use $(noprof) for list of targets in this rule.
987
988 * libc-symbols.h: Define _LIBC before #include <config.h>.
989
990 Sun Feb 25 12:29:23 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
991
992 * config.h.in [_LIBC] (HAVE_STRERROR): Define it.
993 Protect 2nd page of #undef's for generator programs with #ifndef _LIBC.
994
995 * time/zic.c, time/zdump.c, time/private.h: Updated from ADO 96e.
996
997 Fri Feb 9 12:40:19 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
998
999 * libio/cleanup.c (_IO_cleanup_registration_needed)
1000 [!_G_HAVE_ATEXIT]: Init to NULL.
1001 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Remove decl.
1002
1003 Thu Feb 8 08:12:50 1996 Brendan Kehoe <brendan@cygnus.com>
1004
1005 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Revert
1006 previous change, since cleanup.c only defines it if _G_HAVE_ATEXIT.
1007
1008 Wed Feb 7 15:10:17 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
1009
1010 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Declare as
1011 extern.
1012
1013 Sat Feb 24 11:34:13 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1014
1015 * sysdeps/i386/memcmp.S: Fix argument %esp offsets.
1016
1017 * time/sys/time.h (timeradd, timersub): New macros; BSD has these.
1018
1019 Wed Feb 21 02:25:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1020
1021 * Rules (others): Depend on $(extra-objs), $(install-lib),
1022 $(install-bin), $(install-sbin), in object directory.
1023
1024 * Makeconfig (link-libc): Don't pass -rpath option with default
1025 path, since ld.so should use the same default.
1026 * Makerules (build-shlib): Likewise.
1027
1028 * Makerules (make-target-directory): Use mkinstalldirs.
1029
1030 * sysdeps/mach/i386/sysdep.h: Include unix/i386/sysdep.h to
1031 redefine ENTRY et al.
1032
1033 * sysdeps/unix/sysv/linux/i386/sysdep.h (NO_UNDERSCORES, ENTRY):
1034 Macros removed. The code in unix/i386/sysdep.h should now suffice.
1035
1036 * sysdeps/unix/i386/sysdep.h (ALIGNARG): New macro, defns for
1037 [HAVE_ELF] and not.
1038 (ENTRY): Use it in .align directive.
1039 (CALL_MCOUNT): New macro, empty unless [PROF].
1040 (ENTRY): Do CALL_MCOUNT just after the label.
1041
1042 * Makeconfig (CPPFLAGS-.po): New variable, use -DPROF so assembly
1043 code can call mcount.
1044
1045 Tue Feb 20 23:05:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1046
1047 * time/private.h, time/zdump.c, time/zic.c: Updated verbatim from ADO;
1048 translation markings are now integrated in his distribution.
1049
1050 * stdlib/strtod.c (round_and_return): Add missing (mp_limb) 1 cast.
1051
1052 Mon Feb 19 18:31:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1053
1054 * po: New directory where `LANG.po' files for message translations
1055 will reside.
1056 * po/SYS_libc.pot: New file, template of message strings as in source.
1057 * MakeTAGS: New rules to build po/SYS_libc.pot automatically from
1058 the source using xgettext.
1059 * Makerules ($(..)po/%.pot): New rule.
1060 * manual/Makefile (../po/manual.pot): New target, make it empty.
1061
1062 * sysdeps/unix/bsd/alarm.c: Moved to sysdeps/unix/alarm.c.
1063 * sysdeps/unix/bsd/nice.c: Moved to sysdeps/unix/nice.c.
1064 * sysdeps/unix/bsd/stime.c: Moved to sysdeps/unix/stime.c.
1065 * sysdeps/unix/bsd/time.c: Moved to sysdeps/unix/time.c.
1066 * sysdeps/unix/bsd/utime.c: Moved to sysdeps/unix/utime.c.
1067
1068 * time/zic.c, time/scheck.c, time/private.h, time/tzfile.h:
1069 Updated from ADO 96d.
1070
1071 Sun Feb 18 14:08:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1072
1073 * csu/initfini.c (_init): Remove bogus volatile declarations and
1074 extra variable, take the address of __gmon_start__ only implicitly
1075 to avoid the test being optimized out.
1076
1077 Sun Feb 18 15:08:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1078
1079 * sysdeps/posix/utimes.c (__utimes): There are 1000000 usecs in a
1080 sec.
1081
1082 Sun Feb 18 13:56:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1083
1084 * elf/Makefile, time/Makefile: Make `all' the default target.
1085
1086 Mon Feb 19 18:09:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1087
1088 * misc/sys/ptrace.h: Moved to ...
1089 * sysdeps/generic/sys/ptrace.h: ... here.
1090 * sys/ptrace.h: File removed.
1091
1092 Sun Feb 18 12:13:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1093
1094 * sysdeps/unix/sysv/linux/Makefile (headers): Add fpu_control.h.
1095
1096 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Put it into .bss
1097 so that the symbol alias works.
1098
1099 * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_SETCW): Corrected.
1100
1101 * sysdeps/unix/sysv/linux/resourcebits.h: New file.
1102
1103 * sysdeps/unix/sysv/linux/sys/ptrace.h: New file.
1104
1105 * sysdeps/unix/sysv/linux/syscalls.list: Add getegid, geteuid,
1106 getppid and reboot.
1107
1108 * sysdeps/unix/sysv/linux/sysconf.c: Special version that does not
1109 use getdtablesize.
1110
1111 Sat Feb 17 10:30:21 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1112
1113 * stdio-common/printf_fp.c, stdlib/strtod.c, sysdeps/ieee754/dbl2mpn.c,
1114 sysdeps/ieee754/ldbl2mpn.c, sysdeps/ieee754/mpn2dbl.c,
1115 sysdeps/ieee754/mpn2ldbl.c: Cast left operands of shift instructions
1116 to `long' where necessary.
1117
1118 Thu Feb 15 20:04:50 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
1119
1120 * stdlib/fpioconst.h: Introduce new constant _FPIO_CONST_OFFSET.
1121 * stdio-common/printf_fp.c, stdlib/strtod.c: Use _FPIO_CONST_OFFSET
1122 to correctly access MPN array depending on architecture.
1123
1124 Mon Feb 19 15:30:26 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1125
1126 * stdio-common/tstscanf.c (main): Add check for "0" as %d.
1127
1128 * sysdeps/stub/msync.c: Undo change of Jan 29; just two args.
1129 Only some systems have three args; let them define their own stub.
1130
1131 * sysdeps/generic/dl-sysdep.c: Declare _dl_secure.
1132
1133 * sysdeps/generic/machine-gmon.h: New file.
1134 * gmon/Makefile (distribute): Add machine-gmon.h.
1135 * gmon/mcount.c: Undo changes of Feb 13.
1136 Include "machine-gmon.h".
1137
1138 Sun Feb 18 13:24:06 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1139
1140 * sysdeps/unix/sysv/linux/direct.h: File removed, since it is
1141 identical to unix/common/direct.h.
1142
1143 * sysdeps/unix/Makefile [no_deps]: Don't include s-proto.d.
1144
1145 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add ipc.
1146
1147 * stdio-common/Makefile (tests): Remove scanf6.
1148
1149 * sysdeps/unix/sysv/linux/Makefile (non-lib.a): Append libieee.a.
1150
1151 * time/mktime.c (mktime): Move static variable localtime_offset to
1152 file scope.
1153
1154 * stdio-common/vfscanf.c: Put '0' in buffer before scanning for %i
1155 base indicator.
1156
1157 Thu Feb 15 16:56:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1158
1159 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Corrected.
1160 (ELF_MACHINE_BEFORE_RTLD_RELOC): Define.
1161 (_dl_runtime_resolve): Save %a1 as well.
1162 (ELF_MACHINE_RUNTIME_FIXUP_ARGS): Add second dummy arg.
1163 (elf_machine_relplt): Define.
1164
1165 * elf/dl-runtime.c: Include possible extra args in declaration of
1166 fixup.
1167
1168 Fri Feb 16 11:01:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1169
1170 * time/tzset.c: Limit hours to 23, not 12. From jaffer.
1171
1172 Fri Feb 16 10:14:05 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1173
1174 * Makeconfig (CFLAGS-.po): Use -pg instead of -p.
1175
1176 Thu Feb 15 13:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1177
1178 * mach/Machrules: Use -include for $(*.ir).
1179
1180 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Mask off type bits in
1181 request values.
1182 * sysdeps/mach/hurd/ioctls.h (_IOC_NOTYPE): New macro.
1183 (_IOT_COUNT2): Field is 3 bits, not 2.
1184 * sysdeps/mach/hurd/ioctl.c: Ignore handler if it fails with ENOTTY.
1185 * hurd/hurdioctl.c (_hurd_lookup_ioctl_handler): Mask off type
1186 bits before looking up handler.
1187 (fioctl): Use __hurd_dfail.
1188 (fioctl, fioclex): Use ENOTTY for bogus request instead of EGRATUITOUS.
1189
1190 Thu Feb 15 11:49:45 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1191
1192 * sysdeps/unix/sysv/sysv4/Makefile [$(subdir)-signal]
1193 (sysdep_routines): Don't add sys-sig.
1194
1195 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
1196
1197 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
1198
1199 * sysdeps/alpha/memchr.c (memchr): loop searching for matching
1200 character bailed out one too early; changed constant 6 to
1201 7 to fix this.
1202
1203 Wed Feb 14 01:08:58 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1204
1205 * posix/execvp.c: When executing shell on script, first arg is
1206 full file name, not argv[0].
1207
1208 * mach/Makefile [no_deps]: Inhibit inclusion of mach-syscalls.mk.
1209 * mach/Machrules [no_deps]: Inhibit interface rules.
1210
1211 * malloc/Makefile (distribute): Removed TODO.
1212
1213 Tue Feb 13 05:12:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1214
1215 * sysdeps/unix/sysv/linux/syscalls.list (ipc): Specify msgget in
1216 caller column.
1217
1218 * sysdeps/unix/common/syscalls.list: Add sigaction syscall.
1219
1220 * sysdeps/unix/sysv/linux/gnu/types.h: Moved from linux/i386.
1221
1222 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]
1223 (sysdep_routines): Append setfpucw.
1224 (extra-objs): Append ieee-fpucw.o.
1225 (install-lib): Append libieee.a.
1226 (libieee.a): New target.
1227 * sysdeps/unix/sysv/linux/ieee-fpucw.c: New file.
1228 * sysdeps/unix/sysv/linux/i386/fpu_control.h
1229 (_FPU_GETCW, _FPU_SETCW): New macros.
1230 (fpu_control_t): New typedef.
1231 (__setfpucw): Use fpu_control_t for argument type.
1232 * sysdeps/unix/sysv/linux/fpu_control.c: Moved from linux/i386.
1233
1234 * sysdeps/unix/sysv/linux/init-first.c: Moved from linux/i386.
1235
1236 * sysdeps/unix/sysv/linux/syscalls.list: Add ipc syscall.
1237 * sysdeps/unix/sysv/linux/i386/syscalls.list: File removed.
1238
1239 Sat Feb 10 13:09:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1240
1241 * sysdeps/unix/sysv/linux/m68k/brk.c,
1242 sysdeps/unix/sysv/linux/m68k/mmap.S,
1243 sysdeps/unix/sysv/linux/m68k/select.S,
1244 sysdeps/unix/sysv/linux/m68k/sigcontext.h,
1245 sysdeps/unix/sysv/linux/m68k/sigreturn.S,
1246 sysdeps/unix/sysv/linux/m68k/socket.S,
1247 sysdeps/unix/sysv/linux/m68k/syscall.S,
1248 sysdeps/unix/sysv/linux/m68k/sysdep.S,
1249 sysdeps/unix/sysv/linux/m68k/sysdep.h: New files.
1250
1251 * sysdeps/unix/sysv/linux/m68k/fpu_control.h: New file.
1252
1253 * sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
1254 sysdeps/m68k/isinfl.c, sysdeps/m68k/isnanl.c: New files.
1255
1256 * sysdeps/unix/sysv/linux/sys/mman.h: Define MAP_ANON and
1257 MAP_FILE if not already defined.
1258
1259 * elf/elf.h: Add m68k reloc definitions.
1260 * sysdeps/m68k/dl-machine.h, sysdeps/m68k/elf/start.S: New files.
1261
1262 Tue Feb 13 00:12:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1263
1264 * elf/dl-runtime.c (fixup) [ELF_MACHINE_RUNTIME_FIXUP_ARGS]: Let
1265 this macro declare extra leading args.
1266
1267 * Makerules [$(elf)=yes] (ar-symtab-name): Define to empty.
1268
1269 * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
1270 elf_machine_relplt): New macros.
1271 * elf/dl-runtime.c: New file.
1272 * sysdeps/i386/dl-runtime.c, sysdeps/stub/dl-runtime.c: Files removed.
1273
1274 * gmon/Makefile (headers): Remove machine-gmon.h.
1275 * sysdeps/stub/machine-gmon.h, sysdeps/i386/machine-gmon.h: Removed.
1276 * gmon/mcount.c [! NO_UNDERSCORES] (_mcount): Specify "mcount" as
1277 the asm name.
1278 (_mcount): Define normally, taking no args.
1279 Use __builtin_return_address to fetch PC values of caller and caller's
1280 caller.
1281
1282 * Makerules: Rewrote rules to update libc archives of all flavors.
1283 Define separate specific rules for each flavor using o-iterator.
1284
1285 * sysdeps/unix/Makefile: Include s-proto.d only ifdef subdir.
1286
1287 Sat Feb 10 11:35:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1288
1289 * Makerules (ar-symtab-name): New macro. Replace all occurences
1290 of __.SYMDEF by $(ar-symtab-name).
1291 * sysdeps/unix/sysv/Makefile (ar-symtab-name): Define as empty.
1292
1293 Mon Feb 12 03:10:41 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1294
1295 * Makefile (configure, %/configure): Depend on aclocal.m4.
1296 * Make-dist (configure, %/configure): Likewise.
1297
1298 * sysdeps/unix/Makefile: Include s-proto.d for its deps.
1299
1300 * gmon/sys/gmon.h: Don't include machine-gmon.h; those defns are
1301 only needed in the implementation, not for any users.
1302
1303 * time/northamerica: Updated from ADO 96c, new rules for Mexico in
1304 1996.
1305
1306 * sunrpc/pm_getport.c: #if 0 out gratuitous inclusion of <net/if.h>.
1307 * sunrpc/pm_getmaps.c: Likewise.
1308
1309 * sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday,
1310 so real syscalls override unix/sysv/*.c on sysv-derived systems
1311 that have them.
1312 * sysdeps/unix/common/syscalls.list: Add settimeofday here, to
1313 override unix/sysv/settimeofday.c since that overrides
1314 unix/syscalls.list.
1315
1316 * Makeconfig (+link): Put $(link-libc) after deps from $^,
1317 regardless of where libc.a appears in the deps.
1318
1319 * sysdeps/unix/sysv/sysv4/syscalls.list: Remove redundancies.
1320 Add __waitid.
1321 * sysdeps/unix/sysv/linux/syscalls.list: Remove redundancies.
1322 Define __ name for sigprocmask.
1323 * sysdeps/unix/bsd/ultrix4/syscalls.list: Remove redundancies.
1324 Add getsysinfo.
1325 * sysdeps/unix/bsd/sun/sunos4/syscalls.list: Remove redundancies.
1326 * sysdeps/unix/bsd/sun/syscalls.list: Remove redundancies.
1327 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove redundancies.
1328 * sysdeps/unix/bsd/syscalls.list: Remove settimeofday, utimes.
1329 Add getdents, wait3, waitpid.
1330 * sysdeps/unix/syscalls.list: Add seteuid, setegid, setsid,
1331 settimeofday, sigsuspend, sstk, utimes.
1332 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
1333 * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
1334 * sysdeps/unix/bsd/ultrix4/mips/Makefile (sysdep_routines):
1335 Removed sigtramp.
1336 * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Renamed from sigtramp.c.
1337 * sysdeps/unix/bsd/bsd4.4/sstk.S: File removed.
1338 * sysdeps/unix/bsd/hp/m68k/syscalls.list: File removed.
1339 * sysdeps/unix/bsd/osf/alpha/getdents.S: File removed.
1340 * sysdeps/unix/bsd/ultrix4/getsysinfo.S: File removed.
1341 * sysdeps/unix/bsd/ultrix4/waitpid.S: File removed.
1342 * sysdeps/unix/bsd/ultrix4/mips/sigtramp.c: File removed.
1343 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
1344 * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: New file.
1345 * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
1346 * sysdeps/unix/sysv/irix4/wait3.S: File removed.
1347 * sysdeps/unix/sysv/sysv4/__waitid.S: File removed.
1348 * sysdeps/unix/sysv/sysv4/fchdir.S: File removed.
1349 * sysdeps/unix/sysv/sysv4/setegid.S: File removed.
1350 * sysdeps/unix/sysv/sysv4/seteuid.S: File removed.
1351 * sysdeps/unix/sysv/sysv4/sigaltstack.S: File removed.
1352 * sysdeps/unix/sysv/sysv4/solaris2/utimes.S: File removed.
1353
1354 * hurd/hurdfault.c (_hurdsig_fault_init): Set qlimit on
1355 FORWARD_SIGEXC to one. Uncomment setting of thread exc port, and
1356 move it to last thing.
1357
1358 Sat Feb 10 05:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
1359
1360 * sysdeps/generic/make_siglist.c: #undef _SIGNAL_H before defining it.
1361
1362 * sysdeps/unix/sysv/linux/syscalls.list: Add sigprocmask, sigsuspend.
1363
1364 Sat Feb 10 04:18:48 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1365
1366 * posix/execvp.c: If execv fails with ENOEXEC, run the shell on
1367 the file.
1368
1369 Fri Feb 9 11:46:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1370
1371 * time/Makefile (CFLAGS-zdump.c, CFLAGS-zic.c, CFLAGS-ialloc.c,
1372 CFLAGS-scheck.c): Use -DNOID instead of -Wno-unused.
1373
1374 * hurd/Makefile (user-interfaces): Added hurd/tioctl.
1375
1376 Thu Feb 8 18:55:27 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1377
1378 * hurd/hurdioctl.c (tiocsctty): Set the terminal's pgrp to our own.
1379
1380 Wed Feb 7 18:48:30 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1381
1382 * Makefile (subdirs): Added wcsmbs.
1383 * wcsmbs: New directory of wide char/multibyte char functions from
1384 drepper.
1385
1386 * hurd/hurdmsg.c (_S_msg_report_wait): Function removed.
1387 * hurd/report-wait.c: New file.
1388 * hurd/Makefile (routines): Added report-wait.
1389
1390 * sysdeps/mach/hurd/Makefile (inhibit-unix-syscalls): New variable.
1391
1392 * sysdeps/mach/hurd/i386/intr-msg.h (struct mach_msg_trap_args):
1393 New type.
1394 (SYSCALL_EXAMINE, MSG_EXAMINE): New inline functions.
1395 * sysdeps/mach/hurd/i386/trampoline.c (struct mach_msg_trap_args):
1396 Structure moved to intr-msg.h; include that.
1397
1398 * time/Makefile (CFLAGS-ialloc.c): Add -Wno-unused.
1399 (CFLAGS-scheck.c): New variable.
1400
1401 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
1402 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
1403 __hurd_threadvar_stack_mask): New variables.
1404
1405 * sysdeps/mach/hurd/fork.c: Set the new task's exception port to
1406 its new message port.
1407
1408 * misc/init-misc.c: Put __init_misc in the __libc_subinit set.
1409
1410 * configure.in (uname): Add quoting.
1411
1412 * sysdeps/mach/hurd/fchdir.c: Don't consult errno unless lookup fails.
1413 * hurd/fchroot.c: Likewise.
1414
1415 * posix/sys/types.h [GCC >= 2.7]: Define intN_t/u_intN_t using
1416 __attribute__ ((__mode__ (__XX__))).
1417
1418 Wed Feb 7 03:24:05 1996 Torbjorn Granlund <tege@tmg.se>
1419
1420 * sysdeps/i386/i586/memcopy.h (WORD_COPY_FWD): Manually allocate
1421 destination cache lines.
1422 (WORD_COPY_BWD): Likewise.
1423
1424 Wed Feb 7 14:16:36 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1425
1426 * sysdeps/generic/Makefile (make_siglist): Get signum.h absolute
1427 file name first thing, before $(native-compile) changes directories.
1428
1429 From Gord Matzigkeit <gord@enci.ucalgary.ca>:
1430 * sysdeps/unix/make_errlist.c: Use strerror if available.
1431 * sysdeps/unix/configure.in: New file
1432
1433 * sysdeps/unix/bsd/sun/syscalls.list: Added sigvec.
1434 * sysdeps/unix/bsd/sun/sigvec.S: File removed.
1435
1436 * sysdeps/stub/sendto.c: Make sockaddr arg pointer to const.
1437 * sysdeps/stub/connect.c: Likewise.
1438 * sysdeps/stub/bind.c: Likewise.
1439
1440 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): RETRYNAME of
1441 "" is only special for FS_RETRY_NORMAL; for FS_RETRY_REAUTH, do
1442 another dir_lookup of "".
1443
1444 Tue Feb 6 12:46:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
1445
1446 * libc-symbols.h (weak_alias, weak_symbol): added definitions
1447 for ECOFF (HAVE_ECOFF).
1448
1449 Fri Feb 2 13:09:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1450
1451 * sysdeps/mach/hurd/fork.c: Clear trace flag in child.
1452
1453 Wed Jan 31 20:08:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1454
1455 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Clear SS->intr_port
1456 when cancelled before RPC.
1457
1458 Tue Jan 30 13:32:05 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1459
1460 * dirent/scandir.c: Allocate dirents with correct size for name, and
1461 copy with correct size.
1462
1463 * hurd/hurdinit.c [! PIC] (map0): New function, on _hurd_preinit_hook.
1464
1465 * stdio-common/vfscanf.c (TYPEMOD): New macro of all type modifier
1466 flag bits.
1467 (__vfscanf): Fix checking of extra type modifiers.
1468
1469 * time/asia, time/australasia, time/backward: Updated from ADO 96b.
1470
1471 Tue Jan 30 12:17:26 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
1472
1473 * stdlib/strtod.c: Only negate exponent when there really is one.
1474
1475 * stdio-common/vfscanf.c: Accept type modifiers on %n.
1476 Fix FP number parsing.
1477
1478 Mon Jan 29 21:53:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1479
1480 * sysdeps/stub/msync.c (msync): Declare third arg FLAGS.
1481
1482 * resolv/Makefile (+cflags): Append to this instead of CFLAGS.
1483
1484 Mon Jan 29 16:29:16 1996 Miles Bader <miles@gnu.ai.mit.edu>
1485
1486 * sysdeps/mach/hurd/select.c (__select): Recalculate GOT to
1487 include an increment for each operation allowed on each fd.
1488
1489 Mon Jan 29 11:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1490
1491 * sysdeps/unix/sysv/linux/configure: Set $inhibit_glue.
1492
1493 * Makefile: Use -include for sysd-dirs.
1494
1495 * configure.in (uname): Check for uname in syscalls.list files.
1496 * sysdeps/unix/sysv/syscalls.list: Remove uname.
1497 * sysdeps/unix/syscalls.list: Add uname.
1498
1499 * stdlib/strtol.c (weak1): New macro, to get the right name declared
1500 weak.
1501
1502 * sysdeps/posix/getcwd.c (size_t): Don't define #ifdef __GNU_LIBRARY__.
1503
1504 * db/hash/ndbm.c: Change all uses of `errno' struct member to `errnum'.
1505 (dbm_open): Use dynamic allocation for file name buffer, instead of
1506 limitting its size to MAXPATHLEN.
1507
1508 * db/btree/bt_open.c (tmp): Use dynamic allocation for file name
1509 buffer, instead of limitting its size to MAXPATHLEN.
1510
1511 * db/hash/hash.h (HTAB): Rename member `errno' to `errnum'.
1512 * db/hash/hash.c: Change all uses of `errno' struct member to `errnum'.
1513
1514 Sun Jan 28 19:42:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1515
1516 * time/Makefile: Fix check for cross compiling.
1517
1518 Thu Jan 25 21:10:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1519
1520 * db/Makefile (subdir-dirs): Renamed from dbdirs.
1521
1522 * Makerules (distinfo-vars): Add subdir-dirs.
1523
1524 * MakeTAGS: Remove vpath directives.
1525 (all-dirs): Prepend $(subdir-dirs).
1526 (all-sources, all-headers): Use wildcard to find sources.
1527
1528 Mon Jan 29 10:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1529
1530 * malloc/Makefile (CFLAGS-vm-limit.c, CFLAGS-ralloc.c): New
1531 variables.
1532
1533 * mach/msgserver.c: Declare DEMUX arg with prototype.
1534
1535 Sun Jan 28 17:25:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1536
1537 * setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to
1538 make C++ happy.
1539 * alpha/jmp_buf.h: Likewise.
1540 * m68k/jmp_buf.h: Likewise.
1541 * mips/jmp_buf.h: Likewise.
1542 * sparc/jmp_buf.h: Likewise.
1543 * vax/jmp_buf.h: Likewise.
1544
1545 * sysdeps/generic/memmem.c: Fix return value in case where
1546 NEEDLE_LEN==0.
1547
1548 * hurd/hurdlookup.c (__file_name_lookup_under,
1549 __file_name_lookup): Restrict mode with umask.
1550 * sysdeps/mach/hurd/xmknod.c: Restrict mode with umask.
1551 * sysdeps/mach/hurd/mkdir.c: Restrict mode with umask.
1552
1553 Fri Jan 26 12:20:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1554
1555 * stdlib/strtol.c: Undo last change. ANSI C changed since the
1556 draft I checked yesterday. Sigh.
1557
1558 Thu Jan 25 18:58:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1559
1560 * stdlib/strtol.c [UNSIGNED]: Don't recognize + or - as sign.
1561
1562 Wed Jan 24 03:22:07 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1563
1564 * malloc/mcheck.c (mabort): Declare prototype.
1565
1566 * sysdeps/unix/sysv/linux/fcntlbits.h: Moved from linux/i386.
1567
1568 * Makerules: Use -include for generated makefiles.
1569
1570 * errno.h: Don't declare errno if it's defined as a macro.
1571
1572 * stdio-common/vfscanf.c: Disallow l flag after ll or L.
1573
1574 * stdio-common/Makefile (tests): Add scanf[1-9].
1575 * stdio-common/scanf[1-9].c: New files. Bug tests from hjl.
1576
1577 Wed Jan 24 04:18:36 1996 Paul Eggert <eggert@twinsun.com>
1578
1579 * strftime.c (strftime):
1580 When invoking self, check whether the subsidiary invocation failed.
1581 Use "???" (not "") to denote unknown time zone information.
1582
1583 Make this source file portable to standalone contexts (e.g. GNU Emacs).
1584 <config.h>: Include if HAVE_CONFIG_H is defined.
1585 (HAVE_LIMITS_H, HAVE_MBLEN, HAVE_TM_ZONE, STDC_HEADERS): New symbols,
1586 defined if _LIBC or if <config.h> defines them.
1587 <ansidecl.h>, "../locale/localeinfo.h": Include only if _LIBC.
1588 <sys/types.h>: New include; some hosts require it for `time_t'.
1589 <ctype.h>: Include only if HAVE_MBLEN (since it's only needed then).
1590 <limits.h>: Include only if HAVE_LIMITS_H.
1591 <stddef.h, stdlib.h, string.h>: Include only if STDC_HEADERS.
1592 (memcpy): Define in terms of bcopy if !STDC_HEADERS.
1593 (__P, PTR): Define if not already defined.
1594 (__tzname, __daylight, __timezone): Remove macros; no longer needed.
1595 (add, strftime): Don't use NULL, for portability to some weird hosts.
1596 (fmt): If !_LIBC, don't assume sprintf returns a count.
1597 (week, strftime): Use old-style function declarations.
1598 (weekday_name, month_name): New constants.
1599 (strftime): Use traditional C values if locale support isn't available.
1600 Use `const' instead of CONST. For time zones, use tm_zone if
1601 possible, then fall back on tzname. Don't check for multibyte
1602 characters unless mblen is supported. Use formats like %02d instead
1603 of %.2d, for portability to older hosts.
1604
1605 Wed Jan 24 00:07:52 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1606
1607 * stdio-common/vfscanf.c (GROUP, MALLOC): New flag macros.
1608 (__vfscanf): Eliminate flag vars that were redundant with FLAGS bits.
1609 Fix bug in recognition of %ll flag for long long.
1610 Fix overeager checks for conflicting type modifiers.
1611 With ' flag, match thousands separators for decimal numbers.
1612
1613 Tue Jan 23 22:02:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1614
1615 * locale/Makefile (CFLAGS-locfile-lex.c): New variable.
1616
1617 * resolv/Makefile (CFLAGS): Disable some warnings.
1618
1619 * sysdeps/generic/Makefile (elided-routines): Removed hypot.
1620 (+gccwarn): Set with override.
1621
1622 * stdio-common/Makefile (CFLAGS-tst-printf.c): New variable.
1623
1624 * posix/Makefile (CFLAGS-regex.c): New variable.
1625
1626 * malloc/Makefile (CFLAGS-obstack.c): New variable.
1627
1628 * io/Makefile (CFLAGS-fts.c): New variable.
1629 * io/fts.c (fts_open): Use prototypes for COMPAR decl.
1630
1631 Tue Jan 23 21:35:32 1996 Miles Bader <miles@gnu.ai.mit.edu>
1632
1633 * sysdeps/mach/hurd/bind.c (bind): Ensure NAME for the AF_LOCAL
1634 case is '\0'-terminated.
1635
1636 Tue Jan 23 19:49:54 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1637
1638 * elf/rtld.c (dl_main): Support additional args in --list mode for
1639 debugging: look them up as symbol names and print values.
1640
1641 * misc/getttyent.c (skip, value): Declare with prototypes in file
1642 scope.
1643
1644 * csu/initfini.c (_init): Explicitly set a variable that is
1645 pointer to volatile with the address of __gmon_start__, to avoid
1646 the test being optimized out.
1647
1648 Mon Jan 22 10:40:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1649
1650 * sysdeps/posix/getcwd.c [__GNU_LIBRARY__]: Include unistd.h.
1651
1652 * io/fts.h (FTSENT): Define fts_compar member with prototype.
1653
1654 * hurd/hurd.h: Use prototype in getcttyid decl.
1655
1656 * stdlib/l64a.c: Fix typo in last change.
1657
1658 * stdlib/drand48-iter.c: Test limits.h macros instead of sizeof
1659 for determining size of types.
1660 * stdlib/srand48_r.c: Likewise.
1661
1662 * misc/utmp.h: Declare login, logout, logwtmp.
1663 * misc/logout.c: Declare argument as pointer to const.
1664 * misc/login.c: Likewise.
1665 * misc/logwtmp.c: Likewise.
1666 Include time.h, string.h.
1667
1668 * misc/efgcvt_r.c: Include stdlib.h.
1669
1670 * io/mknod.c: Include sys/types.h.
1671
1672 * gmon/sys/gmon.h: Declare monstartup, _mcleanup.
1673
1674 * csu/gmon-start.c (_start, etext): Declare with prototypes.
1675
1676 * stdio-common/vfscanf.c (%[): Fix range handling.
1677
1678 Sun Jan 21 00:55:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1679
1680 * misc/Makefile (headers): Rename queue.h to sys/queue.h.
1681 * misc/queue.h: Moved to misc/sys/queue.h.
1682
1683 * sysdeps/unix/sysv/linux/shmat.c: Include sys/shm.h instead of
1684 sys/sem.h.
1685
1686 * stdlib/stdlib.h [__USE_SVID]: Declare a64l, l64a.
1687
1688 * stdlib/l64a.c: Use 6-bit numbers as indices in CONV_TABLE, not
1689 literal byte values.
1690
1691 * misc/bsd-compat.c (getpgrp): Define with prototype.
1692
1693 * misc/init-misc.c (__progname_full): New variable.
1694 (program_invocation_name, program_invocation_short_name): New aliases.
1695 (__init_misc): Define with prototype. Set __progname_full.
1696 * misc/progname.c: File removed.
1697 * misc/Makefile (aux): Remove progname.
1698
1699 * misc/hsearch_r.c (isprime): Define with prototype.
1700
1701 * sysdeps/unix/sysv/linux/seteuid.c: Just include unix/bsd version.
1702 * sysdeps/unix/bsd/seteuid.c: Disallow arg of -1.
1703 * sysdeps/unix/bsd/setegid.c: Likewise.
1704
1705 Fri Jan 19 13:28:59 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1706
1707 * sysdeps/unix/sysv/linux/tcdrain.c: Define tcdrain, not
1708 __tcdrain.
1709
1710 * posix/glob.c (glob): Use prototype in getlogin decl.
1711
1712 * db/ndbm.h: Declare dbm_error, dbm_clearerr.
1713 * db/db/db.c (__dberr): Define with prototype.
1714 (__dbpanic): Use prototypes in casts.
1715 * db/hash/hash_log2.c: Add prototype decl.
1716
1717 * sysdeps/generic/_strerror.c (_strerror_internal): Define with
1718 prototype.
1719
1720 * sysdeps/unix/mkdir.c, syspdep/unix/rmdir.c: Moved from unix/sysv.
1721 They will be overridden with syscalls if extant by unix/syscalls.list.
1722
1723 * Makeconfig (+gccwarn): Add -Wstrict-prototypes.
1724
1725 * stdio-common/printf_fp.c (__printf_fp): Define with prototype.
1726 * stdio-common/vfprintf.c (_IO_helper_overflow): Likewise.
1727
1728 Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1729
1730 * io/Makefile (routines): Add mknod, xstat fxstat lxstat xmknod.
1731
1732 * sysdeps/unix/sysv/linux/ptrace.c: Use ... decl, and stdarg.h to
1733 get args.
1734
1735 * posix/glob.c (_GNU_SOURCE): Define if undefined, so glob.h
1736 defines GNU extensions.
1737 * posix/fnmatch.c: Likewise.
1738
1739 Replaced all simple system call files *.S throughout sysdeps/unix
1740 with syscalls.list files to be processed by make-syscalls.sh.
1741 * sysdeps/unix/s-proto.S: New file.
1742 * sysdeps/unix/syscalls.list: New file.
1743 * sysdeps/unix/bsd/syscalls.list: New file.
1744 * sysdeps/unix/bsd/bsd4.4/syscalls.list: New file.
1745 * sysdeps/unix/bsd/hp/m68k/syscalls.list: New file.
1746 * sysdeps/unix/bsd/osf/syscalls.list: New file.
1747 * sysdeps/unix/bsd/osf/alpha/syscalls.list: New file.
1748 * sysdeps/unix/bsd/sony/newsos4/syscalls.list: New file.
1749 * sysdeps/unix/bsd/sun/syscalls.list: New file.
1750 * sysdeps/unix/bsd/sun/sunos4/syscalls.list: New file.
1751 * sysdeps/unix/bsd/ultrix4/syscalls.list: New file.
1752 * sysdeps/unix/common/syscalls.list: New file.
1753 * sysdeps/unix/inet/syscalls.list: New file.
1754 * sysdeps/unix/mman/syscalls.list: New file.
1755 * sysdeps/unix/sysv/syscalls.list: New file.
1756 * sysdeps/unix/sysv/irix4/syscalls.list: New file.
1757 * sysdeps/unix/sysv/isc2.2/syscalls.list: New file.
1758 * sysdeps/unix/sysv/linux/syscalls.list: New file.
1759 * sysdeps/unix/sysv/linux/i386/syscalls.list: New file.
1760 * sysdeps/unix/sysv/sco3.2.4/syscalls.list: New file.
1761 * sysdeps/unix/sysv/sysv4/syscalls.list: New file.
1762 * sysdeps/unix/sysv/sysv4/i386/syscalls.list: New file.
1763 * sysdeps/unix/sysv/sysv4/solaris2/sparc/syscalls.list: New file.
1764 * sysdeps/unix/acct.S: File removed.
1765 * sysdeps/unix/chdir.S: File removed.
1766 * sysdeps/unix/chmod.S: File removed.
1767 * sysdeps/unix/chown.S: File removed.
1768 * sysdeps/unix/chroot.S: File removed.
1769 * sysdeps/unix/close.S: File removed.
1770 * sysdeps/unix/configure: File removed.
1771 * sysdeps/unix/configure.in: File removed.
1772 * sysdeps/unix/dup.S: File removed.
1773 * sysdeps/unix/fcntl.S: File removed.
1774 * sysdeps/unix/fsync.S: File removed.
1775 * sysdeps/unix/getgid.S: File removed.
1776 * sysdeps/unix/getpid.S: File removed.
1777 * sysdeps/unix/getuid.S: File removed.
1778 * sysdeps/unix/ioctl.S: File removed.
1779 * sysdeps/unix/kill.S: File removed.
1780 * sysdeps/unix/link.S: File removed.
1781 * sysdeps/unix/lseek.S: File removed.
1782 * sysdeps/unix/open.S: File removed.
1783 * sysdeps/unix/ptrace.S: File removed.
1784 * sysdeps/unix/read.S: File removed.
1785 * sysdeps/unix/reboot.S: File removed.
1786 * sysdeps/unix/setgid.S: File removed.
1787 * sysdeps/unix/setuid.S: File removed.
1788 * sysdeps/unix/sync.S: File removed.
1789 * sysdeps/unix/umask.S: File removed.
1790 * sysdeps/unix/unlink.S: File removed.
1791 * sysdeps/unix/write.S: File removed.
1792 * sysdeps/unix/bsd/flock.S: File removed.
1793 * sysdeps/unix/bsd/getdtsz.S: File removed.
1794 * sysdeps/unix/bsd/getpagesize.S: File removed.
1795 * sysdeps/unix/bsd/killpg.S: File removed.
1796 * sysdeps/unix/bsd/profil.S: File removed.
1797 * sysdeps/unix/bsd/readv.S: File removed.
1798 * sysdeps/unix/bsd/settimeofday.S: File removed.
1799 * sysdeps/unix/bsd/sigblock.S: File removed.
1800 * sysdeps/unix/bsd/sigpause.S: File removed.
1801 * sysdeps/unix/bsd/sigsetmask.S: File removed.
1802 * sysdeps/unix/bsd/sigstack.S: File removed.
1803 * sysdeps/unix/bsd/sigvec.S: File removed.
1804 * sysdeps/unix/bsd/utimes.S: File removed.
1805 * sysdeps/unix/bsd/writev.S: File removed.
1806 * sysdeps/unix/bsd/bsd4.4/chflags.S: File removed.
1807 * sysdeps/unix/bsd/bsd4.4/fchdir.S: File removed.
1808 * sysdeps/unix/bsd/bsd4.4/fchflags.S: File removed.
1809 * sysdeps/unix/bsd/bsd4.4/getdents.S: File removed.
1810 * sysdeps/unix/bsd/bsd4.4/getdomain.S: File removed.
1811 * sysdeps/unix/bsd/bsd4.4/revoke.S: File removed.
1812 * sysdeps/unix/bsd/bsd4.4/setdomain.S: File removed.
1813 * sysdeps/unix/bsd/bsd4.4/setegid.S: File removed.
1814 * sysdeps/unix/bsd/bsd4.4/seteuid.S: File removed.
1815 * sysdeps/unix/bsd/bsd4.4/setlogin.S: File removed.
1816 * sysdeps/unix/bsd/bsd4.4/setsid.S: File removed.
1817 * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: File removed.
1818 * sysdeps/unix/bsd/bsd4.4/wait4.S: File removed.
1819 * sysdeps/unix/bsd/hp/m68k/getdents.S: File removed.
1820 * sysdeps/unix/bsd/osf/msync.S: File removed.
1821 * sysdeps/unix/bsd/osf/alpha/wait4.S: File removed.
1822 * sysdeps/unix/bsd/sony/newsos4/fchdir.S: File removed.
1823 * sysdeps/unix/bsd/sony/newsos4/sys_wait4.S: File removed.
1824 * sysdeps/unix/bsd/sun/getdents.S: File removed.
1825 * sysdeps/unix/bsd/sun/sunos3/m68k/wait.S: File removed.
1826 * sysdeps/unix/bsd/sun/sunos4/msync.S: File removed.
1827 * sysdeps/unix/bsd/sun/sunos4/poll.S: File removed.
1828 * sysdeps/unix/bsd/sun/sunos4/setsid.S: File removed.
1829 * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: File removed.
1830 * sysdeps/unix/bsd/sun/sunos4/sys_wait4.S: File removed.
1831 * sysdeps/unix/bsd/sun/sunos4/uname.S: File removed.
1832 * sysdeps/unix/bsd/ultrix4/getdents.S: File removed.
1833 * sysdeps/unix/bsd/ultrix4/setsid.S: File removed.
1834 * sysdeps/unix/bsd/ultrix4/uname.S: File removed.
1835 * sysdeps/unix/common/access.S: File removed.
1836 * sysdeps/unix/common/adjtime.S: File removed.
1837 * sysdeps/unix/common/dup2.S: File removed.
1838 * sysdeps/unix/common/fchmod.S: File removed.
1839 * sysdeps/unix/common/fchown.S: File removed.
1840 * sysdeps/unix/common/ftruncate.S: File removed.
1841 * sysdeps/unix/common/getgroups.S: File removed.
1842 * sysdeps/unix/common/getitimer.S: File removed.
1843 * sysdeps/unix/common/getpgid.S: File removed.
1844 * sysdeps/unix/common/getpriority.S: File removed.
1845 * sysdeps/unix/common/getrlimit.S: File removed.
1846 * sysdeps/unix/common/getrusage.S: File removed.
1847 * sysdeps/unix/common/gettimeofday.S: File removed.
1848 * sysdeps/unix/common/mkdir.S: File removed.
1849 * sysdeps/unix/common/readlink.S: File removed.
1850 * sysdeps/unix/common/rename.S: File removed.
1851 * sysdeps/unix/common/rmdir.S: File removed.
1852 * sysdeps/unix/common/select.S: File removed.
1853 * sysdeps/unix/common/setgroups.S: File removed.
1854 * sysdeps/unix/common/setitimer.S: File removed.
1855 * sysdeps/unix/common/setpgid.S: File removed.
1856 * sysdeps/unix/common/setpriority.S: File removed.
1857 * sysdeps/unix/common/setregid.S: File removed.
1858 * sysdeps/unix/common/setreuid.S: File removed.
1859 * sysdeps/unix/common/setrlimit.S: File removed.
1860 * sysdeps/unix/common/swapon.S: File removed.
1861 * sysdeps/unix/common/symlink.S: File removed.
1862 * sysdeps/unix/common/truncate.S: File removed.
1863 * sysdeps/unix/common/vhangup.S: File removed.
1864 * sysdeps/unix/inet/accept.S: File removed.
1865 * sysdeps/unix/inet/bind.S: File removed.
1866 * sysdeps/unix/inet/connect.S: File removed.
1867 * sysdeps/unix/inet/gethostid.S: File removed.
1868 * sysdeps/unix/inet/gethostname.S: File removed.
1869 * sysdeps/unix/inet/getpeername.S: File removed.
1870 * sysdeps/unix/inet/getsockname.S: File removed.
1871 * sysdeps/unix/inet/getsockopt.S: File removed.
1872 * sysdeps/unix/inet/listen.S: File removed.
1873 * sysdeps/unix/inet/recv.S: File removed.
1874 * sysdeps/unix/inet/recvfrom.S: File removed.
1875 * sysdeps/unix/inet/recvmsg.S: File removed.
1876 * sysdeps/unix/inet/send.S: File removed.
1877 * sysdeps/unix/inet/sendmsg.S: File removed.
1878 * sysdeps/unix/inet/sendto.S: File removed.
1879 * sysdeps/unix/inet/sethostid.S: File removed.
1880 * sysdeps/unix/inet/sethostname.S: File removed.
1881 * sysdeps/unix/inet/setsockopt.S: File removed.
1882 * sysdeps/unix/inet/shutdown.S: File removed.
1883 * sysdeps/unix/inet/socket.S: File removed.
1884 * sysdeps/unix/inet/socketpair.S: File removed.
1885 * sysdeps/unix/mman/madvise.S: File removed.
1886 * sysdeps/unix/mman/mmap.S: File removed.
1887 * sysdeps/unix/mman/mprotect.S: File removed.
1888 * sysdeps/unix/mman/msync.S: File removed.
1889 * sysdeps/unix/mman/munmap.S: File removed.
1890 * sysdeps/unix/sysv/alarm.S: File removed.
1891 * sysdeps/unix/sysv/ftime.S: File removed.
1892 * sysdeps/unix/sysv/nice.S: File removed.
1893 * sysdeps/unix/sysv/pause.S: File removed.
1894 * sysdeps/unix/sysv/poll.S: File removed.
1895 * sysdeps/unix/sysv/s_getdents.S: File removed.
1896 * sysdeps/unix/sysv/signal.S: File removed.
1897 * sysdeps/unix/sysv/stime.S: File removed.
1898 * sysdeps/unix/sysv/time.S: File removed.
1899 * sysdeps/unix/sysv/times.S: File removed.
1900 * sysdeps/unix/sysv/ulimit.S: File removed.
1901 * sysdeps/unix/sysv/uname.S: File removed.
1902 * sysdeps/unix/sysv/utime.S: File removed.
1903 * sysdeps/unix/sysv/irix4/getpgid.S: File removed.
1904 * sysdeps/unix/sysv/irix4/msync.S: File removed.
1905 * sysdeps/unix/sysv/irix4/setpgid.S: File removed.
1906 * sysdeps/unix/sysv/irix4/signal.S: File removed.
1907 * sysdeps/unix/sysv/irix4/sysmp.S: File removed.
1908 * sysdeps/unix/sysv/irix4/syssgi.S: File removed.
1909 * sysdeps/unix/sysv/isc2.2/rename.S: File removed.
1910 * sysdeps/unix/sysv/linux/adjtimex.S: File removed.
1911 * sysdeps/unix/sysv/linux/fork.S: File removed.
1912 * sysdeps/unix/sysv/linux/getpgid.S: File removed.
1913 * sysdeps/unix/sysv/linux/getpgrp.S: File removed.
1914 * sysdeps/unix/sysv/linux/getsid.S: File removed.
1915 * sysdeps/unix/sysv/linux/gtty.S: File removed.
1916 * sysdeps/unix/sysv/linux/mlock.S: File removed.
1917 * sysdeps/unix/sysv/linux/mlockall.S: File removed.
1918 * sysdeps/unix/sysv/linux/mount.S: File removed.
1919 * sysdeps/unix/sysv/linux/munlock.S: File removed.
1920 * sysdeps/unix/sysv/linux/munlockall.S: File removed.
1921 * sysdeps/unix/sysv/linux/pipe.S: File removed.
1922 * sysdeps/unix/sysv/linux/s_ptrace.S: File removed.
1923 * sysdeps/unix/sysv/linux/setpgid.S: File removed.
1924 * sysdeps/unix/sysv/linux/setsid.S: File removed.
1925 * sysdeps/unix/sysv/linux/settimeofday.S: File removed.
1926 * sysdeps/unix/sysv/linux/sigpending.S: File removed.
1927 * sysdeps/unix/sysv/linux/stty.S: File removed.
1928 * sysdeps/unix/sysv/linux/umount.S: File removed.
1929 * sysdeps/unix/sysv/linux/wait4.S: File removed.
1930 * sysdeps/unix/sysv/linux/i386/ipc.S: File removed.
1931 * sysdeps/unix/sysv/sco3.2.4/pathconf.S: File removed.
1932 * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: File removed.
1933 * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: File removed.
1934 * sysdeps/unix/sysv/sco3.2.4/sigpending.S: File removed.
1935 * sysdeps/unix/sysv/sco3.2.4/sigprocmask.S: File removed.
1936 * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: File removed.
1937 * sysdeps/unix/sysv/sysv4/pgrpsys.S: File removed.
1938 * sysdeps/unix/sysv/sysv4/sigprocmask.S: File removed.
1939 * sysdeps/unix/sysv/sysv4/sigsuspend.S: File removed.
1940 * sysdeps/unix/sysv/sysv4/sysconfig.S: File removed.
1941 * sysdeps/unix/sysv/sysv4/sysinfo.S: File removed.
1942 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: File removed.
1943
1944 * io/mknod.c: New file.
1945
1946 * Makerules (COMPILE.s): New variable.
1947
1948 * sysdeps/unix/Makefile (sysd-syscalls): New target; generate with
1949 make-syscalls.sh and include it.
1950 [$(subdir)=misc] (sysdep_routines): Append extra syscalls from
1951 sysd-syscalls.
1952 * sysdeps/unix/make-syscalls.sh: New file.
1953
1954 * Makerules (COMPILE.S): New variable.
1955
1956 Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
1957
1958 * sysdeps/unix/sysv/linux/statbuf.h (_STAT_VER_LINUX,
1959 _STAT_VER_SVR4, _STAT_VER): New macros.
1960 (_MKNOD_VER_LINUX, _MKNOD_VER_SVR4, _MKNOD_VER): New macros.
1961
1962 * sysdeps/unix/sysv/sysv4/i386/statbuf.h (_STAT_VER, _MKNOD_VER):
1963 New macros.
1964
1965 * io/sys/stat.h (_STAT_VER, _MKNOD_VER): New macros.
1966 (__xstat, __fxstat, __lxstat, __xmknod): Declare new functions.
1967 [__GNUC__] (stat, fstat, lstat, mknod): Define these (and __ names)
1968 as `extern inline's calling the `x' functions.
1969 * io/fstat.c: New file.
1970 * io/lstat.c: New file.
1971 * io/stat.c: New file.
1972 * sysdeps/generic/lstat.c: File removed.
1973 * sysdeps/generic/lxstat.c: New file.
1974 * sysdeps/mach/hurd/fstat.c: File removed.
1975 * sysdeps/mach/hurd/fxstat.c: New file.
1976 * sysdeps/mach/hurd/lstat.c: File removed.
1977 * sysdeps/mach/hurd/lxstat.c: New file.
1978 * sysdeps/mach/hurd/mknod.c: File removed.
1979 * sysdeps/mach/hurd/stat.c: File removed.
1980 * sysdeps/mach/hurd/xmknod.c: New file.
1981 * sysdeps/mach/hurd/xstat.c: New file.
1982 * sysdeps/stub/fstat.c: File removed.
1983 * sysdeps/stub/fxstat.c: New file.
1984 * sysdeps/stub/lstat.c: File removed.
1985 * sysdeps/stub/lxstat.c: New file.
1986 * sysdeps/stub/mknod.c: File removed.
1987 * sysdeps/stub/stat.c: File removed.
1988 * sysdeps/stub/xmknod.c: New file.
1989 * sysdeps/stub/xstat.c: New file.
1990 * sysdeps/unix/common/lstat.S: File removed.
1991 * sysdeps/unix/common/lxstat.c: New file.
1992 * sysdeps/unix/fstat.S: File removed.
1993 * sysdeps/unix/fxstat.c: New file.
1994 * sysdeps/unix/mknod.S: File removed.
1995 * sysdeps/unix/stat.S: File removed.
1996 * sysdeps/unix/sysv/linux/fstat.c: File removed.
1997 * sysdeps/unix/sysv/linux/i386/fxstat.S: File removed.
1998 * sysdeps/unix/sysv/linux/i386/lxstat.S: File removed.
1999 * sysdeps/unix/sysv/linux/i386/xmknod.S: File removed.
2000 * sysdeps/unix/sysv/linux/i386/xstat.S: File removed.
2001 * sysdeps/unix/sysv/linux/lstat.c: File removed.
2002 * sysdeps/unix/sysv/linux/mknod.c: File removed.
2003 * sysdeps/unix/sysv/linux/stat.c: File removed.
2004 * sysdeps/unix/sysv/sysv4/i386/fstat.S: File removed.
2005 * sysdeps/unix/sysv/sysv4/i386/lstat.S: File removed.
2006 * sysdeps/unix/sysv/sysv4/i386/mknod.S: File removed.
2007 * sysdeps/unix/sysv/sysv4/i386/stat.S: File removed.
2008 * sysdeps/unix/xmknod.c: New file.
2009 * sysdeps/unix/xstat.c: New file.
2010 * sysdeps/unix/mkfifo.c: Use __xmknod instead of __mknod.
2011 * misc/Makefile (routines): Remove mknod.
2012
2013 * sysdeps/ieee754/ieee754.h (union ieee854_long_double.ieee_nan):
2014 Add missing ; in little-endian case.
2015
2016 * elf/dynamic-link.h [ELF_MACHINE_NO_REL] (ELF_DYNAMIC_DO_REL):
2017 Define this instead of ELF_DYNAMIC_DO_RELA.
2018
2019 * sysdeps/unix/sysv/time.S: Moved from sysv4.
2020 * sysdeps/unix/sysv/irix4/time.S: File removed.
2021
2022 * sysdeps/unix/sysv/linux/signum.h: Moved from
2023 sysdeps/unix/sysv/linux/i386.
2024 (_NSIG): Move inside #ifdef _SIGNAL_H.
2025
2026 Tue Jan 16 17:37:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2027
2028 * sysdeps/unix/seekdir.c: Don't modify POS before seeking.
2029 * sysdeps/unix/telldir.c: Fix position calculation to account for
2030 buffered data properly.
2031
2032 * sysdeps/m68k/Makefile (crypt): Don't define if building a shared
2033 library.
2034
2035 * csu/initfini.c (_init): Call __gmon_start__ if defined (weak ref).
2036 * csu/gmon-start.c (__gmon_start__): Renamed from gmon_start, made
2037 global.
2038 [! HAVE_INITFINI]: Only make it a constructor in this case.
2039
2040 * gmon/Makefile (CFLAGS-mcount.c): New variable.
2041 (mcount.po): New target.
2042
2043 * Makeconfig (CFLAGS): Append $(CFLAGS-$(<F)).
2044
2045 * csu/Makefile [have-initfini=yes] (CPPFLAGS): Append -DHAVE_INITFINI.
2046 (initfini): Compile initfini.c with -fPIC.
2047
2048 Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
2049
2050 * sysdeps/mips/bytesex.h: Add default byte sex. By Ralf Baechle.
2051
2052 * sysdeps/unix/sysv/linux/adjtime.c [! MOD_OFFSET]: Use `mode'
2053 member of `struct timex' instead of `modes'. From Andreas Schwab.
2054
2055 * sysdeps/unix/sysv/linux/mknod.c: New file. Generic C version.
2056 * sysdeps/unix/sysv/linux/i386/mknod.S: Remove assembler version.
2057
2058 * sysdeps/unix/sysv/linux/Makefile (inhibit-glue): New variable.
2059 [$(subdir) = misc] (sysdep_routines): Add mount, umount, and s_ptrace.
2060 [$(subdir) = misc] (headers): Append sys/mount.h.
2061
2062 * sysdeps/unix/sysv/linux/mount.S, sysdeps/unix/sysv/linux/umount.S:
2063 New files. Implement system calls.
2064 * sysdeps/unix/sysv/linux/sys/mount.h: New header file.
2065
2066 * sysdeps/unix/sysv/linux/ptrace.c: New file. Wrapper around
2067 ptrace system call.
2068 * sysdeps/unix/sysv/linux/s_ptrace.S: New file: ptrace system call.
2069
2070 * sysdeps/unix/sysv/linux/i386/gnu/types.h: New file with correct
2071 types for i386/Linux.
2072
2073 Sun Jan 14 17:51:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2074
2075 * MakeTAGS (all-sources, all-headers): Always search the
2076 current directory first.
2077
2078 * db/btree/bt_seq.c (__bt_first): Return RET_SPECIAL when key not
2079 found.
2080
2081 * stdio-common/vfscanf.c (inchar, conv_error, input_error,
2082 memory_error): Add cast to void to avoid gcc warning.
2083 (vfscanf): Rewrite character class parsing to make it more efficient.
2084
2085 * misc/efgcvt_r.c (ecvt_r): Handle negative values.
2086
2087 * stdlib/stdlib.h: Replace __CONSTVALUE by attribute.
2088 * stdlib/abs.c, stdlib/div.c, stdlib/labs.c, stdlib/ldiv.c,
2089 sysdeps/generic/hypot.c: Remove obsolete __CONSTVALUE.
2090
2091 * stdio-common/printf_fp.c (__printf_fp): Fix parameter
2092 declaration.
2093
2094 * sysdeps/generic/putenv.c (putenv): Fix second argument of
2095 setenv.
2096
2097 * sysdeps/ieee754/hypot.c: New file, extracted out of cabs.c.
2098 * sysdeps/ieee754/cabs.c: Don't define hypot here.
2099
2100 * sysdeps/ieee754/ieee754.h (union ieee854_long_double): Fix
2101 definition of ieee_nan alternative.
2102
2103 * sysdeps/m68k/__longjmp.c, sysdeps/m68k/setjmp.c: Add register
2104 prefix spec.
2105
2106 * sysdeps/m68k/ffs.c (ffs): Fix register constraint.
2107
2108 * sysdeps/m68k/fpu/__math.h: Include <errno.h>. Replace obsolete
2109 __CONSTVALUE by attribute.
2110 (floor): Round to negative infinity.
2111 (rint, expm1) [__NO_MATH_INLINES]: Don't define, to avoid type
2112 clash when compiling source.
2113 (pow): Handle x == 0 and x < 0.
2114 (ceil, __isinf, __isnan): Fix register constraints.
2115 (__isinfl, __isnanl): Added.
2116 * sysdeps/m68k/fpu/acos.c, sysdeps/m68k/fpu/atan2.c,
2117 sysdeps/m68k/fpu/fmod.c, sysdeps/m68k/fpu/ldexp.c,
2118 sysdeps/m68k/fpu/pow.c: Remove obsolete __CONSTVALUE.
2119
2120 * sysdeps/m68k/bsd-_setjmp.S, sysdeps/m68k/bsd-setjmp.S: Fix
2121 assembler syntax.
2122
2123 * sysdeps/unix/bsd/bsd4.4/fchdir.S (fchdir): Take only one
2124 argument.
2125
2126 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Fix timeval to
2127 clock_t conversion.
2128 (clock): Don't multiply by CLOCKS_PER_SEC.
2129
2130 * sysdeps/unix/bsd/poll.c (poll): Fix msec to timeval conversion.
2131
2132 * sysdeps/unix/bsd/sun/m68k/brk.S (brk): Compare with address of
2133 __end.
2134
2135 * sysdeps/unix/bsd/sun/m68k/vfork.S: Fix assembler syntax.
2136
2137 * sysdeps/unix/bsd/ualarm.c (ualarm): Fix timeval calculation.
2138
2139 * sysdeps/unix/bsd/vax/vfork.S: Remove duplicate label.
2140
2141 Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
2142
2143 * stdlib/strtol.c: Return correct pointer for strings
2144 like "0xyz" and base 0 or 16.
2145
2146 * string/strxfrm.c: Handle case for LENGTH == 0 correct.
2147
2148 * sunrpc/etc.rpc: Add some more known protocols.
2149
2150 Fri Jan 12 13:40:01 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2151
2152 * posix/gnu/types.h: Moved to sysdeps/generic/gnu/types.h.
2153
2154 * posix/glob.c (glob): Add parens in glob call flags arg for
2155 GLOB_BRACE case.
2156
2157 * string/string.h (strdupa): New macro.
2158
2159 * stdio-common/vfscanf.c (%[): Grok ] as first char in set, not
2160 terminator on empty set. From drepper.
2161
2162 Thu Jan 11 13:09:20 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2163
2164 * elf/do-rel.h (elf_dynamic_do_rel): Use referring symbol as
2165 referent for STB_LOCAL.
2166
2167 Wed Jan 10 10:11:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2168
2169 * time/africa, time/antarctica, time/asia, time/australasia,
2170 time/europe, time/northamerica, time/pacificnew, time/solar87,
2171 time/solar88, time/solar89, time/southamerica: Updated from ADO 96a.
2172
2173 Tue Jan 9 16:10:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2174
2175 * elf/dl-load.c (_dl_map_object_from_fd): After mapping first
2176 segment to find location, mprotect excess region to no access,
2177 don't munmap it.
2178
2179 * sysdeps/mach/hurd/dl-sysdep.c (mmap): If vm_map returns
2180 KERN_NO_SPACE for fixed location, deallocate it and try again.
2181
2182 Mon Jan 8 17:43:23 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2183
2184 * locale/Makefile (lib-modules): Renamed hash to locfile-hash.
2185 * locale/hash.c: Renamed to locale/locfile-hash.c.
2186
2187 Sat Jan 6 16:39:14 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2188
2189 * Makefile (subdirs): Added db.
2190
2191 * resolv/Makefile (routines): Add res_data.
2192 * resolv/res_data.c, resolv/res_debug.c, resolv/resolv.h:
2193 Updated from BIND 4.9.3 final release.
2194
2195 * elf/dynamic-link.h (elf_get_dynamic_info): Handle
2196 processor-specific tags.
2197 (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA): Handle absent DT_PLTREL tag.
2198
2199 * elf/elf.h (DT_MIPS_NUM, DT_PROCNUM): New macros.
2200 * elf/link.h (struct link_map): Extend `l_info' by DT_PROCNUM.
2201
2202 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Take new
2203 arg LAZY. Only do our work if LAZY and there is a DT_JMPREL record.
2204 * elf/dl-reloc.c (_dl_relocate_object): Call
2205 elf_machine_runtime_setup unconditionally, and pass it LAZY flag.
2206
2207 * elf/dl-load.c: Fixed ELFMAG check to work for either byte order.
2208 Align end of load segment only to page size, not to segment alignment.
2209
2210 Thu Jan 4 11:35:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2211
2212 * sysdeps/mach/hurd/setitimer.c: Code rearranged a bit to use new
2213 preemption interface.
2214
2215 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2216 Use _hurdsig_catch_memory_fault.
2217
2218 * hurd/Makefile (headers): Add hurd/sigpreempt.h.
2219 (sig): Add catch-signal.
2220
2221 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2222 Rewritten using a preempter in new interface.
2223 * hurd/hurdfault.h (_hurdsig_catch_fault): Likewise.
2224 (_hurdsig_catch_memory_fault): New macro.
2225
2226 Wed Jan 3 20:23:42 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2227
2228 * hurd/catch-signal.c: New file.
2229
2230 * hurd/intr-msg.c: When restarting RPC, fetch a new reply port.
2231
2232 * hurd/hurdsig.c: Use new hurdfault.h interface.
2233 (abort_all_rpcs): Mutate return value to EINTR in threads whose
2234 replies we will wait for.
2235
2236 * hurd/hurdkill.c (_hurd_sig_post): When doing pgrp, make sure we
2237 do ourselves last.
2238
2239 Wed Jan 3 19:17:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
2240
2241 * sysdeps/mach/hurd/access.c (__access): Put the uid/gid arguments
2242 to auth_makeauth() in the right order.
2243
2244 Wed Jan 3 17:19:04 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2245
2246 * sysdeps/generic/strsep.c: Rewritten.
2247
2248 * sysdeps/mach/hurd/fork.c: Use a different workaround for the
2249 suspended page fault deadlock kernel bug: thread_abort our signal
2250 thread first thing after proc_dostop.
2251
2252 * sysdeps/mach/hurd/setgid.c: Rewrote gid frobnication to
2253 recognize rootness properly.
2254
2255 Tue Jan 2 00:50:10 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2256
2257 * hurd/hurd/signal.h (struct hurd_sigstate): New member `preempters'.
2258 (hurd_preempt_signals, hurd_unpreempt_signals): Decls removed.
2259 * hurd/hurd/sigpreempt.h: New file.
2260 * hurd/preempt-sig.c: Rewritten with new interface.
2261 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Remove local signal
2262 preempters being unwound past.
2263 * hurd/hurdsig.c: Use new signal preemption interface.
2264
2265 * db: New directory, 4.4 BSD db package incorporated from BSD db-1.85
2266 release.
2267
2268 * sysdeps/unix/sysv/linux/sys/param.h: Several new macros for BSD
2269 compatibility.
2270
2271 * misc/queue.h: New file, incorporated from 4.4BSD.
2272 * misc/Makefile (headers): Add queue.h.
2273
2274 * posix/sys/types.h [__USE_BSD]: Include endian.h.
2275
2276 * io/sys/stat.h (DEFFILEMODE, ALLPERMS, ACCESSPERMS, S_BLKSIZE):
2277 New macros.
2278
2279 Thu Dec 28 10:21:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2280
2281 * sysdeps/generic/confname.h: Define all names as self-referential
2282 macros so #ifdef works.
2283
2284 * hurd/preempt-sig.c (hurd_unpreempt_signals): Remove bogus asgnmt
2285 of _hurd_signal_preempters[SIGNO].
2286
2287 Mon Dec 25 20:56:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2288
2289 * sysdeps/mach/hurd/bind.c: Translate EEXIST from dir_link into
2290 EADDRINUSE. If translated node doesn't grok ifsock protocol,
2291 return EADDRINUSE.
2292
2293 * sysdeps/mach/hurd/connect.c: Make address arg
2294 `const struct sockaddr_un *'.
2295 The redecl is kosher and avoids another variable for AF_LOCAL case.
2296 * sysdeps/mach/hurd/sendto.c: Likewise.
2297 * sysdeps/mach/hurd/bind.c: Likewise.
2298
2299 * socket/sys/socket.h (__SOCKADDR_ARG): Enable transparent_union
2300 code for GCC >= 2.7; use __transparent_union__ for name safety;
2301 add several sockaddr flavors.
2302 (__SOCKADDR_ALLTYPES, __SOCKADDR_ONETYPE): New macros used in
2303 constructing the transparent union declarations.
2304 (__CONST_SOCKADDR_ARG): New type (or macro if not GCC 2.7).
2305 (bind, connect, sendto): Make the sockaddr argument use that.
2306
2307 Fri Dec 22 00:57:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2308
2309 * sysdeps/mach/hurd/setgid.c: In root case, store into NEWAUX, not
2310 old vector.
2311 * sysdeps/mach/hurd/setuid.c: Likewise.
2312
2313 * sysdeps/mach/hurd/setuid.c: Rewrote ID frobnication to do the
2314 right thing.
2315 * sysdeps/mach/hurd/setgid.c: Likewise.
2316 * sysdeps/mach/hurd/setreuid.c: Likewise.
2317 * sysdeps/mach/hurd/setregid.c: Likewise.
2318 * sysdeps/mach/hurd/setegid.c: Likewise.
2319 * sysdeps/mach/hurd/seteuid.c: Likewise.
2320
2321 * sysdeps/mach/hurd/fork.c: Peek __mach_task_self_ value before
2322 proc_dostop call to work around kernel paging bug.
2323
2324 Fri Dec 22 00:38:00 1995 H.J. Lu <hjl@nynexst.com>
2325
2326 * stdio-common/vfscanf.c: Correctly handle white space skipping.
2327 * stdio-common/Makefile (tests): Add bug11.
2328 * stdio-common/bug11.c: New file.
2329
2330 Thu Dec 21 12:19:32 1995 Miles Bader <miles@gnu.ai.mit.edu>
2331
2332 * sysdeps/mach/hurd/setuid.c (__setuid): Actually add the new uid
2333 instead of putting it (and other uids) in the gids and leaving the
2334 old uids as is.
2335
2336 Wed Dec 20 18:23:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2337
2338 * stdio/internals.c (flushbuf): If the target is -1, always
2339 discard the buffer of read data.
2340 Only set TWIDDLED flag in !ALIGNED case.
2341 Never increment target or offset when old value is -1.
2342
2343 Tue Dec 19 17:00:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2344
2345 * hurd/hurdpid.c (_S_msg_proc_newids): Only run the hook when the
2346 pgrp changes.
2347
2348 Mon Dec 18 13:40:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2349
2350 * stdio/fread.c: Don't increment __offset when it's -1.
2351
2352 * elf/rtld.c (dl_main): Prepend tab to "statically linked". Exit
2353 0 in that case.
2354
2355 * misc/err.c (vwarnx, vwarn): Fix major brainos.
2356
2357 * sysdeps/mach/hurd/dl-sysdep.c (mmap): Fix setting of
2358 inheritance.
2359
2360 Sun Dec 17 15:56:35 1995 Miles Bader <miles@gnu.ai.mit.edu>
2361
2362 * misc/getpass.c (getpass): Don't barf if getline returns a null BUF.
2363
2364 Sat Dec 16 10:33:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2365
2366 * Makerules: Use $(do-install-so) for installing shared objects.
2367 (do-install-so): New canned sequence. Make a symlink LIB.so after
2368 installing LIB.so.VERSION.
2369
2370 * inet/netinet/in.h: Fixed typo in IPPORT_WHOIS.
2371
2372 Fri Dec 15 04:41:22 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2373
2374 * stdio-common/Makefile (tests): Add bug10.
2375 * stdio-common/bug10.c: New file. From HJ Lu.
2376
2377 * stdio-common/tstdiomisc.c: Make more test-suite like: exit
2378 status tells about successful run.
2379
2380 * stdio-common/vfscanf.c [!USE_IN_LIBIO]: Use `flags' to check
2381 format correctness.
2382 Correct handling of trailing white spaces in format + EOF.
2383
2384 Fri Dec 15 01:31:56 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2385
2386 * stdio-common/Makefile (tests): Add bug8 and bug9.
2387 * stdio-common/bug8.c, stdio-common/bug9.c: New tests.
2388
2389 * stdio-common/vfscanf.c: Fix bug in dynamic buffer handling.
2390
2391 * stdlib/strtod.c: Correct spelling: nominator -> numerator.
2392 Thanks to Jim Meyering.
2393
2394 Sat Nov 25 06:05:12 1995 H.J. Lu <hjl@nynexst.com>
2395
2396 * stdio-common/vfscanf.c: Always check width !=0.
2397 Correctly handle %%.
2398
2399 Thu Dec 14 02:28:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2400
2401 * posix/glob.c (glob_in_dir): Cast result of opendir to __ptr_t,
2402 and cast STREAM to DIR * before passing to readdir and closedir.
2403
2404 Wed Dec 13 22:06:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2405
2406 * hurd/hurdsig.c (_hurd_internal_post_signal: suspend): Reply
2407 after aborting RPCs but before calling proc_mark_stop.
2408
2409 Mon Dec 11 20:07:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2410
2411 * posix/glob.c [! STDC_HEADERS]: Declare getenv.
2412 (glob): Avoid using function as value.
2413
2414 * elf/rtld.c (dl_main): When mapping argument executable, set
2415 l_name to "", not l_libname.
2416 After loading DT_NEEDED library, set its l_type to lt_library.
2417
2418 * sysdeps/mach/hurd/mmap.c: Don't interpret MAP_INHERIT to mean
2419 VM_INHERIT. We can't handle MAP_INHERIT easily.
2420 Handle non-page-aligned addresses if congruent to offset.
2421
2422 * elf/dl-init.c: Skip the initializer for l_type lt_executable
2423 with l_name "". Start at _dl_loaded; don't skip the first element.
2424
2425 * elf/dl-load.c (MAP_FILE): Define to zero if undefined.
2426 (MAP_COPY): Define to MAP_PRIVATE if undefined.
2427 (_dl_map_object_from_fd): Don't use MAP_INHERIT in mmap calls.
2428 If file it ET_EXEC, set its l_type to lt_executable.
2429
2430 Sun Dec 10 09:56:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2431
2432 * elf/dl-minimal.c (malloc): Use MAP_PRIVATE in mmap call.
2433
2434 Fri Dec 8 13:04:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2435
2436 * locale/error.c, locale/error.h: Files removed.
2437 * locale/Makefile (distribute): Remove error.h.
2438 (lib-modules): Remove error.
2439
2440 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For "tty"
2441 magic, return ENXIO if no ctty.
2442
2443 * sysdeps/mach/hurd/mmap.c: For MAP_FIXED, deallocate a previous
2444 mapping if vm_map fails for that reason.
2445
2446 * posix/glob.c: Implement new options GLOB_ALTDIRFUNC, GLOB_BRACE,
2447 GLOB_TILDE, GLOB_NOMAGIC.
2448 (glob): Use stat instead of lstat to determine directoriness.
2449 * posix/glob.h (GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_NOMAGIC, GLOB_TILDE):
2450 New flag bits.
2451 (__GLOB_FLAGS): Include them.
2452 (glob_t): New members gl_closedir, gl_readdir, gl_opendir, gl_lstat,
2453 gl_stat.
2454
2455 * elf/elf.h (ET_NUM, SHT_NUM, STB_NUM, STT_NUM, PT_NUM): New macros.
2456
2457 * sysdeps/unix/sysv/linux/sys/mman.h: Include <linux/mman.h> to
2458 define all the bit values.
2459 (MAP_*, MCL_*): Macros removed.
2460
2461 Thu Dec 7 02:27:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2462
2463 * resolv/res_comp.c, resolv/res_debug.c, resolv/res_send.c:
2464 Updated from BIND 4.9.3-BETA27.
2465
2466 Wed Dec 6 18:44:01 1995 Miles Bader <miles@gnu.ai.mit.edu>
2467
2468 * sysdeps/mach/hurd/select.c (__select): Swap size args to mach_msg.
2469
2470 * sysdeps/mach/hurd/select.c (__select): Frob TYPES correctly when
2471 we get a delayed reply.
2472 Only grab values out of entries in TYPES that have SELECT_RETURNED
2473 turned on, and turn it on whenever an rpc returns.
2474 Only clear bits in the user's fdsets -- those needing to be set
2475 should be already.
2476 Use SELECT_ALL in appropiate places.
2477 (SELECT_RETURNED, SELECT_ALL): New macros.
2478
2479 Wed Dec 6 09:10:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2480
2481 * sysdeps/mach/hurd/sys/param.h (NBBY): New macro.
2482
2483 * gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): New macro.
2484
2485 Tue Dec 5 14:00:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2486
2487 * misc/Makefile (headers): Add error.h, err.h.
2488 (routines): Add error, err.
2489 (gpl2lgpl): New variable.
2490 * misc/err.c: New file.
2491 * misc/err.h: New file.
2492 * misc/error.c, misc/error.h: New files.
2493
2494 * sysdeps/mach/hurd/ioctl.c: Fix typo in last change.
2495
2496 * Makeconfig (+link): Translate libc% from $^, not just libc.a.
2497 (link-libc): Append $(libc.so-version) to libc.so.
2498 (built-program-cmd): Fix comma usage.
2499 * Makerules [libc.so-version] (libc.so$(libc.so-version)): Make a
2500 symlink to libc.so in the build directory.
2501 * Rules ($(others) $(tests)): Depend on the library that appears
2502 in $(link-libc).
2503 (%.out): Use $(built-program-cmd) in commands.
2504
2505 * posix/unistd.h [__USE_MISC]: Declare brk, sbrk.
2506
2507 * sysdeps/generic/setenv.c: Added canonical portability cruft.
2508 (setenv): Use realloc on LAST_ENVIRON instead of always copying.
2509 (unsetenv): New function.
2510 * stdlib/stdlib.h [__USE_BSD]: Declare unsetenv.
2511 * sysdeps/generic/putenv.c: Rewritten using setenv and unsetenv.
2512
2513 Tue Dec 5 02:27:32 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2514
2515 * libio/Makefile (routines): Remove iofscanf, add iopopen, pclose.
2516
2517 * libio/iofscanf.c: Remove file.
2518
2519 * libio/iogetdelim.c (_IO_getdelim): Correct stupid bug at string
2520 termination.
2521
2522 * libio/iopopen.c: New file from GNU libio.
2523
2524 * libio/memstream.c: Fixed bug in fclose handling. Instead of
2525 providing a close callback we need a finish callback.
2526
2527 * libio/pclose.c: New file. Derived from popen.c in GNU libio.
2528
2529 * posix/gnu/types.h: Fixed typo.
2530
2531 * stdio-common/errnobug.c: fputs returns EOF in error case. Do
2532 not test for != 0.
2533
2534 * stdio-common/printf-parse.h (parse_one_spec): Do not force
2535 padding with ' ' if precision is given. Fix by HJ Lu.
2536
2537 * stdio-common/printf_fp.c: Fix comment.
2538
2539 * stdio-common/tfformat.c, stdio-common/tiformat.c,
2540 stdio-common/tstdiomisc.c: New files from GNU libio test suite.
2541
2542 * stdio-common/tstgetln.c: Provide ssize_t type when testing
2543 libio.
2544
2545 * stdio-common/vfprintf.c (outchar): Use PUTC instead of putc.
2546 (vfprintf): Cleasr args_type array before using it.
2547 When printing 0 as an integer with precision 0 nothing must be
2548 written for the number.
2549 Based on patch by HJ Lu.
2550
2551 * stdio-common/vfscanf.c: Remove fixed input buffer. Now we
2552 have a dynamically extended buffer.
2553
2554 * stdlib/strtod.c: Merge with version in Linux libc. This fixes
2555 some bugs with handling of very small numbers and has different
2556 solution for formaer patches.
2557
2558 * sysdeps/i386/i586/add_n.S, sysdeps/i386/i586/sub_n.S: Rename
2559 macros r1 and r2 to t1, and t2 resp. This is necessary because
2560 glibc headers also define r1.
2561
2562 Mon Dec 4 12:10:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2563
2564 * stdlib/gen-mpn-copy (translations): Updated for new layout in
2565 GMP 1.910.
2566
2567 * malloc/malloc.c (__malloc_initialize): Renamed from initialize;
2568 made global.
2569 (malloc): Caller changed.
2570 * malloc/realloc.c (realloc): Call __malloc_initialize if
2571 necessary, before checking hook.
2572 * malloc/malloc.h: Declare __malloc_initialize.
2573
2574 * sysdeps/mach/hurd/ioctl.c: For IOC_VOID request, send ARG itself
2575 as integer_t arg in RPC.
2576
2577 Sat Dec 2 03:47:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2578
2579 * sysdeps/mach/hurd/brk.c (DATA_SIZE): Bump to 128MB.
2580 (_hurd_set_brk): Try to allocate more space when we run out.
2581
2582 * sysdeps/generic/sbrk.c: If __curbrk is zero, call __brk with
2583 zero and examine it again.
2584 * sysdeps/unix/sysv/linux/i386/brk.c: New file.
2585 * sysdeps/unix/sysv/linux/i386/brk.S: File removed.
2586 * sysdeps/unix/sysv/linux/i386/sbrk.S: File removed.
2587 * sysdeps/unix/sysv/linux/dl-sysdep.c: New file.
2588 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_SYSDEP_INIT]:
2589 Invoke this macro before calling DL_MAIN.
2590
2591 * malloc/malloc.c (malloc): Do initialization here, before
2592 checking the hook.
2593 (_malloc_internal): Don't do it here.
2594
2595 Wed Nov 29 12:30:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2596
2597 * libio/vsnprintf.c (__vsnprintf): Define as alias.
2598 * libio/iovsscanf.c (__vsscanf): Define as alias.
2599 * asprintf.c: Remove libio adaptation code added by drepper.
2600 * dprintf.c: Likewise.
2601 * printf.c: Likewise.
2602 * scanf.c: Likewise.
2603 * snprintf.c: Likewise.
2604 * sprintf.c: Likewise.
2605 * sscanf.c: Likewise.
2606 * vprintf.c: Likewise.
2607 * stdio-common/vfscanf.c [USE_IN_LIBIO] (__vfscanf): New wrapper
2608 function.
2609 (vfscanf): Define unconditionally.
2610
2611 * sysdeps/i386/dl-machine.h (elf_machine_rel): If SYM is null, use
2612 zero for value.
2613
2614 * misc/getpass.c: Write a newline after reading the unechoed
2615 password.
2616
2617 Mon Nov 27 19:24:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2618
2619 * posix/Makefile (routines): Add getsid.
2620 * sysdeps/unix/sysv/linux/getsid.S: New file.
2621 * sysdeps/mach/hurd/getsid.c: New file.
2622 * sysdeps/stub/getsid.c: New file.
2623 * posix/unistd.h [__USE_GNU]: Declare getsid.
2624
2625 Sun Nov 26 12:44:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2626
2627 * libc-symbols.h (N_): New macro.
2628
2629 Sat Nov 25 02:48:47 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2630
2631 * assert/assert-perr.c, assert/assert.c, inet/rcmd.c,
2632 malloc/mcheck.c, malloc/vm-limit.c, posix/getconf.c, posix/id.c,
2633 resolv/herror.c, sunrpc/auth_unix.c, sunrpc/clnt_perr.c,
2634 sunrpc/clnt_raw.c, sunrpc/get_myaddr.c, sunrpc/pmap_clnt.c,
2635 sunrpc/pmap_rmt.c, sunrpc/portmap.c, sunrpc/rpc_main.c,
2636 sunrpc/rpc_parse.c, sunrpc/rpc_scan.c, sunrpc/rpc_util.c,
2637 sunrpc/rpcinfo.c, sunrpc/svc_simple.c, sunrpc/svc_tcp.c,
2638 sunrpc/svc_udp.c, time/zdump.c, time/zic.c: Mark translatable
2639 strings.
2640
2641 Sun Nov 26 02:00:02 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2642
2643 * misc/syslog.c (vsyslog) [USE_IN_LIBIO]: Adapted for libio.
2644
2645 Thu Nov 23 02:21:55 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2646
2647 * sysdeps/unix/sysv/linux/{mlock,munlock,mlockall,munlockall}.S:
2648 New files.
2649 * sysdeps/unix/sysv/linux/sys/mman.h: Add prototypes for new functions
2650 mlock, munlock, mlockall, and munlockall.
2651
2652 Thu Nov 23 18:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2653
2654 * configure.in (--enable-libio): Set $stdio based on $enableval,
2655 not always to libio.
2656
2657 Thu Nov 23 18:06:48 1995 Richard Stallman <rms@gnu.ai.mit.edu>
2658
2659 * malloc/malloc.c (_malloc_internal): Can't use
2660 get_contiguous_space when the heap info table
2661 will be growing. Account for new contiguous space in _heaplimit.
2662
2663 Wed Nov 22 12:37:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2664
2665 * sysdeps/unix/sysv/linux/i386/sysdep.S (_errno): Define as alias
2666 for errno.
2667
2668 * stdio-common/vfprintf.c [USE_IN_LIBIO] (vfprintf): Define as
2669 alias for _IO_vfprintf.
2670
2671 * sysdeps/unix/sysv/linux/sockaddrcom.h: File removed.
2672
2673 * sysdeps/unix/sysv/linux/i386/init-first.c (init): Use
2674 __fpu_control instead of ___fpu_control.
2675 * sysdeps/unix/sysv/linux/i386/ieee_fpu.c
2676 (___fpu_control): Renamed to __fpu_control.
2677 * sysdeps/unix/sysv/linux/i386/fpu_control.h: Likewise.
2678 * sysdeps/unix/sysv/linux/i386/fpu_control.c: Likewise.
2679
2680 * elf/dl-minimal.c: New file.
2681 * elf/Makefile (rtld-routines): Add dl-minimal.
2682 * elf/rtld.c (__dgettext, __assert_fail, __assert_perror_fail):
2683 Functions moved to dl-minimal.c.
2684 * sysdeps/mach/hurd/dl-sysdep.c (malloc, free, realloc,
2685 sigjmp_save, longjmp): Likewise.
2686
2687 * sysdeps/unix/sysv/linux/i386/brk.S (__curbrk): Always initialize
2688 to &_end, regardless of PIC.
2689
2690 * stdio-common/vfscanf.c (__vfscanf): Fix arg name in defn.
2691
2692 Tue Nov 21 14:12:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2693
2694 * malloc/malloc.c (align): Don't check contiguity and call abort.
2695
2696 * hurd/hurdsig.c (post_reply): Function removed.
2697 (abort_thread, abort_all_rpcs, _hurdsig_abort_rpcs): Don't call it.
2698 Take single callback fn arg instead of reply port and type.
2699 (_hurd_internal_post_signal): Callers changed.
2700 Cache reply stub fn ptr in local var before UNTRACED might be changed.
2701
2702 * sysdeps/mach/hurd/mmap.c: Cope with a null write memobj for
2703 PROT_READ|PROT_WRITE copy mapping. Pass a proper vm_inherit_t to
2704 vm_map.
2705
2706 * elf/rtld.c (_dl_start): For --list, do output and exit before
2707 relocating.
2708
2709 Mon Nov 20 16:19:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2710
2711 * intl/Makefile [gettext-srcdir]: Rewrote copying rules to only
2712 get .c and .h files.
2713
2714 * malloc/malloc.c (align): Use abort instead of assert.
2715
2716 Sun Nov 19 18:23:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2717
2718 * Makeconfig (+includes): Add $($(stdio)-include).
2719 (libio-include): New variable.
2720
2721 * stdlib/strtod.c: Put weak_symbol after function defn.
2722 * stdlib/strtol.c: Likewise.
2723
2724 * configure.in (--enable-libio): If not present, set $stdio to
2725 "default". Move stdio/libio check to end, so sysdeps fragments
2726 can affect it. Reset $stdio to "stdio" if it's "default".
2727 * sysdeps/unix/sysv/linux/configure: New file.
2728
2729 Sat Nov 18 16:46:01 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
2730
2731 * libio/Makefile, libio/cleanup.c, libio/clearerr.c, libio/feof.c,
2732 libio/ferror.c, libio/fgetc.c, libio/filedoalloc.c, libio/fileno.c,
2733 libio/fileops.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
2734 libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
2735 libio/iofdopen.c, libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
2736 libio/iofopen.c, libio/iofprintf.c, libio/iofputs.c, libio/iofread.c,
2737 libio/iofscanf.c, libio/iofsetpos.c, libio/ioftell.c, libio/iofwrite.c,
2738 libio/iogetdelim.c, libio/iogetline.c, libio/iogets.c, libio/iolibio.h,
2739 libio/iopadn.c, libio/ioprims.c, libio/ioputs.c, libio/ioseekoff.c,
2740 libio/ioseekpos.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
2741 libio/iosprintf.c, libio/ioungetc.c, libio/iovsprintf.c,
2742 libio/iovsscanf.c, libio/libio.h, libio/libioP.h, libio/putc.c,
2743 libio/putchar.c, libio/rewind.c, libio/setbuf.c, libio/setlinebuf.c,
2744 libio/stdfiles.c, libio/stdio.c, libio/stdio.h, libio/strfile.h,
2745 libio/strops.c, libio/vasprintf.c, libio/vscanf.c, libio/vsnprintf.c:
2746 New files. Slightly modified version from Linux libc.
2747
2748 * libio/memstream.c, libio/vdprintf.c: New files for functions not
2749 (yet) part of GNU libio.
2750
2751 * libio/iofopncook.c: Implementation of `fopencookie', mainly written
2752 by Per Bothner.
2753
2754 * stdio-common/getline.c: Adapted to libio.
2755 * stdio-common/snprintf.c: Adapted to libio.
2756 * stdio-common/vfprintf.c: Adapted to libio.
2757 * stdio-common/vfscanf.c: Adapted to libio.
2758 * sysdeps/posix/tempname.c: Adapted to libio.
2759
2760 Fri Nov 17 17:57:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2761
2762 * sysdeps/generic/Makefile (make_siglist): Add missing backslash.
2763
2764 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): New
2765 function.
2766
2767 * hurd/hurdfault.c: Replace __libc_fatal calls with assert_perror.
2768 (_hurdsig_fault_init): Remove #if 0 from setting exception port.
2769 Insert send right for SIGEXC before thread_set_special_port.
2770 * hurd/hurdsig.c: Replace __libc_fatal calls with assert_perror.
2771 (_hurdsig_init): Remove #if 0 from setting exception port.
2772
2773 * sysdeps/mach/hurd/ptrace.c (ptrace: PTRACE_CONT): Use
2774 HURD_MSGPORT_RPC macro.
2775
2776 Thu Nov 16 06:07:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2777
2778 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): New
2779 function.
2780 (_dl_sysdep_start): Move cleanup code there.
2781
2782 * Makeconfig (default-rpath): New variable.
2783 (link-libc): Use it.
2784 * elf/Makefile (ld.so): Pass -rpath=$(default-rpath).
2785 * elf/rtld.c (_dl_rpath): New variable.
2786 (_dl_start): Set it from rtld_map's DT_RPATH.
2787 Call _dl_setup_hash on rtld_map.
2788 (dl_main): Cache address of _exit in variable before relocating,
2789 and use that in later calls. Call _dl_sysdep_start_cleanup before
2790 relocating. Keep track of dependency order while loading; remove
2791 rtld_map from chain, and reinsert in proper order if there is a
2792 dependency on it.
2793
2794 * sysdeps/generic/Makefile (make_siglist): Pass
2795 -DSIGNUM_H=... with config's signum.h location.
2796 * sysdeps/generic/make_siglist.c: Include SIGNUM_H to define
2797 signal numbers.
2798 (HAVE_STRSIGNAL, HAVE_PSIGNAL): Define these before including signame.c
2799 (main): Deansideclize output.
2800
2801 * elf/dl-load.c (_dl_map_object): Use _dl_rpath variable in place
2802 of DEFAULT_RPATH macro.
2803 * elf/Makefile: Undo last change.
2804
2805 * sysdeps/mach/hurd/dl-sysdep.c (free): Don't abort, just nop.
2806
2807 Wed Nov 15 19:22:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2808
2809 * elf/dl-lookup.c (_dl_lookup_symbol): Undefined symbol is no
2810 error if weak.
2811
2812 * elf/Makefile (default-rpath): New variable.
2813 (CPPFLAGS): Append -DDEFAULT_RPATH=....
2814 * elf/dl-load.c (_dl_map_object): Use DEFAULT_RPATH instead of
2815 hard-coded "/lib:/usr/lib".
2816
2817 * sysdeps/mach/hurd/dl-sysdep.c: Include _itoa.h from stdio-common
2818 instead of stdio.
2819 (_dl_sysdep_start): If passed user entry is zero and
2820 EXEC_STACK_ARGS flag set, reset user entry to &_start.
2821
2822 * elf/rtld.c (dl_main): Only call _dl_setup_hash if there is a
2823 DT_HASH element.
2824
2825 * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Gratuitously
2826 repeat weak decl using weak_symbol macro, in case using broken GCC
2827 (<2.8).
2828
2829 Wed Nov 15 18:49:55 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
2830
2831 * sysdeps/i386/isnanl.c: New file.
2832 * sysdeps/i386/isinfl.c: New file.
2833
2834 Tue Nov 14 18:44:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2835
2836 * malloc/free.c (free): Moved null and aligned_blocks checks
2837 inside _free_internal.
2838
2839 Mon Nov 13 15:23:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2840
2841 * malloc/malloc.c (morecore): Fix inverted test in allocating new
2842 info table.
2843
2844 * malloc/malloc.c (align): Fix assertion.
2845
2846 * malloc/malloc.c: Include assert.h.
2847
2848 * libc-symbols.h: Use __attribute__ for GCC 2.8, not 2.7.
2849
2850 * malloc/malloc.h [emacs] (emacs_loser_valloc): Macro removed.
2851 (valloc): Protect decl with [! (_MALLOC_INTERNAL && emacs)].
2852
2853 Fri Nov 10 14:15:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2854
2855 * malloc/malloc.c (align): Assert that space for alignment
2856 adjustment is same original space.
2857
2858 * hurd/hurdprio.c (_hurd_priority_which_map): Cast vm_deallocate
2859 arg to vm_address_t.
2860
2861 * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO == 0,
2862 skip straight to pending check. When UNTRACED, resume process
2863 from suspension first.
2864
2865 * intl/Makefile (headers): New variable, libintl.h.
2866 [gettext-srcdir]: New rules to copy source from $(gettext-srcdir)/intl.
2867 * configure.in: Check for --with-gettext arg.
2868
2869 Fri Nov 10 13:51:30 1995 Richard Stallman <rms@gnu.ai.mit.edu>
2870
2871 * malloc/malloc.c (get_contiguous_space): New function.
2872 (morecore): Rewrite allocating new malloc info table.
2873 (_malloc_internal): Use get_contiguous_space.
2874
2875 Fri Nov 10 13:03:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2876
2877 * hurd/hurdexec.c (_hurd_exec): If exec'ing self, pass
2878 _hurd_msgport to be destroyed.
2879
2880 * Makerules (installed-libcs): Filter out %_pic.a.
2881
2882 * hurd/hurdinit.c (_hurd_proc_init): When traced, use msg_sig_post
2883 to our msgport to take SIGTRAP, instead of _hurd_raise_signal.
2884
2885 * hurd/Makefile (user-interfaces): Add hurd/process_request.
2886
2887 Wed Nov 8 16:31:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2888
2889 * termios/Makefile (headers): Add sys/ttychars.h.
2890 * termios/sys/ttychars.h: New file, incorporated from 4.4BSD-Lite
2891 for compatibility.
2892
2893 * signal/signal.h [__USE_BSD] (sig_t): New typedef.
2894
2895 Wed Nov 8 15:12:47 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
2896
2897 * sysdeps/mach/hurd/ptrace.c (ptrace) [PTRACE_TRACEME]: Notify the
2898 proc server that we are now traced.
2899
2900 Tue Nov 7 12:29:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2901
2902 * elf/Makefile (ldd): Make it executable.
2903
2904 * Makeconfig (config-LDFLAGS): Find dynamic linker in $(slibdir).
2905
2906 * Makeconfig (slibdir): New variable.
2907 * Makerules (install): Install libc.so in $(slibdir).
2908 * elf/Makefile (install-others): Install ld.so and ld-linux.so.1
2909 in $(slibdir).
2910
2911 * elf/linux-compat.c: New file.
2912 * elf/Makefile (distribute): Add linux-compat.c.
2913 (generated): Add librtld.so.
2914 [$(config-os)=linux*] (extra-objs): Add linux-compat.so.
2915 [$(config-os)=linux*] (extra-objs): Add ld-linux.so.1.
2916 (librtld.so): New target.
2917 (ld.so, ld-linux.so.1): Make from librtld.so.
2918
2919 * elf/rtld.c (dl_main): Instead of weak call to _dl_compat_init,
2920 call our own DT_INIT if we have one (and then clear it).
2921 (__dgettext): New weak function.
2922
2923 * intl/localealias.c (read_alias_file): Avoid sprintf; use memcpy
2924 by hand instead.
2925
2926 * sysdeps/generic/_strerror.c (_strerror_internal): Use _itoa
2927 instead of snprintf.
2928
2929 * sysdeps/mach/_strerror.c (_strerror_internal): Don't write
2930 BUF[BUFLEN].
2931
2932 * elf/rtld.c (rtld_map): New static variable.
2933 (_dl_start): Use a differently named local BOOTSTRAP_MAP for the
2934 bootstrapping. Then copy data into `rtld_map'.
2935 (dl_main): Finish filling in rtld_map and link it into the chain,
2936 instead of allocating a new structure.
2937 (dl_main): Call _dl_compat_init if it is defined (use weak ref).
2938
2939 * elf/dlsym.c: Fix last change: move REF out of `doit'.
2940
2941 Mon Nov 6 16:20:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2942
2943 * elf/dlsym.c: Return the proper value, not just the defining
2944 object's loadbase.
2945
2946 Sun Nov 5 16:09:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2947
2948 * stdio-common/vfprintf.c (%c): Count the character itself towards
2949 the field width in all cases.
2950
2951 * sysdeps/mach/hurd/getpriority.c (getpriority): Cast
2952 __vm_deallocate arg to vm_address_t.
2953
2954 Fri Nov 3 17:27:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2955
2956 * sysdeps/mach/hurd/sendto.c: Don't pass BINDING arg to
2957 socket_create_address.
2958 * sysdeps/mach/hurd/connect.c: Likewise.
2959 * sysdeps/mach/hurd/bind.c: Likewise.
2960
2961 * hurd/hurdprio.c (_hurd_priority_which_map): Pass threadwaits
2962 args to proc_getprocinfo.
2963 * sysdeps/mach/hurd/getpriority.c: Likewise.
2964
2965 * hurd/hurdmsg.c (_S_msg_report_wait): New stub function.
2966
2967 Thu Nov 2 19:24:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2968
2969 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Define as common.
2970
2971 Tue Oct 31 00:07:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2972
2973 * sysdeps/mach/hurd/getpriority.c (getpriority): Pass
2974 PI_FETCH_TASKINFO to proc_getprocinfo and through
2975 _hurd_priority_which_map.
2976
2977 * sysdeps/mach/hurd/setpriority.c (setpriority): Pass new arg to
2978 _hurd_priority_which_map.
2979 * hurd/hurdprio.c (_hurd_priority_which_map): New arg PI_FLAGS,
2980 passed through to proc_getprocinfo RPC.
2981 * hurd/hurd/resource.h: Add PI_FLAGS arg in decl.
2982
2983 * sysdeps/mach/hurd/group_member.c: New file.
2984 * sysdeps/generic/group_member.c: New file.
2985
2986 * Makerules (lib-noranlib): Don't depend on $(install-lib).
2987 (others): Do.
2988 * extra-lib.mk: Fix test of $(lib)-no-lib-dep.
2989
2990 Mon Oct 30 12:33:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2991
2992 * Rules (others): Depend on $(extra-objs).
2993
2994 * posix/unistd.h [__USE_GNU]: Declare group_member, __group_member.
2995 * posix/Makefile (routines): Add group_member.
2996
2997 * sysdeps/posix/euidaccess.c: New file, adapted from fileutils.
2998
2999 * sysdeps/unix/sysv/linux/i386/sigaction.c: Tighten constraint for
3000 SIG operand in asm so it must be a register.
3001 Add dead return to quiet gcc warning.
3002
3003 * Makerules (sysd-rules): Write a defn for sysd-rules-done.
3004 [! sysd-rules-done]: Inhibit deps.
3005
3006 Thu Oct 26 23:11:11 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
3007
3008 * sysdeps/unix/sysv/linux/poll.c: Don't define as stub. Use
3009 simulation of system call using select.
3010
3011 * sysdeps/unix/sysv/linux/signal.c: Use POSIX implementation.
3012
3013 * sysdeps/unix/sysv/linux/statbuf.h: Define _STAT_VER.
3014
3015 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct parameter
3016 name usage (new->act, old->oact).
3017 Correct asm statement because of gcc strangeness.
3018
3019 * sysdeps/i386/i586/strchr.S: Correct typos: cmp -> cmpb.
3020
3021 * sunrpc/clnt_perr.c: Remove declaration of sys_errlist. They
3022 conflict with the ones in stdio.h.
3023
3024 * string/tester.c: %Z is no complete format. Change to %Zd.
3025
3026 Thu Oct 26 18:13:33 1995 Miles Bader <miles@gnu.ai.mit.edu>
3027
3028 * sysdeps/mach/hurd/bind.c (bind): Swap args to dir_link.
3029 * sysdeps/mach/hurd/link.c (__link): Ditto.
3030 * sysdeps/mach/hurd/symlink.c (__symlink): Ditto.
3031 * sysdeps/mach/hurd/mknod.c (__mknod): Ditto.
3032 Include "stdio-common/_itoa.h" instead of "stdio/_itoa.h".
3033
3034 Thu Oct 26 00:11:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3035
3036 * sysdeps/unix/sysv/linux/i386/sigaction.c: New file.
3037
3038 * sysdeps/unix/sysv/linux/i386/xstat.S: Don't use JUMPTARGET macro
3039 on syscall_error. For PIC, it is a local label;
3040 for non-PIC, JUMPTARGET expands to the unadorned name anyway.
3041 * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise.
3042 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3043 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3044 * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise.
3045 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3046 * sysdeps/unix/sysv/linux/i386/brk.S: Likewise.
3047
3048 Thu Oct 26 03:01:22 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
3049
3050 * sysdeps/unix/sysv/linux/syscall.h: Strip list of syscalls in
3051 comment to the necessary ones. Add _readv and _writev.
3052
3053 * sysdeps/unix/configure.in: Change syntax for system call test
3054 candidates and adapt sed script for this. Now use : to separate
3055 syscall name and file name.
3056
3057 * sysdeps/unix/sysv/linux/i386/sysdep.h (ENTRY): System call
3058 number is now set is DO_CALL. So call with additional argument.
3059 (DO_CALL): Takes an additional argument. Load system call
3060 number according to new argument.
3061 (SYSCALL_ERROR_HANDLER): Add ; after last ret statement.
3062 * sysdeps/unix/sysv/linux/i386/brk.S [PIC]: Define __syscall_error
3063 locally using SYSCALL_ERROR_HANDLER macro.
3064 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3065 * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise.
3066 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3067 * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise.
3068 * sysdeps/unix/sysv/linux/i386/xstat.S: Likewise.
3069 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3070 Don't use DO_CALL macro; instead use lower level macros for better
3071 control.
3072
3073 * sysdeps/unix/sysv/linux/sigaction.h: New file.
3074 * sysdeps/unix/sysv/linux/sigaction.S: File removed.
3075 * sysdeps/unix/sysv/linux/signal.S: File removed.
3076
3077 Wed Oct 25 14:23:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3078
3079 * hurd/hurdstartup.c (_hurd_startup): Use new
3080 exec_startup_get_info RPC from exec_startup.defs
3081 in place of old exec_startup from exec.defs. Remove kludge to
3082 guess user entry and phdr locations, since the new RPC gives us
3083 that info.
3084
3085 * stdio/stdio.h (sys_errlist, _sys_errlist): Declare const.
3086 * sysdeps/generic/_strerror.c: Undo last change.
3087
3088 * sysdeps/unix/sysv/linux/stat.c: New file.
3089 * sysdeps/unix/sysv/linux/fstat.c: New file.
3090 * sysdeps/unix/sysv/linux/lstat.c: New file.
3091 * sysdeps/unix/sysv/linux/i386/stat.S: File removed.
3092 * sysdeps/unix/sysv/linux/i386/fstat.S: File removed.
3093 * sysdeps/unix/sysv/linux/i386/lstat.S: File removed.
3094
3095 Tue Oct 24 15:22:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3096
3097 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3098 New macro.
3099 (PSEUDO): Use it instead of SYSCALL_PIC_SETUP and jmp syscall_error.
3100
3101 * sysdeps/unix/sysv/linux/i386/sysdep.S (__syscall_error): Define
3102 only #ifndef PIC.
3103
3104 * Makeconfig (built-program-cmd): New variable.
3105 * sunrpc/Makefile (rpcgen-cmd): Use $(built-program-cmd).
3106 * time/Makefile (zic-cmd): Likewise.
3107
3108 * hurd/Makefile (user-interfaces): Add hurd/exec_startup.
3109
3110 * sunrpc/Makefile (librpcsvc-no-lib-dep): New variable.
3111 * extra-lib.mk: If $(lib)-no-lib-dep is defined and MAKELEVEL>0,
3112 make `others' rather than `lib-noranlib' depend on the libraries.
3113
3114 * sysdeps/unix/configure.in: Check for fchdir syscall.
3115 Improve sed script to allow / on rhs without / on lhs.
3116
3117 Thu Oct 19 03:47:32 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
3118
3119 * sysdeps/unix/sysv/linux/termbits.h: Don't define speed constants.
3120
3121 * elf/rtld.c: Include _itoa.h from stdio-common instead of stdio.
3122
3123 * sysdeps/unix/sysv/linux/select.S: New file.
3124
3125 Wed Oct 18 03:33:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3126
3127 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Use
3128 SYSCALL_PIC_SETUP before jumping to syscall_error.
3129 * sysdeps/unix/i386/sysdep.h (SYSCALL_PIC_SETUP): New macro.
3130 (PSEUDO): Use it before jumping to syscall_error.
3131 * sysdeps/unix/i386/sysdep.S [! PIC]: Don't find GOT address;
3132 expect it in %ebx on entry. Pop old %ebx value off stack after
3133 using it.
3134
3135 * signal/signal.h [__USE_BSD] (_sys_siglist, sys_siglist): Declare
3136 them.
3137
3138 * sysdeps/generic/_strerror.c: Declare _sys_errlist and _sys_nerr.
3139
3140 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For magic
3141 `fd/', pass the right pointer to strtol to parse the number.
3142
3143 Tue Oct 17 23:00:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3144
3145 * sysdeps/mach/_strerror.c: Include stdio-common/_itoa.h instead
3146 of stdio/_itoa.h.
3147
3148 Tue Oct 17 19:51:17 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
3149
3150 * sysdeps/unix/sysv/linux/i386/stat.S [PIC] (__stat): Set GOT
3151 register %ebx before calling __xstat through PLT.
3152
3153 * sysdeps/unix/sysv/linux/i386/sysdep.S: Fix typo in comment.
3154
3155 * sysdeps/unix/sysv/linux/sigset.h: Remove file.
3156
3157 Tue Oct 17 01:21:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3158
3159 * hurd/hurdsock.c: Include stdio-common/_itoa.h instead of
3160 stdio/_itoa.h.
3161 * hurd/hurdlookup.c: Likewise.
3162
3163 * hurd/hurd/signal.h: Declare hurd_preempt_signals and
3164 hurd_unpreempt_signals.
3165
3166 * stdio/stdio.h: Declare __snprintf and __vsnprintf.
3167
3168 * stdio-common/psignal.c: Translate signal description strings.
3169 * string/strsignal.c: Likewise.
3170 * sysdeps/generic/_strerror.c (_strerror_internal): Translate
3171 error strings.
3172 * sysdeps/mach/_strerror.c: Likewise.
3173
3174 * stdio-common/snprintf.c (__snprintf): Renamed from snprintf;
3175 call __vsnprintf.
3176 (snprintf): Define as weak alias.
3177 * stdio/vsnprintf.c (__vsnprintf): Renamed from vsnprintf.
3178 (vsnprintf): Define as weak alias.
3179
3180 Mon Oct 16 03:22:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3181
3182 * Makerules (install-lib): Filter out %_pic.a; install only the
3183 linked shared objects.
3184
3185 * locale/Makefile (aux): Add SYS_libc.
3186 * locale/SYS_libc.c: New file.
3187 * libc-symbols.h [! ASSEMBLER] (_): New macro.
3188
3189 * configure.in (libc_cv_asm_set_directive): Link program into
3190 conftest instead of letting it default to a.out.
3191
3192 * elf/Makefile (install-others): Add missing slash.
3193
3194 * elf/ldd.sh.in: Prepend `./' to relative file names so ld.so
3195 won't search LD_LIBRARY_PATH.
3196
3197 * Makefile (subdirs): Replace stdio with stdio-common and $(stdio).
3198 * configure.in: Grok arg --enable-libio.
3199 ($stdio = libio): Define USE_IN_LIBIO.
3200 * config.h.in (USE_IN_LIBIO): Add #undef.
3201 * config.make.in (stdio): New variable, set by configure.
3202 * Makeconfig (stdio): New variable.
3203 * stdio.h [USE_IN_LIBIO]: Include libio/stdio.h instead of
3204 stdio/stdio.h.
3205 * stdio-common/Makefile: New file.
3206 * stdio/Makefile: Half the contents moved to stdio-common/Makefile.
3207 * stdio/_itoa.c: Moved to stdio-common.
3208 * stdio/_itoa.h: Moved to stdio-common.
3209 * stdio/asprintf.c: Moved to stdio-common.
3210 * stdio/bug1.c: Moved to stdio-common.
3211 * stdio/bug1.input: Moved to stdio-common.
3212 * stdio/bug2.c: Moved to stdio-common.
3213 * stdio/bug3.c: Moved to stdio-common.
3214 * stdio/bug4.c: Moved to stdio-common.
3215 * stdio/bug5.c: Moved to stdio-common.
3216 * stdio/bug6.c: Moved to stdio-common.
3217 * stdio/bug6.input: Moved to stdio-common.
3218 * stdio/bug7.c: Moved to stdio-common.
3219 * stdio/dprintf.c: Moved to stdio-common.
3220 * stdio/errnobug.c: Moved to stdio-common.
3221 * stdio/getline.c: Moved to stdio-common.
3222 * stdio/getw.c: Moved to stdio-common.
3223 * stdio/perror.c: Moved to stdio-common.
3224 * stdio/printf-parse.h: Moved to stdio-common.
3225 * stdio/printf-prs.c: Moved to stdio-common.
3226 * stdio/printf.c: Moved to stdio-common.
3227 * stdio/printf.h: Moved to stdio-common.
3228 * stdio/printf_fp.c: Moved to stdio-common.
3229 * stdio/psignal.c: Moved to stdio-common.
3230 * stdio/putw.c: Moved to stdio-common.
3231 * stdio/reg-printf.c: Moved to stdio-common.
3232 * stdio/scanf.c: Moved to stdio-common.
3233 * stdio/snprintf.c: Moved to stdio-common.
3234 * stdio/sprintf.c: Moved to stdio-common.
3235 * stdio/sscanf.c: Moved to stdio-common.
3236 * stdio/tempnam.c: Moved to stdio-common.
3237 * stdio/temptest.c: Moved to stdio-common.
3238 * stdio/test-fseek.c: Moved to stdio-common.
3239 * stdio/test-fwrite.c: Moved to stdio-common.
3240 * stdio/test-popen.c: Moved to stdio-common.
3241 * stdio/test_rdwr.c: Moved to stdio-common.
3242 * stdio/tmpfile.c: Moved to stdio-common.
3243 * stdio/tmpnam.c: Moved to stdio-common.
3244 * stdio/tst-fileno.c: Moved to stdio-common.
3245 * stdio/tst-printf.c: Moved to stdio-common.
3246 * stdio/tstgetln.c: Moved to stdio-common.
3247 * stdio/tstgetln.input: Moved to stdio-common.
3248 * stdio/tstscanf.c: Moved to stdio-common.
3249 * stdio/tstscanf.input: Moved to stdio-common.
3250 * stdio/vfprintf.c: Moved to stdio-common.
3251 * stdio/vfscanf.c: Moved to stdio-common.
3252 * stdio/vprintf.c: Moved to stdio-common.
3253 * stdio/xbug.c: Moved to stdio-common.
3254 * sysdeps/generic/Makefile (siglist.c rules): Do this in subdir
3255 stdio-common instead of stdio.
3256 * sysdeps/unix/Makefile (errlist.c rules): Likewise.
3257 * stdio-common/asprintf.c [USE_IN_LIBIO]: Call libio primitive
3258 function.
3259 * stdio-common/dprintf.c: Likewise.
3260 * stdio-common/printf.c: Likewise.
3261 * stdio-common/scanf.c: Likewise.
3262 * stdio-common/snprintf.c: Likewise.
3263 * stdio-common/sprintf.c: Likewise.
3264 * stdio-common/sscanf.c: Likewise.
3265 * stdio-common/vprintf.c: Likewise.
3266
3267 * Makerules: Include $(+depfiles) directly instead of generating
3268 depend-$(subdir).
3269 (depend-$(subdir)): Target removed.
3270 (common-clean): Don't remove depend-$(subdir).
3271
3272 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): New variable.
3273 (config-LDFLAGS): Variable removed.
3274
3275 * sysdeps/mach/hurd/getcwd.c: Use __file_name_lookup_under.
3276 * sysdeps/mach/hurd/bind.c: Likewise.
3277 * sysdeps/mach/hurd/access.c: Use new __hurd_file_name_lookup
3278 calling convention.
3279
3280 * hurd/hurdexec.c: Undo last change (10 Oct 95).
3281
3282 Sun Oct 15 21:04:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3283
3284 * hurd/hurd/lookup.h: New file.
3285 * hurd/hurdlookup.c (__file_name_lookup_under): New function.
3286 (__hurd_file_name_lookup, __hurd_file_name_lookup_retry,
3287 __hurd_file_name_split): Rewritten to take callback functions for
3288 using any needed init or dtable port, instead of passing in crdir
3289 and cwdir ports.
3290 (__file_name_lookup, __file_name_split): Use new calling
3291 convention; pass _hurd_ports_use and __getdport as the callback
3292 functions.
3293
3294 * sysdeps/mach/hurd/chroot.c: Use __file_name_lookup_under instead
3295 of __hurd_file_name_lookup.
3296 * sysdeps/mach/hurd/chdir.c: Likewise.
3297 * sysdeps/mach/hurd/fchdir.c: Likewise.
3298 * hurd/fchroot.c: Likewise.
3299
3300 * stdlib/Makefile (mpn-found): Don't omit %.s.
3301 (mpn-copy-sysdep): Omit files in nonexistent directories.
3302 (copy-mpn): Commit files to CVS.
3303 * stdlib/gen-mpn-copy (translations): Update translations for GMP
3304 1.906.7.
3305
3306 * configure.in (machine): Translate alpha* to alpha/&, hppa* to hppa/&.
3307
3308 Sat Oct 14 02:52:36 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
3309
3310 * malloc/malloc.c (_malloc_internal): Performance fix. Move
3311 if statement out of loop.
3312
3313 * stdio/_itoa.c, stdio/_itoa.h: Complete rewrite. Much faster
3314 implementation using GMP functions. Contributed by
3315 Torbjorn Granlund and Ulrich Drepper.
3316
3317 * stdio/test_rdwr.c: Include <errno.h>.
3318
3319 * sysdeps/i386/i586/Implies: New file.
3320
3321 New highly optimized string functions for i[345]86.
3322 * sysdeps/i386/memchr.S, sysdeps/i386/memcmp.S: New files.
3323 * sysdeps/i386/stpcpy.S, sysdeps/i386/stpncpy.S: New files.
3324 * sysdeps/i386/strchr.S, sysdeps/i386/strcspn.S: New files.
3325 * sysdeps/i386/strpbrk.S, sysdeps/i386/strrchr.S: New files.
3326 * sysdeps/i386/strspn.S, sysdeps/i386/i486/strcat.S: New files.
3327 * sysdeps/i386/i486/strlen.S, sysdeps/i386/i586/strchr.S: New files.
3328 * sysdeps/i386/i586/strlen.S: New file.
3329 * sysdeps/i386/memchr.c: Removed. There is now an assembler version.
3330
3331 * sysdeps/i386/i586/memcopy.h (WORD_COPY_BWD): Parameters did
3332 not correspond to used values.
3333
3334 * sysdeps/unix/sysv/linux/nfs/nfs.h: New file. Simply a wrapper
3335 around a kernel header file.
3336 * sysdeps/unix/sysv/linux/Dist: Add it.
3337 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=sunrpc] (headers):
3338 Likewise.
3339
3340 * sysdeps/unix/sysv/linux/local_lim.h: Rewrite. Instead of
3341 defining ourself we use a kernel header file.
3342
3343 * sysdeps/unix/sysv/linux/i386/sysdep.h (DO_CALL): Optimize system
3344 call handler for i586.
3345
3346 * sysdeps/unix/sysv/linux/sys/param.h: Add copyright and clean up.
3347
3348 Thu Oct 12 15:45:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3349
3350 * hurd/hurd.h (file_name_lookup_under): Declare it.
3351 * hurd/Makefile (headers): Add hurd/lookup.h.
3352
3353 * hurd/hurdinit.c (_hurd_ports_use): New function.
3354 * hurd/hurd.h (_hurd_ports_use): Declare it.
3355 (hurd_invoke_translator, hurd_file_name_lookup, hurd_file_name_split,
3356 hurd_file_name_lookup_retry): Remove these decls.
3357 * hurd/Makefile (routines): Remove invoke-trans.
3358
3359 Wed Oct 11 00:00:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3360
3361 * sysdeps/i386/dl-machine.h (elf_machine_rel): Use +=, not =, to
3362 apply R_386_PC32 reloc.
3363
3364 * Makeconfig (config-LDFLAGS): Add missing slash.
3365
3366 * sysdeps/mach/hurd/profil.c (fork_profil): Only call
3367 update_waiter if profiling was enabled in the parent.
3368
3369 * csu/initfini.c: Don't pass -f flag to cp.
3370
3371 Tue Oct 10 23:08:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3372
3373 * Makerules (build-shlib): Pass -rpath and -rpath-link options.
3374 (LDFLAGS-c.so): Don't pass -dynamic-linker here.
3375 * Makeconfig (+link): Pass $(sysdep-LDFLAGS).
3376 (link-libc): Pass -rpath and -rpath-link options.
3377
3378 * MakeTAGS (all-dirs): Omit CVS directories.
3379 Specify vpath directives to find source files in $(all-dirs).
3380 (sources, headers): Append sources and headers from $(all-dist) to
3381 these.
3382 (all-dist): Filter them out of this.
3383 (all-headers, all-sources): Use $(shell find ...) instead of
3384 $(wildcard ...).
3385
3386 * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): New variable; pass
3387 -rpath-link.
3388
3389 * hurd/hurdexec.c: Pass poly and dealloc args to __file_exec.
3390
3391 * elf/Makefile (install-others): Add missing $.
3392
3393 Mon Oct 9 02:54:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3394
3395 * mach/Makefile ($(objpfx)errsystems.c): Rule reenabled.
3396
3397 * Makeconfig (config-LDFLAGS): Define to
3398 -Wl-dynamic-linker=$(libdir)$(rtld-installed-name).
3399 (rtld-installed-name): New variable.
3400 * elf/Makefile (install-lib): Variable removed.
3401 (install-others): Define this instead, to
3402 $(libdir)(rtld-installed-name).
3403 ($(libdir)(rtld-installed-name)): New target; install from ld.so.
3404
3405 * elf/ldd.sh.in: New file.
3406 * elf/Makefile (distribute): Add ldd.sh.in.
3407 (install-bin): Add ldd.
3408 ($(objpfx)ldd: ldd.sh.in): New rule.
3409
3410 * sysdeps/mach/hurd/dl-sysdep.c: Use __hurd_fail throughout.
3411 * hurd/hurd.h (__hurd_fail): Replace macro with inline function.
3412 Translate some Mach errors to Hurd errors.
3413
3414 * elf/rtld.c (dl_main): Under --list, print msg if executable is
3415 statically linked.
3416
3417 * elf/dl-load.c (_dl_map_object_from_fd): Rewrote program header
3418 table processing.
3419
3420 Sat Oct 7 01:25:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3421
3422 * sysdeps/stub/machine-gmon.h: Add #error.
3423
3424 Fri Oct 6 01:49:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3425
3426 * elf/dynamic-link.h (elf_get_dynamic_info): If DYN is null, don't
3427 examine it.
3428
3429 Fri Sep 29 03:43:51 1995 Paul Eggert <eggert@twinsun.com>
3430
3431 Rewrite mktime from scratch for performance, and for correctness
3432 in the presence of leap seconds.
3433
3434 * time/mktime.c (ydhms_tm_diff, not_equal_tm, print_tm, check_result):
3435 New functions.
3436 (LEAP_SECONDS_POSSIBLE, CHAR_BIT, INT_MIN, INT_MAX,
3437 TIME_T_MIN, TIME_T_MAX, TM_YEAR_BASE, EPOCH_YEAR): New macros.
3438 <limits.h>, <stdlib.h>: New #includes.
3439 (main): Support tests with given broken-down value; support benchmarks.
3440 (__mon_lengths, debugging_enabled, printtm, dist_tm, doit,
3441 do_normalization, normalize, BAD_STRUCT_TM, SKIP_VALUE,
3442 <ctype.h>): Remove.
3443
3444 * time/time.h, time/mktime.c (__mktime_internal): New offset arg.
3445 * time/mktime.c (mktime), time/timegm.c (timegm): Use it.
3446
3447 * time/mktime.c (__mon_yday): New variable; replaces `__mon_lengths'.
3448 time/offtime.c (__offtime), time/tzset.c (compute_change): Use it.
3449
3450 * time/offtime.c (__offtime): Remove useless assignment
3451 `tp->tm_isdst = -1'.
3452
3453 * manual/maint.texi: Update credits.
3454
3455 Fri Oct 6 00:28:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3456
3457 * sysdeps/unix/common/readv.S: Moved to sysdeps/unix/bsd.
3458 * sysdeps/unix/common/writev.S: Moved to sysdeps/unix/bsd.
3459 * sysdeps/unix/sysv/linux/readv.c: File removed.
3460 * sysdeps/unix/sysv/linux/writev.c: File removed.
3461 * sysdeps/unix/configure.in: Check for readv and writev syscalls.
3462
3463 * sysdeps/unix/configure.in: If eval doesn't set $unix_srcname,
3464 set it to $unix_syscall instead of $unix_function.
3465
3466 Thu Oct 5 00:59:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3467
3468 * elf/rtld.c (dl_main): Grok --list flag.
3469 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Ignore -- args.
3470
3471 Wed Oct 4 00:21:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3472
3473 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_message): New function.
3474 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_message): New function.
3475 * elf/link.h (_dl_sysdep_message): Declare it.
3476
3477 * sysdeps/unix/Makefile ($(common-objpfx)ioctls): Remove NULL from
3478 the list.
3479
3480 * time/northamerica: Corrections to Canada data from ADO 95i.
3481
3482 * sysdeps/unix/sysv/linux/Makefile (headers): Don't append to this
3483 unconditionally. In socket subdir, append sys/socketcall.h; in
3484 time subdir, append sys/timex.h.
3485 (config-LDFLAGS): New variable.
3486 * sysdeps/unix/sysv/linux/Dist: New file.
3487 * Makeconfig (+link): Pass $(config-LDFLAGS) before $(LDFLAGS).
3488
3489 * sysdeps/generic/stpncpy.c: Don't increment DEST when zero-filling.
3490
3491 * elf/dlopen.c (dlopen): Don't pass USER_ENTRY arg to _dl_map_object.
3492
3493 Sat Sep 30 11:47:05 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3494
3495 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): If started by
3496 kernel with args on stack, point _dl_hurd_data at zero data
3497 instead of garbage. When ld.so run as program, grok args
3498 -LIB=MEMOBJ and pre-load shared object files found in memory
3499 objects loaded by the boot loader.
3500
3501 * elf/link.h (struct link_map): New member `l_entry'.
3502 (_dl_map_object, _dl_map_object_from_fd): Remove last arg ENTRY_POINT.
3503 * elf/dl-load.c (_dl_map_object, _dl_map_object_from_fd): Remove
3504 last arg ENTRY_POINT. Store the entry point location in the
3505 `l_entry' member of the new map.
3506 * elf/rtld.c (dl_main): Don't pass USER_ENTRY arg to
3507 _dl_map_object. When run as program, set *USER_ENTRY to L->l_entry.
3508 * elf/dl-init.c (_dl_init_next): Don't pass ENTRY_POINT arg to
3509 _dl_map_object.
3510
3511 * posix/tstgetopt.c, posix/tstgetopt.args: Test long options too.
3512
3513 * sysdeps/unix/sysv/linux/i386/init-first.c (init): Save, set, and
3514 restore %ebx by hand for personality syscall.
3515 GCC cannot deal with spilling the dedicated GOT register.
3516
3517 * misc/Makefile (routines): Add mntent, which was somehow omitted.
3518
3519 Fri Sep 29 15:07:10 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
3520
3521 * sysdeps/unix/sysv/linux/adjtime.c (__adjtime):
3522 Change name of field `mode' in `struct timex' to `modes'.
3523 Linux-1.3.28 updates this name according to RFC 1489.
3524
3525 Thu Sep 28 13:05:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3526
3527 Merge new message handling code from GNU gettext, by Drepper.
3528 * intl: New directory.
3529 * Makefile (subdirs): Add intl.
3530
3531 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Return
3532 USER_ENTRY instead of storing it on our stack.
3533
3534 * elf/rtld.c (rtld_command): Variable removed.
3535 (_dl_skip_args): New variable.
3536 (dl_main): Increment _dl_skip_args instead of setting rtld_command.
3537 If the link_map for the executable itself is not first in the chain,
3538 make it so.
3539 * sysdeps/i386/dl-machine.h (RTLD_START): Use _dl_skip_args as
3540 count of args to skip.
3541
3542 Thu Sep 28 09:20:04 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3543
3544 * stdlib/strtod.c (STRTOF): Fix handling of numbers with lots of
3545 leading zeroes.
3546
3547 Wed Sep 27 00:27:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3548
3549 * sysdeps/mach/hurd/getcwd.c (__getcwd): Renamed from getcwd.
3550 (getcwd): Define as weak alias.
3551 * sysdeps/posix/getcwd.c: Likewise.
3552 * sysdeps/stub/getcwd.c: Likewise.
3553 * posix/unistd.h: Declare __getcwd.
3554
3555 * string/string.h: Declare __strcasecmp.
3556 * sysdeps/generic/strcasecmp.c (__strcasecmp): Renamed from
3557 strcasecmp.
3558 (strcasecmp): Define as weak alias.
3559
3560 * string/string.h: Declare __stpcpy.
3561 * sysdeps/generic/stpcpy.c (__stpcpy): Renamed from stpcpy.
3562 (stpcpy): Define as weak alias.
3563
3564 * sysdeps/unix/sysv/linux/Implies: Add unix/common.
3565
3566 * sysdeps/unix/i386/sysdep.h [HAVE_ELF] (ASM_TYPE_DIRECTIVE):
3567 Don't use `type' for arg name, since we are using it as a keyword
3568 in the rhs.
3569
3570 * sysdeps/unix/configure.in: Check for syscalls getpriority,
3571 setpriority, getrlimit, setrlimit.
3572
3573 * sysdeps/posix/truncate.c: Include fcntl.h.
3574
3575 * sysdeps/generic/getdomain.c: Include string.h for strncpy decl.
3576
3577 * sysdeps/stub/getpriority.c: Don't include obsolete gnu-stabs.h;
3578 use new stub_warning syntax.
3579 * sysdeps/stub/setpriority.c: Likewise.
3580 * sysdeps/stub/__longjmp.c: Likewise.
3581 * sysdeps/stub/_exit.c: Likewise.
3582 * sysdeps/stub/accept.c: Likewise.
3583 * sysdeps/stub/acos.c: Likewise.
3584 * sysdeps/stub/alarm.c: Likewise.
3585 * sysdeps/stub/asin.c: Likewise.
3586 * sysdeps/stub/atan2.c: Likewise.
3587 * sysdeps/stub/bind.c: Likewise.
3588 * sysdeps/stub/cbrt.c: Likewise.
3589 * sysdeps/stub/chroot.c: Likewise.
3590 * sysdeps/stub/closedir.c: Likewise.
3591 * sysdeps/stub/connect.c: Likewise.
3592 * sysdeps/stub/cos.c: Likewise.
3593 * sysdeps/stub/cosh.c: Likewise.
3594 * sysdeps/stub/ctermid.c: Likewise.
3595 * sysdeps/stub/cuserid.c: Likewise.
3596 * sysdeps/stub/defs.c: Likewise.
3597 * sysdeps/stub/exp.c: Likewise.
3598 * sysdeps/stub/fmod.c: Likewise.
3599 * sysdeps/stub/frexp.c: Likewise.
3600 * sysdeps/stub/fsync.c: Likewise.
3601 * sysdeps/stub/getcwd.c: Likewise.
3602 * sysdeps/stub/getenv.c: Likewise.
3603 * sysdeps/stub/gethostid.c: Likewise.
3604 * sysdeps/stub/getlogin.c: Likewise.
3605 * sysdeps/stub/getpeername.c: Likewise.
3606 * sysdeps/stub/getrlimit.c: Likewise.
3607 * sysdeps/stub/getsockname.c: Likewise.
3608 * sysdeps/stub/getsockopt.c: Likewise.
3609 * sysdeps/stub/listen.c: Likewise.
3610 * sysdeps/stub/log.c: Likewise.
3611 * sysdeps/stub/log10.c: Likewise.
3612 * sysdeps/stub/mkfifo.c: Likewise.
3613 * sysdeps/stub/morecore.c: Likewise.
3614 * sysdeps/stub/nice.c: Likewise.
3615 * sysdeps/stub/nlist.c: Likewise.
3616 * sysdeps/stub/opendir.c: Likewise.
3617 * sysdeps/stub/pipestream.c: Likewise.
3618 * sysdeps/stub/ptrace.c: Likewise.
3619 * sysdeps/stub/putenv.c: Likewise.
3620 * sysdeps/stub/readdir.c: Likewise.
3621 * sysdeps/stub/reboot.c: Likewise.
3622 * sysdeps/stub/recv.c: Likewise.
3623 * sysdeps/stub/recvfrom.c: Likewise.
3624 * sysdeps/stub/rename.c: Likewise.
3625 * sysdeps/stub/rewinddir.c: Likewise.
3626 * sysdeps/stub/seekdir.c: Likewise.
3627 * sysdeps/stub/send.c: Likewise.
3628 * sysdeps/stub/sendto.c: Likewise.
3629 * sysdeps/stub/setegid.c: Likewise.
3630 * sysdeps/stub/seteuid.c: Likewise.
3631 * sysdeps/stub/setgroups.c: Likewise.
3632 * sysdeps/stub/sethostid.c: Likewise.
3633 * sysdeps/stub/sethostname.c: Likewise.
3634 * sysdeps/stub/setjmp.c: Likewise.
3635 * sysdeps/stub/setrlimit.c: Likewise.
3636 * sysdeps/stub/setsockopt.c: Likewise.
3637 * sysdeps/stub/shutdown.c: Likewise.
3638 * sysdeps/stub/signal.c: Likewise.
3639 * sysdeps/stub/sigsuspend.c: Likewise.
3640 * sysdeps/stub/sin.c: Likewise.
3641 * sysdeps/stub/sinh.c: Likewise.
3642 * sysdeps/stub/socket.c: Likewise.
3643 * sysdeps/stub/socketpair.c: Likewise.
3644 * sysdeps/stub/sqrt.c: Likewise.
3645 * sysdeps/stub/sync.c: Likewise.
3646 * sysdeps/stub/system.c: Likewise.
3647 * sysdeps/stub/tan.c: Likewise.
3648 * sysdeps/stub/tanh.c: Likewise.
3649 * sysdeps/stub/tcdrain.c: Likewise.
3650 * sysdeps/stub/tcflow.c: Likewise.
3651 * sysdeps/stub/tcgetpgrp.c: Likewise.
3652 * sysdeps/stub/tcsendbrk.c: Likewise.
3653 * sysdeps/stub/tcsetattr.c: Likewise.
3654 * sysdeps/stub/tcsetpgrp.c: Likewise.
3655 * sysdeps/stub/telldir.c: Likewise.
3656 * sysdeps/stub/tempname.c: Likewise.
3657 * sysdeps/stub/ttyname.c: Likewise.
3658 * sysdeps/stub/ttyname_r.c: Likewise.
3659 * sysdeps/stub/utime.c: Likewise.
3660
3661 * gmon/gmon.c (moncontrol): Don't cast buffer arg to profil.
3662
3663 * time/mktime.c (localtime_r): Use 0 instead of NULL.
3664
3665 * config.make.in (AS): New variable; set to `$(CC) -c'.
3666
3667 * posix/unistd.h [__USE_BSD]: Declare profil.
3668
3669 * elf/dl-load.c (_dl_map_object_from_fd): New function, broken out
3670 of _dl_map_object.
3671 (_dl_map_object): Call it.
3672 * elf/link.h (_dl_map_object_from_fd): Declare it.
3673
3674 Tue Sep 26 16:50:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3675
3676 * locale/libintl.h: Rewritten by Ulrich Drepper for use with GNU
3677 gettext code.
3678
3679 * sysdeps/unix/sysv/linux/sys/param.h: New file.
3680 * sysdeps/unix/sysv/linux/Subdirs: File removed.
3681
3682 * libc-symbols.h (_LIBC): Define to 1, not just empty.
3683
3684 * gmon: New directory of profiling code, incorporated from
3685 4.4BSD-Lite and modified.
3686 * sysdeps/i386/machine-gmon.h: New file.
3687 * sysdeps/stub/machine-gmon.h: New file.
3688 * sysdeps/mach/hurd/profil.c: New file.
3689 * sysdeps/stub/profil.c: New file.
3690 * sysdeps/unix/bsd/profil.S: New file.
3691 * Makefile (subdirs): Add gmon.
3692 * csu/gmon-start.c: New file.
3693 * csu/Makefile (extra-objs): Add gmon-start.o,
3694 g$(start-installed-name).
3695 (install-lib, omit-deps): Add g$(start-installed-name).
3696 ($(objpfx)g$(start-installed-name)): New target.
3697
3698 Fri Sep 22 14:24:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3699
3700 * sysdeps/mach/hurd/Makefile: Elide sunrpc from $(subdirs) for the
3701 time being.
3702
3703 Thu Sep 21 00:03:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3704
3705 * sysdeps/unix/configure.in: Check for `profil' syscall.
3706
3707 * manual/Makefile (infodir, prefix, INSTALL, INSTALL_DATA): Variables
3708 removed.
3709
3710 * time/africa, time/asia, time/europe, time/northamerica,
3711 time/yearistype: New data from ADO 95h.
3712
3713 * Makerules (build-shlib): Use $(@F:lib%.so=%) in place of
3714 $(notdir $*), so it wins for the explicit libc.so rule as well as the
3715 pattern rule.
3716
3717 * sysdeps/stub/sys/sem_buf.h (union semun): New type.
3718
3719 * sysdeps/mach/hurd/i386/init-first.c (init1) [PIC]: Call
3720 __libc_global_ctors.
3721 * sysdeps/i386/init-first.c: Rewritten.
3722 * sysdeps/unix/sysv/linux/i386/init-first.S: File removed.
3723 * sysdeps/unix/sysv/linux/i386/init-first.c: New file.
3724
3725 * sysdeps/unix/sysv/linux/i386/fpu_control.h: Fix name in decl of
3726 ___fpu_control.
3727
3728 * Makerules (build-shlib): New canned sequence, broken out of
3729 lib%.so rule. Link in $^ instead of just $<.
3730 (lib%.so: lib%_pic.a): Use it.
3731 (libc.so): New target; use $(build-shlib) for cmds, but also depend
3732 on soinit.so first and sofini.so last.
3733
3734 * elf/soinit.c: New file.
3735 * elf/sofini.c: New file.
3736 * elf/Makefile (distribute): Add soinit.c and sofini.c.
3737 (extra-objs): Add soinit.so and sofini.so.
3738
3739 * sysvipc/sys/shm.h (shmat): Fix return type to char *.
3740 * sysdeps/stub/sys/ipc_buf.h (key_t): Type removed.
3741
3742 * misc/syslog.c (vsyslog): Rewritten using open_memstream to
3743 dynamically allocate buffers.
3744
3745 * Makerules (install-lib-nosubdir): Make this, rather than
3746 install-no-libc.a, depend on the installed shared libraries.
3747
3748 Wed Sep 20 18:02:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3749
3750 * locale/locale.c: Include errno.h.
3751 * locale/localedef.c: Likewise.
3752
3753 Tue Sep 19 00:02:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3754
3755 * Makefile (distclean-1): Remove config.cache, config.log, config.h.
3756 (parent-mostlyclean): Remove all flavors of the parent library.
3757
3758 * misc/mntent.c (getmntent): Skip multiple whitespace chars
3759 between fields.
3760
3761 * hurd/hurdstartup.c (_hurd_startup): If RPC returns
3762 EXEC_STACK_ARGS flag, get args from stack.
3763 If args on stack but have info from RPC, relocate args on stack to make
3764 space for struct hurd_startup_data.
3765
3766 Mon Sep 18 15:06:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3767
3768 * elf/dl-object.c: Include errno.h.
3769 * posix/execvp.c: Likewise.
3770 * dirent/scandir.c: Likewise.
3771 * sysdeps/posix/system.c: Likewise.
3772 * sysdeps/generic/setenv.c: Likewise.
3773 * stdlib/msort.c: Likewise.
3774 * stdio/memstream.c: Likewise.
3775 * stdio/fclose.c: Likewise.
3776 * stdio/getdelim.c: Likewise.
3777 * stdio/setvbuf.c: Likewise.
3778 * sysdeps/ieee754/ldexp.c: Likewise.
3779 * locale/locfile-parse.c: Likewise.
3780
3781 * stdlib/lcong48_r.c: Don't check for null argument; let it fault.
3782 * stdlib/seed48_r.c: Likewise.
3783 * stdlib/srand48_r.c: Likewise.
3784 * stdlib/jrand48_r.c: Likewise.
3785 * stdlib/nrand48_r.c: Likewise.
3786
3787 * Makeconfig (+gccwarn): Remove -Wbad-function-cast, which seems
3788 to be useless.
3789
3790 Mon Sep 18 12:39:22 1995 Paul Eggert <eggert@twinsun.com>
3791
3792 * mktime.c (localtime_r): Add substitute if the system doesn't
3793 provide one.
3794
3795 Mon Sep 18 14:39:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3796
3797 * time/gmtime.c (gmtime_r): Define as weak alias.
3798 * time/localtime.c (localtime_r): Define as weak alias.
3799 * time/time.h [__USE_REENTRANT] (gmtime_r, localtime_r): Declare them.
3800
3801 * errno.h: Only define _ERRNO_H #ifndef __need_Emath.
3802 #undef __need_Emath after including errnos.h.
3803 [_ERRNO_H]: Protect decls with this.
3804
3805 Sun Sep 17 08:22:12 1995 Paul Eggert <eggert@twinsun.com>
3806
3807 Fix mktime so that it does not write over localtime's returned value.
3808 * localtime.c (__localtime_r): New function, with extra arg
3809 specifying where to store result.
3810 (localtime): Use it.
3811 (_tmbuf): New var.
3812 * gmtime.c (__gmtime_r, gmtime, _tmbuf): Likewise.
3813 * mktime.c (__mktime_internal): Conversion function is now
3814 __localtime_r style, not localtime style.
3815 (mktime): Pass __localtime_r, not localtime.
3816 * timegm.c (timegm): Pass __gmtime_r, not gmtime.
3817 * offtime.c (__offtime): New arg specifying where to store result.
3818 * time.h (__mktime_internal, __offtime): Adjust decls accordingly.
3819 (__gmtime_r, __localtime_r): New decls.
3820
3821 * time/localtime.c: <stddef.h>, <ctype.h>, <stdio.h>,
3822 <stdlib.h>, <string.h>: Remove includes.
3823 <errno.h>: Add include.
3824
3825 * time/mktime.c, time/time.h, time/timegm.c (__mktime_internal):
3826 Renamed from _mktime_internal to avoid namespace pollution.
3827
3828 * time/gmtime.c: Clear tm_isdst.
3829
3830 Mon Sep 18 01:58:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3831
3832 * misc/efgcvt_r.c (ecvt_r, fcvt_r): Last arg is size_t, not int.
3833 * stdlib/stdlib.h (ecvt_r, fcvt_r): Fix type of last arg: make it
3834 size_t.
3835
3836 * sysdeps/mach/hurd/fpathconf.c: Call __io_pathconf instead of
3837 __file_pathconf.
3838 * sysdeps/mach/hurd/pathconf.c: Likewise.
3839
3840 * Makefile (subdirs): Add sysvipc.
3841
3842 * stdlib/srand48_r.c (srand48_r): Use UL suffix for huge constant.
3843 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3844
3845 Sun Sep 17 18:29:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3846
3847 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Call
3848 __file_set_size instead of __file_truncate.
3849
3850 * features.h (__USE_REENTRANT): New macro.
3851
3852 * sysdeps/mach/hurd/truncate.c: Call __file_set_size instead of
3853 __file_truncate.
3854 * sysdeps/mach/hurd/ftruncate.c: Likewise.
3855
3856 * sysdeps/unix/sysv/linux/dl-machine.h: File removed.
3857
3858 Sat Sep 16 17:47:19 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
3859
3860 * elf/elf.h (AT_GID): Fix typo: Read -> Real.
3861
3862 * misc/efgvt_r.c: New file. Reentrant version of [efg]cvt functions.
3863 * misc/efgcvt.c: Rewrite to use reentrant functions.
3864 * misc/search.h: Many decls for hsearch functions.
3865 * misc/hsearch_r.c: New file. Reentrant version of functions from
3866 hsearch family.
3867 * misc/hsearch.c, misc/tsearch.c: New files.
3868 * misc/Makefile (routines): Add efgcvt_r, hsearch_r, hsearch, tsearch.
3869
3870 * posix/unistd.h (ttyname_r): Add prototype for new function.
3871
3872 * stdlib/drand48_r.c, stdlib/erand48_r.c, stdlib/jrand48_r.c,
3873 stdlib/lrand48_r.c, stdlib/mrand48_r.c, stdlib/nrand48_r.c,
3874 stdlib/seed48_r.c, stdlib/srand48_r.c, stdlib/lcong48_r.c,
3875 stdlib/drand48-iter.c: New files implementing reentrant versions
3876 of functions from drand48 family.
3877 * stdlib/seed48.c, stdlib/drand48.c, stdlib/erand48.c,
3878 stdlib/jrand48.c, stdlib/lrand48.c, stdlib/mrand48.c,
3879 stdlib/nrand48.c, stdlib/srand48.c, stdlib/lcong48.c:
3880 Rewrite to use reentrant versions.
3881 * stdlib/a64l.c, stdlib/l64a.c: New files. Implement a64l()
3882 and l64a() functions from SysV library.
3883 * stdlib/Makefile (routines): Add drand48_r, erand48_r, lrand48_r,
3884 nrand48_r, mrand48_r, jrand48_r, srand48_r, seed48_r, lcong48_r,
3885 drand48-iter, a64l, l64a.
3886 * stdlib/stdlib.h: Declare them.
3887
3888 * stdlib/random_r.c: New file. Reentrant version of functions
3889 from random family.
3890 * stdlib/stdlib.h: Declare them.
3891 * stdlib/random.c: Rewrite to use reentrant functions.
3892
3893 * string/strerror_r.c: New file. Reentrant version.
3894 * string/strerror.c: Change for new _strerror_internal form.
3895 * string/Makefile (routines): Add strerror_r.
3896
3897 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Set default
3898 value of user_entry to `_start'.
3899 Close AT_ENTRY case with `break'.
3900
3901 * sysdeps/generic/strstr.c: New and much faster implementation
3902 by Stephen R. van den Berg.
3903
3904 * sysdeps/generic/_strerror.c: _strerror_internal now takes
3905 three argument and has and explicit buffer length.
3906 * sysdeps/mach/_strerror.c: Change for new interface with three
3907 arguments.
3908 * stdio/perror.c, stdio/vfprintf.c: Callers changed.
3909
3910 * sysdeps/mach/hurd/ttyname_r.c: New file. Reentrant version.
3911 * sysdeps/posix/ttyname_r.c: New file. Reentrant version.
3912 * sysdeps/stub/ttyname_r: New file. Define as dummy function.
3913
3914 * sysdeps/posix/utimes.c: Include <utime.h> for prototype.
3915 (utimes): First parameter to utime must be file, not path.
3916
3917 * sysdeps/posix/sysconf.c (__sysconf): Test for CLK_TCK in case
3918 _SC_CLK_TCK and return it when available.
3919 Test for STREAM_MAX in case _SC_STREAM_MAX and return it when
3920 available.
3921 Add case for _SC_2_LOCALEDEF which is now available.
3922
3923 * posix/sys/types.h [__USE_SVID] (key_t): New type.
3924 * sysvipc/Makefile, sysvipc/ftok.c, sysvipc/sys/ipc.h,
3925 sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h,
3926 sysdeps/stub/sys/msq_buf.h, sysdeps/stub/sys/sem_buf.h,
3927 sysdeps/stub/sys/shm_buf.h, sysdeps/stub/sys/ipc_buf.h,
3928 sysdeps/stub/semctl.c, sysdeps/stub/semget.c, sysdeps/stub/semop.c,
3929 sysdeps/stub/shmat.c, sysdeps/stub/shmctl.c, sysdeps/stub/shmdt.c,
3930 sysdeps/stub/shmget.c, sysdeps/stub/msgctl.c, sysdeps/stub/msgget.c,
3931 sysdeps/stub/msgrcv.c, sysdeps/stub/msgsnd.c: New files.
3932 Add implementation of System V IPC.
3933
3934 Fri Sep 15 21:34:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3935
3936 * hurd/hurdsig.c: Include <hurd/crash.h> in place of <hurd/core.h>.
3937 (write_corefile): Call __crash_dump_task instead of __core_dump_task.
3938 Use envariable CRASHSERVER instead of CORESERVER.
3939 * hurd/Makefile (user-interfaces): Replace hurd/core with hurd/crash.
3940
3941 Tue Sep 12 14:30:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3942
3943 * misc/mntent.c: New file.
3944 * misc/mntent.h: New file.
3945 * misc/Makefile (headers): Added mntent.h.
3946 (routines): Added mntent.
3947 * misc/fstab.c: Rewritten using mntent functions.
3948
3949 Mon Sep 11 14:00:14 1995 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
3950
3951 * posix/glob.c (glob): Comment fix.
3952
3953 Fri Sep 8 16:25:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3954
3955 * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Declare the
3956 symbols weak.
3957
3958 * conf/portability.h (NEED_INETADDR, NEED_INETATON): Define to 1,
3959 not empty.
3960
3961 Fri Sep 8 16:32:12 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
3962
3963 * sysdeps/unix/sysv/linux/Implies,
3964 sysdeps/unix/sysv/linux/Makefile, sysdeps/unix/sysv/linux/Subdirs,
3965 sysdeps/unix/sysv/linux/accept.S, sysdeps/unix/sysv/linux/adjtime.c,
3966 sysdeps/unix/sysv/linux/adjtimex.S, sysdeps/unix/sysv/linux/bind.S,
3967 sysdeps/unix/sysv/linux/connect.S, sysdeps/unix/sysv/linux/direct.h,
3968 sysdeps/unix/sysv/linux/dl-machine.h, sysdeps/unix/sysv/linux/errnos.h,
3969 sysdeps/unix/sysv/linux/fork.S, sysdeps/unix/sysv/linux/gethostid.c,
3970 sysdeps/unix/sysv/linux/gethostname.C,
3971 sysdeps/unix/sysv/linux/getpeername.S,
3972 sysdeps/unix/sysv/linux/getpgid.S, sysdeps/unix/sysv/linux/getpgrp.S,
3973 sysdeps/unix/sysv/linux/getsockname.S,
3974 sysdeps/unix/sysv/linux/getsockopt.S, sysdeps/unix/sysv/linux/gtty.S,
3975 sysdeps/unix/sysv/linux/listen.S, sysdeps/unix/sysv/linux/local_lim.h,
3976 sysdeps/unix/sysv/linux/madvise.c, sysdeps/unix/sysv/linux/msgctl.c,
3977 sysdeps/unix/sysv/linux/msgget.c, sysdeps/unix/sysv/linux/msgrcv.c,
3978 sysdeps/unix/sysv/linux/msgsnd.c, sysdeps/unix/sysv/linux/pipe.S,
3979 sysdeps/unix/sysv/linux/poll.c, sysdeps/unix/sysv/linux/readv.c,
3980 sysdeps/unix/sysv/linux/recv.S, sysdeps/unix/sysv/linux/recvfrom.S,
3981 sysdeps/unix/sysv/linux/recvmsg.S, sysdeps/unix/sysv/linux/semctl.c,
3982 sysdeps/unix/sysv/linux/semget.c, sysdeps/unix/sysv/linux/semop.c,
3983 sysdeps/unix/sysv/linux/send.S, sysdeps/unix/sysv/linux/sendmsg.S,
3984 sysdeps/unix/sysv/linux/sendto.S, sysdeps/unix/sysv/linux/setegid.c,
3985 sysdeps/unix/sysv/linux/seteuid.c, sysdeps/unix/sysv/linux/sethostid.c,
3986 sysdeps/unix/sysv/linux/setpgid.c, sysdeps/unix/sysv/linux/setpgrp.c,
3987 sysdeps/unix/sysv/linux/setsid.S, sysdeps/unix/sysv/linux/setsockopt.S,
3988 sysdeps/unix/sysv/linux/settimeofday.S,
3989 sysdeps/unix/sysv/linux/shmat.c, sysdeps/unix/sysv/linux/shmctl.c,
3990 sysdeps/unix/sysv/linux/shmdt.c, sysdeps/unix/sysv/linux/shmget.c,
3991 sysdeps/unix/sysv/linux/shutdown.S,
3992 sysdeps/unix/sysv/linux/sigaction.S, sysdeps/unix/sysv/linux/signal.S,
3993 sysdeps/unix/sysv/linux/sigpending.S, sysdeps/unix/sysv/linux/sigset.h,
3994 sysdeps/unix/sysv/linux/sockaddrcom.h,
3995 sysdeps/unix/sysv/linux/socketpair.S, sysdeps/unix/sysv/linux/speed.c,
3996 sysdeps/unix/sysv/linux/statbuf.h, sysdeps/unix/sysv/linux/stty.S,
3997 sysdeps/unix/sysv/linux/syscall.h, sysdeps/unix/sysv/linux/sysconf.c,
3998 sysdeps/unix/sysv/linux/tcdrain.c, sysdeps/unix/sysv/linux/tcflow.c,
3999 sysdeps/unix/sysv/linux/tcflush.c, sysdeps/unix/sysv/linux/tcgetattr.c,
4000 sysdeps/unix/sysv/linux/tcsetattr.c,
4001 sysdeps/unix/sysv/linux/termbits.h, sysdeps/unix/sysv/linux/ualarm.c,
4002 sysdeps/unix/sysv/linux/ulimit.c, sysdeps/unix/sysv/linux/usleep.c,
4003 sysdeps/unix/sysv/linux/utsnamelen.h, sysdeps/unix/sysv/linux/vfork.c,
4004 sysdeps/unix/sysv/linux/wait.c, sysdeps/unix/sysv/linux/wait4.S,
4005 sysdeps/unix/sysv/linux/waitpid.c, sysdeps/unix/sysv/linux/writev.c:
4006 New Linux/ELF specific, architecture independent files.
4007 * sysdeps/unix/sysv/linux/i386/Dist,
4008 sysdeps/unix/sysv/linux/i386/Makefile,
4009 sysdeps/unix/sysv/linux/i386/brk.S,
4010 sysdeps/unix/sysv/linux/i386/fcntlbits.h,
4011 sysdeps/unix/sysv/linux/i386/fpu_control.c,
4012 sysdeps/unix/sysv/linux/i386/fpu_control.h,
4013 sysdeps/unix/sysv/linux/i386/fstat.S,
4014 sysdeps/unix/sysv/linux/i386/fxstat.S,
4015 sysdeps/unix/sysv/linux/i386/ieee_fpu.c,
4016 sysdeps/unix/sysv/linux/i386/init-first.S,
4017 sysdeps/unix/sysv/linux/i386/ipc.S,
4018 sysdeps/unix/sysv/linux/i386/lstat.S,
4019 sysdeps/unix/sysv/linux/i386/lxstat.S,
4020 sysdeps/unix/sysv/linux/i386/mknod.S,
4021 sysdeps/unix/sysv/linux/i386/mmap.S,
4022 sysdeps/unix/sysv/linux/i386/sbrk.S,
4023 sysdeps/unix/sysv/linux/i386/setfpucw.c,
4024 sysdeps/unix/sysv/linux/i386/signum.h,
4025 sysdeps/unix/sysv/linux/i386/socket.S,
4026 sysdeps/unix/sysv/linux/i386/stat.S,
4027 sysdeps/unix/sysv/linux/i386/syscall.S,
4028 sysdeps/unix/sysv/linux/i386/sysdep.S,
4029 sysdeps/unix/sysv/linux/i386/sysdep.h,
4030 sysdeps/unix/sysv/linux/i386/xmknod.S,
4031 sysdeps/unix/sysv/linux/i386/xstat.S:
4032 New Linux i386/ELF specific files.
4033 * sysdeps/unix/sysv/linux/sys/ipc_buf.h,
4034 sysdeps/unix/sysv/linux/sys/mman.h,
4035 sysdeps/unix/sysv/linux/sys/msq_buf.h,
4036 sysdeps/unix/sysv/linux/sys/sem_buf.h,
4037 sysdeps/unix/sysv/linux/sys/shm_buf.h,
4038 sysdeps/unix/sysv/linux/sys/socketcall.h,
4039 sysdeps/unix/sysv/linux/sys/timex.h:
4040 New Linux/ELF specific, architecture independent header files.
4041 * sysdeps/unix/sysv/sysv4/linux: Tree removed.
4042
4043 Thu Sep 7 17:05:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4044
4045 * stdlib/msort.c (msort_with_tmp): Fixed alignment test. B1 and
4046 B2 are always congruent; just test that B1 is aligned.
4047
4048 Wed Sep 6 19:41:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4049
4050 * elf/dl-lookup.c (_dl_lookup_symbol): Test WEAK_VALUE.s rather
4051 than WEAK_VALUE.a to see if a weak value has been set. A valid
4052 weak value may set WEAK_VALUE.a to 0.
4053
4054 Fri Sep 1 16:16:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4055
4056 * sysdeps/mach/hurd/i386/longjmp-ts.c: Use new array format for
4057 jmp_buf.
4058
4059 * libc-symbols.h (link_warning): Take new first arg SYMBOL; ask
4060 for a warning on references to that specific symbol, not the
4061 entire containing object file.
4062 (stub_warning): Pass symbol name to link_warning.
4063 * stdio/gets.c: Pass function name in link_warning invocation.
4064
4065 * hurd/intr-msg.c: Treat apparent EINTR return from msg trap like
4066 MACH_SEND_INTERRUPTED. That indicates interrupt_operation was
4067 sent, but failed.
4068
4069 * stdlib/msort.c: Include memcopy.h.
4070 (msort_with_tmp): If operating on aligned op_t words, use direct word
4071 fetches and stores.
4072
4073 * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): Add
4074 missing backslash.
4075
4076 Thu Aug 31 13:23:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4077
4078 * sysdeps/unix/i386/brk.S [PIC]: Set __curbrk through the GOT.
4079
4080 Rewrote i386 setjmp code in assembly, so as to avoid fighting
4081 with the compiler for the register values.
4082 * sysdeps/i386/setjmp.S, sysdeps/i386/__longjmp.S: New files.
4083 * sysdeps/i386/setjmp.c, sysdeps/i386/__longjmp.c: Files removed.
4084 * sysdeps/i386/jmp_buf.h [! _ASM] (__jmp_buf): Define as array of ints.
4085 [__USE_MISC || _ASM] (JB_*): New macros, for indices therein.
4086 (_JMPBUF_UNWINDS): Use JB_SP.
4087
4088 Wed Aug 30 16:44:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4089
4090 * sysdeps/mach/hurd/select.c: Deal with out of order replies
4091 during io_select request loop.
4092 Handle MACH_RCV_TIMED_OUT error from requests.
4093 * hurd/intr-msg.c: If the user passed the MACH_RCV_TIMEOUT option,
4094 distinguish MACH_RCV_TIMED_OUT from EINTR.
4095
4096 * posix/glob.c (glob): Use realloc to extend strings for GLOB_MARK
4097 slash.
4098 (glob_in_dir): Don't allocate extra byte here.
4099
4100 * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
4101 Decrement the DT_RELSZ value for the skipped reloc.
4102
4103 Tue Aug 29 12:35:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4104
4105 * time/australasia: Updated data from ADO.
4106
4107 Mon Aug 28 17:47:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4108
4109 * dirent/dirent.h: Don't include <dirstream.h>.
4110 Instead, define DIR as typedef for (undefined) `struct __dirstream'.
4111
4112 Fri Aug 25 12:12:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4113
4114 * sysdeps/mach/hurd/dirstream.h: Define `struct __dirstream'
4115 instead of `DIR'.
4116 * sysdeps/unix/bsd/dirstream.h: Likewise.
4117 * sysdeps/stub/dirstream.h: Likewise.
4118 * sysdeps/unix/dirstream.h: Likewise.
4119 * sysdeps/mach/hurd/telldir.c: Include "dirstream.h".
4120 * sysdeps/mach/hurd/seekdir.c: Likewise.
4121 * sysdeps/mach/hurd/opendir.c: Likewise.
4122 * sysdeps/mach/hurd/closedir.c: Likewise.
4123 * sysdeps/mach/hurd/readdir.c: Likewise.
4124 * sysdeps/unix/telldir.c: Likewise.
4125 * sysdeps/unix/seekdir.c: Likewise.
4126 * sysdeps/unix/rewinddir.c: Likewise.
4127 * sysdeps/unix/readdir.c: Likewise.
4128 * sysdeps/unix/opendir.c: Likewise.
4129 * sysdeps/unix/closedir.c: Likewise.
4130 * sysdeps/unix/bsd/telldir.c: Likewise.
4131 * sysdeps/unix/bsd/readdir.c: Likewise.
4132 * dirent/Makefile (headers): Remove dirstream.h.
4133 (distribute): Put it here instead.
4134
4135 * sysdeps/mach/hurd/mmap.c: Fix inverted test of MAP_FIXED.
4136
4137 * stdio/vfscanf.c (number): Allow field width to inhibit first
4138 digit after base detection.
4139
4140 * stdio/vfprintf.c (vfprintf: %s): Never search past the limit
4141 specified by the precision.
4142
4143 * grp/grpread.c (__grpscan): New function.
4144 * grp/grp.h (__grpscan): Declare it.
4145 * grp/getgrgid.c: Use __grpscan.
4146 * grp/getgrnam.c: Likewise.
4147 * pwd/pwdread.c (__pwdscan): New function.
4148 * pwd/pwd.h (__pwdscan): Declare it.
4149 * pwd/getpwnam.c: Use __pwdscan.
4150 * pwd/getpwuid.c: Likewise.
4151
4152 Thu Aug 24 16:29:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4153
4154 * sysdeps/mach/hurd/mmap.c: Treat (FLAGS & MAP_TYPE) == 0 like
4155 MAP_FILE.
4156
4157 * hurd/thread-cancel.c: Return EINTR when called on self.
4158 * sysdeps/i386/elf/start.S (data_start): Define as weak alias for
4159 __data_start.
4160
4161 Tue Aug 22 16:49:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4162
4163 * inet/netdb.h: Moved to resolv.
4164 * inet/Makefile (headers): Remove netdb.h.
4165 * resolv/Makefile (headers): Add netdb.h.
4166 * resolv/gethnamaddr.c, resolv/inet_addr.c, resolv/netdb.h,
4167 resolv/res_send.c: Updated from BIND-4.9.3-BETA26.
4168
4169 * hurd/thread-cancel.c: If SS->cancel_hook is not null, call it before
4170 resuming the thread.
4171 * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel_hook'.
4172
4173 * hurd/Makefile: Removed dep on hurd/signal.h for RPC stub objects.
4174
4175 Mon Aug 21 16:37:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4176
4177 * sysdeps/i386/dl-machine.h (elf_machine_rel): Grok R_386_NONE
4178 relocs, and do nothing. Why the linker generates them we may
4179 never know.
4180
4181 Thu Aug 17 16:18:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4182
4183 * sysdeps/mach/hurd/Makefile: Don't elide sunrpc and manual from
4184 `subdirs' variable.
4185
4186 * sysdeps/mach/hurd/i386/intr-msg.h: New file.
4187 * hurd/intr-msg.c: Use INTR_MSG_TRAP macro from machine-dependent
4188 "intr-msg.h" for special syscall code, instead of i386-specific asm.
4189 * hurd/hurdsig.c: Use INTR_MSG_BACK_OUT macro from
4190 machine-dependent "intr-msg.h" before mutating thread state to
4191 skip RPC.
4192
4193 * sysdeps/mach/hurd/i386/trampoline.c: If PC is inside
4194 _hurd_intr_rpc_mach_msg special syscall code, use real SP saved in
4195 %ecx.
4196
4197 * Makeconfig (link-libc): New variable; use shared library if
4198 available.
4199 (+link): Use it.
4200
4201 * sysdeps/mach/hurd/fork.c (_hurd_fork_locks): Variable removed.
4202 Instead, declare with `symbol_set_declare'.
4203 (fork): Use symbol_set_* macros for _hurd_fork_locks.
4204 Use SS->thread instead of __mach_thread_self (). Suspend all
4205 other threads during task_create and port copying.
4206
4207 Wed Aug 16 17:04:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4208
4209 * hurd/intr-msg.c: Fixed calculation of syscall %esp.
4210
4211 Tue Aug 15 12:26:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4212
4213 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Remove `static'.
4214
4215 * hurd/Makefile (sig): Add intr-msg.
4216
4217 Mon Aug 14 16:51:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4218
4219 * hurd/thread-cancel.c: New file.
4220 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): In
4221 rpc_wait case, frob mach_msg args to set timeout on receive.
4222 (_hurdsig_rcv_interrupted_p): Function removed.
4223 * sysdeps/mach/hurd/alpha/trampoline.c: Likewise.
4224 * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
4225 * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
4226 * hurd/intr-msg.c: New file.
4227 * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel'.
4228 (_hurdsig_rcv_interrupted_p): Declaration removed.
4229 (HURD_EINTR_RPC): Macro removed.
4230 (_hurd_longjmp_thread_state, _hurd_interrupted_rpc_timeout): Declare
4231 these.
4232 * hurd/intr-rpc.h: New file.
4233 * hurd/intr-rpc.defs: Just import intr-rpc.h.
4234 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): New variable.
4235 (interrupted_reply_port_location): Take new flag arg; only catch
4236 faults if it's set.
4237 (abort_rpcs): Rename to _hurdsig_abort_rpcs; take same new flag arg.
4238 No longer use _hurdsig_rcv_interrupted_p; instead compare PC to
4239 &_hurd_intr_rpc_msg_in_trap. If before it, mutate state to simulate
4240 MACH_SEND_INTERRUPTED return; on it, interrupt the operation. All
4241 callers changed.
4242 * hurd/hurd.h (hurd_thread_cancel, hurd_check_cancel): Declare these.
4243 * hurd/Makefile (distribute): Remove intr-rpc.awk.
4244 (sig): Add thread-cancel.
4245 (transform-user-stub, transform-user-stub-output): Variables removed.
4246 * sysdeps/mach/hurd/dl-sysdep.c: Change all RPCs from
4247 `__hurd_intr_rpc_*' to `__*'.
4248 (_hurd_intr_rpc_mach_msg): New function.
4249 (_hurd_thread_sigstate): Function removed.
4250 * sysdeps/mach/hurd/ioctl.c: Use _hurd_intr_rpc_mach_msg function,
4251 instead of __mach_msg inside HURD_EINTR_RPC macro.
4252
4253 * sysdeps/generic/morecore.c [__GNU_LIBRARY__]: Declare `__sbrk'
4254 to take ptrdiff_t arg.
4255
4256 * sysdeps/mach/hurd/fork.c: Remove _hurd_longjmp_thread_state decl.
4257
4258 * sysdeps/mach/hurd/kill.c (kill_pid): Don't make `inline'.
4259
4260 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_symbol,
4261 weak_alias): Use `extern' storage class.
4262
4263 Wed Aug 9 14:25:35 1995 Miles Bader <miles@geech.gnu.ai.mit.edu>
4264
4265 * sysdeps/mach/hurd/setuid.c (__setuid): Switch the port-type and
4266 port-count parameters to __auth_makeauth.
4267 * sysdeps/mach/hurd/setgid.c (__setgid): Ditto.
4268
4269 Tue Aug 8 12:22:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4270
4271 * hurd/sigunwind.c: Remove _hurd_longjmp_thread_state decl.
4272
4273 * inet/netinet/tcp.h: New file, incorporated from 4.4BSD-Lite.
4274
4275 Tue Aug 8 12:06:04 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu>
4276
4277 * inet/netinet/in.h (IP_MULTICAST_TTL, IP_MULTICAST_LOOP,
4278 IP_MULTICAST_IP, IP_ADD_MEMBERSHIP, IP_DROP_MEMBERSHIP): New IP
4279 layer socket options.
4280 (IPPROTO_GGP): Delete obsolote protocol.
4281 (IPPROTO_IGMP): Add new protocol (with same value [2] as old GGP).
4282 (struct ip_mreq): New type.
4283
4284 Mon Aug 7 14:04:36 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4285
4286 * stdlib/strtol.c: Use #ifdef, not #if, for HAVE_LIMITS_H.
4287
4288 * posix/glob.c (glob_in_dir): Allocate GLOB_MARK byte in case when
4289 (NFOUND == 0 && (FLAGS & GLOB_NOCHECK)).
4290
4291 * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Return failure
4292 when __stdio_open fails with a code other than ENFILE or EMFILE.
4293
4294 Fri Aug 4 16:01:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4295
4296 * Makefile (headers): Added gnu-versions.h.
4297
4298 Thu Aug 3 14:41:11 1995 Michael I. Bushnell <mib@duality.gnu.ai.mit.edu>
4299
4300 * inet/netinet/in.h (IN_CLASSD, IN_EXPERIMENTAL, IN_BADCLASS): Use
4301 equality, not assignment, to test bitfields.
4302
4303 Sat Jul 29 10:41:06 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
4304
4305 * sysdeps/mach/hurd/sendto.c (sendto): Use the ifsock protocol to
4306 resolve AF_LOCAL addresses.
4307
4308 * sysdeps/mach/hurd/accept.c (accept): If the protocol family
4309 can't tell us what an address means, just return a zero-length
4310 buffer instead.
4311 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Ditto.
4312
4313 Fri Jul 28 15:29:11 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
4314
4315 * sysdeps/mach/hurd/bind.c (bind): Don't use
4316 file_invoke_translator, as it doesn't work. Instead just lookup
4317 the translated node again, and hope we're not hit by any race
4318 conditions.
4319
4320 Wed Jul 26 02:00:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4321
4322 * csu/Makefile [$(elf)=yes] (have-initfini): Set to yes.
4323 [$(have-initfini)=yes]: Test this rather than $(elf) for crtstuff.
4324 [start-installed-name-rule]: If this is defined, elide rule for
4325 $(objpfx)$(start-installed-name).
4326 * csu/initfini.c (SECTION): New macro, different definitions for
4327 #ifdef HAVE_ELF and not.
4328 (_init, _fini): Use that macro.
4329 * sysdeps/unix/sysv/sco3.2.4/Makefile [$(subdir)=csu]
4330 (start-installed-rule, start-installed-name-rule): New variables;
4331 specify crt1.o, created by our own rule.
4332 ($(objpfx)crt1.o): New rule.
4333 * configure.in: Require autoconf 2.4.2 or later. Change all
4334 AC_CACHE_VAL uses to use new AC_CACHE_CHECK macro instead;
4335 prettify some messages.
4336 [$elf!=yes] (libc_cv_have_initfini): New test for `.init' and `.fini'
4337 sections.
4338 * munch-tmpl.c [HAVE_INITFINI]: Call _init and atexit (_fini) in
4339 this case rather than #ifdef HAVE_ELF.
4340 * config.h.in (HAVE_INITFINI): New macro.
4341 * config.make.in (have-initfini): New variable, set by configure.
4342
4343 * stdio/vfscanf.c (conv_error): Simplify expression to avoid
4344 "value computed is not used" warning.
4345
4346 * Makeconfig (+gccwarn): Removed -Wconversion.
4347
4348 * csu/initfini.c (GLOBAL): Macro removed.
4349 (_init, _fini): Always define globally.
4350 * csu/Makefile (crtstuff, initfini): Don't make crt[in]_s.o.
4351
4352 * asia, backward, europe, leapseconds, southamerica: New data from
4353 ADO's 95e.
4354
4355 * inet/Makefile (routines): Removed inet_addr.
4356 * inet/inet_addr.c: Moved to resolv/ subdirectory.
4357 * resolv/Makefile (routines): Added inet_addr.
4358 * resolv/inet_addr.c: Incorporated from BIND 4.9.3-BETA24 release.
4359 * resolv/gethnamaddr.c: Likewise.
4360 * resolv/getnetbyaddr.c: Likewise.
4361 * resolv/getnetbyname.c: Likewise.
4362 * resolv/getnetent.c: Likewise.
4363 * resolv/getnetnamadr.c: Likewise.
4364 * resolv/herror.c: Likewise.
4365 * resolv/nsap_addr.c: Likewise.
4366 * resolv/res_comp.c: Likewise.
4367 * resolv/res_debug.c: Likewise.
4368 * resolv/res_init.c: Likewise.
4369 * resolv/res_mkquery.c: Likewise.
4370 * resolv/res_query.c: Likewise.
4371 * resolv/res_send.c: Likewise.
4372 * resolv/resolv.h: Likewise.
4373 * resolv/sethostent.c: Likewise.
4374 * resolv/arpa/nameser.h: Likewise.
4375 * inet/netdb.h: Incorporated from BIND 4.9.3-BETA24 release.
4376 [__GNU_LIBRARY__]: Include <rpc/netdb.h> instead of repeating
4377 its declarations (and doing so only #ifdef sun!).
4378 * conf/portability.h (NEED_INETADDR, NEED_INETATON): New macros.
4379
4380 * posix/sys/types.h [__USE_BSD] (__BIT_TYPES_DEFINED__): New macro.
4381 [__USE_BSD] [__GNUC__] (int64_t, u_int64_t, register_t): New typedefs.
4382
4383 * malloc/memalign.c: Allocate (SIZE + ALIGNMENT - 1) and then trim
4384 if possible.
4385
4386 * mach/shortcut.awk: Emit decls for RPC.
4387
4388 * libc-symbols.h [GCC >= 2.7 && !ASSEMBLER] (weak_symbol,
4389 weak_alias, strong_alias): Define using GCC __attribute__ syntax.
4390
4391 * Makerules ($(installed-libcs)): Depend on `lib' (only).
4392
4393 Tue Jul 25 09:14:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4394
4395 * sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int.
4396
4397 * stdlib/strtol.c [_LIBC]: Define STDC_HEADERS.
4398
4399 * sysdeps/unix/sysv/ftime.S: New file.
4400
4401 * locale/locfile-parse.c (categories_write): Cast "" to char *.
4402
4403 * io/fcntl.h [__OPTIMIZE__] (creat): Macro removed.
4404
4405 * time/strftime.c: Use year modulo 100 for %y.
4406
4407 * time/sys/timeb.h: Add __BEGIN_DECLS and __END_DECLS.
4408
4409 * sysdeps/unix/snarf-ioctls (snarfexclude): Use two sed's instead
4410 of one, to work around bug in sunos4.1.2 sed.
4411
4412 * stdio/vfprintf.c (vfprintf): For %s with precision spec, use
4413 memchr instead of strlen to limit search for NUL by precision.
4414
4415 Mon Jul 24 03:13:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4416
4417 * sysdeps/posix/pathconf.c: New file.
4418
4419 Sat Jul 22 20:53:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4420
4421 * sysdeps/unix/i386/sysdep.h (JUMPTARGET): Use ## to avoid space
4422 before @PLT.
4423 * sysdeps/mach/i386/sysdep.h (JUMPTARGET): New macro.
4424 * sysdeps/i386/bsd-_setjmp.S: Use JUMPTARGET macro in jmp insn.
4425 * sysdeps/i386/bsd-setjmp.S: Likewise.
4426
4427 Sat Jul 22 19:58:54 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
4428
4429 * inet/Makefile (routines): Added `ruserpass'.
4430 * inet/ruserpass.c: New file, from BSD Net-2 sources for the FTP
4431 client. Modified to remove the fourth arg AACCT. Do nothing for
4432 the `account' and `macdef' keywords. Other incidental changes
4433 because we are not in the FTP source tree.
4434
4435 Sat Jul 22 01:56:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4436
4437 * sysdeps/stub/init-posix.c: Removed stub warning.
4438
4439 * Makefile (autoconf-it): Make it executable and unwritable.
4440
4441 * configure.in (sysnames): Under --enable-debug-configure, spew
4442 potential sysnames.
4443
4444 * sysdeps/unix/i386/sysdep.h (JUMPTARGET): New macro; use name@PLT
4445 #ifdef PIC.
4446 (PSEUDO): Use JUMPTARGET(syscall_error) in jump insn.
4447 * sysdeps/unix/i386/syscall.S: Use JUMPTARGET(syscall_error) in
4448 jump insn.
4449
4450 * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.h: Rewritten.
4451 * sysdeps/unix/sysv/sysv4/linux/i386/syscall.S: New file.
4452 * sysdeps/unix/sysv/sysv4/linux/i386/socket.S: Include
4453 <sys/socketcall.h>. Save %ebx in call-clobbered %edx instead of
4454 stack. Use JUMPTARGET(syscall_error) in jump insn.
4455
4456 * Makeconfig (+gccwarn): Add -Wbad-function-cast -Wconversion.
4457
4458 * sysdeps/unix/i386/sysdep.h (ENTRY): Use ASM_GLOBAL_DIRECTIVE and
4459 ASM_TYPE_DIRECTIVE.
4460 (ASM_TYPE_DIRECTIVE): New macro; defined using `.type' #ifdef ELF.
4461
4462 * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.S (__syscall_error):
4463 Rewritten, #include'ing unix/i386/sysdep.S for most of the code.
4464 * sysdeps/unix/i386/sysdep.S [PIC]: Store into `errno' through the GOT.
4465
4466 * configure.in (os=linux*): Use unix/sysv/sysv4 for $base_os,
4467 instead of unix/sysv.
4468 * sysdeps/unix/sysv/linux/{accept,connect,getsockname,rename,
4469 socketpair,waitpid,bind,getpeername,listen,setsid,wait4}.S: Moved
4470 to new directory sysdeps/unix/sysv/sysv4/linux.
4471 * sysdeps/unix/sysv/linux: Directory removed.
4472 * sysdeps/unix/sysv/i386/linux/{socket.S,sysdep.h,sysdep.S}: Moved
4473 to new directory sysdeps/unix/sysv/sysv4/linux/i386.
4474 * sysdeps/unix/sysv/linux/i386: Directory removed.
4475
4476 Fixes to help Linux, inspired by drepper's work:
4477 * sysdeps/posix/utimes.c: New file.
4478 * sysdeps/generic/getdomain.c: New file.
4479 * sysdeps/i386/init-first.c: Removed gratuitous #include <hurd.h>.
4480 * sysdeps/generic/dl-sysdep.c: Include <unistd.h> and declare
4481 externals _dl_argc, _dl_argc, and _environ.
4482
4483 Fri Jul 21 12:57:29 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
4484
4485 * sysdeps/mach/hurd/socket.c (socket): Consider MIG_BAD_ID and
4486 EOPNOTSUPP as indications that the server has died.
4487 * sysdeps/mach/hurd/pipe.c (__pipe): Likewise.
4488 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
4489
4490 Mon Jul 17 08:45:40 1995 Jim Meyering (meyering@comco.com)
4491
4492 * strtol.c: Portability changes from Uli Drepper.
4493 [!STDC_HEADERS && !defined(NULL)]: Define NULL.
4494
4495 Mon Jul 10 05:39:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4496
4497 * sysdeps/mach/hurd/i386/init-first.c (init): Take just one arg,
4498 DATA for the entry SP; DATA[-1] is always the return address
4499 location. In both cthreads and non-cthreads cases, use asm to
4500 force parameters into %eax and %ecx before return, and mutate
4501 DATA[-1] to return to specific asm code to set up the user from
4502 %eax and %ecx.
4503 [PIC] (_init): Caller changed.
4504 (__libc_init_first) [! PIC] (doinit): Use asm to effect call to init
4505 with SP unwound to argument data ptr.
4506
4507 Thu Jul 6 14:28:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4508
4509 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Fixed this kludge to work
4510 when 0x08000000 and up are not mapped.
4511
4512 * Makerules (stamp$o-$(subdir) rule): Remove the timestamp file
4513 before touching it.
4514 (lib%.so): Use -Wl to get -soname to ld.
4515
4516 * elf/dlsym.c: Pass final arg to _dl_lookup_symbol.
4517
4518 * elf/Makefile (libdl.so): Pass $(LDFLAGS.so).
4519
4520 Tue Jun 20 02:18:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4521
4522 * Makerules (lib%.so: lib%_pic.a): Pass -soname switch giving the
4523 library's name including $(libprefix) and major version number.
4524
4525 * locale/locale-ctype.c (allocate_arrays): Use xmalloc and bzero
4526 in place of xcalloc.
4527
4528 * Makeconfig (prefix, exec_prefix, libprefix): Instead of
4529 `ifndef', use the $(origin) function to only set these if they are
4530 undefined, and not if they are defined to empty.
4531
4532 * gnu-versions.h: New file.
4533 * features.h (__GNU_LIBRARY__): Increase value to 5.
4534
4535 Wed Jun 14 03:45:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4536
4537 * stdio/stdio.h (__validfp): Use ({...}) rather than a comma
4538 expression, to avoid gcc's "value computed is not used" warning.
4539
4540 * libc-symbols.h (_elf_set_element): Give the set-element variable
4541 an `unused' attribute.
4542
4543 * hurd/hurd/threadvar.h (__hurd_threadvar_location): Declare with
4544 __attribute__ ((__const__)).
4545 * hurd/hurd/signal.h (_hurd_self_sigstate): Likewise.
4546
4547 * hurd/hurd/userlink.h (_hurd_userlink_link): Properly set
4548 LINK->resource.next->resource.prevp when appropriate, not
4549 LINK->resource.next->thread.prevp!!!
4550
4551 Tue Jun 13 15:45:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4552
4553 * configure.in (libc_cv_asm_set_directive): Make sure that the
4554 `.set' directive really worked by linking against a reference to
4555 the alias.
4556
4557 * sysdeps/stub/init-first.c: Don't include <hurd.h>.
4558 [PIC] (soinit): Renamed to (global) _init.
4559
4560 Mon Jun 12 13:15:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4561
4562 * malloc/Makefile (gmalloc-routines): Remove valloc.
4563 (dist-routines): Add it here.
4564
4565 * malloc/malloc.h [_MALLOC_INTERNAL] [emacs] (valloc): #define to
4566 emacs_loser_valloc to inhibit valloc declaration below.
4567
4568 * Makerules (lib%.so: lib%_pic.a): Moved this rule to after
4569 installation rules.
4570
4571 * sysdeps/mach/sysdep.h [HAVE_ELF] (ENTRY): Redefine this macro so
4572 it uses the `.type' directive, which is necessary for shared
4573 libraries to work properly.
4574
4575 Thu Jun 8 02:50:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4576
4577 * elf/dl-load.c (_dl_map_object): Add MAP_INHERIT flag in mmap
4578 from zero fill.
4579
4580 * elf/dl-lookup.c (_dl_lookup_symbol): Take new flag arg NOSELF;
4581 if nonzero, don't let *REF satisfy the reference itself.
4582 * elf/link.h (_dl_lookup_symbol): Add new arg NOSELF in decl.
4583 * sysdeps/i386/dl-runtime.c (_dl_runtime_resolve): Pass new arg to
4584 _dl_lookup_symbol.
4585 * elf/do-rel.h (elf_dynamic_do_rel): Pass new second arg of
4586 R->r_offset to RESOLVE callback.
4587 * elf/dl-reloc.c (_dl_relocate_object: resolve): Don't let *REF
4588 satisfy the reference itself if its value equals the reloc's
4589 offset.
4590
4591 * elf/rtld.c (dl_main): Write a newline in fatal msg.
4592
4593 * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS.so).
4594
4595 * elf/rtld.c [! NDEBUG] (__assert_perror_fail): New function.
4596
4597 * hurd/hurdstartup.c (_hurd_startup): Fancier kludge to guess phdr
4598 and user entry point addresses.
4599
4600 * elf/dl-load.c (open_path): Don't do strlen on DIRPATH if it's null.
4601 (_dl_map_object): DT_RPATH value is relative to DT_STRTAB value.
4602
4603 * Makerules (install-lib.so): Don't include libc.so.
4604 [$(build-shared)=yes] (install): Depend on the installed libc.so file.
4605 [$(build-shared)=yes] (install-no-libc.a): Make this, rather than
4606 install, depend on the installed $(install-lib.so) files.
4607 [$(build-shared)=yes] (install-lib.so): Append libc.so after that rule.
4608
4609 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Add kludge to
4610 allocate high addresses to avoid random mappings appearing there.
4611 (mmap): Comment out mask; always pass zero.
4612
4613 Tue Jun 6 13:34:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4614
4615 * sysdeps/i386/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New macro.
4616 * sysdeps/mach/hurd/dl-sysdep.c (mmap): Use it as mask in vm_map call.
4617
4618 * elf/dl-error.c (_dl_catch_error): Clear *ERRSTRING and *OBJNAME
4619 when successful.
4620
4621 * sysdeps/mach/hurd/dl-sysdep.c (threadvars): New static variable.
4622 (__hurd_threadvar_max, __hurd_threadvar_stack_offset): Define these
4623 variables, using the `threadvars' buffer.
4624
4625 * elf/dl-reloc.c: Don't dereference L->l_prev when it's null.
4626 * sysdeps/i386/dl-runtime.c: Likewise.
4627
4628 * elf/rtld.c (dl_main): Add missing NULL terminating argument in
4629 _dl_sysdep_fatal call.
4630 (__assert_fail): Likewise.
4631
4632 * locale/Makefile (localedef-modules): Renamed ctype to
4633 locale-ctype so as not to conflict with the object file for
4634 ctype/ctype.c in the build directory.
4635
4636 Mon Jun 5 04:02:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4637
4638 * elf/elf.h (ELFMAG): Use \177 instead of \x7f. It seems GCC
4639 insists on seeing the following E as part of hex 7FE, and
4640 complaining that is wider than a byte.
4641
4642 Sun Jun 4 22:14:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4643
4644 * hurd/Makefile (sig): Added thread-self.
4645 * hurd/hurd.h: Declare hurd_thread_self.
4646 * hurd/thread-self.c: New file.
4647
4648 Thu Jun 1 12:17:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4649
4650 * elf/rtld.c: Initialize RTLD_MAP.l_type.
4651 * elf/dl-reloc.c (_dl_relocate_object): Clear LAZY if relocating
4652 the dynamic linker itself.
4653 * sysdeps/i386/dl-machine.h (elf_machine_rel): If MAP->l_type is
4654 lt_interpreter, first undo relocation done during bootstrapping.
4655
4656 Tue May 30 15:52:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4657
4658 * mach/Makefile (server-interfaces): Removed notify and
4659 device_reply. For shlibs with eager binding, libmachuser.so must
4660 not refer to any functions not defined in libc.
4661
4662 Sat May 27 16:23:22 1995 Jim Meyering (meyering@comco.com)
4663
4664 * sysdeps/generic/memchr.c: Cast RHS to const unsigned char *
4665 to avoid error from Irix-4.0.5's C compiler. From Kaveh Ghazi.
4666
4667 Fri May 26 13:00:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4668
4669 * hurd/hurdsig.c (_hurd_internal_post_signal): Don't loop to check
4670 pending signals if the thread is in a critical section. It will
4671 send us a msg when it finishes.
4672
4673 * sysdeps/mach/hurd/pathconf.c: New file.
4674 * sysdeps/mach/hurd/fpathconf.c: New file.
4675
4676 * sysdeps/mach/hurd/sigaction.c: Only notify the proc server for
4677 SIGCHLD when the SA_NOCLDSTOP bit actually changes.
4678
4679 Sun May 21 05:05:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4680
4681 * elf/Makefile (ld.so): Use -nostartfiles in addition to
4682 -nostdlib.
4683
4684 Sun May 21 02:01:29 1995 Jim Meyering (meyering@comco.com)
4685
4686 * sysdeps/generic/memchr.c: Don't include <string.h> at all.
4687 HPUX-9.01 and IRIX-4.0.5 vendor C compilers get conflicting dcls for
4688 memchr unless one manually arranges for them to define __STDC__.
4689
4690 Fri May 19 17:16:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4691
4692 * sysdeps/mach/hurd/i386/init-first.c: In cthreads case, handle
4693 args on stack from kernel.
4694
4695 * posix/Makefile, sysdeps/alpha/Makefile,
4696 * sysdeps/mach/hurd/Makefile, sysdeps/sparc/Makefile, Makefile,
4697 * Makerules, Make-dist: Fix "cvs commit" cmds in rules to not fail
4698 in the absence of CVS dirs.
4699
4700 * hurd/hurdstartup.c: Don't call __mach_init. Grok args from the
4701 kernel on the stack properly.
4702
4703 * set-init.c: Never call _init/_fini; just run __libc_subinit.
4704
4705 * Makerules (LDFLAGS-c.so): Add -nostartfiles.
4706 * mach/Machrules (LDFLAGS-$(interface.so)): Likewise.
4707
4708 * configure.in: Move defaulting of --with-elf and --with-gnu-*
4709 based on host os outside the AC_CACHE_VAL for the sysdirs
4710 calculation.
4711
4712 * Makeconfig (localedir, nlsdir): New variables.
4713
4714 * values.h: New file.
4715 * Makefile (headers): Add values.h.
4716
4717 * locale/Makefile (distribute): Add error.h.
4718 * locale/localedef.c: Include "error.h".
4719 (main): Use error_message_count instead of warning_cntr.
4720
4721 Wed May 17 16:50:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4722
4723 Merged 1003.2 locale and localedef programs by Ulrich Drepper.
4724 * locale/charmap.c: New file.
4725 * locale/collate.c: New file.
4726 * locale/config.h: New file.
4727 * locale/ctype.c: New file.
4728 * locale/ctypedump.c: New file.
4729 * locale/hash.c: New file.
4730 * locale/hash.h: New file.
4731 * locale/iso-4217.def: New file.
4732 * locale/keyword.gperf: New file.
4733 * locale/keyword.h: New file.
4734 * locale/libintl.h: New file.
4735 * locale/locale.c: New file.
4736 * locale/localedef.c: New file.
4737 * locale/localedef.h: New file.
4738 * locale/locfile-lex.c: New file.
4739 * locale/locfile-parse.c: New file.
4740 * locale/messages.c: New file.
4741 * locale/monetary.c: New file.
4742 * locale/numeric.c: New file.
4743 * locale/token.h: New file.
4744
4745 * posix/regex.c, posix/regex.h: New files, incorporated from GNU regex.
4746 * posix/Makefile (headers): Add regex.h.
4747 (routines): Add regex.
4748 (gpl2lgpl): Add regex.c and regex.h.
4749
4750 Tue May 16 17:35:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4751
4752 * locale/loadlocale.c: Expect macro LOCALE_PATH to be defined,
4753 instead of hard-coding "/share/locale".
4754
4755 Sat May 13 02:16:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4756
4757 * configure.in (os=gnu*): Always set elf=yes, not just for os=gnu*elf*.
4758
4759 Fri May 12 15:31:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4760
4761 * elf/elf.h (ELFMAG, SELFMAG): New macros.
4762
4763 Fri May 12 11:24:53 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu>
4764
4765 * hurd/alloc-fd.c (_hurd_alloc_fd): Don't reduce FIRST_FD in
4766 the case where it starts out less than _hurd_dtablesize.
4767
4768 Thu May 11 20:51:05 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4769
4770 * hurd/alloc-fd.c (_hurd_alloc_fd): When expanding the dtable,
4771 make sure the new size exceeds FIRST_FD.
4772
4773 Wed May 10 21:00:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4774
4775 * sysdeps/mach/i386/sysdep.h (RETURN_TO): New macro.
4776
4777 Tue May 9 01:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4778
4779 * Makerules (install-lib.so): Add %.so for each %_pic.a.
4780
4781 * sysdeps/i386/elf/start.S (__data_start): Define this symbol as
4782 the first thing in .data.
4783
4784 * sysdeps/mach/_strerror.c (_strerror_internal): Eschew sprintf.
4785
4786 * hurd/hurdstartup.h: New file.
4787
4788 * sysdeps/i386/elf/start.S: Give two operands to `testl' when they
4789 are the same. Use `jz' instead of `jeq'.
4790
4791 * Makeconfig (config.make): Depend on config.status, and run it to
4792 update.
4793 (config.status): New target; depend on configure.
4794 If target (config.status) exists, run it with --recheck to update;
4795 if not, give error msg saying to run confiugre by hand.
4796 * Makerules [$(sysd-Makefile-sysdirs) != $(sysdirs)]
4797 (sysd-Makefile-force): Set this variable to FORCE in this case, to
4798 force a rebuild of sysd-Makefile.
4799 (sysd-Makefile): Depend on $(sysd-Makefile-force).
4800 Write into the file sysd-Makefile-sysdirs:=$(sysdirs).
4801 [$(sysd-rules-sysdirs) != $(sysdirs)] (sysd-rules-force): Set this
4802 variable to FORCE in this case, to force a rebuild of sysd-rules.
4803 (sysd-rules): Depend on $(sysd-rules-force).
4804 Write into the file sysd-rules-sysdirs:=$(sysdirs).
4805
4806 * Makerules (LDFLAGS-c.so): Change ld option -interp to
4807 -dynamic-linker.
4808
4809 * Makerules (do-install-program): New canned sequence.
4810 (install-bin, install-sbin): Use it.
4811 (install for lib*.so): Use it instead of $(do-install).
4812 Fix .so installation rules to handle lib*.so and *.so, deal with
4813 $(libprefix) right, and install *.so as *.so$($(*.so)-version);
4814 i.e. "libc.so-version = .1".
4815
4816 Mon May 8 05:10:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4817
4818 * elf/do-rel.h: New file, split out of dynamic-link.h.
4819 * elf/Makefile (distribute): Add do-rel.h.
4820
4821 Sat May 6 11:06:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4822
4823 * Makeconfig (+gccwarn): Add -Winline.
4824
4825 * hurd/hurdsig.c (_hurd_internal_post_signal): If SS->context is
4826 set, avoid abort_rpcs, and use reply and intr ports saved in
4827 SS->context.
4828 * sysdeps/mach/hurd/i386/trampoline.c: Don't set SS->intr_port
4829 from SS->context. Don't clear SS->context.
4830 * sysdeps/mach/hurd/i386/sigreturn.c: Don't set SS->intr_port when
4831 setting SS->context. If msg_sig_post returns, re-lock and clear
4832 SS->context.
4833
4834 Fri May 5 10:37:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4835
4836 * mach/Makefile (errsystems.c): Comment out generation rule.
4837
4838 * sysdeps/mach/_strerror.c: Consider a system unknown if its
4839 bad_sub member is null.
4840
4841 * mach/mig-alloc.c: Add weak alias to non-__ name.
4842
4843 Wed May 3 11:56:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4844
4845 * sysdeps/mach/hurd/dup2.c: Fixed broken test in last change.
4846
4847 Tue May 2 01:52:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4848
4849 * elf/dl-error.c (_dl_catch_error): Actually call the OPERATE
4850 function. Duh.
4851
4852 * hurd/Makefile (distribute): Added hurdstartup.h.
4853 * hurd/hurd.h: Remove _hurd_startup decl.
4854
4855 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Use __attribute__
4856 ((__unused__)) instead of gratuitous self reference.
4857
4858 * sysdeps/mach/hurd/dup2.c: Call _hurd_alloc_fd to expand the
4859 table if FD2 doesn't fit.
4860
4861 * sysdeps/mach/hurd/getdtsz.c: Return the RLIM_NOFILE soft limit,
4862 not the current table size.
4863
4864 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS, CALL_WITH_SP): Rewritten.
4865
4866 Implemented runtime dynamic linker to support ELF shared libraries.
4867 * elf/Makefile: Added rules to make ld.so and libdl.
4868 * elf/dl-error.c: New file.
4869 * elf/dl-fini.c: New file.
4870 * elf/dl-init.c: New file.
4871 * elf/dl-load.c: New file.
4872 * elf/dl-lookup.c: New file.
4873 * elf/dl-object.c: New file.
4874 * elf/dl-reloc.c: New file.
4875 * elf/dlclose.c: New file.
4876 * elf/dlerror.c: New file.
4877 * elf/dlopen.c: New file.
4878 * elf/dlsym.c: New file.
4879 * elf/dynamic-link.h: New file.
4880 * elf/link.h: New file.
4881 * elf/rtld.c: New file.
4882 * sysdeps/i386/dl-machine.h: New file.
4883 * sysdeps/stub/dl-machine.h: New file.
4884 * sysdeps/i386/dl-runtime.c: New file.
4885 * sysdeps/stub/dl-runtime.c: New file.
4886 * sysdeps/i386/elf/start.S: New file.
4887 * sysdeps/generic/dl-sysdep.c: New file.
4888 * sysdeps/mach/hurd/dl-sysdep.c: New file.
4889 * sysdeps/mach/hurd/i386/init-first.c: New file.
4890 * sysdeps/i386/init-first.c: New file.
4891 * sysdeps/stub/init-first.c: New file.
4892
4893 Mon May 1 18:48:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4894
4895 * Makerules (LDFLAGS-c.so): Add -interp and -e switches to make
4896 libc.so runnable.
4897 * version.c (__libc_print_version): Add "et al" and missing NL to
4898 author credit.
4899
4900 Sat Apr 29 15:46:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4901
4902 * posix/glob.c (S_ISDIR): Define if undefined.
4903
4904 Thu Apr 27 01:24:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4905
4906 * configure.in: Unless --without-fp, prepend */fpu before each
4907 machine dir in $mach; don't prepend FPU dirs at end. If
4908 --with-elf, prepend MACHINE/elf directories at end; don't insert
4909 them into $mach.
4910
4911 * Makerules (dist): Filter out *.[cSs] from $(distribute) in deps.
4912
4913 * sysdeps/stub/clock.c: Added stub warning.
4914 * sysdeps/stub/dirfd.c: Likewise.
4915 * sysdeps/stub/exc2signal.c: Likewise.
4916 * sysdeps/stub/fdopen.c: Likewise.
4917 * sysdeps/stub/flock.c: Likewise.
4918 * sysdeps/stub/fpathconf.c: Likewise.
4919 * sysdeps/stub/ftruncate.c: Likewise.
4920 * sysdeps/stub/gtty.c: Likewise.
4921 * sysdeps/stub/isatty.c: Likewise.
4922 * sysdeps/stub/killpg.c: Likewise.
4923 * sysdeps/stub/madvise.c: Likewise.
4924 * sysdeps/stub/mkstemp.c: Likewise.
4925 * sysdeps/stub/mktemp.c: Likewise.
4926 * sysdeps/stub/mprotect.c: Likewise.
4927 * sysdeps/stub/msync.c: Likewise.
4928 * sysdeps/stub/pathconf.c: Likewise.
4929 * sysdeps/stub/poll.c: Likewise.
4930 * sysdeps/stub/raise.c: Likewise.
4931 * sysdeps/stub/readv.c: Likewise.
4932 * sysdeps/stub/setenv.c: Likewise.
4933 * sysdeps/stub/setlogin.c: Likewise.
4934 * sysdeps/stub/sigaltstack.c: Likewise.
4935 * sysdeps/stub/sigintr.c: Likewise.
4936 * sysdeps/stub/sigstack.c: Likewise.
4937 * sysdeps/stub/sleep.c: Likewise.
4938 * sysdeps/stub/sstk.c: Likewise.
4939 * sysdeps/stub/stime.c: Likewise.
4940 * sysdeps/stub/stty.c: Likewise.
4941 * sysdeps/stub/syscall.c: Likewise.
4942 * sysdeps/stub/sysconf.c: Likewise.
4943 * sysdeps/stub/truncate.c: Likewise.
4944 * sysdeps/stub/ualarm.c: Likewise.
4945 * sysdeps/stub/usleep.c: Likewise.
4946 * sysdeps/stub/utimes.c: Likewise.
4947 * sysdeps/stub/writev.c: Likewise.
4948
4949 * sysdeps/stub/libc_fatal.c: Remove __NORETURN keyword.
4950
4951 Wed Apr 26 16:06:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4952
4953 * locale/loadlocale.c (_nl_free_locale): Do nothing if DATA is null.
4954
4955 Tue Apr 25 17:17:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4956
4957 * posix/glob.c (glob): If GLOB_MARK set, stat names to find
4958 directories and append slashes to them in final pass before
4959 sorting.
4960 (glob_in_dir): If GLOB_MARK set, just allocate the extra char for the
4961 slash; never append it here.
4962
4963 Sat Apr 22 14:48:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4964
4965 * mach/Machrules [interface-library]
4966 (LDFLAGS-$(interface-library:lib%=%.so)): New variable, set to
4967 -nostdlib.
4968
4969 * sysdeps/mach/hurd/fork.c: Subfunction `unlockss' removed. Lock
4970 _hurd_siglock only around initial task creation in parent. Use
4971 _hurd_critical_section_unlock at end. Handle dead name rights
4972 properly, and deal with a send right dying while we try to copy
4973 it. For the time being, use assert_perror for kernel and proc RPC
4974 failures.
4975
4976 Fri Apr 21 01:10:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4977
4978 * extra-lib.mk: Don't include $(o-iterator); construct it by hand
4979 using $(object-suffixes-$(lib)) instead.
4980
4981 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): New variable.
4982
4983 * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS-$(notdir $*).so).
4984 (LDFLAGS-c.so): New variable.
4985
4986 * resolv/res_init.c (res_init): Don't clobber _res.options with
4987 RES_DEFAULT. If RES_INIT is clear, OR in RES_DEFAULT.
4988
4989 * hurd/hurd.h: Declare _hurd_startup.
4990 * hurd/hurdstartup.c: New file.
4991 * hurd/Makefile (routines): Add hurdstartup.
4992
4993 Thu Apr 20 22:23:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4994
4995 * hurd/hurdsig.c: Use assert_perror for many calls which should
4996 never fail and previously were not checked.
4997
4998 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
4999 Point the return address for sigreturn's frame at a "hlt" insn so
5000 it will definitely crash if sigreturn returns.
5001
5002 Wed Apr 19 18:40:11 1995 Brendan Kehoe (brendan@zen.org)
5003
5004 * time/tzset.c (__tzname, __daylight, __timezone): Don't check
5005 HAVE_WEAK_SYMBOLS for doing weak_alias.
5006
5007 Wed Apr 19 18:12:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5008
5009 * configure.in: Move $os tests to set $elf et al earlier, before
5010 construction of $sysnames. Instead of prepending MACHINE/elf to
5011 $sysnames, append &/elf after each elt appended to $mach.
5012
5013 Tue Apr 18 14:00:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5014
5015 * configure.in (libc_cv_asm_global_directive): New check to define
5016 ASM_GLOBAL_DIRECTIVE.
5017 * config.h.in: Add #undef ASM_GLOBAL_DIRECTIVE.
5018 * libc-symbols.h (strong_alias_asm, strong_alias): Use
5019 ASM_GLOBAL_DIRECTIVE on the alias.
5020
5021 * sysdeps/unix/make_errlist.c (main): Don't generate "#ifdef
5022 HAVE_WEAK_SYMBOLS" #defns.
5023
5024 Mon Apr 17 12:02:49 1995 Brendan Kehoe (brendan@zen.org)
5025
5026 * sysdeps/alpha/strlen.c (strlen): Fix cmpbge insn, and returning
5027 of the byte that was zero, so we return a valid number.
5028
5029 Sun Apr 16 03:23:09 1995 Brendan Kehoe (brendan@zen.org)
5030
5031 * sysdeps/unix/bsd/ultrix4/mips/sysdep.h: New file defining
5032 NO_UNDERSCORES then using sysdeps/unix/mips/sysdep.h.
5033
5034 Fri Apr 14 18:49:03 1995 Brendan Kehoe (brendan@zen.org)
5035
5036 * sysdeps/ieee754/mpn2dbl.c (__mpn_construct_double)
5037 [BITS_PER_MP_LIMB == 64]: Refer to `u', not to non-existent `i'.
5038 * sysdeps/ieee754/mpn2ldbl.c (__mpn_construct_long_double)
5039 [BITS_PER_MP_LIMB == 64]: Likewise.
5040
5041 * sysdeps/unix/bsd/osf/alpha/killpg.S (killpg): Add .end directive.
5042 * sysdeps/unix/bsd/osf/alpha/sigblock.S (__sigblock): Likewise.
5043 * sysdeps/unix/bsd/osf/alpha/sigsetmask.S (__sigsetmask): Likewise.
5044 * sysdeps/unix/bsd/osf/alpha/sigpause.S (__sigpause): Likewise.
5045 * sysdeps/unix/bsd/osf/alpha/sigvec.S (__sigvec): Likewise.
5046 * sysdeps/unix/bsd/osf/alpha/getdents.S (__getdirentries): Likewise.
5047 * sysdeps/unix/bsd/osf/alpha/fork.S (__fork): Likewise.
5048 * sysdeps/unix/bsd/osf/alpha/pipe.S (__pipe): Likewise.
5049 * sysdeps/unix/bsd/osf/alpha/recv.S (recv): Likewise.
5050 * sysdeps/unix/bsd/osf/alpha/send.S (send): Likewise.
5051 * sysdeps/unix/bsd/osf/alpha/vhangup.S (vhangup): Likewise.
5052
5053 * sysdeps/unix/mips/brk.S (__brk, __curbrk): Add .end directive.
5054 * sysdeps/unix/mips/fork.S (fork): Likewise.
5055 * sysdeps/unix/mips/pipe.S (fork): Likewise.
5056 * sysdeps/unix/mips/sigreturn.S (__sigreturn): Likewise.
5057 * sysdeps/unix/mips/sysdep.S (sysdep_error): Likewise.
5058 * sysdeps/unix/mips/wait.S (__handler): Likewise.
5059 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
5060 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
5061 * sysdeps/unix/bsd/ultrix4/getsysinfo.S (getsysinfo): Likewise.
5062 * sysdeps/unix/bsd/ultrix4/wait3.S (waitpid): Likewise.
5063 * sysdeps/unix/bsd/ultrix4/waitpid.S (waitpid): Likewise.
5064 * sysdeps/unix/bsd/ultrix4/mips/__handler.S (__handler): Likewise.
5065 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S (__raw_sigvec): Likewise.
5066 * sysdeps/unix/bsd/ultrix4/mips/start.S (__start): Likewise.
5067 * sysdeps/unix/bsd/ultrix4/mips/vfork.S (vfork): Likewise.
5068 * sysdeps/mips/bsd-_setjmp.S (setjmp): Likewise. Use `$0'
5069 instead of `zero' for the li instruction.
5070
5071 * sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be
5072 preprocessor comments, not assembler comments.
5073 * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.
5074 * sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define.
5075
5076 Fri Apr 14 15:53:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5077
5078 * malloc/malloc.c (register_heapinfo) [__GNUC__]: Use __inline__
5079 in place of inline.
5080
5081 Thu Apr 13 09:45:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5082
5083 * Makefile (distribute): Add ChangeLog.[0-9].
5084
5085 * configure.in: Add check for .set directive.
5086 * config.h.in: Add #undef HAVE_ASM_SET_DIRECTIVE.
5087 * libc-symbols.h [! HAVE_ASM_SET_DIRECTIVE] (strong_alias,
5088 strong_alias_asm): Use `foo = bar' syntax instead.
5089
5090 * Makerules [! subdir] (O%-lib): Don't prepend ../.
5091
5092 * sysdeps/generic/expm1.c: #undef expm1 before weak_alias.
5093
5094 * configure.in: Fix AC_ARG_WITH uses; check for --with-fp. Move
5095 $host_os checks to set gnu_ld/as and elf before sysdirs
5096 generation. Fix $with_fp test.
5097 [$elf=yes]: Prepend MACHINE/elf directory.
5098
5099 * elf/libelf.h (elf_hash): Use XOR instead of ANDN when the bits
5100 being cleared are already known to be set. Thanks Ulrich.
5101
5102 Wed Apr 12 23:27:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5103
5104 * posix/environ.c: Add weak alias `_environ'.
5105
5106 Tue Apr 11 20:38:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5107
5108 * sysdeps/i386/add_n.S [PIC]: Use self-call to avoid generating reloc.
5109 * sysdeps/i386/sub_n.S [PIC]: Likewise.
5110
5111 Mon Apr 10 14:53:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5112
5113 * libc-symbols.h (_elf_set_element) [PIC]: Don't make the element
5114 word `const'.
5115
5116 * Makeconfig (CPPFLAGS, CFLAGS): Fix swapped references to
5117 $(foo-$(suffix $@)).
5118
5119 * manual/Makefile (chapters-incl): Filter out summary.texi.
5120
5121 * stdlib/strtod.c (STRTOF): Use extra macro to make STRTOF's #defn
5122 a weak symbol instead of literal "STRTOF".
5123
5124 * locale/setlocale.c: Work around ld bug: don't weakify refs to
5125 _nl_{current,C}_*.
5126
5127 Sun Apr 9 01:24:33 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5128
5129 * Makerules (+depfiles): Translate %.so to %.o in $(extra-objs).
5130
5131 * malloc/free.c [emacs] (__malloc_safe_bcopy): Define to safe_bcopy.
5132 * malloc/realloc.c (__malloc_safe_bcopy): Undefine before defining.
5133
5134 * malloc/free.c (memmove, __malloc_safe_bcopy): Do include these
5135 #ifdef emacs, but only #ifndef memmove.
5136 * malloc/realloc.c [emacs] (__malloc_safe_bcopy): Just #define to
5137 safe_bcopy.
5138 (memmove): Define only if undefined.
5139
5140 Sat Apr 8 00:40:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5141
5142 * extra-lib.mk (install-lib, extra-objs, alltypes-$(lib)): Make
5143 sure these are simply-expanded variables.
5144
5145 * locale/loadlocale.c (_nl_load_locale): Use MAP_INHERIT flag in
5146 mmap call.
5147
5148 * configure.in (os=freebsd*|bsdi*): Set base_os=unix/bsd/bsd4.4
5149 for these too.
5150
5151 * sysdeps/unix/sysv/tcsetattr.c: Use |= instead of = to properly
5152 set c_oflag value.
5153
5154 * Makeconfig [! objpfx] (csu-objpfx): Add trailing slash.
5155
5156 * locale/Makefile (categories): Uncomment collate.
5157 * locale/lc-collate.c: New file.
5158
5159 * malloc/free.c (__malloc_safe_bcopy, memmove): Don't define
5160 #ifdef emacs.
5161 * malloc/realloc.c: Likewise.
5162
5163 * stdio/_itoa.h (_EXTERN_INLINE): Define if undefined.
5164 (_itoa): Use it in defn.
5165 * stdio/_itoa.c (_EXTERN_INLINE): Define to empty before #include
5166 "_itoa.h".
5167 (_itoa): Function removed.
5168
5169 * malloc/free.c: Remove use of `assert'.
5170
5171 * malloc/realloc.c [! emacs] (safe_bcopy): Renamed to
5172 __malloc_safe_bcopy; #define safe_bcopy.
5173 * malloc/free.c: Cope with systems lacking `memmove'.
5174 (_free_internal): Cast result of _malloc_internal.
5175
5176 Wed Apr 5 00:13:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5177
5178 * hurd/hurdinline.c: Include signal.h first, so we don't define
5179 its inlines too.
5180
5181 * sysdeps/unix/sysv/sysv4/sigset.h (__sigfillset): Use ~0L instead
5182 of -1 to avoid compiler warning.
5183
5184 * configure.in (host_os=linux*): Set elf=yes for this, not just
5185 linux*elf*.
5186
5187 * misc/login_tty.c [! TIOCSCTTY]: Try an emulation using ttyname
5188 and open.
5189
5190 * sysdeps/i386/bsd-_setjmp.S: Fix typo in name: setjmp -> _setjmp.
5191
5192 Tue Apr 4 00:48:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5193
5194 * sysdeps/unix/start.c: Remove spurious decl and #endif.
5195
5196 * misc/progname.c (program_invocation_name,
5197 program_invocation_short_name): Make these initialized data
5198 definitions.
5199
5200 * sysdeps/mach/hurd/setitimer.c (fork_itimer): Add self reference
5201 so gcc doesn't optimize out the function entirely.
5202
5203 Sun Apr 2 13:13:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5204
5205 * posix/execvp.c: Don't use stat to search path; just try execv
5206 until it works.
5207
5208 * sysdeps/mach/hurd/i386/trampoline.c: Add a link to
5209 SS->active_resources, so that _hurdsig_longjmp_from_handler will
5210 be called when a longjmp unwinds the signal frame.
5211 * sysdeps/mach/hurd/i386/sigreturn.c: Remove the link on the
5212 SS->active_resources chain added by _hurd_setup_sighandler.
5213 * hurd/sigunwind.c: New file.
5214 * hurd/Makefile (sig): Add sigunwind.
5215
5216 * Makerules (lib%.so: lib%_pic.a): Remove dir name from $*.
5217
5218 * MakeTAGS (tags-sources): Include $(all-dist).
5219 [subdir] (all-dist): Define to $(distribute).
5220
5221 Sat Apr 1 00:08:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5222
5223 * Makerules (lib%.so: lib%_pic.a): Pass -L options for subdir and
5224 parent objdirs.
5225
5226 * extra-lib.mk (object-suffixes-$(lib)): New variable, produced by
5227 filtering out $($(lib)-inhibit-o); use that instead of
5228 $(object-suffixes) in all the other variables.
5229
5230 * locale/loadlocale.c (_nl_load_locale) [MAP_FILE]: Define it zero
5231 if undefined.
5232
5233 * string/strxfrm.c: Just copy the string (for now).
5234 * string/strcoll.c: Just call strcmp (for now).
5235
5236 * mach/Makefile (lock): Add mutex-init.
5237 * mach/mutex-solid.c (_cthread_mutex_lock_routine,
5238 _cthread_mutex_unlock_routine): Variables removed.
5239 (__mutex_lock_solid, __mutex_unlock_solid): Don't use them; just stub.
5240 (__mutex_init): Function moved to new file mutex-init.c.
5241 * mach/mutex-init.c: New file, broken out of mutex-solid.c.
5242
5243 Thu Mar 30 20:43:02 1995 Brendan Kehoe <brendan@zen.org>
5244
5245 * sysdeps/mips/__longjmp.c (__longjmp): Take out CONST.
5246 * sysdeps/alpha/__longjmp.c (__longjmp): Take out const.
5247
5248 Thu Mar 30 01:38:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5249
5250 * elf/elf.h (STN_UNDEF): New macro (distinct from SHN_UNDEF, though
5251 both are zero).
5252
5253 Wed Mar 29 11:26:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5254
5255 * elf/dlfcn.h: New file.
5256
5257 * Make-dist (README): Commit it to CVS if there is a CVS directory.
5258
5259 More changes from Germano Caronni <caronni@tik.ethz.ch>:
5260 * malloc/free.c: Relocate _heapinfo when that allows us to return
5261 core to the system.
5262
5263 * malloc/malloc.c: Move #include <errno.h> outside #ifndef
5264 _MALLOC_INTERNAL.
5265
5266 Mon Mar 27 02:23:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5267
5268 * mach/Makefile (headers): Add mach/mach_traps.h.
5269
5270 * Makerules ($(installed-libcs) rule): Fix typos.
5271
5272 * sysdeps/unix/bsd/bsd4.4/revoke.S: New file.
5273 * sysdeps/stub/revoke.c: New file.
5274 * misc/Makefile (routines): Add revoke.
5275 * posix/unistd.h [__USE_BSD] (revoke): Declare it.
5276 * sysdeps/generic/pty.c (openpty, forkpty): Declare return types.
5277 (forkpty): Declare login_tty.
5278 * misc/logwtmp.c (logwtmp): Declare to return void.
5279 * misc/login_tty.c (login_tty): Include unistd.h. Declare return type.
5280
5281 * posix/unistd.h [__USE_BSD] (ttyslot): Declare it.
5282
5283 * posix/unistd.h [__USE_BSD] (L_SET, L_INCR, L_XTND): Define
5284 unless L_SET already defined.
5285 * misc/sys/file.h (L_SET, L_INCR, L_XTND): Don't define if L_SET
5286 already defined.
5287
5288 Incorporated -lutil library from 4.4-Lite.
5289 * misc/Makefile (extra-libs, libutil-routines): New variables.
5290 * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c,
5291 sysdeps/generic/pty.c: New files for -lutil incorporated from 4.4-Lite.
5292
5293 Support simple, light-weight unwind-protect mechanism for longjmp.
5294 * setjmp/longjmp.c: Call _longjmp_unwind first thing.
5295 * sysdeps/mach/hurd/jmp-unwind.c: New file.
5296 * sysdeps/stub/jmp-unwind.c: New file.
5297 * sysdeps/i386/jmp_buf.h (_JMPBUF_UNWINDS): New macro.
5298 * sysdeps/mips/jmp_buf.h (_JMPBUF_UNWINDS): New macro.
5299 * setjmp/Makefile (routines): Add jmp-unwind.
5300 * hurd/hurd/userlink.h (struct hurd_userlink): Move `next' and
5301 `prevp' members into new substructure `resource'; add another such
5302 substructure `thread' and members `cleanup' (function ptr) and
5303 `cleanup_data' (generic ptr).
5304 (_hurd_userlink_link, _hurd_userlink_unlink): Insert/remove LINK
5305 into the `_hurd_self_sigstate ()->active_resources' list via the
5306 `thread' substructure.
5307 * hurd/hurd/port.h (_hurd_port_cleanup): Declare it.
5308 (_hurd_port_locked_get): Set LINK->cleanup to _hurd_port_cleanup and
5309 LINK->cleanup_data' to the port extracted.
5310 * hurd/hurd/signal.h (struct hurd_sigstate): New member
5311 `active_resources'.
5312 * hurd/port-cleanup.c: New file.
5313 * hurd/Makefile (routines): Add port-cleanup.
5314
5315 * malloc/malloc.c: Include errno.h.
5316
5317 Sat Mar 25 18:24:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5318
5319 * locale/loadlocale.c (_nl_load_locale): Avoid */ inside comment.
5320
5321 Fri Mar 24 02:35:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5322
5323 * misc/Makefile (headers): Add utmp.h.
5324 * misc/utmp.h: New file, incorporated from 4.4-Lite.
5325
5326 * stdio/printf-parse.h: New file, mostly written by drepper.
5327 * stdio/vfprintf.c: Rewritten, mostly by drepper.
5328 * stdio/printf-prs.c: Rewritten.
5329 * stdio/Makefile (distribute): Add printf-parse.h.
5330
5331 Thu Mar 23 22:03:44 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5332
5333 * sysdeps/unix/start.c [! NO_UNDERSCORES]: Don't declare _start
5334 with asm name. Just do a ".set start, __start".
5335
5336 * malloc/realloc.c: Call _free_internal instead of free.
5337
5338 Tue Mar 21 00:14:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5339
5340 * locale/loadlocale.c (_nl_load_locale): If LOCALE/LC_* is a
5341 directory, open LOCALE/LC_*/SYS_LC_* instead.
5342
5343 Mon Mar 20 03:19:23 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5344
5345 * stdio/fpioconst.c, stdio/fpioconst.h, stdio/gmp-impl.h,
5346 stdio/gmp.h, stdio/longlong.h, stdio/mp_clz_tab.c,
5347 stdio/gen-mpn-copy: Files moved to stdlib.
5348 * stdio/Makefile: All mpn stuff moved to stdlib/Makefile.
5349 * stdlib/Makefile: All the mpn stuff moved here from stdio/Makefile.
5350 * stdio/printf_fp.c: Use ../stdlib to find fpioconst.h and gmp
5351 headers.
5352 * stdlib/strtod.c: Don't use ../stdio to find fpioconst.h and gmp
5353 headers.
5354
5355 * Makefile (parent-mostlyclean): Don't use $(libc.a).
5356 (parent-clean): Use $(objpfx) to find sysd-*.
5357 * Rules (generated): Append dummy.o dummy.c.
5358 * Makerules (lib): Depend on lib-noranlib.
5359 (lib-noranlib): Depend on $(install-lib) in objdir.
5360 (common-mostlyclean): Remove $(install-lib) and stub-$(subdir)
5361 from objdir. Don't remove TAGS; it comes in the distribution.
5362
5363 * malloc/malloc.c (morecore): Save errno around call to
5364 _realloc_internal. Don't account for the additional new blocks of
5365 the info table itself when choosing the new table size for the
5366 first crack; if it succeeds, the new blocks will have been found
5367 in existing free space already described by the existing info
5368 table.
5369
5370 * stdio/vfscanf.c (%n): Use READ_IN - 1, so as not to count the
5371 read-ahead character.
5372
5373 Sat Mar 18 14:07:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5374
5375 * hurd/dtable.c, hurd/getdport.c, hurd/hurd.h, hurd/hurdexec.c,
5376 hurd/hurdinit.c, hurd/hurdprio.c, hurd/hurdsock.c,
5377 hurd/ports-get.c, hurd/ports-set.c, hurd/setauth.c,
5378 hurd/setuids.c, sysdeps/mach/hurd/i386/trampoline.c:
5379 Get anal with unsigned to pacify compiler.
5380
5381 * stdio/vfscanf.c: Grok positional parameter specs (i.e. %3$d
5382 means %d from 3rd arg).
5383
5384 * sysdeps/mach/hurd/closedir.c: Include hurd/fd.h.
5385
5386 * stdlib/strtol.c: If !GROUP, set END to null. In loop, test only
5387 END, not GROUP.
5388
5389 Fri Mar 17 12:58:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5390
5391 * Makefile (subdirs): Put elf last.
5392
5393 * sunrpc/Makefile (install-lib): Variable removed.
5394 (rpcsvc-objs): Variable removed.
5395 (extra-objs): Don't include $(rpcsvc-objs).
5396 (extra-libs): New variable, contains librpcsvc.
5397 (librpcsvc-routines): New variable.
5398 (librpcsvc-inhibit-o): New variable, contains .so.
5399 (omit-deps): Set this to $(librpcsvc-routines).
5400 ($(objpfx)rpcgen): Don't use $(libc.a).
5401 (lib, $(objpfx)librpcsvc.a): Targets removed.
5402
5403 * o-iterator.mk, extra-lib.mk: New files.
5404 * Makerules (o-iterator): New variable.
5405 [extra-libs]: Include extra-lib.mk to generate rules for each word
5406 of $(extra-libs).
5407 * Makefile (distribute): Add extra-lib.mk, o-iterator.mk.
5408
5409 Fri Mar 17 13:28:04 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
5410
5411 * sysdeps/ieee754/ldbl2mpn.c (__mpn_extract_long_double):
5412 Handle 80-bit denormalized numbers correctly.
5413
5414 * stdlib/strtod.c, stdlib/strtof.c, stdlib/strtold.c:
5415 (IMPLICIT_ONE, *_MAX_10_EXP_LOG): Macros removed; no longer needed.
5416 * stdlib/strtod.c (RETURN): Add parentheses around return value.
5417 (round_and_return): Correct handling of denormalized numbers.
5418
5419 * stdio/fpioconst.c, stdio/fpioconst.h: Don't use
5420 LDBL_MAX_10_EXP_LOG; LAST_POW10 defines the maximal available
5421 exponent.
5422
5423 Thu Mar 16 00:04:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5424
5425 * locale/C-ctype.c: New correct data generated by drepper.
5426
5427 * Rules: Don't use $(libc.a).
5428
5429 Parsing of grouped numbers contributed by Ulrich Drepper.
5430 * stdlib/strtol.c (__strtol_internal): Renamed from strtol. Take
5431 new flag arg; if nonzero, parse locale-dependent thousands
5432 grouping and interpret only the prefix that is correctly grouped.
5433 (strtol): Define this to call _strtol_internal with zero for the flag.
5434 Use a weak symbol for the definition.
5435 * stdlib/strtod.c (strtod, __strtod_internal): Likewise.
5436 Check for the exponent of the number overflowing the float format.
5437 * stdlib/stdlib.h (__strtof, __strtold): Declarations removed.
5438 (__strto{f,d,ld,l,ul,q,uq}_internal): Declare these functions.
5439 [__OPTIMIZE__]: Define inline functions calling those.
5440 * stdlib/strtold.c (STRTOF): Set to strtold, not __strtold.
5441 (strtold): Remove weak alias.
5442 * stdlib/strtof.c (STRTOF): Set to strtof, not __strtof.
5443 (strtof): Remove weak alias.
5444 * stdlib/grouping.h: New file, written by drepper.
5445 * stdlib/Makefile (distribute): Add grouping.h.
5446 * stdio/vfscanf.c: Grok %' modifier to numeric conversions. Call
5447 __strtoX_internal with the grouping flag set iff the modifier is
5448 present.
5449
5450 Wed Mar 15 00:40:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5451
5452 * sysdeps/generic/memchr.c: Fix typos: limit.h -> limits.h.
5453
5454 * mach/Machrules: Produce static deps for all object flavors.
5455 [interface-library]: Remove all these variables and rules.
5456 ($(interface-library)-routines): Define this variable.
5457 (extra-libs): Append $(interface-library) to this.
5458 * mach/Makefile (interface-library): Omit .a suffix.
5459 * hurd/Makefile: Likewise.
5460
5461 Tue Mar 14 23:40:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5462
5463 * stdio/internals.c (flushbuf): If !FLUSH_ONLY, don't skip out
5464 early if no new data in buffer after priming.
5465
5466 Mon Mar 13 01:48:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5467
5468 * Makerules (object-suffixes, libtypes): Move all these variables
5469 to Makeconfig.
5470 * Makeconfig (object-suffixes, libtypes): Moved here from Makerules.
5471
5472 * Makerules (build-extra-lib): New canned sequence.
5473
5474 * sysdeps/mach/hurd/euidaccess.c: Include fcntl.h. Declare ERR;
5475 fix uses of FILE and PORT. Remove bogus weak alias for `access'.
5476
5477 * sysdeps/mach/hurd/dirfd.c: Include hurd/fd.h and errno.h.
5478 Add missing semicolon.
5479 * sysdeps/mach/hurd/opendir.c: Include hurd/fd.h. Use a `struct
5480 hurd_fd *' temp var, since DIRP->__fd is a `void *'.
5481 * sysdeps/mach/hurd/readdir.c: Include hurd/fd.h.
5482
5483 * stdlib/wcstombs.c: #if 0 out code for non-ASCII chars until the
5484 locale data format is implemented.
5485
5486 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5487 Pass &__sigreturn on the stack to the trampoline code, so it is
5488 not position-dependent.
5489
5490 * stdio/printf_fp.c (NDEBUG): Define this to disable assert.
5491 Don't include <stdarg.h>.
5492 (__printf_fp): Last arg ARGS is now `const void **const';
5493 dereference ARGS[0] instead of using va_arg.
5494
5495 * locale/setlocale.c: In LC_ALL case, initialize CATEGORY before
5496 loop to install data.
5497
5498 * locale/loadlocale.c (_nl_category_num_items): Use _NL_ITEM_INDEX
5499 to extract number from item code.
5500 (_nl_load_locale): Close the descriptor when finished.
5501
5502 * malloc/realloc.c (_realloc_internal): Call _malloc_internal in
5503 place of malloc.
5504
5505 * time/tzfile.c (__tzfile_default): Initialize RULE_STDOFF to zero.
5506
5507 * stdio/printf_fp.c (group_number): Cast *GROUPING to unsigned int
5508 to avoid warning.
5509 * sysdeps/generic/sigset.h (__SIGSETFN): Cast result of sizeof to
5510 int to avoid warning.
5511
5512 Support building several flavors of objects and libraries.
5513 * Makerules (libtypes, object-suffixes): New variables.
5514 (libtype.*, CFLAGS-*, CPPFLAGS-*): New variables for each object
5515 suffix.
5516 (CFLAGS, CPPFLAGS): Append $(C{,CPP}FLAGS-$(suffix $@)).
5517 (%.so, %.po, %.go): New compilation rules for %.S, %.s, %.c.
5518 (close-check-inhibit-asm): Append a semicolon.
5519 (sysd-rules): Generate rules for each object suffix.
5520 (compile.S, compile.c): Always assume gcc.
5521 (OUTPUT_OPTION): Define unconditionally.
5522 (+make-deps): In generated rule, produce a dependent for each
5523 object suffix.
5524 (.SUFFIXES): Add $(object-suffixes) in place of .o.
5525 (.PRECIOUS): Make all suffix flavors precious.
5526 ($(libc.a)): Target removed.
5527 (lib): Depend on each enabled libtype.
5528 (libobjs, objects, objs): Depend on all the enabled object flavors.
5529 (lib%.a): New pattern rule.
5530 [$(build-shared)=yes] (lib%.so: lib%_pic.a): New pattern rule.
5531 (stamp-$(subdir)): Rewritten to a pattern rule for stamp.%-$(subdir)
5532 to make one for each flavor; library dep rule likewise rewritten.
5533 ($(libc.a)(__.SYMDEF)): Target replaced with one target for each
5534 flavor.
5535 (symdef.%): New pattern rule; helper for __.SYMDEF targets.
5536 (installed-libcs): New variable.
5537 (install): Depend on that instead of
5538 $(libdir)/lib$(libprefix)$(libc-name).a;
5539 that file's rule rewritten to make each enabled libtype.
5540 (install-lib.so): New variable, filters lib%.so from $(install-lib).
5541 (install-lib): Filter out lib%.so after setting install-lib.so.
5542 [$(build-shared)=yes] (install): Install $(install-lib.so).
5543 (common-mostlyclean): Remove all flavors of objects.
5544 * Makefile ($(libc.a)(__.SYMDEF)): Target removed.
5545 [$(build-shared)=yes] (lib): Depend on $(common-objpfx)libc.so.
5546
5547 Sun Mar 12 18:21:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5548
5549 * sysdeps/stub/ulimit.c: Don't include gnu-stabs.h.
5550 * sysdeps/stub/pause.c: Likewise.
5551 * sysdeps/stub/time.c: Likewise.
5552
5553 * stdlib/mbtowc.c: #if 0 out code for non-ASCII chars until the
5554 locale data format is implemented.
5555 * stdlib/wctomb.c: Likewise.
5556
5557 * mach/Makefile ($(objpfx)errsystems.c): Reenable this rule; the
5558 gcc bug is fixed.
5559 * mach/errsystems.c: File removed.
5560
5561 * Makeconfig (libc.a): Variable removed.
5562 (+link): Don't use it.
5563
5564 * configure.in (AC_ARG_ENABLE calls): Use $enableval instead of
5565 assuming `yes'.
5566
5567 * malloc/malloc.h (_malloc_internal, _realloc_internal): Declare these.
5568 * malloc/realloc.c (_realloc_internal): Renamed from realloc;
5569 don't use __realloc_hook.
5570 (realloc): New function; call __realloc_hook ?: _realloc_internal.
5571 * malloc/malloc.c (_malloc_internal): Renamed from malloc;
5572 don't use __malloc_hook.
5573 (malloc): New function; call __malloc_hook ?: _malloc_internal.
5574 Changes from Germano Caronni <caronni@tik.ethz.ch>:
5575 (initialize): Set up _heaplimit to cover the _heapinfo table.
5576 (morecore_recursing): New static variable.
5577 (morecore): If that is set, return null immediately.
5578 When growing the info table, before getting new core from the
5579 system for it, set morecore_recursing and try moving _heapinfo
5580 with _realloc_internal. When that fails and we get new core, set
5581 _heaplimit to cover the core for the new _heapinfo table.
5582 (register_heapinfo): New function. Record the _heapinfo table's
5583 own blocks in that table and in the statistics variables.
5584 (initialize, _malloc_internal): Use it after allocating new table.
5585
5586 Fri Mar 10 22:26:28 1995 Jim Meyering (meyering@comco.com)
5587
5588 * sysdeps/generic/memchr.c: Remove ansidecl.h and clean up for use
5589 by other packages.
5590 [LONG_MAX <= LONG_MAX_32_BITS]: Don't compile 64-bit code.
5591
5592 Fri Mar 10 13:31:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5593
5594 * mach/errorlib.h (errors): Use const for decl.
5595
5596 * time/tzfile.c (uc2ul, _uc2ul): Macros removed.
5597 (decode): New inline function; decode signed 32-bit integers, and
5598 sign-extend properly when long is longer than 32 bits.
5599 (__tzfile_read): Changed all uses of uc2ul to decode.
5600 Decode the transition times properly when sizeof (time_t) > 4.
5601
5602 * stdio/printf.h: Doc fixes. Don't #include <stddef.h>.
5603 (printf_function): Make last arg ARGS a vector of pointers instead of a
5604 pointer to va_list.
5605
5606 Fri Mar 10 13:46:25 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
5607
5608 * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Use return value of _IO_padn.
5609 (buffered_vfprintf): Remove line buffer when flush failed.
5610
5611 Fri Mar 10 00:04:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5612
5613 * time/tzfile.c (struct ttinfo): New member `isgmt'.
5614 (__tzfile_read): Read isgmt flags for each type.
5615 (__tzfile_default): When using TZDEFRULES DST rules, adjust
5616 transition times according to the isstd and isgmt flags for the
5617 types of each transition, and adjust each transition to point to
5618 type index either 0 or 1. Reset type indices 0 and 1 to describe
5619 the user's settings.
5620
5621 Thu Mar 9 22:29:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5622
5623 * locale/categories.def (LC_CTYPE): Merge CLASS_EB and CLASS_EL
5624 into just CLASS. Add standard/optional flag to all items.
5625
5626 * locale/localeinfo.h (_NL_CURRENT_DEFINE): Fix typo.
5627
5628 * ctype/ctype.h [__BYTE_ORDER == __LITTLE_ENDIAN] (_ISbit):
5629 Rearrange defn to satisfy compiler.
5630
5631 * locale/localeinfo.h: Declare _nl_current.
5632
5633 * configure.in: Use AC_CHECK_TOOL for CC, AR, RANLIB. Accept args
5634 --enable-shared, --enable-profile, --enable-omitfp; pass settings
5635 through to config.make.
5636 * config.make.in (build-shared, build-profile, build-omitfp): New
5637 config vars.
5638
5639 * elf/elf.h (STN_UNDEF): Renamed to SHN_UNDEF (typo).
5640 (DT_NUM): New macro.
5641
5642 * locale/nl_langinfo.c: Include errno.h and stddef.h. Fix typos.
5643
5644 * locale/lc-ctype.c (_nl_postload_ctype): Fix macro insanity.
5645
5646 * locale/loadlocale.c (_nl_load_locale) [! MAP_COPY]: Define
5647 MAP_COPY to MAP_PRIVATE.
5648
5649 Thu Mar 9 17:16:53 1995 Brendan Kehoe (brendan@zen.org)
5650
5651 * sysdeps/alpha/divrem.m4: Undefine `ret' to avoid the definition
5652 that's used inside the alpha sysdep.h.
5653
5654 * sysdeps/alpha/__longjmp.c (__longjmp): Remove obsolete __NORETURN
5655 keyword.
5656 * sysdeps/alpha/__math.h (__copysign): Remove obsolete __CONSTVALUE.
5657
5658 * configure.in: Match `osf*', not `osf1*'.
5659 * configure: Likewise.
5660 * sysdeps/unix/bsd/osf: Renamed from `sysdeps/unix/bsd/osf1'.
5661
5662 Wed Mar 8 13:38:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5663
5664 * posix/glob/configure.bat: Fixes from DJ.
5665
5666 * time/backward, time/europe, time/northamerica, time/pacificnew,
5667 time/zdump.c, time/zic.c, time/tzfile.h, time/private.h,
5668 time/ialloc.c: Code and data updated from ADO's 95b.
5669 * time/emkdir.c: File removed.
5670 * time/Makefile (distribute, extra-objs, zic): Omit it.
5671
5672 * time/localtime.c: Deansideclized. Never #define __tzname et al
5673 to non-__ names.
5674
5675 * locale/lc-ctype.c (__ctype_tolower, __ctype_toupper): Use int *
5676 instead of short int *.
5677 * ctype/ctype-info.c: Likewise.
5678 * ctype/ctype.h: Likewise.
5679
5680 * locale/langinfo.h (_NL_CTYPE_CLASS): Use this (just one) instead
5681 of EB and EL versions.
5682
5683 Mon Mar 6 12:34:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5684
5685 * ctype/ctype.h (_ISbit): New macro, defined dependent on byte order.
5686 (_IS* enum): Use _ISbit to produce values.
5687
5688 Sun Mar 5 19:40:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5689
5690 * locale/localeinfo.h: Rewritten for new locale system, using
5691 locale data files and with <langinfo.h> interface.
5692 * locale/setlocale.c: Rewritten to use locale data files.
5693 * langinfo.h: New file.
5694 * locale/langinfo.h: New file.
5695 * locale/nl_langinfo.c: New file.
5696 * locale/loadlocale.c: New file.
5697 * locale/lc-ctype.c: New file.
5698 * locale/lc-messages.c: New file.
5699 * locale/lc-monetary.c: New file.
5700 * locale/lc-numeric.c: New file.
5701 * locale/lc-time.c: New file.
5702 * locale/categories.def: New file.
5703 * locale/Makefile (headers): Remove localeinfo.h.
5704 (distribute): New variable; put localeinfo.h here, and categories.def.
5705 (routines): Add loadlocale.
5706 (categories): New variable.
5707 (aux): Use that to get C-category and lc-category.
5708 * ctype/ctype.h (_IS*): Use independent bits for all but _ISalnum.
5709 * ctype/ctype-info.c: For initial tables, use
5710 _nl_C_LC_CTYPE_{class,toupper,tolower} constant tables defined in
5711 locale/C-ctype.c.
5712 * locale/C-ctype.c, locale/C-messages.c: New files.
5713 * locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c:
5714 Default "C" locale data updated for new locale system.
5715 * locale/C-collate.c: File removed.
5716 * locale/C-ctype_ct.c: File removed.
5717 * locale/C-ctype_mb.c: File removed.
5718 * locale/C-response.c: File removed.
5719 * locale/localeconv.c: Use _NL_CURRENT macro to access locale data.
5720 * stdio/printf_fp.c, stdio/vfprintf.c, stdio/vfscanf.c,
5721 stdlib/strtod.c, time/asctime.c, time/strftime.c:
5722 Include ../locale/localeinfo.h and use _NL_CURRENT macro to access
5723 locale data.
5724 * time/localtime.c: Don't include <localeinfo.h>.
5725 * time/tzset.c: Don't use locale items for default TZ value or
5726 "GMT" string (use "UTC").
5727
5728 * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Only call the function if
5729 WIDTH>0; update DONE.
5730
5731 * malloc/malloc.c (morecore): Fix last change to calculate by
5732 blocks instead of bytes.
5733
5734 Fri Mar 3 12:24:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5735
5736 * sysdeps/generic/sys/mman.h (__mmap, __munmap): Declare these.
5737 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
5738 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
5739 * sysdeps/unix/bsd/osf1/sys/mman.h: Likewise.
5740 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
5741 * sysdeps/stub/munmap.c (munmap): Rename to __munmap, add weak
5742 alias munmap.
5743 * sysdeps/unix/mman/munmap.S: Likewise.
5744 * sysdeps/mach/munmap.c: Likewise.
5745 * sysdeps/mach/hurd/mmap.c (mmap): Rename to __mmap, add weak
5746 alias mmap.
5747 * sysdeps/unix/mman/mmap.S: Likewise.
5748 * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
5749 * sysdeps/stub/mmap.c: Likewise.
5750
5751 * sysdeps/unix/bsd/setsid.c: Use __getpgid instead of __getpgrp.
5752
5753 * sysdeps/unix/dirfd.c: #undef dirfd before function defn.
5754
5755 Thu Mar 2 12:15:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5756
5757 * misc/search.h: Add missing semicolon.
5758
5759 * sysdeps/unix/dirfd.c: Fix typo.
5760
5761 * sysdeps/generic/sys/mman.h (mmap): Use __off_t instead of off_t
5762 in decl.
5763
5764 * stdio/vfscanf.c (%c): In no-assign case, fix loop to decrement
5765 WIDTH before test.
5766
5767 Wed Mar 1 00:57:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5768
5769 * stdlib/strtod.c: Fixes from drepper.
5770 [IMPLICIT_ONE]: New macro, one for IEEE754 formats.
5771 * stdlib/strtold.c [IMPLICIT_ONE]: New macro, 0.
5772 * stdlib/strtof.c [IMPLICIT_ONE]: New macro, 1.
5773
5774 * stdio/vfprintf.c: Correctly notice Z modifier.
5775
5776 * misc/search.h: New file.
5777 * misc/Makefile (headers): Add search.h.
5778 * misc/insremque.c: Include search.h.
5779 (struct qelem): Type removed.
5780
5781 Mon Feb 27 07:00:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5782
5783 * elf/libelf.h: New file.
5784 * elf/elf_hash.c: New file.
5785
5786 Sun Feb 26 15:51:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5787
5788 Changes from Germano Caronni <caronni@tik.ethz.ch>:
5789 * malloc/malloc.c (morecore): Account in NEWSIZE for the
5790 malloc_info structures for each new block.
5791
5792 Sat Feb 25 02:17:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5793
5794 * sysdeps/mach/hurd/kill.c: When the process has no message port
5795 registered and we have its task port, translate a few signals to
5796 task_suspend/task_resume/task_terminate.
5797
5798 Fri Feb 24 14:40:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5799
5800 * io/Makefile (routines): Add euidaccess.
5801 * sysdeps/mach/hurd/euidaccess.c: New file.
5802 * sysdeps/stub/euidaccess.c: New file.
5803 * posix/unistd.h [__USE_GNU] (euidaccess): Declare it.
5804
5805 * dirent/Makefile (routines): Add dirfd.
5806 * sysdeps/stub/dirfd.c: New file.
5807 * sysdeps/unix/dirfd.c: New file.
5808 * sysdeps/unix/dirstream.h (_DIR_dirfd): New macro.
5809 * dirent/dirent.h (dirfd): Declare new function. Define as macro
5810 _DIR_dirfd if that is defined.
5811 * sysdeps/mach/hurd/dirstream.h (DIR): Replace `__port' member
5812 with `void *__fd'.
5813 * sysdeps/mach/hurd/opendir.c: Use DIRP->__fd instead of DIRP->__port.
5814 Open the file with `open'; set FD_CLOEXEC on the fd.
5815 * sysdeps/mach/hurd/closedir.c: Likewise.
5816 * sysdeps/mach/hurd/readdir.c: Likewise.
5817 * sysdeps/mach/hurd/dirfd.c: New file.
5818
5819 * posix/Makefile (glob/configure): Do cvs commit if there is a CVS
5820 directory.
5821 (glob/ChangeLog): Likewise.
5822
5823 * locale/locale.h (LC_*): Use small integers instead of bit masks.
5824
5825 * stdio/bug4.c: Put temporary files in /tmp.
5826 * stdio/bug3.c: Likewise.
5827 * stdio/bug5.c: Likewise.
5828 * stdio/test-fseek.c: Likewise.
5829 * stdio/test-popen.c: Likewise.
5830
5831 Wed Feb 22 00:44:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5832
5833 * posix/glob/configure.in: Put AC_ISC_POSIX before AC_CONST.
5834
5835 * libc-symbols.h (weak_symbol): New macro.
5836
5837 * hurd/hurdsig.c (_hurd_internal_post_signal): Ignore preempter
5838 elts with null handlers.
5839
5840 * sysdeps/mach/hurd/i386/sigreturn.c: Restore the FPU state.
5841
5842 Tue Feb 21 21:53:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5843
5844 * stdlib/random.c (__srandom): Change algorithm used to populate
5845 the state array.
5846 (randtbl): Recomputed with new algorithm.
5847
5848 * sysdeps/sparc/Makefile [subdir=crypt] (crypt): Reset only if set
5849 to original value of `crypt'.
5850 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile [subdir=crypt]
5851 (crypt): New variable, set to crypt.solar.
5852
5853 Tue Feb 21 11:50:37 1995 Brendan Kehoe (brendan@zen.org)
5854
5855 * sysdeps/sparc/Makefile (routines): Reference `dotmul', not `mul'.
5856
5857 * config.h.in: Put comment around ^L to pacify Solaris as here too.
5858
5859 Tue Feb 21 00:10:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5860
5861 * string/Makefile (distribute): Add pagecopy.h.
5862 * sysdeps/mach/pagecopy.h: New file.
5863 * sysdeps/generic/pagecopy.h: New file.
5864 * sysdeps/generic/memcpy.c: Include pagecopy.h; call
5865 PAGE_COPY_FWD_MAYBE first when word aligned.
5866 * sysdeps/generic/memmove.c: Likewise.
5867
5868 * misc/bsd-compat.c (longjmp, setjmp): Functions removed.
5869 (getpgrp): Call __getpgid instead of __getpgrp.
5870
5871 * Makefile (subdirs): Add elf first.
5872 * elf/Makefile: New file.
5873 * elf/elf.h: New file.
5874
5875 * sysdeps/unix/start.c (errno): Only define if it's not #define'd
5876 as a macro.
5877 [! NO_UNDERSCORES]: Define `start' as a weak alias, not a symbol
5878 indirection.
5879
5880 * csu/Makefile (crtstuff): New variable consolidates crti, crtn;
5881 add crti_s, crtn_s.
5882 (install-lib, extra-objs, generated-, omit-deps): Use that.
5883 (initfini): New canned sequence, broken out of crt[in].s rule.
5884 (crt[in].s rule): Use it.
5885 (crt[in]_s.s): New rule.
5886 * csu/initfini.c (GLOBAL): New macro; define it to empty if undefined.
5887 (_init, _fini): Use GLOBAL as storage class.
5888 Add self reference to avoid GCC optimizing out the functions.
5889
5890 * Makefile (headers): Remove $(stddef.h).
5891 * Makeconfig (stddef.h): Variable removed; now require gcc version
5892 >= 2.2.
5893 * stddef.h: File removed.
5894
5895 Mon Feb 20 19:42:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5896
5897 * sysdeps/unix/bsd/ultrix4/mips/start.S: Remove `__environ'
5898 definition.
5899 * sysdeps/unix/bsd/osf1/alpha/start.S: Likewise.
5900
5901 * stdlib/strtod.c: Allow the string to start with a decimal point
5902 without a leading zero.
5903
5904 Mon Feb 20 04:04:57 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
5905
5906 * Makefile (subdirs): Put csu first.
5907
5908 * sysdeps/mach/hurd/start.c: Include unistd.h for __environ decl.
5909
5910 * Makeconfig [elf=yes] (+preinit, +postinit): New variables, set
5911 to crt[in].o.
5912 (csu-objpfx): New variable.
5913 (+link): Use it to find start.o and $(+preinit), $(+postinit).
5914
5915 * Rules (subdir_lib, all): Depend on objs.
5916
5917 * config.h.in [HAVE_ELF || HAVE_GNU_LD]: Define HAVE_WEAK_SYMBOLS.
5918
5919 * stdlib/strtod.c (PASTE, PASTE1): New helper macros; use these in
5920 access to float.h macros.
5921
5922 * misc/efgcvt.c: New file.
5923 * misc/Makefile (routines): Add efgcvt.
5924
5925 Sun Feb 19 20:10:43 1995 Brendan Kehoe <brendan@zen.org>
5926
5927 * sysdeps/sparc/mul.S: Renamed to `dotmul.S'.
5928 * sysdeps/sparc/Makefile (routines): Reference `dotmul.S', not `mul.S',
5929 to avoid a misreference that would override sysdeps/generic/mul.c.
5930 * sysdeps/sparc/Dist: Likewise.
5931
5932 Sun Feb 19 17:46:13 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
5933
5934 * posix/Makefile (aux): Add environ.
5935 * posix/environ.c: New file.
5936 * sysdeps/unix/sparc/start.c: Remove __environ definition.
5937 * sysdeps/unix/start.c: Likewise.
5938 * sysdeps/unix/sysv/irix4/start.c: Likewise.
5939 * sysdeps/mach/hurd/start.c: Likewise.
5940 * sysdeps/mach/start.c: Likewise.
5941 * sysdeps/stub/start.c: Likewise.
5942
5943 * sysdeps/unix/make_errlist.c: In produced program, test
5944 HAVE_WEAK_SYMBOLS instead of HAVE_GNU_LD.
5945 * sysdeps/unix/sysv/sysv4/dup2.c: Fix #include of renamed file.
5946 Remove extra weak alias.
5947
5948 * sysdeps/unix/sysv/sysv4/sigaltstack.S: Fix unsquashed file name
5949 in #include.
5950
5951 * libc-symbols.h: Put comment around ^L to pacify Solaris as.
5952
5953 * sysdeps/posix/Makefile (cded-objdir-includes): New variable
5954 replaced cded-objdir-CPPFLAGS; transform $(+includes) instead of
5955 $(CPPFLAGS).
5956 (mk-stdiolim): Use it instead.
5957
5958 Fri Feb 17 12:16:27 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
5959
5960 * mach/mach_init.c (__vm_page_size): Make it initialized. It does
5961 not work to make a weak alias to a bss symbol.
5962
5963 * stdio/Makefile (distribute): Remove mpn-copy.mk; add gen-mpn-copy.
5964 (tests): Add test-fwrite.
5965 * stdio/test-fwrite.c: New file.
5966
5967 * stdlib/stdlib.h [__USE_GNU]: Declare strtof, strtold, __strtof,
5968 __strtold.
5969
5970 * Makefile (autoconf-it): New canned sequence. Do cvs commit if
5971 there is a CVS directory.
5972 (configure, %/configure): Use $(autoconf-it) for cmds.
5973 * Make-dist: Likewise.
5974 * sysdeps/mach/hurd/Makefile (errlist.c, errnos.h): Do cvs commit
5975 if there is a CVS directory.
5976 * sysdeps/sparc/Makefile (divrem output): Likewise.
5977 * sysdeps/alpha/Makefile (divrem output): Likewise.
5978 * Makerules ($(gpl2lgpl)): Likewise.
5979
5980 * Makerules (rule to install lib%.a from $(install-lib)): Fix
5981 patsubst to elide ranlib for $(non-lib.a).
5982
5983 * stdio/tst-printf.c: Enable FP tests. Add some new tests from rfg.
5984
5985 Thu Feb 16 04:06:06 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
5986
5987 * sysdeps/mach/hurd/mig-reply.c: Add weak aliases to non-__ names.
5988 * mach/mig-dealloc.c: Add weak alias mig_deallocate.
5989
5990 Wed Feb 15 13:34:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5991
5992 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Take new arg
5993 DEALLOC_REFPORT; deallocate the refport after use only if it
5994 evaluates to nonzero.
5995 * sysdeps/mach/hurd/kill.c: Pass DEALLOC_REFPORT arg of one.
5996 * hurd/hurdkill.c: Pass DEALLOC_REFPORT arg of zero.
5997
5998 * hurd/hurdsig.c (abort_rpcs): Take new arg int *STATE_CHANGE; set
5999 *STATE_CHANGE to indicate whether or not we changed *STATE and it
6000 should be committed to the thread.
6001 (abort_all_rpcs): Take new arg LIVE; if nonzero and abort_rpcs changes
6002 state for a thread, do thread_set_state on that thread. Don't use
6003 SS->intr_port for collecting reply ports, it is not safe to
6004 clobber that when suspending; instead, alloca a temporary array.
6005 (_hurd_internal_post_signal): Pass LIVE flag to abort_all_rpcs:
6006 zero when dying, one when suspending. Pass new arg to abort_rpcs.
6007
6008 * sysdeps/mach/hurd/stdio_init.c: Don't lock the file descriptor;
6009 HURD_FD_PORT_USE will. Don't use critical sections around
6010 HURD_FD_PORT_USE invocations.
6011
6012 * sysdeps/mach/hurd/stdio_init.c: Don't make pipes/FIFOs unbuffered.
6013 * sysdeps/posix/stdio_init.c: Likewise.
6014
6015 Tue Feb 14 03:01:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6016
6017 * hurd/hurd/fd.h (_hurd_fd_get): Don't do critical section
6018 locking; don't leave the descriptor locked on return.
6019 (HURD_FD_PORT_USE): Don't expect _hurd_fd_get to return the fd locked.
6020 Use a critical section around locking the descriptor.
6021 Check for an empty descriptor and return EBADF.
6022 * sysdeps/mach/hurd/dup2.c: Likewise.
6023 * sysdeps/mach/hurd/fcntl.c: Likewise.
6024 Use HURD_FD_PORT_USE macro for RPCs.
6025 * sysdeps/mach/hurd/sysd-stdio.c: Don't lock the descriptor before
6026 using HURD_FD_PORT_USE.
6027 * sysdeps/mach/hurd/defs.c (init_stdio): Don't expect _hurd_fd_get
6028 to lock the descriptor.
6029 * sysdeps/mach/hurd/stdio_init.c: Use critical sections while
6030 locking the descriptor.
6031 * sysdeps/mach/hurd/fdopen.c: Likewise.
6032 * hurd/fd-close.c: Likewise.
6033 Don't expect the descriptor to be locked on entry.
6034 Check for empty descriptor and return EBADF.
6035
6036 Factor ctty RPC code for SIGTTIN/SIGTTOU generation out into
6037 new functions _hurd_ctty_input and _hurd_ctty_output, each
6038 called with (io_t port, io_t ctty, error_t (*rpc) (io_t)).
6039 * hurd/ctty-input.c: New file.
6040 * hurd/ctty-output.c: New file.
6041 * hurd/Makefile (dtable): Add ctty-input and ctty-output.
6042 * hurd/fd-read.c: Use _hurd_ctty_input.
6043 * hurd/fd-write.c: Use _hurd_ctty_output.
6044 * sysdeps/mach/hurd/ioctl.c: Likewise.
6045 * hurd/hurd/fd.h (_hurd_ctty_input, _hurd_ctty_output): Declare them.
6046
6047 Mon Feb 13 11:36:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6048
6049 * stdio/vfscanf.c (%e, %f, %g): Use strtod, __strtold, or __strtof
6050 as appropriate to the type.
6051
6052 * sysdeps/ieee754/huge_val.h (__huge_val_t): New macro to avoid
6053 repeating the union.
6054 (HUGE_VAL, __huge_val): Use it.
6055 [__USE_GNU] (HUGE_VALf, HUGE_VALl): New macros, along with
6056 analogous macros to HUGE_VAL's: __huge_val[fl]_t, __HUGE_VAL[fl]_bytes.
6057 * stdlib/strtold.c (FLOAT_HUGE_VAL): Define this to HUGE_VALl.
6058 (STRTOF): Set to __strtold; define strtold as weak alias.
6059 * stdlib/strtof.c (FLOAT_HUGE_VAL): Define this to HUGE_VALf.
6060 (STRTOF): Set to __strtof; define strtof as weak alias.
6061
6062 * sysdeps/ieee754/ieee754.h (union ieee754_float): New type.
6063 (IEEE754_FLOAT_BIAS): New macro.
6064
6065 * sysdeps/ieee754/mpn2ldbl.c: Fix typos.
6066
6067 * stdlib/testmb.c: Add tests from rfg for using normal chars as
6068 multibyte chars.
6069
6070 * hurd/hurdmalloc.c (malloc_init): Add self reference to avoid not
6071 only the `defined but not used' warning, but also to avoid GCC
6072 optimizing out the entire function (!).
6073
6074 * stdlib/wctomb.c: Include ctype.h.
6075
6076 * Makerules (install-lib-non.a): Don't include $(non-lib.a).
6077
6078 * hurd/hurdmalloc.c: Include string.h; #define bcopy using memcpy.
6079
6080 Sat Feb 11 04:05:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6081
6082 * stdio/printf_fp.c: Include "fpioconst.h".
6083 (_tens_p): Table moved to fpioconst.c, renamed to _fpioconst_pow10.
6084 (__printf_fp): All references changed.
6085 Don't bother computing THOUSANDS_SEP if GROUPING is empty.
6086 (group_number): Use memmove instead of memcpy, since operands overlap.
6087 * stdio/fpioconst.c: New file, tables broken out of stdio/printf_fp.c.
6088 * stdio/fpioconst.h: New file, header declaring the table data.
6089 * stdio/Makefile (aux): Add fpioconst.
6090 (distribute): Add fpioconst.h.
6091 * stdlib/strtod.c: Complete rewrite from drepper.
6092 * stdlib/strtof.c: New file.
6093 * stdlib/strtold.c: New file.
6094 * stdlib/Makefile (routines): Add strtof, strtold.
6095 * stdio/Makefile (routines): Add mpn2flt, mpn2dbl, mpn2ldbl.
6096 * sysdeps/stub/mpn2flt.c: New file.
6097 * sysdeps/stub/mpn2dbl.c: New file.
6098 * sysdeps/stub/mpn2ldbl.c: New file.
6099 * sysdeps/ieee754/mpn2flt.c: New file.
6100 * sysdeps/ieee754/mpn2dbl.c: New file.
6101 * sysdeps/ieee754/mpn2ldbl.c: New file.
6102
6103 * Makerules (install-lib.a): Don't filter out $(non-lib.a).
6104 ($(install-lib.a) in $(libdir) rule): Elide ranlib command when $@
6105 appears in $(non-lib.a).
6106
6107 Fri Feb 10 17:20:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6108
6109 * stdlib/wctomb.c: A normal ASCII character translates to itself.
6110 * stdlib/mbtowc.c: Likewise.
6111
6112 Thu Feb 9 03:55:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6113
6114 * setjmp/setjmp.h (longjmp, _longjmp, __longjmp, siglongjmp):
6115 Remove `const' from prototypes.
6116 * sysdeps/m68k/__longjmp.c: Likewise.
6117 * setjmp/longjmp.c: Likewise.
6118 * sysdeps/i386/__longjmp.c: Likewise.
6119
6120 * sysdeps/posix/tempname.c: Increment *IDX at beginning of loop,
6121 so when we return a name, it is incremented past the value that
6122 produces that same name.
6123
6124 * stdio/fgets.c (fgets): Change `size_t' to `int' in prototype. Sigh.
6125 * stdio/stdio.h (fgets): Likewise.
6126
6127 * stdio/vfprintf.c (printf_unknown): Print ' for INFO->group flag.
6128
6129 * hurd/fd-write.c: Don't clobber ERR with the msg_sig_post call
6130 when it's EBACKGROUND; we need to notice that it is EBACKGROUND
6131 and retry the RPC.
6132 * hurd/fd-read.c: Likewise.
6133
6134 Wed Feb 8 05:01:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6135
6136 * sysdeps/mach/sysdep.h (FATAL_PREPARE_INCLUDE): New macro, set to
6137 <mach/mig_support.h>.
6138 * assert/assert-perr.c [FATAL_PREPARE_INCLUDE]: Include it.
6139 * assert/assert.c: Likewise.
6140 * sysdeps/posix/libc_fatal.c: Likewise.
6141
6142 Tue Feb 7 12:17:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6143
6144 * stdio/stdio.h [__STRICT_ANSI__] (stdin, stdout, stderr): Define
6145 as macros, to satisfy ANSI pedants.
6146
6147 * stdio/internals.c (flushbuf): When there is no new data after
6148 priming the stream, return without writing out the buffer.
6149 * stdio/Makefile (tests): Add bug7.
6150 * stdio/bug7.c: New file.
6151
6152 * io/sys/stat.h (S_IFIFO, S_IFLNK, S_IFSOCK, S_ISFIFO, S_ISLNK,
6153 S_ISSOCK): Define only if the corresponding underlying __S_IF* macro
6154 is defined.
6155
6156 * stdio/getdelim.c: Decrement COPY after getting a char from __fillbf.
6157
6158 * stdio/Makefile (tests): Add errnobug.
6159 * stdio/errnobug.c: New file.
6160
6161 * mach/mig_strncpy.c: Include string.h.
6162
6163 * sysdeps/mach/sysdep.h: Don't #include <mach/mig_support.h>. Its
6164 inlines cause trouble for files defining global register variables.
6165
6166 * stdio/vfprintf.c: Use _strerror_internal for %m.
6167
6168 * sysdeps/ieee754/dbl2mpn.c: Fixes from drepper for 64-bit limbs.
6169
6170 * stdio/printf.h (struct printf_info): New member `group', for %' flag.
6171 * stdio/printf-prs.c (parse_printf_format): Grok %' flag and set flag.
6172 * stdio/vfprintf.c (group_number): New function.
6173 (vfprintf): Support %' flag for integer formats, by calling
6174 group_number after formatting the number in WORK.
6175 * stdio/printf_fp.c (guess_grouping, group_number): New functions.
6176 (__printf_fp): Implement `group' flag using them.
6177
6178 * Makefile (include sysd-dirs): Protect with ifndef avoid-generated.
6179 (parent-clean): Remove sysd-rules, not sysdirs.
6180 (distclean): Pass avoid-generated=yes to submake.
6181 (distclean-1): Remove $(sysdep-$(distclean-1)).
6182
6183 * Makerules (objects, objs): Depend on $(extra-objs) too.
6184 (include sysd-Makefile): Protect with ifndef avoid-generated.
6185
6186 * Makeconfig (+defines, +gnu-stabs, gnu-as): Variables removed.
6187 (CPPFLAGS): Use $(defines) in place of $(+defines).
6188 Replace -D_LIBC with -include $(..)libc-symbols.h.
6189
6190 * stdio/freopen.c: Set seen bit before calling fclose.
6191
6192 Mon Feb 6 18:34:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6193
6194 * sysdeps/mach/hurd/setpriority.c: Keep track of numbers of
6195 successes and each kind of failure. Return EPERM or EACCES only
6196 if every task failed that way.
6197
6198 * sysdeps/mach/hurd/getpriority.c: Handle out of band buffers
6199 correctly.
6200
6201 * sysdeps/mach/hurd/ptrace.c (PTRACE_ATTACH, PTRACE_DETACH): Stop
6202 or resume the process after frobbing.
6203
6204 * hurd/hurdsig.c: Use spin lock operations on sigstate locks
6205 throughout.
6206 (_hurd_thread_sigstate): Don't lock the sigstate lock.
6207 (_hurd_internal_post_signal): New subfunction `mark_pending'; replace
6208 repeated sequences with calls to it. Don't expect the sigstate
6209 lock to be held on entry; lock it just before examining sigaction.
6210 In handler case, check SS->critical_section after calling
6211 abort_rpcs; if set, mark the signal pending and resume the thread.
6212 * hurd/hurd/signal.h (_hurd_self_sigstate_unlocked): Function removed.
6213 (_hurd_self_sigstate): Don't lock the sigstate lock.
6214 (HURD_EINTR_RPC): Call _hurd_self_sigstate instead of
6215 _hurd_self_sigstate_unlocked.
6216 * hurd/msgportdemux.c: Don't expect _hurd_self_sigstate to lock
6217 the sigstate lock.
6218 * hurd/hurdexec.c: Use spin lock operations on sigstate lock.
6219 Don't expect _hurd_self_sigstate to lock it. Fix critical section
6220 locking.
6221 * hurd/hurd-raise.c: Likewise.
6222 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
6223 * sysdeps/mach/hurd/sigpending.c: Likewise.
6224 * sysdeps/mach/hurd/sigaltstack.c: Likewise.
6225 * sysdeps/mach/hurd/sigaction.c: Likewise.
6226 * sysdeps/mach/hurd/sigprocmask.c: Likewise.
6227 * hurd/fd-write.c: Likewise.
6228 * hurd/fd-read.c: Likewise.
6229 * sysdeps/mach/hurd/ioctl.c: Likewise.
6230 * sysdeps/mach/hurd/fork.c: Likewise.
6231 * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
6232 * sysdeps/mach/hurd/mips/sigreturn.c: Likewise.
6233 * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise.
6234 * hurd/hurdmsg.c (get_int): Likewise.
6235
6236 * stdio/vfprintf.c: Include stddef.h. Fix typos in libio code.
6237
6238 * stdio/vfprintf.c (__pad): Function renamed to __printf_pad, made
6239 global.
6240 (PAD): Caller changed.
6241 * stdio/printf_fp.c (__pad): Function removed.
6242 (PAD): Use __printf_pad instead.
6243
6244 Sun Feb 5 17:59:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6245
6246 Merged new FP printer by Ulrich Drepper.
6247 * stdio/printf_fp.c: Rewrite by drepper.
6248 * stdio/Makefile (routines): Add ldbl2mpn.
6249 * sysdeps/ieee754/ieee754.h (union ieee754_double): Add `ieee_nan'
6250 member.
6251 (union ieee854_long_double): New type, from drepper.
6252 (IEEE754_DOUBLE_BIAS, IEEE854_LONG_DOUBLE_BIAS): New macros.
6253 * sysdeps/ieee754/ldbl2mpn.c: New file, by drepper.
6254 * sysdeps/stub/ldbl2mpn.c: New file.
6255 * math/Makefile (routines): Add isinfl and isnanl.
6256 * sysdeps/ieee754/isinfl.c: New file.
6257 * sysdeps/stub/isinfl.c: New file.
6258 * sysdeps/ieee754/isnanl.c: New file.
6259 * sysdeps/stub/isnanl.c: New file.
6260
6261 * malloc/malloc.c (__malloc_extra_blocks): New variable.
6262 (malloc): When getting more core, get __malloc_extra_blocks extra;
6263 put the new block at the end of the free list and let the next loop
6264 iteration use the initial portion of it.
6265 * malloc/free.c (_free_internal): Account for twice
6266 __malloc_extra_blocks in deciding if we have so much extra memory
6267 we should return it to the system.
6268 * malloc/malloc.h (__malloc_extra_blocks): Declare it.
6269 * posix/glob.c (prefix_array, glob_pattern_p): Remove gratuitous
6270 const in parameter decl.
6271
6272 * sysdeps/unix/mips/sysdep.h (ENTRY): Add `.ent' directive.
6273
6274 Fri Feb 3 18:15:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6275
6276 * munch.awk (EXTERNS): Print decls using __P instead of EXFUN.
6277
6278 * sysdeps/mips/setjmp_aux.c: Use ENV[0].__jmpbuf[0].
6279 * sysdeps/mips/bsd-_setjmp.S: Use `li' insn instead of `move'.
6280 * sysdeps/mips/bsd-setjmp.S: Likewise.
6281 * sysdeps/mips/__longjmp.c: Remove obsolete __NORETURN keyword.
6282 * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
6283 Use `long int' for sigcode. Use explicit register numbers instead
6284 of names.
6285 (_hurdsig_rcv_interrupted_p): Use _hurdsig_catch_fault.
6286 * sysdeps/mach/hurd/mips/exc2signal.c: Use `long int' for sigcode.
6287
6288 Thu Feb 2 20:06:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6289
6290 * hurd/hurdmalloc.c: Remove bogus bcopy decl.
6291
6292 * mach/mig_strncpy.c: Add missing `const' in prototype. Rewritten
6293 using __stpncpy.
6294
6295 * io/ftw.c (ftw, ftw_dir): Treat ENOENT from stat like EACCES.
6296
6297 * stdio/vfprintf.c: Set PREC to zero for %. without following digit.
6298
6299 Tue Jan 31 13:49:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6300
6301 * mach/mig_strncpy.c: Include mach.h instead of string.h. Use
6302 vm_size_t instead of size_t for arg and return types.
6303
6304 * mach/mach_init.c: Don't declare __mig_init; mach/mig_support.h
6305 already does.
6306
6307 Mon Jan 30 00:33:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6308
6309 * set-hooks.h (RUN_HOOK): Dereference PTR properly.
6310
6311 * configure.in (friendly stddef.h check): Write override defn for
6312 `stddef.h' Make variable.
6313 (AC_LINK_FILES): Use `echo ...` to avoid " " appearing nonempty.
6314
6315 * configure.in (host_os=sysv4*|solaris2*): Set elf=yes.
6316
6317 * Rules ($(objpfx)dummy.o): Write an empty function, not just an
6318 empty file.
6319
6320 * sysdeps/sparc/Makefile (sysdep-realclean): New variable.
6321
6322 Sat Jan 28 03:38:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6323
6324 * Makefile (distribute): Remove gnu-stabs.h; add libc-symbols.h.
6325
6326 * sysdeps/mach/sysdep.h [ASSEMBLER]: Protect include of
6327 mach/machine/syscall_sw.h with this.
6328
6329 Fri Jan 27 18:33:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6330
6331 * hurd/hurd/signal.h: Include <hurd/msg.h>, and <spin-lock.h>
6332 instead of <lock-intern.h>.
6333 (struct hurd_sigstate): Member `lock' changed to a `spin_lock_t'.
6334 (_hurd_critical_section_lock): Use spin lock operators.
6335 Don't hold the sigstate lock, unlock it after setting the flag.
6336 (_hurd_critical_section_unlock): Take the sigstate lock
6337 to clear the flag; while holding it, check pending signals. After
6338 unlocking, sig_post ourselves if there were pending signals.
6339
6340 * hurd/catch-exc.c (_S_catch_exception_raise): Don't take the
6341 sigstate lock. If it is locked, clear SS->critical_section and
6342 SS->context, and unlock it.
6343
6344 * sysdeps/mach/sysdep.h (EXT, LEXT): New macros.
6345
6346 * set-init.c (__libc_init) [HAVE_ELF]: Run _init and atexit (_fini).
6347 * munch-tmpl.c: Likewise.
6348
6349 * mach/Makefile (routines): Don't filter out syscall_% from
6350 $(mach-syscalls).
6351
6352 Fri Jan 27 17:53:49 1995 Jim Meyering (meyering@comco.com)
6353
6354 * posix/fnmatch.c: Declare errno if it's not defined.
6355 That's simpler than testing #if !defined(__GNU_LIBRARY__)
6356 && !defined(STDC_HEADERS).
6357
6358 Fri Jan 27 15:40:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6359
6360 * csu/Makefile: New file.
6361 * csu/initfini.c: New file.
6362 * Makefile (+other_dirs): Add csu.
6363 (+init): Variable renamed to libc-init. All references changed.
6364 (aux): Remove start.
6365 (install-lib): Variable removed.
6366 (crt0.o, Mcrt1.o crt1.o): Targets removed.
6367
6368 * mach/Machrules (static deps of RPC_*.o): Add $(..)libc-symbols.h
6369 and $(objpfx)config.h.
6370 (static deps of RPC alias *.o): Removed.
6371
6372 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h [ASSEMBLER]:
6373 Protect macros with this.
6374 * sysdeps/unix/bsd/osf1/alpha/sysdep.h: Likewise.
6375 * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
6376 * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
6377 * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
6378 * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
6379 * sysdeps/unix/mips/sysdep.h: Likewise.
6380
6381 Thu Jan 26 00:02:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6382
6383 * Makerules (compile.[Sc]): Match gcc in $(CC) better.
6384 (BUILD_CFLAGS): Instead of $(config-defines), use -include config.h.
6385
6386 * hurd/intr-rpc.awk: Emit weak alias.
6387
6388 * sysdeps/unix/bsd/sun/sunos4/wait4.c: Call getpgrp instead of
6389 __getpgrp.
6390
6391 * sysdeps/unix/bsd/hp/m68k/sysdep.h [ASSEMBLER]: Protect macros with
6392 this.
6393 * sysdeps/unix/i386/sysdep.h: Likewise.
6394 * sysdeps/unix/sparc/sysdep.h: Likewise.
6395
6396 * io/ftw.c: Avoid `ret' as variable name.
6397 * posix/glob.c: Likewise.
6398
6399 * ctype/ctype.h (_ISalpha): Define as its own bit.
6400 * locale/C-ctype_ct.c (__ctype_b_C): Set _ISalpha bit in all letters.
6401
6402 * stdlib/exit.c [HAVE_GNU_LD]: Protect #include "set-hooks.h" and
6403 DEFINE_HOOK with this.
6404
6405 Wed Jan 25 00:45:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6406
6407 * hurd/hurdinit.c: Use DECLARE_HOOK instead of `extern DEFINE_HOOK'.
6408 * mach/spin-solid.c (spin_lock_solid): Define as weak alias to __name.
6409 * mach/shortcut.awk: Emit weak alias.
6410 * mach/spin-lock.c: Add weak aliases for all spin-lock.h functions.
6411 * mach/mach_init.c (mach_init, vm_page_size): Defin weak aliases for
6412 __ names.
6413 * mach/Makefile (lock): Remove spin-syms.
6414 (routines): Remove __ names, vm_page_size, msgserver_t.
6415 ($(mach-syscalls) rule): Generate files without __, add weak alias.
6416 Remove symbol alias file rule.
6417 ($(mach-shortcuts) rule): Likewise.
6418 [!mach-shortcuts] (user-interfaces): Filter out mach/mach4 too.
6419 * mach/Machrules (if-calls.c): Variable and rule removed.
6420 (interface-headers): Don't add $($(if)-calls).
6421 (transform-user-stub): Define to add weak alias.
6422 * set-hooks.h: Use new libc-symbols.h set access macros.
6423 * time/Makefile (routines): Remove __ names.
6424 (aux): Variable removed.
6425 * hurd/Makefile: Likewise.
6426 * sysdeps/unix/start.c (environ): Define as weak alias for __environ.
6427 (data_start): Define as weak alias for __data_start.
6428 * sysdeps/mach/hurd/start.c: Likewise.
6429 * sysdeps/unix/sparc/start.c: Likewise.
6430 * sysdeps/unix/make_errlist.c: Emit weak aliases for sys_nerr and
6431 sys_errlist.
6432 * sysdeps/mach/hurd/errlist.awk: Likewise.
6433 * sysdeps/unix/bsd/osf1/alpha/start.S (environ): Define as weak
6434 alias for __environ.
6435 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
6436 * sysdeps/stub/setdomain.c: Use new stub_warning macro.
6437 * sysdeps/stub/getdomain.c: Likewise.
6438 * sysdeps/stub/vhangup.c: Likewise.
6439 * sysdeps/stub/swapon.c: Likewise.
6440 * sysdeps/stub/sendmsg.c: Likewise.
6441 * sysdeps/stub/recvmsg.c: Likewise.
6442 * sysdeps/stub/acct.c: Likewise.
6443 * sysdeps/stub/isinf.c: Likewise. Add weak alias isinf for __isinf.
6444 * sysdeps/mach/hurd/_exit.c: Remove obsolete __NORETURN keyword.
6445 * sysdeps/posix/libc_fatal.c: Likewise.
6446 * sysdeps/i386/abort.c: Likewise.
6447 * sysdeps/i386/__longjmp.c: Likewise.
6448 * sysdeps/generic/make_siglist.c: Emit defn always for
6449 _sys_siglist. Emit weak alias to sys_siglist.
6450 * sysdeps/generic/atan.c: Remove obsolete __CONSTVALUE keyword.
6451 * sysdeps/ieee754/log10.c: Likewise.
6452 * time/difftime.c: Likewise.
6453 * stdlib/random.c (srand): Define as weak alias for __srandom.
6454 * stdlib/exit.c: Remove obsolete __NORETURN keyword. Use set-hooks
6455 macros for __libc_atexit.
6456 * stdlib/Makefile (routines): Remove __random, srand.
6457 * stdio/gets.c: Use new link_warning macro instead of old
6458 warn_references.
6459 * stdio/Makefile (routines): Remove __ names.
6460 (aux): Remove syms-stdio.
6461 * socket/Makefile (routines): Added e on getpeernam and getsocknam.
6462 * setjmp/longjmp.c: Remove obsolete __NORETURN keyword.
6463 * setjmp/Makefile (routines): Remove _longjmp, siglongjmp.
6464 * setjmp/setjmp.h: Replace __NORETURN keyword with __attribute__ uses.
6465 * stdio/stdio.h: Likewise.
6466 * misc/Makefile (routines): Remove __ names.
6467 (aux): Remove data_start.
6468 * sysdeps/mach/hurd/defs.c: Don't include gnu-stabs.h.
6469 * sysdeps/mach/hurd/brk.c: Likewise.
6470 * hurd/hurdid.c: Likewise.
6471 * hurd/hurdpid.c: Likewise.
6472 * hurd/openport.c: Likewise.
6473 * hurd/hurdsock.c: Likewise.
6474 * hurd/hurdsig.c: Likewise.
6475 * hurd/hurdrlimit.c: Likewise.
6476 * hurd/hurdmalloc.c: Likewise.
6477 * hurd/dtable.c: Likewise.
6478 * hurd/setauth.c: Likewise.
6479 * misc/progname.c: Likewise.
6480 * misc/init-misc.c: Likewise.
6481 * sysdeps/generic/vfork.c: Likewise.
6482 * sysdeps/unix/bsd/init-posix.c: Likewise.
6483 * math/math.h: Replace __CONSTVALUE keyword with __attribute__ uses.
6484 * time/time.h: Likewise.
6485 * math/Makefile (routines): Remove __ names.
6486 * io/Makefile: Likewise.
6487 * termios/Makefile: Likewise.
6488 * resource/Makefile: Likewise.
6489 * signal/Makefile: Likewise.
6490 * dirent/Makefile: Likewise.
6491 * assert/assert.h: Replace __NORETURN keyword with __attribute__
6492 uses. Functions return void and macros deal with this.
6493 * assert/assert-perr.c: Remove obsolete __NORETURN keyword.
6494 Return void. Don't include gnu-stabs.h.
6495 * assert/assert.c: Likewise.
6496 * posix/Makefile (routines): Remove __ names, setpgrp. Add
6497 getpgid.
6498 (aux): Remove environ.
6499 * stdlib/stdlib.h (abort, exit): Replace __NORETURN keyword with
6500 __attribute__ use.
6501 * posix/unistd.h (_exit): Likewise.
6502 (__getpgrp, __setpgrp): Declarations removed.
6503 (__getpgid, getpid): Declare these.
6504
6505 * configure.in (host_os=gnuelf|linuxelf): Set elf=yes. Do AC_SUBST
6506 for gnu_ld, gnu_as, elf, and weak. Call AC_LINK_FILEES on
6507 $libc_link_{sources,dests}.
6508 * sysdeps/unix/configure.in: Remove __ from file names. Don't
6509 create files, just add to libc_link_{dests,sources}.
6510
6511 * config.make.in (gnu-as, gnu-ld, elf, weak-symbols): New variables.
6512
6513 * config.h.in: Add #undefs used by sysdeps configures.
6514
6515 * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Removed
6516 __setpgid, __getpgid.
6517 * sysdeps/unix/sysv/sco3.2.4/setpgid.c: Included file was renamed
6518 from setpgrp.c.
6519 * sysdeps/unix/sysv/sco3.2.4/getpgid.c: Included file was renamed
6520 from __getpgrp.c.
6521 * sysdeps/unix/bsd/getpgrp.c: File removed.
6522 * sysdeps/generic/getpgrp.c: Moved from sysdeps/stub/getpgrp.c.
6523 Call __getpgid with zero.
6524 * sysdeps/stub/setpgid.c: Renamed __setpgrp to __setpgid, added
6525 weak aliases setpgid and setpgrp.
6526 * sysdeps/unix/sysv/irix4/setpgid.S: Likewise.
6527 * sysdeps/unix/common/setpgid.S: Likewise.
6528 * sysdeps/mach/hurd/setpgid.c: Likewise.
6529 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
6530 Use subcall 5 to __pgrpsys.
6531 * sysdeps/stub/getpgid.c: Renamed __getpgrp to __getpgid, added
6532 weak alias getpgid.
6533 * sysdeps/mach/hurd/getpgid.c: Likewise.
6534 * sysdeps/unix/sysv/irix4/getpgid.S: Likewise.
6535 * sysdeps/unix/common/getpgid.S: Likewise.
6536 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
6537 Use subcall 4 to __pgrpsys.
6538 * sysdeps/stub/__getpgrp.c: Renamed to getpgid.c.
6539 * sysdeps/unix/sysv/sysv4/__getpgrp.c: Renamed to getpgid.c.
6540 * sysdeps/unix/sysv/sco3.2.4/__getpgrp.c: Renamed to getpgid.c.
6541 * sysdeps/unix/sysv/irix4/__getpgrp.S: Renamed to getpgid.S.
6542 * sysdeps/unix/common/__getpgrp.S: Renamed to getpgid.S.
6543 * sysdeps/mach/hurd/__getpgrp.c: Renamed to getpgid.c.
6544 * sysdeps/stub/setpgrp.c: Renamed to setpgid.c.
6545 * sysdeps/unix/sysv/sysv4/setpgrp.c: Renamed to setpgid.c.
6546 * sysdeps/unix/sysv/sco3.2.4/setpgrp.c: Renamed to setpgid.c.
6547 * sysdeps/unix/sysv/irix4/setpgrp.S: Renamed to setpgid.S.
6548 * sysdeps/unix/common/setpgrp.S: Renamed to setpgid.S.
6549 * sysdeps/mach/hurd/setpgrp.c: Renamed to setpgid.c.
6550
6551 * sysdeps/unix/bsd/hp/m68k/getdents.S: Included file was renamed
6552 from __getdents.S.
6553
6554 * sysdeps/posix/defs.c: Don't include gnu-stabs.h.
6555 * sysdeps/stub/sigpending.c: Use new libc-symbols.h macro for stub
6556 warning.
6557 * sysdeps/stub/fexecve.c: Likewise.
6558 * sysdeps/stub/fchdir.c: Likewise.
6559 * sysdeps/stub/fchflags.c: Likewise.
6560 * sysdeps/stub/chflags.c: Likewise.
6561
6562 * sysdeps/m68k/__longjmp.c: Remove __NORETURN; it's obsolete.
6563 * sysdeps/generic/abort.c: Likewise.
6564 * sysdeps/ieee754/ldexp.c: Remove __CONSTVALUE; it's obsolete.
6565
6566 * hurd/hurdioctl.c: Include hurd/ioctl.h.
6567 (_hurd_ioctl_handler_lists): Define this set.
6568 (_hurd_lookup_ioctl_handler): New function.
6569 * hurd/hurd/fd.h: ioctl handler stuff moved to hurd/ioctl.h.
6570 * hurd/hurd/ioctl.h: New file, broken out of hurd/fd.h.
6571 (_hurd_lookup_ioctl_handler): Declare it.
6572 (ioctl_handler_t): New typedef. Use it throughout.
6573 * sysdeps/mach/hurd/ioctl.c: Include hurd/ioctl.h.
6574 (_hurd_ioctl_handler_lists): Don't define.
6575 (__ioctl): Call _hurd_lookup_ioctl_handler.
6576
6577 * stdlib/strtol.c (maxquad): Make this const.
6578 [__GNUC__ == 2 && __GNUC_MINOR__ < 7]: Only use maxquad in this case.
6579
6580 * posix/glob/configure.in: Put AC_AIX and AC_MINIX early, before
6581 any compile tests.
6582
6583 * sysdeps/mach/hurd/setitimer.c (timer_thread): Call
6584 __msg_sig_post_request, not __sig_post_request.
6585
6586 * misc/getusersh.c: Renamed to getusershell.c.
6587 * sysdeps/stub/sethostnam.c: Renamed to sethostname.c.
6588 * sysdeps/unix/inet/sethostnam.S: Renamed to sethostname.S.
6589 * sysdeps/unix/sysv/sysv4/sethostnam.c: Renamed to sethostname.c.
6590 * sysdeps/mach/hurd/sethostnam.c: Renamed to sethostname.c.
6591
6592 Tue Jan 24 00:14:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6593
6594 * sysdeps/stub/settod.c: Renamed to settimeofday.c.
6595 * sysdeps/unix/bsd/settod.S: Renamed to settimeofday.c.
6596 * sysdeps/unix/sysv/settod.c: Renamed to settimeofday.c.
6597 * sysdeps/mach/hurd/settod.c: Renamed to settimeofday.c.
6598 * sysdeps/stub/setitmr.c: Renamed to setitimer.c.
6599 * sysdeps/unix/common/setitmr.S: Renamed to setitimer.S.
6600 * sysdeps/mach/hurd/setitmr.c: Renamed to setitimer.c.
6601 * sysdeps/posix/fpathcon.c: Renamed to fpathconf.c.
6602 * sysdeps/stub/fpathcon.c: Renamed to fpathconf.c.
6603 * sysdeps/unix/sysv/irix4/fpathcon.c: Renamed to fpathconf.c.
6604 * sysdeps/stub/getprio.c: Renamed to getpriority.c.
6605 * sysdeps/unix/sysv/irix4/getprio.c: Renamed to getpriority.c.
6606 * sysdeps/unix/common/getprio.S: Renamed to getpriority.S.
6607 * sysdeps/mach/hurd/getprio.c: Renamed to getpriority.c.
6608 * sysdeps/stub/setprio.c: Renamed to setpriority.c.
6609 * sysdeps/unix/sysv/irix4/setprio.c: Renamed to setpriority.c.
6610 * sysdeps/unix/common/setprio.S: Renamed to setpriority.S.
6611 * sysdeps/mach/hurd/setprio.c: Renamed to setpriority.c.
6612 * sysdeps/stub/getpeernam.c: Renamed to getpeername.c.
6613 * sysdeps/unix/inet/getpeernam.S: Renamed to getpeername.S.
6614 * sysdeps/unix/sysv/linux/getpeernam.S: Renamed to getpeername.S.
6615 * sysdeps/mach/hurd/getpeernam.c: Renamed to getpeername.c.
6616 * sysdeps/stub/getsocknam.c: Renamed to getsockname.c.
6617 * sysdeps/unix/inet/getsocknam.S: Renamed to getsockname.S.
6618 * sysdeps/unix/sysv/linux/getsocknam.S: Renamed to getsockname.S.
6619 * sysdeps/mach/hurd/getsocknam.c: Renamed to getsockname.c.
6620 * sysdeps/stub/sigaltstk.c: Renamed to sigaltstack.c.
6621 * sysdeps/unix/bsd/bsd4.4/sigaltstk.S: Renamed to sigaltstack.S.
6622 * sysdeps/unix/sysv/sysv4/sigaltstk.S: Renamed to sigaltstack.S.
6623 * sysdeps/mach/hurd/sigaltstk.c: Renamed to sigaltstack.c.
6624
6625 * sysdeps/mach/hurd/i386/sigreturn.c: Call __msg_sig_post instead
6626 of __sig_post.
6627 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
6628 * sysdeps/mach/hurd/kill.c: Likewise.
6629 * sysdeps/mach/hurd/sigprocmask.c: Likewise.
6630
6631 * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Macros removed.
6632 [!__GNUC__ || __GNUC__<2] (__attribute__): Define to empty.
6633
6634 * sysdeps/stub/remove.c: New file.
6635 * sysdeps/posix/remove.c: New file.
6636
6637 Mon Jan 23 03:26:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6638
6639 * time/mktime.c [weak_alias] (timelocal): Define as weak alias for
6640 mktime.
6641 * mach/mig_strncpy.c (mig_strncpy): Define as weak alias for
6642 __mig_strncpy.
6643 * mach/msg-destroy.c: Renamed from __msg_dest.c.
6644 (mach_msg_destroy): Define as weak alias for __mach_msg_destroy.
6645 * mach/setup-thread.c (mach_setup_thread): Define as weak alias.
6646 * time/tzset.c (tzname, daylight, timezone): Define as weak
6647 aliases for __ names.
6648 * hurd/hurdkill.c (hurd_sig_post): Define as weak alias.
6649 * hurd/hurdlookup.c: Add weak aliases for non-__ names.
6650 * Makefile (+init): Test $(gnu-ld)=yes, not for $(+gnu-stabs)
6651 being defined.
6652
6653 Sun Jan 22 15:19:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6654
6655 * string/Makefile (routines): Remove __ names, index, rindex, and
6656 bcmp.
6657 * sysdeps/alpha/strchr.c [weak_alias] (index): Define as weak
6658 alias for strchr.
6659 * sysdeps/generic/strchr.c: Likewise.
6660 * sysdeps/generic/strrchr.c [weak_alias] (rindex): Define as weak
6661 alias for strrchr.
6662 * sysdeps/generic/memcmp.c [weak_alias] (bcmp): Define as weak
6663 alias for memcmp.
6664
6665 * malloc/free.c (cfree): Define this function, with weak_alias if
6666 available, otherwise a C function.
6667 * malloc/Makefile (gmalloc-routines): Remove cfree.
6668
6669 Sat Jan 21 08:08:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6670
6671 * stdio/fseek.c: Do move bufp by O when that puts it exactly at
6672 get_limit. This has the effect of no-op'ing properly for zero.
6673
6674 * configure.in: Add AC_CONFIG_HEADER(config.h).
6675 (--with-elf, --with-weak-symbols): Grok these and define HAVE_*.
6676 * config.h.in: New file.
6677
6678 * setjmp/longjmp.c: Add weak aliases _longjmp, siglongjmp.
6679 All code converted to use weak symbols, defined in the files which
6680 define the real code (with the __ names, the non-__ names are weak).
6681 All old symbol alias files removed.
6682 Many files renamed to remove __ prefix since there is now just
6683 the one file for both the __ and non-__ name for each function.
6684 * libc-symbols.h: New file.
6685 * set-hooks.h: Use libc-symbols.h macros for accessing symbol
6686 sets.
6687 * gnu-stabs.h: Prepend #error this file is obsolete.
6688 * sysdeps/ieee754/ldexp.c: Add weak aliases scalb and __scalb.
6689 * sysdeps/stub/__access.c: Renamed to access.c; added weak alias
6690 access.
6691 * sysdeps/unix/common/__access.S: Likewise.
6692 * sysdeps/mach/hurd/__access.c: Likewise.
6693 * sysdeps/stub/__adjtime.c: Renamed to adjtime.c; added weak alias
6694 adjtime.
6695 * sysdeps/unix/common/__adjtime.S: Likewise.
6696 * sysdeps/mach/__adjtime.c: Likewise.
6697 * sysdeps/mach/hurd/__adjtime.c: Likewise.
6698 * sysdeps/stub/__brk.c: Renamed to brk.c; added weak alias brk.
6699 * sysdeps/unix/bsd/sun/m68k/__brk.S: Likewise.
6700 * sysdeps/unix/bsd/vax/__brk.S: Likewise.
6701 * sysdeps/unix/bsd/hp/m68k/__brk.S: Likewise.
6702 * sysdeps/unix/bsd/osf1/alpha/__brk.S: Likewise.
6703 * sysdeps/unix/i386/__brk.S: Likewise.
6704 * sysdeps/unix/sparc/__brk.S: Likewise.
6705 * sysdeps/unix/mips/__brk.S: Likewise.
6706 * sysdeps/mach/hurd/__brk.c: Likewise.
6707 * sysdeps/standalone/__brk.c: Likewise.
6708 * sysdeps/stub/__chdir.c: Renamed to chdir.c; added weak alias chdir.
6709 * sysdeps/unix/__chdir.S: Likewise.
6710 * sysdeps/mach/hurd/__chdir.c: Likewise.
6711 * sysdeps/stub/__chmod.c: Renamed to chmod.c; added weak alias chmod.
6712 * sysdeps/unix/__chmod.S: Likewise.
6713 * sysdeps/mach/hurd/__chmod.c: Likewise.
6714 * sysdeps/stub/__chown.c: Renamed to chown.c; added weak alias chown.
6715 * sysdeps/unix/__chown.S: Likewise.
6716 * sysdeps/mach/hurd/__chown.c: Likewise.
6717 * sysdeps/stub/__close.c: Renamed to close.c; added weak alias close.
6718 * sysdeps/unix/__close.S: Likewise.
6719 * sysdeps/mach/hurd/__close.c: Likewise.
6720 * sysdeps/standalone/__close.c: Likewise.
6721 * sysdeps/generic/__copysign.c: Renamed to copysign.c; added weak
6722 alias copysign.
6723 * sysdeps/ieee754/__copysign.c: Likewise.
6724 * sysdeps/alpha/__copysign.c: Likewise.
6725 * sysdeps/ieee754/__drem.c: Renamed to drem.c; added weak alias drem.
6726 * sysdeps/m68k/fpu/__drem.c: Likewise.
6727 * sysdeps/stub/__drem.c: Likewise.
6728 * sysdeps/posix/__dup.c: Renamed to dup.c; added weak alias dup.
6729 * sysdeps/stub/__dup.c: Likewise.
6730 * sysdeps/unix/__dup.S: Likewise.
6731 * sysdeps/posix/__dup2.c: Renamed to dup2.c; added weak alias dup2.
6732 * sysdeps/stub/__dup2.c: Likewise.
6733 * sysdeps/unix/sysv/sysv4/__dup2.c: Likewise.
6734 * sysdeps/unix/sysv/irix4/__dup2.c: Likewise.
6735 * sysdeps/unix/common/__dup2.S: Likewise.
6736 * sysdeps/mach/hurd/__dup2.c: Likewise.
6737 * sysdeps/stub/__execve.c: Renamed to execve.c; added weak alias
6738 execve.
6739 * sysdeps/unix/__execve.S: Likewise.
6740 * sysdeps/mach/hurd/__execve.c: Likewise.
6741 * sysdeps/generic/__expm1.c: Renamed to expm1.c; added weak alias
6742 expm1.
6743 * sysdeps/m68k/fpu/__expm1.c: Likewise.
6744 * sysdeps/stub/__fchmod.c: Renamed to fchmod.c; added weak alias
6745 fchmod.
6746 * sysdeps/unix/common/__fchmod.S: Likewise.
6747 * sysdeps/mach/hurd/__fchmod.c: Likewise.
6748 * sysdeps/stub/__fchown.c: Renamed to fchown.c; added weak alias
6749 fchown.
6750 * sysdeps/unix/common/__fchown.S: Likewise.
6751 * sysdeps/mach/hurd/__fchown.c: Likewise.
6752 * sysdeps/stub/__fcntl.c: Renamed to fcntl.c; added weak alias fcntl.
6753 * sysdeps/unix/__fcntl.S: Likewise.
6754 * sysdeps/mach/hurd/__fcntl.c: Likewise.
6755 * math/__finite.c: Renamed to finite.c; added weak alias finite.
6756 * sysdeps/posix/__flock.c: Renamed to flock.c; added weak alias flock.
6757 * sysdeps/stub/__flock.c: Likewise.
6758 * sysdeps/unix/bsd/__flock.S: Likewise.
6759 * sysdeps/mach/hurd/__flock.c: Likewise.
6760 * hurd/__fopenport.c: Renamed to fopenport.c; added weak alias
6761 fopenport.
6762 * sysdeps/stub/__fork.c: Renamed to fork.c; added weak alias fork.
6763 * sysdeps/unix/__fork.S: Likewise.
6764 * sysdeps/unix/bsd/osf1/alpha/__fork.S: Likewise.
6765 * sysdeps/unix/i386/__fork.S: Likewise.
6766 * sysdeps/unix/sparc/__fork.S: Likewise.
6767 * sysdeps/unix/mips/__fork.S: Likewise.
6768 * sysdeps/mach/hurd/__fork.c: Likewise.
6769 * sysdeps/posix/__fpathcon.c: Renamed to fpathcon.c; added weak
6770 alias fpathconf.
6771 * sysdeps/stub/__fpathcon.c: Likewise.
6772 * sysdeps/unix/sysv/irix4/__fpathcon.c: Likewise.
6773 * sysdeps/stub/__fstat.c: Renamed to fstat.c; added weak alias fstat.
6774 * sysdeps/unix/__fstat.S: Likewise.
6775 * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Likewise.
6776 * sysdeps/mach/hurd/__fstat.c: Likewise.
6777 * stdio/__getdelim.c: Renamed to getdelim.c; added weak alias
6778 getdelim.
6779 * sysdeps/stub/__getdents.c: Renamed to getdents.c; added weak
6780 alias getdents.
6781 * sysdeps/unix/__getdents.c: Likewise.
6782 * sysdeps/unix/bsd/sun/__getdents.S: Likewise.
6783 * sysdeps/unix/bsd/hp/m68k/__getdents.S: Likewise.
6784 * sysdeps/unix/bsd/ultrix4/__getdents.S: Likewise.
6785 * sysdeps/unix/bsd/bsd4.4/__getdents.S: Likewise.
6786 * sysdeps/unix/bsd/osf1/alpha/__getdents.S: Likewise.
6787 * sysdeps/unix/sysv/__getdents.c: Likewise.
6788 * sysdeps/mach/hurd/__getdents.c: Likewise.
6789 * hurd/__getdport.c: Renamed to getdport.c; added weak alias getdport.
6790 * sysdeps/posix/__getdtsz.c: Renamed to getdtsz.c; added weak
6791 alias getdtablesize.
6792 * sysdeps/stub/__getdtsz.c: Likewise.
6793 * sysdeps/unix/bsd/__getdtsz.S: Likewise.
6794 * sysdeps/unix/sysv/sysv4/__getdtsz.c: Likewise.
6795 * sysdeps/mach/hurd/__getdtsz.c: Likewise.
6796 * sysdeps/stub/__getegid.c: Renamed to getegid.c; added weak alias
6797 getegid.
6798 * sysdeps/unix/__getegid.S: Likewise.
6799 * sysdeps/mach/hurd/__getegid.c: Likewise.
6800 * sysdeps/stub/__geteuid.c: Renamed to geteuid.c; added weak alias
6801 geteuid.
6802 * sysdeps/unix/__geteuid.S: Likewise.
6803 * sysdeps/mach/hurd/__geteuid.c: Likewise.
6804 * sysdeps/stub/__getgid.c: Renamed to getgid.c; added weak alias
6805 getgid.
6806 * sysdeps/unix/__getgid.S: Likewise.
6807 * sysdeps/mach/hurd/__getgid.c: Likewise.
6808 * sysdeps/stub/__getgrps.c: Renamed to getgroups.c; added weak
6809 alias getgroups.
6810 * sysdeps/unix/bsd/sequent/i386/__getgrps.S: Likewise.
6811 * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: Likewise.
6812 * sysdeps/unix/sysv/irix4/__getgrps.c: Likewise.
6813 * sysdeps/unix/common/__getgrps.S: Likewise.
6814 * sysdeps/mach/hurd/__getgrps.c: Likewise.
6815 * sysdeps/stub/__gethstnm.c: Renamed to gethostname.c; added weak
6816 alias gethostname.
6817 * sysdeps/unix/inet/__gethstnm.S: Likewise.
6818 * sysdeps/unix/sysv/__gethstnm.c: Likewise.
6819 * sysdeps/unix/sysv/sysv4/__gethstnm.c: Likewise.
6820 * sysdeps/mach/hurd/__gethstnm.c: Likewise.
6821 * sysdeps/stub/__getitmr.c: Renamed to getitimer.c; added weak
6822 alias getitimer.
6823 * sysdeps/unix/common/__getitmr.S: Likewise.
6824 * sysdeps/mach/hurd/__getitmr.c: Likewise.
6825 * stdio/__getline.c: Renamed to getline.c; added weak alias getline.
6826 * sysdeps/posix/__getpgsz.c: Renamed to getpagesize.c; added weak
6827 alias getpagesize.
6828 * sysdeps/stub/__getpgsz.c: Likewise.
6829 * sysdeps/unix/__getpgsz.c: Likewise.
6830 * sysdeps/unix/bsd/__getpgsz.S: Likewise.
6831 * sysdeps/unix/sysv/sysv4/__getpgsz.c: Likewise.
6832 * sysdeps/mach/__getpgsz.c: Likewise.
6833 * sysdeps/stub/__getpid.c: Renamed to getpid.c; added weak alias
6834 getpid.
6835 * sysdeps/unix/__getpid.S: Likewise.
6836 * sysdeps/mach/hurd/__getpid.c: Likewise.
6837 * sysdeps/stub/__getppid.c: Renamed to getppid.c; added weak alias
6838 getppid.
6839 * sysdeps/unix/__getppid.S: Likewise.
6840 * sysdeps/mach/hurd/__getppid.c: Likewise.
6841 * sysdeps/posix/__gettod.c: Renamed to gettimeofday.c; added weak
6842 alias gettimeofday.
6843 * sysdeps/stub/__gettod.c: Likewise.
6844 * sysdeps/unix/sysv/irix4/__gettod.c: Likewise.
6845 * sysdeps/unix/common/__gettod.S: Likewise.
6846 * sysdeps/mach/__gettod.c: Likewise.
6847 * sysdeps/stub/__getuid.c: Renamed to getuid.c; added weak alias
6848 getuid.
6849 * sysdeps/unix/__getuid.S: Likewise.
6850 * sysdeps/mach/hurd/__getuid.c: Likewise.
6851 * sysdeps/generic/__infnan.c: Renamed to infnan.c; added weak
6852 alias infnan.
6853 * sysdeps/ieee754/__infnan.c: Likewise.
6854 * sysdeps/vax/__infnan.c: Likewise.
6855 * sysdeps/stub/__ioctl.c: Renamed to ioctl.c; added weak alias ioctl.
6856 * sysdeps/unix/__ioctl.S: Likewise.
6857 * sysdeps/mach/hurd/__ioctl.c: Likewise.
6858 * sysdeps/posix/__isatty.c: Renamed to isatty.c; added weak alias
6859 isatty.
6860 * sysdeps/stub/__isatty.c: Likewise.
6861 * sysdeps/unix/bsd/__isatty.c: Likewise.
6862 * sysdeps/mach/hurd/__isatty.c: Likewise.
6863 * sysdeps/ieee754/__isinf.c: Renamed to isinf.c; added weak alias
6864 isinf.
6865 * sysdeps/m68k/fpu/__isinf.c: Likewise.
6866 * sysdeps/stub/__isinf.c: Likewise.
6867 * sysdeps/generic/__isnan.c: Renamed to isnan.c; added weak alias
6868 isnan.
6869 * sysdeps/ieee754/__isnan.c: Likewise.
6870 * sysdeps/m68k/fpu/__isnan.c: Likewise.
6871 * sysdeps/stub/__kill.c: Renamed to kill.c; added weak alias kill.
6872 * sysdeps/unix/__kill.S: Likewise.
6873 * sysdeps/mach/hurd/__kill.c: Likewise.
6874 * sysdeps/stub/__link.c: Renamed to link.c; added weak alias link.
6875 * sysdeps/unix/__link.S: Likewise.
6876 * sysdeps/mach/hurd/__link.c: Likewise.
6877 * sysdeps/ieee754/__logb.c: Renamed to logb.c; added weak alias logb.
6878 * sysdeps/m68k/fpu/__logb.c: Likewise.
6879 * sysdeps/stub/__logb.c: Likewise.
6880 * sysdeps/stub/__lseek.c: Renamed to lseek.c; added weak alias lseek.
6881 * sysdeps/unix/__lseek.S: Likewise.
6882 * sysdeps/mach/hurd/__lseek.c: Likewise.
6883 * sysdeps/generic/__lstat.c: Renamed to lstat.c; added weak alias
6884 lstat.
6885 * sysdeps/stub/__lstat.c: Likewise.
6886 * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Likewise.
6887 * sysdeps/unix/common/__lstat.S: Likewise.
6888 * sysdeps/mach/hurd/__lstat.c: Likewise.
6889 * sysdeps/generic/__memccpy.c: Renamed to memccpy.c; added weak
6890 alias memccpy.
6891 * sysdeps/vax/__memccpy.c: Likewise.
6892 * sysdeps/stub/__mkdir.c: Renamed to mkdir.c; added weak alias mkdir.
6893 * sysdeps/unix/sysv/__mkdir.c: Likewise.
6894 * sysdeps/unix/common/__mkdir.S: Likewise.
6895 * sysdeps/mach/hurd/__mkdir.c: Likewise.
6896 * sysdeps/stub/__mknod.c: Renamed to mknod.c; added weak alias mknod.
6897 * sysdeps/unix/__mknod.S: Likewise.
6898 * sysdeps/unix/sysv/sysv4/i386/__mknod.S: Likewise.
6899 * sysdeps/mach/hurd/__mknod.c: Likewise.
6900 * mach/__msg.c: Renamed to msg.c; added weak alias mach_msg.
6901 * mach/__msgserver.c: Renamed to msgserver.c; added weak alias
6902 mach_msg_server.
6903 * sysdeps/stub/__open.c: Renamed to open.c; added weak alias open.
6904 * sysdeps/unix/__open.S: Likewise.
6905 * sysdeps/mach/hurd/__open.c: Likewise.
6906 * sysdeps/standalone/__open.c: Likewise.
6907 * sysdeps/stub/__pathconf.c: Renamed to pathconf.c; added weak
6908 alias pathconf.
6909 * sysdeps/unix/sysv/sco3.2.4/__pathconf.S: Likewise.
6910 * sysdeps/unix/sysv/irix4/__pathconf.c: Likewise.
6911 * hurd/__pid2task.c: Renamed to pid2task.c; added weak alias pid2task.
6912 * sysdeps/stub/__pipe.c: Renamed to pipe.c; added weak alias pipe.
6913 * sysdeps/unix/bsd/vax/__pipe.S: Likewise.
6914 * sysdeps/unix/bsd/m68k/__pipe.S: Likewise.
6915 * sysdeps/unix/bsd/osf1/alpha/__pipe.S: Likewise.
6916 * sysdeps/unix/i386/__pipe.S: Likewise.
6917 * sysdeps/unix/sparc/__pipe.S: Likewise.
6918 * sysdeps/unix/mips/__pipe.S: Likewise.
6919 * sysdeps/mach/hurd/__pipe.c: Likewise.
6920 * stdlib/__random.c: Renamed to random.c; added weak alias random.
6921 * sysdeps/stub/__read.c: Renamed to read.c; added weak alias read.
6922 * sysdeps/unix/__read.S: Likewise.
6923 * sysdeps/mach/hurd/__read.c: Likewise.
6924 * sysdeps/standalone/__read.c: Likewise.
6925 * sysdeps/stub/__readlink.c: Renamed to readlink.c; added weak
6926 alias readlink.
6927 * sysdeps/unix/common/__readlink.S: Likewise.
6928 * sysdeps/mach/hurd/__readlink.c: Likewise.
6929 * sysdeps/generic/__rint.c: Renamed to rint.c; added weak alias rint.
6930 * sysdeps/m68k/fpu/__rint.c: Likewise.
6931 * sysdeps/stub/__rmdir.c: Renamed to rmdir.c; added weak alias rmdir.
6932 * sysdeps/unix/sysv/__rmdir.c: Likewise.
6933 * sysdeps/unix/common/__rmdir.S: Likewise.
6934 * sysdeps/mach/hurd/__rmdir.c: Likewise.
6935 * sysdeps/generic/__sbrk.c: Renamed to sbrk.c; added weak alias sbrk.
6936 * sysdeps/stub/__sbrk.c: Likewise.
6937 * sysdeps/mach/hurd/__sbrk.c: Likewise.
6938 * math/__scalb.c: Renamed to scalb.c; added weak alias scalb.
6939 * sysdeps/stub/__select.c: Renamed to select.c; added weak alias
6940 select.
6941 * sysdeps/unix/common/__select.S: Likewise.
6942 * sysdeps/mach/hurd/__select.c: Likewise.
6943 * hurd/__setauth.c: Renamed to setauth.c; added weak alias setauth.
6944 * sysdeps/stub/__setgid.c: Renamed to setgid.c; added weak alias
6945 setgid.
6946 * sysdeps/unix/__setgid.S: Likewise.
6947 * sysdeps/unix/bsd/__setgid.c: Likewise.
6948 * sysdeps/mach/hurd/__setgid.c: Likewise.
6949 * sysdeps/stub/__setitmr.c: Renamed to setitmr.c; added weak alias
6950 setitmr
6951 * sysdeps/unix/common/__setitmr.S: Likewise.
6952 * sysdeps/mach/hurd/__setitmr.c: Likewise.
6953 * sysdeps/stub/__setpgrp.c: Renamed to setpgrp.c; added weak alias
6954 setpgrp
6955 * sysdeps/unix/sysv/sysv4/__setpgrp.c: Likewise.
6956 * sysdeps/unix/sysv/sco3.2.4/__setpgrp.c: Likewise.
6957 * sysdeps/unix/sysv/irix4/__setpgrp.S: Likewise.
6958 * sysdeps/unix/common/__setpgrp.S: Likewise.
6959 * sysdeps/mach/hurd/__setpgrp.c: Likewise.
6960 * sysdeps/stub/__setregid.c: Renamed to setregid.c; added weak
6961 alias setregid.
6962 * sysdeps/unix/common/__setregid.S: Likewise.
6963 * sysdeps/mach/hurd/__setregid.c: Likewise.
6964 * sysdeps/stub/__setreuid.c: Renamed to setreuid.c; added weak
6965 alias setreuid.
6966 * sysdeps/unix/common/__setreuid.S: Likewise.
6967 * sysdeps/mach/hurd/__setreuid.c: Likewise.
6968 * sysdeps/stub/__setsid.c: Renamed to setsid.c; added weak alias
6969 setsid.
6970 * sysdeps/unix/bsd/__setsid.c: Likewise.
6971 * sysdeps/unix/bsd/sun/sunos4/__setsid.S: Likewise.
6972 * sysdeps/unix/bsd/ultrix4/__setsid.S: Likewise.
6973 * sysdeps/unix/bsd/bsd4.4/__setsid.S: Likewise.
6974 * sysdeps/unix/sysv/linux/__setsid.S: Likewise.
6975 * sysdeps/unix/sysv/sysv4/__setsid.c: Likewise.
6976 * sysdeps/unix/sysv/sco3.2.4/__setsid.c: Likewise.
6977 * sysdeps/mach/hurd/__setsid.c: Likewise.
6978 * sysdeps/stub/__settod.c: Renamed to settod.c; added weak alias
6979 settimeofday.
6980 * sysdeps/unix/bsd/__settod.S: Likewise.
6981 * sysdeps/unix/sysv/__settod.c: Likewise.
6982 * sysdeps/mach/hurd/__settod.c: Likewise.
6983 * sysdeps/stub/__setuid.c: Renamed to setuid.c; added weak alias
6984 setuid.
6985 * sysdeps/unix/__setuid.S: Likewise.
6986 * sysdeps/unix/bsd/__setuid.c: Likewise.
6987 * sysdeps/mach/hurd/__setuid.c: Likewise.
6988 * sysdeps/posix/__sigblock.c: Renamed to sigblock.c; added weak
6989 alias sigblock.
6990 * sysdeps/stub/__sigblock.c: Likewise.
6991 * sysdeps/unix/bsd/__sigblock.S: Likewise.
6992 * sysdeps/unix/bsd/bsd4.4/__sigblock.c: Likewise.
6993 * sysdeps/unix/bsd/osf1/alpha/__sigblock.S: Likewise.
6994 * sysdeps/posix/__sigpause.c: Renamed to sigpause.c; added weak
6995 alias sigpause.
6996 * sysdeps/stub/__sigpause.c: Likewise.
6997 * sysdeps/unix/bsd/__sigpause.S: Likewise.
6998 * sysdeps/unix/bsd/osf1/alpha/__sigpause.S: Likewise.
6999 * sysdeps/stub/__sigproc.c: Renamed to sigprocmask.c; added weak
7000 alias sigprocmask.
7001 * sysdeps/unix/bsd/__sigproc.c: Likewise.
7002 * sysdeps/unix/sysv/sysv4/__sigproc.S: Likewise.
7003 * sysdeps/unix/sysv/sco3.2.4/__sigproc.S: Likewise.
7004 * sysdeps/mach/hurd/__sigproc.c: Likewise.
7005 * sysdeps/stub/__sigret.c: Renamed to sigreturn.c; added weak
7006 alias sigreturn.
7007 * sysdeps/unix/bsd/sun/__sigret.S: Likewise.
7008 * sysdeps/unix/sysv/i386/__sigret.S: Likewise.
7009 * sysdeps/unix/sysv/irix4/__sigret.S: Likewise.
7010 * sysdeps/unix/i386/__sigret.S: Likewise.
7011 * sysdeps/unix/mips/__sigret.S: Likewise.
7012 * sysdeps/mach/hurd/i386/__sigret.c: Likewise.
7013 * sysdeps/mach/hurd/alpha/__sigret.c: Likewise.
7014 * sysdeps/mach/hurd/mips/__sigret.c: Likewise.
7015 * sysdeps/posix/__sigvec.c: Renamed to sigvec.c; added weak alias
7016 sigvec.
7017 * sysdeps/stub/__sigvec.c: Likewise.
7018 * sysdeps/unix/bsd/__sigvec.S: Likewise.
7019 * sysdeps/unix/bsd/sun/__sigvec.S: Likewise.
7020 * sysdeps/unix/bsd/sequent/i386/__sigvec.S: Likewise.
7021 * sysdeps/unix/bsd/ultrix4/mips/__sigvec.S: Likewise.
7022 * sysdeps/unix/bsd/bsd4.4/__sigvec.c: Likewise.
7023 * sysdeps/unix/bsd/osf1/alpha/__sigvec.S: Likewise.
7024 * sysdeps/stub/__stat.c: Renamed to stat.c; added weak alias stat.
7025 * sysdeps/unix/__stat.S: Likewise.
7026 * sysdeps/unix/sysv/sysv4/i386/__stat.S: Likewise.
7027 * sysdeps/mach/hurd/__stat.c: Likewise.
7028 * sysdeps/generic/__stpncpy.c: Renamed to stpncpy.c; added weak
7029 alias stpncpy.
7030 * sysdeps/stub/__symlink.c: Renamed to symlink.c; added weak alias
7031 symlink.
7032 * sysdeps/unix/common/__symlink.S: Likewise.
7033 * sysdeps/mach/hurd/__symlink.c: Likewise.
7034 * sysdeps/posix/__sysconf.c: Renamed to sysconf.c; added weak
7035 alias sysconf.
7036 * sysdeps/stub/__sysconf.c: Likewise.
7037 * sysdeps/unix/bsd/ultrix4/__sysconf.c: Likewise.
7038 * sysdeps/unix/sysv/sysv4/__sysconf.c: Likewise.
7039 * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Likewise.
7040 * sysdeps/unix/sysv/irix4/__sysconf.c: Likewise.
7041 * hurd/__task2pid.c: Renamed to task2pid.c; added weak alias task2pid.
7042 * sysdeps/stub/__times.c: Renamed to times.c; added weak alias times.
7043 * sysdeps/unix/bsd/__times.c: Likewise.
7044 * sysdeps/unix/sysv/__times.S: Likewise.
7045 * time/__tzset.c: Renamed to tzset.c; added weak alias tzset.
7046 * sysdeps/stub/__umask.c: Renamed to umask.c; added weak alias umask.
7047 * sysdeps/unix/__umask.S: Likewise.
7048 * sysdeps/mach/hurd/__umask.c: Likewise.
7049 * sysdeps/stub/__unlink.c: Renamed to unlink.c; added weak alias
7050 unlink.
7051 * sysdeps/unix/__unlink.S: Likewise.
7052 * sysdeps/mach/hurd/__unlink.c: Likewise.
7053 * sysdeps/stub/__utimes.c: Renamed to utimes.c; added weak alias
7054 utimes.
7055 * sysdeps/unix/bsd/__utimes.S: Likewise.
7056 * sysdeps/unix/sysv/sysv4/solaris2/__utimes.S: Likewise.
7057 * sysdeps/mach/hurd/__utimes.c: Likewise.
7058 * sysdeps/generic/__vfork.c: Renamed to vfork.c; added weak alias
7059 vfork.
7060 * sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise.
7061 * sysdeps/unix/bsd/vax/__vfork.S: Likewise.
7062 * sysdeps/unix/bsd/i386/__vfork.S: Likewise.
7063 * sysdeps/unix/bsd/hp/m68k/__vfork.S: Likewise.
7064 * sysdeps/unix/bsd/ultrix4/mips/__vfork.S: Likewise.
7065 * sysdeps/unix/sysv/sysv4/i386/__vfork.S: Likewise.
7066 * sysdeps/unix/sparc/__vfork.S: Likewise.
7067 * stdio/__vfscanf.c: Renamed to vfscanf.c; added weak alias vfscanf.
7068 * stdio/__vsscanf.c: Renamed to vsscanf.c; added weak alias vsscanf.
7069 * sysdeps/posix/__wait.c: Renamed to wait.c; added weak alias wait.
7070 * sysdeps/stub/__wait.c: Likewise.
7071 * sysdeps/unix/bsd/sony/newsos4/__wait.c: Likewise.
7072 * sysdeps/unix/bsd/sun/sunos4/__wait.c: Likewise.
7073 * sysdeps/unix/bsd/sun/sunos3/m68k/__wait.S: Likewise.
7074 * sysdeps/unix/bsd/vax/__wait.S: Likewise.
7075 * sysdeps/unix/bsd/m68k/__wait.S: Likewise.
7076 * sysdeps/unix/bsd/bsd4.4/__wait.c: Likewise.
7077 * sysdeps/unix/sysv/i386/linux/__wait.S: Likewise.
7078 * sysdeps/unix/sysv/irix4/__wait.S: Likewise.
7079 * sysdeps/unix/i386/__wait.S: Likewise.
7080 * sysdeps/unix/mips/__wait.S: Likewise.
7081 * sysdeps/posix/__wait3.c: Renamed to wait3.c; added weak alias wait3.
7082 * sysdeps/stub/__wait3.c: Likewise.
7083 * sysdeps/unix/bsd/sony/newsos4/__wait3.c: Likewise.
7084 * sysdeps/unix/bsd/sun/sunos4/__wait3.c: Likewise.
7085 * sysdeps/unix/bsd/vax/__wait3.S: Likewise.
7086 * sysdeps/unix/bsd/i386/__wait3.S: Likewise.
7087 * sysdeps/unix/bsd/hp/m68k/__wait3.S: Likewise.
7088 * sysdeps/unix/bsd/ultrix4/__wait3.S: Likewise.
7089 * sysdeps/unix/bsd/bsd4.4/__wait3.c: Likewise.
7090 * sysdeps/unix/sysv/irix4/__wait3.S: Likewise.
7091 * sysdeps/stub/__wait4.c: Renamed to wait4.c; added weak alias wait4.
7092 * sysdeps/unix/bsd/sony/newsos4/__wait4.c: Likewise.
7093 * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Likewise.
7094 * sysdeps/unix/bsd/bsd4.4/__wait4.S: Likewise.
7095 * sysdeps/unix/bsd/osf1/alpha/__wait4.S: Likewise.
7096 * sysdeps/unix/sysv/linux/__wait4.S: Likewise.
7097 * sysdeps/mach/hurd/__wait4.c: Likewise.
7098 * sysdeps/stub/__waitpid.c: Renamed to waitpid.c; added weak alias
7099 waitpid.
7100 * sysdeps/unix/bsd/sun/sunos4/__waitpid.c: Likewise.
7101 * sysdeps/unix/bsd/ultrix4/__waitpid.S: Likewise.
7102 * sysdeps/unix/bsd/bsd4.4/__waitpid.c: Likewise.
7103 * sysdeps/unix/bsd/osf1/alpha/__waitpid.c: Likewise.
7104 * sysdeps/unix/sysv/linux/__waitpid.S: Likewise.
7105 * sysdeps/unix/sysv/sysv4/__waitpid.c: Likewise.
7106 * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Likewise.
7107 * sysdeps/unix/sysv/irix4/__waitpid.c: Likewise.
7108 * sysdeps/stub/__write.c: Renamed to write.c; added weak alias write.
7109 * sysdeps/unix/__write.S: Likewise.
7110 * sysdeps/mach/hurd/__write.c: Likewise.
7111 * sysdeps/standalone/__write.c: Likewise.
7112 * sysdeps/stub/__tcgetatr.c: Renamed to tcgetattr.c; added weak
7113 alias tcgetattr.
7114 * sysdeps/unix/bsd/__tcgetatr.c: Likewise.
7115 * sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c: Likewise.
7116 * sysdeps/unix/bsd/bsd4.4/__tcgetatr.c: Likewise.
7117 * sysdeps/unix/sysv/__tcgetatr.c: Likewise.
7118 * sysdeps/stub/__sigact.c: Renamed to sigaction.c; added weak
7119 alias sigaction.
7120 * sysdeps/unix/bsd/__sigact.c: Likewise.
7121 * sysdeps/unix/sysv/__sigact.c: Likewise.
7122 * sysdeps/unix/sysv/sysv4/__sigact.c: Likewise.
7123 * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Likewise.
7124 * sysdeps/mach/hurd/__sigact.c: Likewise.
7125 * sysdeps/posix/__sigstmsk.c: Renamed to sigsetmask.c; added weak
7126 alias sigsetmask.
7127 * sysdeps/stub/__sigstmsk.c: Likewise.
7128 * sysdeps/unix/bsd/__sigstmsk.S: Likewise.
7129 * sysdeps/unix/bsd/bsd4.4/__sigstmsk.c: Likewise.
7130 * sysdeps/unix/bsd/osf1/alpha/__sigstmsk.S: Likewise.
7131 * sysdeps/stub/__getrusag.c: Renamed to getrusage.c; added weak
7132 alias getrusage.
7133 * sysdeps/unix/sysv/irix4/__getrusag.c: Likewise.
7134 * sysdeps/unix/common/__getrusag.S: Likewise.
7135 * hurd/task2pid.c: File removed.
7136 * hurd/setauth.c: File removed.
7137 * hurd/pid2task.c: File removed.
7138 * hurd/hurdsyms.c: File removed.
7139 * hurd/getdport.c: File removed.
7140 * hurd/fopenport.c: File removed.
7141 * mach/thread-sym.c: File removed.
7142 * mach/spin-syms.c: File removed.
7143 * mach/msgserver_t.c: File removed.
7144 * mach/msgserver.c: File removed.
7145 * mach/msg.c: File removed.
7146 * mach/mig_syms.c: File removed.
7147 * malloc/mcheck-init.c: File removed.
7148 * malloc/cfree.c: File removed.
7149 * io/flock.c: File removed.
7150 * io/write.c: File removed.
7151 * io/unlink.c: File removed.
7152 * io/umask.c: File removed.
7153 * io/symlink.c: File removed.
7154 * io/rmdir.c: File removed.
7155 * io/readlink.c: File removed.
7156 * io/read.c: File removed.
7157 * io/pipe.c: File removed.
7158 * io/open.c: File removed.
7159 * io/mkdir.c: File removed.
7160 * io/lstat.c: File removed.
7161 * io/lseek.c: File removed.
7162 * io/link.c: File removed.
7163 * io/isatty.c: File removed.
7164 * io/stat.c: File removed.
7165 * io/fstat.c: File removed.
7166 * io/fchown.c: File removed.
7167 * io/fchmod.c: File removed.
7168 * io/dup2.c: File removed.
7169 * io/dup.c: File removed.
7170 * io/close.c: File removed.
7171 * io/fcntl.c: File removed.
7172 * io/chmod.c: File removed.
7173 * io/chdir.c: File removed.
7174 * io/access.c: File removed.
7175 * io/chown.c: File removed.
7176 * time/tzset.c: File removed.
7177 * time/timelocal.c: File removed.
7178 * time/syms-time.c: File removed.
7179 * time/settod.c: File removed.
7180 * time/setitmr.c: File removed.
7181 * time/gettod.c: File removed.
7182 * time/getitmr.c: File removed.
7183 * time/adjtime.c: File removed.
7184 * termios/tcgetattr.c: File removed.
7185 * string/stpncpy.c: File removed.
7186 * string/rindex.c: File removed.
7187 * string/memccpy.c: File removed.
7188 * string/index.c: File removed.
7189 * string/bcmp.c: File removed.
7190 * stdlib/srand.c: File removed.
7191 * stdlib/random.c: File removed.
7192 * stdio/vsscanf.c: File removed.
7193 * stdio/vfscanf.c: File removed.
7194 * stdio/syms-stdio.c: File removed.
7195 * stdio/remove.c: File removed.
7196 * stdio/getline.c: File removed.
7197 * stdio/getdelim.c: File removed.
7198 * signal/ssignal.c: File removed.
7199 * signal/sigvec.c: File removed.
7200 * signal/sigsetmask.c: File removed.
7201 * signal/sigret.c: File removed.
7202 * signal/sigproc.c: File removed.
7203 * signal/sigpause.c: File removed.
7204 * signal/sigblock.c: File removed.
7205 * signal/sigaction.c: File removed.
7206 * signal/kill.c: File removed.
7207 * signal/gsignal.c: File removed.
7208 * setjmp/siglongjmp.c: File removed.
7209 * setjmp/_longjmp.c: File removed.
7210 * resource/getrusage.c: File removed.
7211 * posix/waitpid.c: File removed.
7212 * posix/wait4.c: File removed.
7213 * posix/wait3.c: File removed.
7214 * posix/wait.c: File removed.
7215 * posix/times.c: File removed.
7216 * posix/sysconf.c: File removed.
7217 * posix/setuid.c: File removed.
7218 * posix/setsid.c: File removed.
7219 * posix/setpgrp.c: File removed.
7220 * posix/setpgid.c: File removed.
7221 * posix/setgid.c: File removed.
7222 * posix/pathconf.c: File removed.
7223 * posix/getuid.c: File removed.
7224 * posix/getppid.c: File removed.
7225 * posix/getpid.c: File removed.
7226 * posix/getgrps.c: File removed.
7227 * posix/getgid.c: File removed.
7228 * posix/geteuid.c: File removed.
7229 * posix/getegid.c: File removed.
7230 * posix/fpathcon.c: File removed.
7231 * posix/fork.c: File removed.
7232 * posix/execve.c: File removed.
7233 * posix/environ.c: File removed.
7234 * misc/utimes.c: File removed.
7235 * misc/setreuid.c: File removed.
7236 * misc/setregid.c: File removed.
7237 * misc/select.c: File removed.
7238 * misc/sbrk.c: File removed.
7239 * misc/mknod.c: File removed.
7240 * misc/ioctl.c: File removed.
7241 * misc/getpgsz.c: File removed.
7242 * misc/gethstnm.c: File removed.
7243 * misc/getdtsz.c: File removed.
7244 * misc/data_start.c: File removed.
7245 * misc/brk.c: File removed.
7246 * math/scalb.c: File removed.
7247 * math/rint.c: File removed.
7248 * math/logb.c: File removed.
7249 * math/isnan.c: File removed.
7250 * math/isinf.c: File removed.
7251 * math/infnan.c: File removed.
7252 * math/finite.c: File removed.
7253 * math/expm1.c: File removed.
7254 * math/drem.c: File removed.
7255 * math/copysign.c: File removed.
7256 * math/__scalb.c: File removed.
7257 * dirent/getdents.c: File removed.
7258
7259 Fri Jan 20 16:11:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7260
7261 * sysdeps/generic/morecore.c (__default_morecore): Use
7262 __malloc_ptrdiff_t; don't cast arg to int.
7263
7264 * resolv/getnetnamadr.c: Include "conf/portability.h".
7265
7266 Thu Jan 19 02:20:04 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7267
7268 * stdlib/strtol.c: Include errno.h.
7269 [QUAD] (ULONG_MAX): Define to a static variable initialized to
7270 ULONG_LONG_MAX. This is to work around a GCC bug in using the
7271 constant in arithmetic.
7272
7273 * posix/unistd.h (daemon): Declare it.
7274
7275 * malloc/mcheck-init.c: Remove GNU ld hacks.
7276 (__malloc_initialize_hook): Initialize this hook to turn_on_mcheck.
7277 * malloc/malloc.c (__malloc_initialize_hook): New hook variable.
7278 (initialize): Call the hook if set.
7279 * malloc/malloc.h: Use __malloc_{size,ptrdiff}_t in prototypes.
7280 (__malloc_initialize_hook): Declare new hook variable.
7281
7282 Wed Jan 18 01:43:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7283
7284 * hurd/hurdsig.c: Prepend `msg_' to server RPC names.
7285 * hurd/hurdpid.c: Likewise.
7286 * hurd/hurdauth.c: Likewise.
7287
7288 Tue Jan 17 03:16:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7289
7290 * sysdeps/mach/hurd/__select.c: If some replies are EINTR, succeed
7291 if any are successful.
7292
7293 * hurd/hurdmsg.c: Prepend `msg_' to all RPC names.
7294 (_S_msg_get_exec_flags, _S_msg_set_exec_flags,
7295 _S_msg_set_some_exec_flags, _S_msg_clear_some_exec_flags): New
7296 functions.
7297 (_S_io_select_done, _S_dir_changed, _S_file_changed): Stubs removed.
7298
7299 * hurd/hurdkill.c: __sig_post renamed to __msg_sig_post.
7300 * hurd/hurd-raise.c: Likewise.
7301 * hurd/hurdsig.c (post_reply): Prepend `msg_' to RPC names.
7302
7303 * sysdeps/mach/hurd/ptrace.c: New file.
7304
7305 * sysdeps/mach/hurd/__select.c: Revamped to use new io_select
7306 interface, which has normal EINTR semantics. Instead of waiting
7307 for io_select_done notification messages, send io_select messages
7308 with short reply timeout and then wait for io_select_reply
7309 messages.
7310
7311 * hurd/hurdexec.c (_hurd_exec): Pass (_hurd_exec_flags &
7312 EXEC_INHERITED) to file_exec.
7313
7314 * hurd/hurdsig.c (post_reply): Take new arg UNTRACED; if nonzero,
7315 use sig_post_untraced_reply. All callers changed.
7316 (abort_thread, abort_rpcs): Take same new arg and pass it through.
7317 All callers changed.
7318 (_hurd_internal_post_signal): Take new arg UNTRACED.
7319 If zero and process is traced, stop with SIGNO as stop signal. If
7320 nonzero, resume process before delivering signal (unless
7321 ACT==stop). Expand local fn sigwakeup into block at end taken iff
7322 SIGNO!=0.
7323 (signal_allowed): New function, broken out of _S_sig_post.
7324 (_S_sig_post): Call it. Pass UNTRACED arg of false to
7325 _hurd_internal_post_signal.
7326 (_S_sig_post_untraced): New function. Just like _S_sig_post, but
7327 pass true for UNTRACED.
7328 * hurd/hurd/signal.h (_hurd_internal_post_signal): Take new arg
7329 UNTRACED.
7330 * hurd/catch-exc.c (_S_catch_exception_raise): Pass UNTRACED arg
7331 to _hurd_internal_post_signal (value zero).
7332
7333 Mon Jan 16 16:40:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7334
7335 * hurd/hurdinit.c (_hurd_exec_flags): New variable.
7336 (_hurd_init): Initialize it from FLAGS arg.
7337 (_hurd_proc_init): If EXEC_TRACED is set in _hurd_exec_flags,
7338 raise a SIGTRAP signal (with a sigcode of zero).
7339 * hurd/hurd.h (_hurd_exec_flags): Declare it.
7340
7341 * Version 1.09.5.
7342
7343 Mon Jan 16 16:16:55 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
7344
7345 * malloc/malloc.c (malloc): Fix 1-off in previous change.
7346
7347 Mon Jan 16 15:49:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7348
7349 * posix/glob/Makefile.in: Remove config.h and config.log.
7350
7351 Sun Jan 15 06:56:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7352
7353 * posix/glob/configure.in: Add AC_CONST check.
7354
7355 * conf/portability.h: #undef sun.
7356 * resolv/res_query.c: Updated from BIND-4.9.3-BETA17.
7357 * resolv/getnetnamadr.c: Likewise.
7358
7359 * socket/Makefile (headers): Add sockaddrcom.h.
7360 * inet/netinet/in.h: Include <sockaddrcom.h>.
7361 (struct sockaddr_in): Use the __SOCKADDR_COMMON macro.
7362 * socket/sys/un.h (struct sockaddr_in): Likewise.
7363 * socket/sys/socket.h (struct sockaddr): Likewise.
7364 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: New file.
7365 * sysdeps/generic/sockaddrcom.h: New file.
7366
7367 * sysdeps/unix/sysv/sysv4/ftruncate.c: New file.
7368 * sysdeps/unix/common/fcntlbits.h [__USE_SVID] (F_ALLOCSP,
7369 F_FREESP): New macros.
7370 * sysdeps/posix/truncate.c: New file.
7371
7372 * malloc/malloc.c (malloc): Fix typos in RMS's change.
7373
7374 * malloc/Makefile (dist-routines): Add malloc-find.
7375 * malloc/malloc.h (malloc_find_object_address): Declare it.
7376 * malloc/malloc-find.c: New file.
7377
7378 * malloc/malloc.h (__malloc_ptrdiff_t): New macro, defined a la
7379 __malloc_size_t.
7380 (malloc_info): Use that type for member `busy.info.size'.
7381
7382 * stdlib/strtol.c: Change uses of `long' keyword throughout to use
7383 `LONG' macro.
7384 [! QUAD] (LONG): Define as long.
7385 [QUAD] (LONG): Define as long long.
7386 [QUAD] (LONG_MIN, LONG_MAX, ULONG_MAX): Redefine to long long
7387 versions.
7388 [QUAD] (strtoul, strtol): Define to strtouq, strtoq.
7389 * stdlib/Makefile (routines): Add strtoq and strtouq.
7390 * stdlib/strtoq.c, stdlib/strtouq.c: New files.
7391 * stdlib/stdlib.h [__GNUC__ && __USE_BSD] (strtoq, strtouq):
7392 Declare them.
7393
7394 * stdio/vfprintf.c: If there was a precision specified, ignore the
7395 0 flag and always pad with spaces.
7396
7397 * stdio/vfprintf.c: Don't use strchr to skip text until next %.
7398 Use a loop and also stop on first !isascii char.
7399
7400 Wed Jan 11 00:07:10 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
7401
7402 * malloc/malloc.h (malloc_info): Change usage of .busy.info.size.
7403
7404 * malloc/malloc.c (malloc): For a multi-block object, store a
7405 negative number into the busy.info.size of all but the first block.
7406
7407 Tue Jan 10 13:45:20 1995 Brendan Kehoe <brendan@zen.org>
7408
7409 * sysdeps/unix/bsd/ultrix4/mips/start.S: Use s0, s1, and s2
7410 instead of t0, t1, and t2.
7411
7412 Tue Jan 10 05:53:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7413
7414 * malloc/memalign.c (__memalign_hook): New variable.
7415 (memalign): Call it if set.
7416 * malloc/malloc.h (__memalign_hook): Declare new variable.
7417
7418 Wed Dec 28 03:27:21 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7419
7420 * conf/portability.h: Include string.h and stdlib.h.
7421 * inet/netdb.h (NETDB_INTERNAL, NETDB_SUCCESS): New macros.
7422 * resolv/resolv.h, resolv/arpa/nameser.h, resolv/gethnamaddr.c,
7423 resolv/getnetbyname.c, resolv/getnetent.c, resolv/herror.c,
7424 resolv/res_mkquery.c, resolv/res_send.c, resolv/res_comp.c,
7425 resolv/res_debug.c, resolv/res_init.c: Updated from BIND 4.9.3-BETA14.
7426
7427 * sysdeps/m68k/fpu/__math.h (__m81_inline): New macro. Replace
7428 all uses of `extern __inline' with `__m81_inline'.
7429
7430 * sysdeps/unix/bsd/hp/m68k/__vfork.S: Use subl, not decl.
7431 * sysdeps/unix/__fork.S: Swap args in subl.
7432
7433 * posix/sys/types.h [__USE_MISC] (ushort, uint): New typedefs, for
7434 compatibility.
7435
7436 Tue Dec 20 13:33:20 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
7437
7438 * sysdeps/mach/hurd/__setpgrp.c (__setpgrp): Use __swtch_pri instead
7439 of swtch.
7440 * sysdeps/mach/hurd/__setsid.c (__setsid): Likewise.
7441 * mach/spin-solid.c (__spin_lock_solid): Likewise.
7442
7443 Thu Dec 15 12:01:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7444
7445 * inet/rcmd.c (iruserok): Use alloca instead of fixed-size buffer
7446 for PBUF.
7447 (__ivaliduser): Use getline instead of fgets with fixed-size buffer.
7448
7449 * sysdeps/mach/hurd/Makefile (subdirs): Don't elide inet.
7450
7451 Wed Dec 14 18:20:56 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7452
7453 * sysdeps/alpha/bsd-setjmp.S: Reverse register and immediate args
7454 in `bis' insn; immediate must be second.
7455
7456 * sysdeps/unix/__fork.S: Use subl instead of decl.
7457 * sysdeps/unix/i386/__fork.S: New file.
7458
7459 * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler):
7460 Remove A macro; just use `asm volatile' with proper quotes in each
7461 line.
7462 * sysdeps/mach/alpha/sysdep.h (CALL_WITH_SP): Put parens around
7463 jmp target register.
7464
7465 * time/africa, time/asia, time/australasia, time/emkdir.c,
7466 time/europe, time/ialloc.c, time/northamerica, time/private.h,
7467 time/scheck.c, time/yearistype, time/zdump.c, time/zic.c: New code
7468 and data from ADO 94h distribution.
7469
7470 * sysdeps/sparc/setjmp.S: Use sethi and or to put address of
7471 __sigjmp_save in %g1 and jmp there. jmp cannot contain a complete
7472 absolute pointer. Put second store in jmp delay slot.
7473
7474 Tue Dec 13 15:47:52 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7475
7476 * sysdeps/sparc/bsd-_setjmp.S: Use sethi and or to put address of
7477 __sigsetjmp in %g1 and jmp there. jmp cannot contain a complete
7478 absolute pointer.
7479 * sysdeps/sparc/bsd-setjmp.S: Likewise.
7480
7481 * configure.in: Use ; before } in { ... } exprs.
7482
7483 \f
7484
7485 See ChangeLog.4 for earlier changes.