]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
b39c6f8b
UD
11998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
2
3 * sysdeps/generic/segfault.c (install_handler): Install signal
4 handler with SA_ONSTACK instead of setting the stack flags to
5 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
6 defined.
7
81998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
9
10 * signal/signal.h: Fix multiple inclusion guard to cover the
11 entire file.
12 * wcsmbs/wchar.h: Remove prototype of internal function
13 __mbsrtowcs.
14 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
15 arithmetic on `void *'.
16
c06cc21c
UD
171998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
18
19 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
20
21 * posix/wordexp.c (wordexp): Perform word-splitting instead of
22 field-splitting here.
23 (wordexp): If out of memory mid-word, free the word (but still
24 leave pwordexp alone for caller to see).
25 (parse_param): Allow for zero-length fields (smarter checking of
26 memory allocation failure).
27 (w_addword): Convert NULL words to "".
28 (wordexp): Convert left-over IFS characters to blanks (like bash).
29
81e0cb2d
UD
301998-09-11 Ulrich Drepper <drepper@cygnus.com>
31
350eb336
UD
32 * configure.in: Use test -f instead of test -e.
33 Patch by John Tobey <jtobey@banta-im.com>.
34
35 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
36 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
37 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
38 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
39 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
40 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
41 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
42 Patches by John Tobey <jtobey@banta-im.com>.
43
81e0cb2d
UD
44 * time/strftime.c (my_strftime): Delay use of *tp values until
45 latest possible point to allow partly initialized structures
46 (e.g., from strptime).
47
514d9bca
UD
48 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
49 and NATS-SEFI.
50 Define *-routines variables for new modules.
51 (distribute): Add .c files for new modules.
52 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
53 and nats-sefi.h.
54 Add rules for header generation.
55 * iconvdata/gconv-modules: Add entries for new modules.
56 * iconvdata/iso_10367-box.c: New file.
57 * iconvdata/mac-is.c: New file.
58 * iconvdata/nats-dano.c: New file.
59 * iconvdata/nats-sefi.c: New file.
60
81e0cb2d
UD
611998-04-30 18:20 H.J. Lu <hjl@gnu.org>
62
63 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
64 loader if PIC is not defined.
65
ec04e9ba
UD
661998-09-11 Ulrich Drepper <drepper@cygnus.com>
67
68 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
69 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
70 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
71 and ISO_5428.
72 Define *-routines variables for new modules.
73 (distribute): Add .c files for new modules.
74 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
75 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
76 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
77 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
514d9bca 78 Add rules for header generation.
ec04e9ba
UD
79 * iconvdata/gconv-modules: Add entries for new modules.
80 * iconvdata/csn_369103.c: New file.
81 * iconvdata/cwi.c: New file.
82 * iconvdata/dec-mcs.c: New file.
83 * iconvdata/ecma-cyrillic.c: New file.
84 * iconvdata/gost_19768-74.c: New file.
85 * iconvdata/greek-ccitt.c: New file.
86 * iconvdata/greek7-old.c: New file.
87 * iconvdata/greek7.c: New file.
88 * iconvdata/inis-8.c: New file.
89 * iconvdata/inis-cyrillic.c: New file.
90 * iconvdata/inis.c: New file.
91 * iconvdata/iso6937-2.c: New file.
92 * iconvdata/iso_2033.c: New file.
93 * iconvdata/iso_5427-ext.c: New file.
94 * iconvdata/iso_5427.c: New file.
95 * iconvdata/iso_5428.c: New file.
96
97 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
98 entries.
99 Convert U02dd correctly.
100
25c849b1
RH
1011998-09-11 20:46 Richard Henderson <rth@cygnus.com>
102
103 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
104 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
105 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
106 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
107
04795ad9
UD
1081998-09-11 Ulrich Drepper <drepper@cygnus.com>
109
110 * resolv/res_init.c (res_init): Handle resolv.conf file with only
111 one nameserver correctly. Patch by HJ Lu.
112
113 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
114 and ANSI_X3.110.
115 Define *-routines variables for new modules.
116 (distribute): Add .c files for new modules.
117 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
118 Add rules for hedaer generation.
119 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
120 * iconvdata/ansi_x3.110.c: New file.
121 * iconvdata/asmo_449.c: New file.
122 * iconvdata/baltic.c: New file.
123 * iconvdata/iec_p27-1.c: New file.
124
125 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
126 entries.
127 Convert U02dc correctly.
128
129 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
130 * math/atest-exp2.c: Likewise.
131 * math/atest-sincos.c: Likewise.
132
133 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
134 is defined.
135
1361998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
137
138 * string/strcoll.c: Optimize a few expressions.
139 * string/strxfrm.c: Likewise.
140
5e0889da
UD
1411998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
142
143 * manual/locale.texi: Fix typos.
144
2c86b2bc
UD
1451998-09-10 Ulrich Drepper <drepper@cygnus.com>
146
26afaa63
UD
147 * stdlib/random_r.c (__setstate_r): Allow call with same state
148 array as currently used (PR libc/774).
149
6c79e60c
UD
150 * include/limits.h: Include gcc's header even if this file is
151 found more than once before it (PR libc/778)
152
ec04e9ba
UD
153 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
154 (sysdep_headers): Remove sys/debugreg.h.
155 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
156 (sysdep_headers): Add sys/debugreg.h.
39382b8b
UD
157 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
158 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
159
2c86b2bc
UD
160 * stdio-common/tmpnam.c: Move local static variable buf to
161 toplevel and rename to tmpnam_buffer to ease debugging.
162 Patch by Joe Keane <jgk@jgk.org>.
163 Optimize s == NULL case a bit.
164
8e9f53fc
UD
165 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
166 correction.
167
482a3be2
UD
1681998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
169
170 * resolv/res_init.c (res_init): Initialize _res.nscount and
171 _res.nsaddr.sin_port differently for the can when no loopback
172 is available to allow immediate timeout in non-networking environments.
173 Patch by Cristian Gafton <gafton@redhat.com>.
174
e8238963
UD
1751998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
176
177 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
178 BAR and not EM DASH.
179 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
180 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
181 Fixes PR libc/717.
182
90865aa8
UD
1831998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
184
185 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
186 for test.
187 * timezone/tst-timezone.c (tests): Fix typo in last patch.
188
189 * time/tzfile.c (__tzfile_read): Handle case when there are no
190 transitions. Set __timezone based on computed offset.
191 * time/tzset.c (tzset_internal): Set __timezone before returning.
192
193 * time/tzset.c (tzset_internal): Optimize handling of local string
194 copy.
195
1961998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
197
198 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
199 libc/776).
200
adac8450
UD
2011998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
202
203 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
204 (csqrt_test): Likewise.
90865aa8 205 * sysdeps/powerpc/bits/fenv.h: Add parens.
adac8450 206
8e140239
UD
2071998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
208
209 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
210 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
211 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
212
78acf671
UD
2131998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
214
215 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
216 the special `-1' pointer.
217
6e4c40ba
UD
2181998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
219
220 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
221 inline.
222
2231998-09-07 Paul Eggert <eggert@twinsun.com>
224
225 * time/mktime.c (__EXTENSIONS__): Define if not defined.
226 (_REENTRANT): Remove. It has undesirable consequences in
227 Solaris 2.6 (e.g. it turns off the putc macro). Defining
228 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
229 is what we want.
230 * time/strftime.c: Likewise.
231
2321998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
233
234 * elf/dl-error.c: Fix spelling.
235
2361998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
237
238 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
239 * stdio-common/_itoa.c: Likewise.
240 * stdio-common/printf_fp.c: Likewise.
241 * stdio-common/vfscanf.c: Likewise.
242 * wcsmbs/wcstok.c: Likewise.
243 * sysdeps/generic/glob.c: Likewise.
244 * posix/getopt.c: Likewise.
245 * sysdeps/posix/getaddrinfo.c: Likewise.
246 * posix/wordexp.c: Likewise.
247 * io/ftw.c: Likewise.
248 * io/fts.c: Likewise.
249 * misc/getpass.c: Likewise.
250 * iconv/gconv_conf.c: Likewise.
251 * argp/argp-fmtstream.c: Likewise.
252 * argp/argp-help.c: Likewise.
253 * elf/dl-load.c: Likewise.
254 * locale/programs/stringtrans.c: Likewise.
255 * catgets/gencat.c: Likewise.
256 * posix/getconf.c: Likewise.
257 * iconv/gconv_conf.c: Likewise.
258 * iconv/iconv_prog.c: Likewise.
259
260 * string/strcoll.c: Optimize a few expressions.
261 * string/strxfrm.c: Likewise.
262
2631998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
264
265 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
266 level to avoid uninit variable warning.
267
2681998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2aa236b1 269
769ca810 270 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
6e4c40ba 271 instead of _dl_default_scope[2] as argument to _dl_init_next.
769ca810 272
2aa236b1
AS
273 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
274 C9x macro.
275
8ea4a95a
UD
2761998-09-08 Ulrich Drepper <drepper@cygnus.com>
277
6e4c40ba 278 Fix compatibility problems introduced in last change.
dc27836e
UD
279 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
280 defined.
281 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
282 -DWEAK_GMON_START to CFLAGS-initfini.s.
283
e4d50917
UD
284 * elf/dl-object.c (_dl_new_object): Store map address in
285 _dl_loaded if _dl_loaded is NULL.
87c812c2 286 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
e4d50917 287
8ea4a95a
UD
288 * sysdeps/generic/setrlimit64.c: Remove stub warning.
289
88c91118
UD
2901998-09-07 Ulrich Drepper <drepper@cygnus.com>
291
292 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
293 quiet.
2c874db2
UD
294 * db2/btree/bt_cursor.c: Likewise.
295 * db2/common/db_region.db_c: Likewise.
296 * db2/common/db_salloc.db_c: Likewise.
297 * db2/db/db.c: Likewise.
298 * db2/db/db_rec.c: Likewise.
299 * db2/hash/hash.c: Likewise.
300 * db2/hash/hash_page.c: Likewise.
301 * db2/hash/hash_rec.c: Likewise.
302 * db2/log/log_findckp.c: Likewise.
303 * db2/log/log_get.c: Likewise.
304 * db2/log/log_put.c: Likewise.
305 * db2/mp/mp_fget.c: Likewise.
306 * db2/mp/mp_fput.c: Likewise.
307 * db2/mp/mp_region.c: Likewise.
cf9f9a16
UD
308 * stdlib/strtol.c: Likewise.
309 * string/strcoll.c: Likewise.
310 * string/strxfrm.c: Likewise.
94b78bb2
UD
311 * argp/argp-help.c: Likewise.
312 * argp/argp-parse.c: Likewise.
3121cc04 313 * resolv/res_debug.c: Likewise.
88c91118 314
26644e87
UD
3151998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
316
317 * math/tgmath.h (scalb): Only define for __USE_MISC or
318 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
319
2b33e5b0
UD
3201998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
321
322 * libio/stdio.h: Fix comment.
323
324 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
325 __USE_ISOC9X.
326
6796bc80
UD
3271998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
328
329 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
330
331 * elf/dl-open.c: Quiet -Wparentheses warnings.
332 * iconvdata/johab.c: Likewise.
333 * iconvdata/uhc.c: Likewise.
334 * inet/inet_net.c: Likewise.
335 * io/fts.c: Likewise.
336 * locale/newlocale.c: Likewise.
337 * misc/getttyent.c: Likewise.
338 * misc/mntent_r.c: Likewise.
339 * misc/ttyslot.c: Likewise.
340 * nscd/nscd_conf.c: Likewise.
341 * nss/nsswitch.c: Likewise.
342 * resolv/gethnamaddr.c: Likewise.
343 * resolv/nsap_addr.c: Likewise.
344 * resolv/res_debug.c: Likewise.
345 * stdio-common/_itoa.c: Likewise.
346 * stdlib/strtod.c: Likewise.
347 * string/strverscmp.c: Likewise.
348 * sunrpc/svc.c: Likewise.
349 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
350 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
351 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
352 * sysdeps/posix/getaddrinfo.c: Likewise.
353
baa3334a
UD
3541998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
355
356 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
357 for use of global scope.
358 * elf/dlvsym.c (dlvsym_doit): Likewise.
359
3601998-09-02 Paul Eggert <eggert@twinsun.com>
361
362 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
363 copy the redundant bytes at the end of the format as-is; don't
364 just copy their first byte and then rescan, as that might get
365 us an encoding error.
366 Account correctly for the length of multibyte sequences in the
367 format.
368
3691998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
370
371 * posix/wordexp-test.c: Add tests for different IFS values.
372 Change unquoted-newline test so that newline is not in IFS.
373
374 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
375 determining IFS characters. Return WRDE_BADCHAR for unquoted
376 special characters _except_ if they are separators.
377
3781998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
379
380 * include/tgmath.h: New file.
381
382 * libio/stdio.h: Correct reversed #ifs.
383 Patch by Zack Weinberg.
384
385 * manual/creature.texi: Better explain reason for feature select
386 macros.
387 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
388
3891998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
390
391 * include/alloca.h: Add multiple-inclusion guard.
392 * include/db.h: Likewise.
393 * include/db_185.h: Likewise.
6796bc80 394 * include/dlfcn.h: Likewise.
baa3334a
UD
395 * include/fcntl.h: Likewise.
396 * include/grp.h: Likewise.
397 * include/libintl.h: Likewise.
398 * include/mntent.h: Likewise.
399 * include/pwd.h: Likewise.
400 * include/sched.h: Likewise.
401 * include/search.h: Likewise.
402 * include/setjmp.h: Likewise.
403 * include/shadow.h: Likewise.
404 * include/signal.h: Likewise.
405 * include/stdio.h: Likewise.
406 * include/stdlib.h: Likewise.
407 * include/string.h: Likewise.
408 * include/termios.h: Likewise.
409 * include/time.h: Likewise.
410 * include/ulimit.h: Likewise.
411 * include/utmp.h: Likewise.
412 * include/wchar.h: Likewise.
413 * include/sys/file.h: Likewise.
414 * include/sys/gmon.h: Likewise.
415 * include/sys/ioctl.h: Likewise.
416 * include/sys/mman.h: Likewise.
417 * include/sys/resource.h: Likewise.
418 * include/sys/select.h: Likewise.
419 * include/sys/socket.h: Likewise.
420 * include/sys/statfs.h: Likewise.
421 * include/sys/time.h: Likewise.
422 * include/sys/times.h: Likewise.
423 * include/sys/wait.h: Likewise.
424
be935610
UD
4251998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
426
427 * version.h (VERSION): Bump to 2.0.96.
428
429 Rewrite runtime linker to be truly thread-safe. There is now no
430 global variable specifying the scope. We create all needed
431 scopes at the time the link maps are created.
432 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
433 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
434 l_symbolic_searchlist, l_scope, and l_local_scope elements in
435 struct link_map.
436 * elf/dl-close.c: Rewritten accordingly.
437 * elf/dl-deps.c: Likewise.
438 * elf/dl-error.c: Likewise.
439 * elf/dl-init.c: Likewise.
440 * elf/dl-load.c: Likewise.
441 * elf/dl-lookup.c: Likewise.
442 * elf/dl-object.c: Likewise.
443 * elf/dl-open.c: Likewise.
444 * elf/dl-reloc.c: Likewise.
445 * elf/dl-runtime.c: Likewise.
446 * elf/dl-support.c: Likewise.
447 * elf/dl-symbol.c: Likewise.
448 * elf/dl-version.c: Likewise.
be935610
UD
449 * elf/dlsym.c: Likewise.
450 * elf/dlvsym.c: Likewise.
451 * elf/ldsodefs.h: Likewise.
452 * elf/rtld.c: Likewise.
453 * iconv/gconv_dl.c: Likewise.
454 * nss/nsswitch.c: Likewise.
455 * sysdeps/i386/dl-machine.h: Likewise.
456 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
457
6796bc80
UD
458 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
459 Define RTLD_DEFAULT.
460
2b4083dd
RM
4611998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
462
463 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
464 __getopt_clean_environment with __environ instead of envp.
465
a361203e
RM
4661998-09-05 Roland McGrath <roland@baalperazim.frob.com>
467
2b4083dd
RM
468 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
469
531e4bca
RM
470 * string/argz-extract.c (__argz_extract): Add de-consting cast for
471 setting results.
472
62ee0979 473 * string/argz.h (argz_next): Add de-consting cast for return.
531e4bca 474 * string/argz-next.c (__argz_next): Likewise.
62ee0979 475
59cacc81
RM
476 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
477 Don't add netinet/udp.h, netinet/ip_icmp.h here.
478 * sysdeps/gnu/Makefile: Do it here instead.
479 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
480 * sysdeps/gnu/Dist: ... to here.
481
a361203e
RM
482 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
483 sysdeps/unix/sysv/linux/netinet/tcp.h,
484 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
485
29659dd2
RM
4861998-09-04 Roland McGrath <roland@baalperazim.frob.com>
487
488 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
489 * string/argz-next.c, string/argz-extract.c: Fix defns.
490
1097c603
RM
4911998-09-03 Roland McGrath <roland@baalperazim.frob.com>
492
493 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
494
495 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
496 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
497 * sysdeps/generic/sysd-stdio.c: Likewise.
498
143e2b96
UD
4991998-09-02 Ulrich Drepper <drepper@cygnus.com>
500
501 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
502 (_dl_map_object_from_fd): Make NAME argument const.
503 Remove last parameter in _dl_new_object call.
504 (print_search_path): Correct construction of composed path name.
505 (_dl_map_object): Prevent looking at RPATH of the main map twice.
506 Remove last parameter in _dl_new_object call.
507 * elf/dl-object.c: Remove last parameter. Determine whether create
508 origin entry based on empty realname. Handle file in root directory
509 correctly.
510 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
511 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
512 Remove last parameter in _dl_new_object call.
513 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
514 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
515
fc3597c0
UD
5161998-09-01 Ulrich Drepper <drepper@cygnus.com>
517
4ce636da
UD
518 * elf/dl-close.c (_dl_close): Add more comments and correct some.
519 Free l_searchlist and l_dupsearchlist.
520
fc3597c0
UD
521 * debug/catchsegv.sh: Add one more pair of quotes.
522
76156ea1
UD
5231998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
524
525 * elf/dl-load.c (add_name_to_object): Change return type to void and
526 make NAME parameter const. Allocate room for NAME in same memory
527 block used for l_libname entry.
528 (_dl_map_object_from_fd): Don't free NAME on failure.
529 (map_segment): Pass SONAME to add_name_to_object, not a copy.
530 (_dl_map_object): Don't create copy of NAME. Pass NAME to
531 _dl_map_object_from_fd.
532 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
533 memory block used for l_libname entry.
534 * elf/dl-close.c: Adjust free()ing for this change.
535
a8a1269d
UD
5361998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
537
538 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
539
540 * malloc/mtrace.c: Add bug report address. Update email address.
541 Add more @XXX@ to print correct address size.
542
543 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
544 really initialized.
545
546 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
547 for munmap call instead of examining phdr again.
548 Free all malloc()ed strings and arrays.
549
052b6a6c
UD
5501998-08-09 Geoff Keating <geoffk@ozemail.com.au>
551
552 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
553 dl-machine.h.
554 * sysdeps/powerpc/dl-machine.c: New file.
555 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
556 files. Revise ELF_PREFERRED_ADDRESS to take account of
557 the new mapping information (fixes bug involving huge bloated
558 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
559 * sysdeps/powerpc/dl-start.S: New file.
560
561 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
562 l_map_end.
563 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
564 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
565 others. Call elf_dynamic_do_##reloc only once (to save even more
566 space).
567 * elf/link.h: Add new members l_map_start and l_map_end to keep
568 track of the memory map.
569 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
570 the executable.
571
5721998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
573
574 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
575 Reported by Andreas Jaeger.
576
577 * posix/glob.h: Use __size_t instead of size_t in definitions and
578 make sure this is defined.
579
85c165be
UD
5801998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
581
052b6a6c 582 * manual/locale.texi: Almost complete rewrite. Document more functions
85c165be
UD
583 and functionality.
584 * manual/arith.texi: Correct reference.
585 * manual/string.texi: Pretty printing.
586
587 * manual/texinfo.tex: Update from last available version.
588
5891998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
590
591 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
592 invalid password.
593 (_nss_nis_getpwuid_r): Likewise.
594 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
595
596 * inet/rcmd.c: Implement netgroup support.
597 Patch by Dick Streefland <dick_streefland@tasking.com>.
598
7afab53d
UD
5991998-08-31 Ulrich Drepper <drepper@cygnus.com>
600
601 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
602 object on the list is removed. Don't use this code for PIC.
603 Reported by HJ Lu [PR libc/770].
604
bfce746a
UD
6051998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
606
607 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
608
609 * include/stdio.h: Add __vsscanf.
610
611 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
612 __USE_ISOC9X.
613 Remove __vsscanf declaration.
614 Always declare fgetpos and fsetpos.
615
616 * math/math.h: Define isinf as macro.
617 * math/bits/mathcalls.h: Change to declare __isinf all the time.
618 Don't declare scalb for ISO C 9x.
619
620 * math/tgmath.h: Define fma. Rewrite the underlying macros.
621
622 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
623
624 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
625 sys/ucontext.h.
626
627 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
628 macros.
629
6301998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
631
632 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
633 Reported by jreising@frequentis.com [PR libc/767].
634
6351998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
636
637 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
638 fl.l_start at beginning of function.
639 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
640
ac72fbb1
UD
6411998-08-31 Ulrich Drepper <drepper@cygnus.com>
642
643 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
644 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
645
646 * nscd/nscd.init: Make it work in RedHat systems.
647 Patch by Christian Gafton.
648
6491998-08-29 Philip Blundell <philb@gnu.org>
650
651 * catgets/Makefile: Don't try to run test programs when
652 cross-compiling.
653
6541998-08-31 Ulrich Drepper <drepper@cygnus.com>
655
656 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
657 Reported by Zack Weinberg.
658
6591998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
660
661 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
662 * elf/Makefile (distribute): Remove ldd.sh.in.
663
6641998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
665
666 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
667 variable.
668
e0d46614
UD
6691998-08-29 Ulrich Drepper <drepper@cygnus.com>
670
671 * sysdeps/i386/register-dump.h: Move to ...
672 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
673
b0cf070b
UD
6741998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
675
676 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
677 with load address, not map address.
678 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
679 parameter and use this value.
680 * sysdeps/arm/dl-machine.h: Likewise.
681 * sysdeps/i386/dl-machine.h: Likewise.
682 * sysdeps/m68k/dl-machine.h: Likewise.
683 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
684 parameter.
685 * sysdeps/powerpc/dl-machine.h: Likewise
686 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
687 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
688
997a4165
UD
6891998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
690
691 * elf/rtld.c (process_envvars): Fix copy&paste error.
692
693 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
694 memalign hook.
695 (realloc_hook_ini): Don't overwrite memalign hook.
696 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
697 Reported by Philippe Troin <phil@fifi.org>.
698
699 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
700 Patch by Philippe Troin <phil@fifi.org>.
701
7021998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
703
704 * sysdeps/generic/segfault.c (install_handler): Protect the
705 non-POSIX signals with #ifdef.
706 (catch_segfault): Add missing mode parameter for open.
707 * debug/catchsegv.sh: Avoid termination message from shell. Allow
708 other termination signals.
709
7101998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
711
712 * debug/Makefile (distribute): Add register-dump.h.
713
7141998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4226897d
AS
715
716 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
717
f787edde
UD
7181998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
719
720 * elf/Makefile (distribute): Add dl-origin.h.
721 * sysdeps/generic/dl-origin.h: New file.
722 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
723 * elf/link.h (struct link_map): Add l_origin field.
724 * elf/dl-load.c (expand_dynamic_string_token): New function.
725 (decompose_path): Remove WHERE argument, take link map pointer instead.
726 Call expand_dynamic_string_token instead of local_strdup to make copy
727 of rpath.
728 (_dl_init_paths): Call decompose_path with correct argument.
729 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
730 not defined.
731 Check EI_OSABI and EI_ABIVERSION fields in header.
5f623941 732 Call _dl_new_object with extra argument.
f787edde
UD
733 (_dl_map_object): Call decompose_path with correct argument.
734 Call expand_dynamic_string_token instead of local_strdup to also
735 expand DST.
5f623941 736 Call _dl_new_object with extra argument.
f787edde 737 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5f623941
UD
738 but the main one if new argument is nonzero.
739 * elf/ldsodefs.h: Adjust for _dl_new_object change.
f787edde
UD
740 * elf/dl-support.c: Define _dl_origin_path.
741 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
5f623941 742 (dl_main): Call _dl_new_object with extra argument.
f787edde
UD
743
744 * elf/dl-close (_dl_close): Free l_name and l_origin.
745
746 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
747 modifier in asm, not c.
748
749 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
750 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
751
6075607b
UD
7521998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
753
754 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
755 variable so that map can be freed.
756 Reported by Philippe Troin <phil@fifi.org>.
757
758 * elf/dl-open.c (dl_open_worker): Correct test for extending global
759 scope array.
760 Patch by Philippe Troin <phil@fifi.org>.
761
7621998-08-26 Geoff Keating <geoffk@ozemail.com.au>
763
764 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
765 Don't call writev() with a 100-element vector.
766 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
767 return address.
768
769 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
770 In particular, set __libc_stack_end.
771 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
772 undefined. Fix copyright notice.
773
7741998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
775
776 * math/Makefile (gmp-objs): New variable.
777 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
778 Depend on it.
779 (tests): Add atest-exp atest-sincos atest-exp2.
780 (tests-static): Remove atest-exp atest-sincos atest-exp2.
781
08cac4ac
UD
7821998-08-25 Ulrich Drepper <drepper@cygnus.com>
783
784 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
785 to toplevel.
786 (_dl_unload_cache): New function.
787 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
788 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6075607b 789 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
08cac4ac
UD
790
791 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
792 Correct comment for O_LARGEFILE.
793 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
794 Change O_LARGEFILE to correct value.
795
7961998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
797
798 * libio/iogetline.c (_IO_getline_info): Don't read anything for
799 N == 0. Patch by HJ Lu.
800
6dbb7062
UD
8011998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
802
803 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
804
8051998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
806
807 * argp/argp.h: Use __inline__ not inline.
808
809 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
810 an input register as being clobbered.
811 * sysdeps/i386/memset.c (memset): Likewise.
812 * sysdeps/i386/bzero.c (__bzero): Likewise.
813 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
814
8151998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
816
817 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
818 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
819
ed1ac6a2
UD
8201998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
821
822 * debug/catchsegv.sh: Handle text preceding backtrace better.
823 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
824 to be installed for other signals than SIGSEGV.
825 * sysdeps/generic/register-dump.h: New file.
826 * sysdeps/i386/register-dump.h: New file.
827 * sysdeps/powerpc/register-dump.h: New file.
828
829 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
830 sigcontextinfo.h.
831 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
832
8331998-08-24 Geoff Keating <geoffk@ozemail.com.au>
834
835 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
836
8371998-08-09 Geoff Keating <geoffk@ozemail.com.au>
838
839 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
840 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
841 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
842 getresuid, getresgid.
843
8441998-08-16 Geoff Keating <geoffk@ozemail.com.au>
845
846 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
847 pointer in userland.
848
8491998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
850
851 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
852 and fix value.
853
8541998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
855
856 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
857 over arguments Bourne shell compatible. Don't exit unsuccessfully
858 if nonelf returns successfully. Avoid duplicating most of the
859 script.
860 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
861 around $file.
862
8631998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99475e65
AS
864
865 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
866 sys/reg.h.
867 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
868 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
869
b259e746
UD
8701998-08-23 Ulrich Drepper <drepper@cygnus.com>
871
872 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
873 __modify_ldt and modify_ldt.
874 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
875
876 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
877 Use orl $-1 instead of movl $-1 to save two bytes.
878 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
879 Likewise.
880
8811998-08-17 H.J. Lu <hjl@gnu.org>
ed1ac6a2
UD
882
883 * libio/Versions (_IO_do_write, _IO_file_attach,
884 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
885 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
886 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
887 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
888
889 * libio/fileops.c (_IO_do_write, _IO_file_attach,
890 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
891 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
892 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
893 _IO_file_write, _IO_file_xsputn): Change the prefix to
894 "_IO_new_". Added to GLIBC_2.1.
895
896 * libio/libioP.h (_IO_do_write, _IO_file_attach,
897 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
898 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
899 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
900 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
901 "_IO_new_".
902
903 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
904 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
905 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
906 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
907 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
908
b259e746
UD
9091998-08-23 Richard Henderson <rth@cygnus.com>
910
911 * Makeconfig (LDFLAGS): Remove.
912
ed1ac6a2 913 * csu/initfini.c: Return to .text before __gmon_start__.
b259e746 914
ed1ac6a2
UD
915 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
916 (STO_MIPS_*): Rename from STO_*.
917 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
918 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
b259e746 919
ed1ac6a2
UD
920 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
921 (main): e3s is negative on zero.
922 * math/atest-exp2.c: Likewise.
b259e746
UD
923 * math/atest-sincos.c: Likewise.
924
ed1ac6a2
UD
9251998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
926
927 * Makerules (install): Add comment about absolute paths.
928
b259e746
UD
9291998-08-23 Ulrich Drepper <drepper@cygnus.com>
930
931 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
932 array to NUL to handle maxlen==1 case correctly.
933 Patch by HJ Lu.
934
9351998-08-23 Richard Henderson <rth@cygnus.com>
7d84a067
RH
936
937 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
938 * sysdeps/alpha/elf/crtend.S: Likewise.
939 * sysdeps/alpha/elf/start.S: Likewise.
940
941 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
942 non-standard pv usage.
943
944 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
945 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
946 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
947 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
948 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
949 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
950 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
951 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
952 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
953 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
954 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
955
956 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
957 a finite non-denormal, deferring to the full IEEE version otherwise.
958
959 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
960 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
961 * sysdeps/alpha/fpu/s_floor.c: New.
962 * sysdeps/alpha/fpu/s_floorf.c: New.
963 * sysdeps/alpha/fpu/s_ceil.c: New.
964 * sysdeps/alpha/fpu/s_ceilf.c: New.
965
e86e2df1
UD
9661998-08-22 Philip Blundell <philb@gnu.org>
967
968 * sysdeps/arm/bits/string.h: New file.
969
14a44a69
UD
9701998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
971
972 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
973 document it.
974
975 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
976 test for recent Linux 2.1.100+ headers.
977
e36b0b57
UD
9781998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
979
980 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
981
5148d49f
UD
9821998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
983
984 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
985
9861998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
987
988 * Makefile (elf/ldso_install): Put back. The problem still persists.
989 * elf/Makefile (ldso_install): Likewise.
990
9911998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
992
993 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
994 create weak alias.
995 * include/db.h: Declare __nss_db_open.
996 * db2/Versions: Export it.
997
998 * db2/makedb.c: Convert to use db2 API.
999 * nss/nss_db/db-XXX.c: Likewise.
1000 * nss/nss_db/db-netgrp.c: Likewise.
1001 * nss/nss_db/db-alias.c: Likewise.
1002 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1003
10041998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1005
1006 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1007 sys_setresuid, already built automatically (or not).
1008 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1009 instead of __syscall_setresuid and add back setresuid.
1010 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1011 __syscall_setresuid.
1012
10131998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1014
1015 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1016
1ddf537f
UD
10171998-08-20 Ulrich Drepper <drepper@cygnus.com>
1018
1019 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1020 BASH-ONLY marked region.
1021 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1022
10231998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1024
1025 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1026 _IO_SYSSEEK fails.
1027
1028 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1029
4df28840 1030 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1ddf537f
UD
1031 element.
1032
8e48355c
RM
10331998-08-21 Roland McGrath <roland@baalperazim.frob.com>
1034
1035 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1036 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1037 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1038 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1039 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1040 those magic comments, and to use /bin/sh for @BASH@.
1041 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1042 * elf/ldd.sh.in: File removed.
1043
d762684b
UD
10441998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
1045
1046 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1047 cast them to unsigned long int.
1048 * pwd/putpwent.c (putpwent): Likewise.
1049 Patch by John Tobey <jtobey@banta-im.com>.
1050
10511998-08-20 17:14 H.J. Lu <hjl@gnu.org>
1052
1053 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1054 _IO_pos_BAD.
1055
10561998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1057
1058 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1059 _IO_SYSSEEK fails.
1060
7934cc16
UD
10611998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
1062
1063 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1064 Add umount and umount2.
1065 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1066 * sysdeps/unix/sysv/linux/umount.S: New file.
1067 * sysdeps/unix/sysv/linux/umount2.S: New file.
1068 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1069 Define MNT_FORCE.
1070
d762684b
UD
1071 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1072 Add sys/sendfile.h.
1073 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1074 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1075
1076 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1077
1078 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1079 sendfile.
1080
df777c40
UD
10811998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
1082
1083 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1084 * elf/ldd.bash.in: Likewise.
1085
1086 * elf/sln.c: Avoid warning for no main prototype.
1087
1088 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1089 O_WRITE.
1090 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1091 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1092
1093 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1094 F_GETSIG.
1095 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1096 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1097 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1098
10991998-08-20 Philip Blundell <pb@nexus.co.uk>
1100
1101 * sysdeps/arm/fpu/ieee754.h: Move to...
1102 * sysdeps/arm/ieee754.h: ... here.
1103
1104 * sysdeps/arm/__longjmp.S: Put return value in correct register.
1105 Don't set the condition flags unnecessarily.
1106 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
1107 registers correctly.
1108
1109 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1110 (patch from Scott Bambrough).
1111
1112 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1113
1114 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1115 NULL, just call it unconditionally.
1116 (__gmon_start__): Provide stub version as a weak symbol.
1117
11181998-07-30 Philip Blundell <philb@gnu.org>
1119
1120 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1121 by Scott Bambrough)
1122
1123 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1124 like `@' in .type directives.
1125
1126 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1127 * sysdeps/arm/bsd-_setjmp.S: Likewise.
1128
1129 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1130
11311998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1132
1133 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1134 (F_GETOWN): Likewise.
1135
1136 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1137 Linux 2.1.117).
1138
11391998-08-20 Ulrich Drepper <drepper@cygnus.com>
1140
1141 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1142 already defined.
1143
0c6cee5d
UD
11441998-08-18 Ulrich Drepper <drepper@cygnus.com>
1145
1146 * include/features.h: Define __USE_EXTERN_INLINES for recent
1147 enough gcc.
1148 * argp/argp.h: Define extern inline functions only if
1149 __USE_EXTERN_INLINES is defined.
1150 * libio/stdio.h: Likewise.
1151 * math/math.h: Likewise.
1152 * stdlib/stdlib.h: Likewise.
1153 * string/argz.h: Likewise.
1154 * sysdeps/generic/bits/sigset.h: Likewise.
1155 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1156 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1157 * sysdeps/wordsize-32/inttypes.h: Likewise.
1158 * sysdeps/wordsize-64/inttypes.h: Likewise.
1159 * wcsmbs/wchar.h: Likewise.
1160
1161 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1162 to allow compilation without optimization.
1163
df777c40
UD
11641998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1165
1166 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1167 more entries.
1168 * nis/nss_compat/compat-initgroups.c: Likewise.
1169 * nis/nss_compat/compat-pwd.c: Likewise.
1170 * nis/nss_compat/compat-spwd.c: Likewise.
1171 * nis/nss_nis/nis-alias.c: Likewise.
1172 * nis/nss_nis/nis-ethers.c: Likewise.
1173 * nis/nss_nis/nis-grp.c: Likewise.
1174 * nis/nss_nis/nis-hosts.c: Likewise.
1175 * nis/nss_nis/nis-initgroups.c: Likewise.
1176 * nis/nss_nis/nis-network.c: Likewise.
1177 * nis/nss_nis/nis-proto.c: Likewise.
1178 * nis/nss_nis/nis-pwd.c: Likewise.
1179 * nis/nss_nis/nis-rpc.c: Likewise.
1180 * nis/nss_nis/nis-service.c: Likewise.
1181 * nis/nss_nis/nis-spwd.c: Likewise.
1182
1183 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1184
1185 * nis/ypclnt.c: Try binding dir only first time, could be to old.
1186
1187 * nis/yp_xdr.c: Remove 1024 byte limit.
1188 * nis/ypupdate_xdr.c: Likewise.
1189
1190 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1191 wrong data.
1192
c82e6116
RM
11931998-08-18 Roland McGrath <roland@baalperazim.frob.com>
1194
1195 * Rules (binaries-static, binaries-shared static pattern rules):
1196 Depend on lib%, not just libc%, from $(link-libc{,-static}).
1197
1198 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1199 this here, overriding Makeconfig generic value so we link against
1200 the RPC libs.
1201
364ff81f
UD
12021998-08-17 Ulrich Drepper <drepper@cygnus.com>
1203
1204 * posix/tstgetopt.c (options): Add NULL entry at end
1205 Patch by Adrian Miranda <ade@psg.com>.
1206
5d7de7aa
UD
12071998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
1208
1209 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
1210 to 9.
1211
d610a544
UD
12121998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
1213
1214 * elf/elf.h: Add PPC Diab relocations.
1215
1216 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1217
409dfcea
UD
12181998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
1219
1220 * manual/texinfo.tex: Update.
1221
12221998-08-07 Geoff Keating <geoffk@ozemail.com.au>
1223
1224 * sysdeps/powerpc/backtrace.c: New file.
1225
12261998-08-14 Philip Blundell <pb@nexus.co.uk>
1227
1228 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1229 sigjmp_save.
1230 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1231
12321998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1233
1234 * Makefile (install-symbolic-link): Fix spelling.
1235
12361998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1237
1238 * elf/elf.h (SHT_HIOS): Fix value.
1239
12401998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1241
1242 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1243 part of the expansion, this is undefined by the standard.
1244
9d141cae
UD
12451998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
1246
1247 * posix/getconf.c: Add support for systems with incomplete confname.h.
1248
1249 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1250
1251 * sysdeps/posix/wait3.c: Make it work.
1252
12531998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1254
1255 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1256 (elf/ldso_install): Remove.
1257
1258 * elf/Makefile (distribute): Add sln.c.
1259 (others): Add sln.
1260 (others-static): Add sln.
1261 (install-rootsbin): Add sln.
1262 (others-static): Add sln.
1263 (ldso_install): Remove.
1264
12651998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1266
1267 * Makerules (install-clean-symbolic-link-list): Make phony.
1268 * Makefile (install-symbolic-link): Make phony. Depend on
1269 subdir_install for parallel makes.
1270
1271
12721998-07-22 Ulrich Drepper <drepper@cygnus.com>
1273
1274 * elf/Makefile (distribute): Add sln.c
1275
12761998-07-21 07:10 H.J. Lu <hjl@gnu.org>
1277
1278 * elf/sln.c: New file.
1279
1280 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1281 (install-clean-symbolic-link-list): New target.
1282 (install): Depend on install-clean-symbolic-link-list.
1283 (make-shlib-link): Changed for $(symbolic-link-list).
1284
1285 * Makefile (install-symbolic-link): New target.
1286 (install): Depend on install-symbolic-link.
1287
1f539fd1
UD
12881998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
1289
1290 * include/unistd.h: Protect against multiple inclusion.
1291
1292 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1293 is defined, not is glob is defined.
1294 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1295
12961998-08-01 17:18 H.J. Lu <hjl@gnu.org>
1297
1298 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1299 xdr_string for ut_line, ut_name and ut_host.
1300
13011998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1302
1303 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1304 /var/mail in accordance with FHS 2.0.
1305 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1306
13071998-08-12 Richard Henderson <rth@cygnus.com>
1308
1309 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1310 Update aliases for cancelation.
1311
1312 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1313 playing with symbol versions.
1314
259d930a
RM
13151998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1316
1317 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1318 multiple inclusion protection.
1319 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1320 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1321 define all these to 1.
1322 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1323
d6765f1d
RM
13241998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1325
1326 * sysdeps/mach/usleep.c: Include <unistd.h>.
1327 (usleep): Return void.
1328
13291998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1330
1331 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1332 decl to inhibit warning in if_freenameindex defn.
1333
1334 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1335
1336 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1337
1338 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1339 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1340 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1341 * sysdeps/mach/usleep.c: Likewise.
1342
1343 * sysdeps/mach/hurd/bind.c (bind): Add a const.
1344
1345 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1346 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1347 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1348 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1349 * sysdeps/mach/usleep.c (usleep): Likewise.
1350 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1351 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1352 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1353 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1354
13551998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1356
1357 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1358 (glob64): Fix typo.
1359
1360 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1361 %p arg to fprintf, since `void *' is the right type already.
1362
b5876a19
RM
13631998-07-25 19:47 Jose M. Moya <josem@gnu.org>
1364
1365 * sysdeps/mach/hurd/getcwd.c
1f539fd1
UD
1366 (_hurd_canonicalize_directory_name_internal): Do not loop forever
1367 for unknown root directories.
b5876a19 1368 (__getcwd): Return NULL when the current root directory could not
1f539fd1 1369 be reached.
b5876a19 1370
f81d98d6 13711998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
a2bde807 1372
f81d98d6 1373 * string/strsignal.c (strsignal): Count real-time signals from zero.
a2bde807 1374
a5f4e34a 1375
f81d98d6 1376See ChangeLog.8 for earlier changes.
This page took 0.171553 seconds and 5 git commands to generate.