1 2001-04-10 Andreas Schwab <schwab@suse.de>
3 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
5 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
7 2001-04-09 Ulrich Drepper <drepper@redhat.com>
9 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
10 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
12 * libio/Makefile (distribute): Add fd_to_filename.h.
14 2001-04-05 David S. Miller <davem@redhat.com>
16 Add hp-timing support for sparcv9/sparc64 targets.
17 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
18 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
19 * sysdeps/sparc/sparc64/hp-timing.c: New file
20 * sysdeps/sparc/sparc64/hp-timing.h: New file
21 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
22 * sysdeps/sparc/sparc64/Makefile: Likewise.
24 2001-04-09 Jakub Jelinek <jakub@redhat.com>
26 * sysdeps/generic/fd_to_filename.h: New file.
27 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
28 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
29 filename from the open file descriptor.
30 * libio/freopen64.c (freopen64): Likewise.
32 2001-04-09 Bruno Haible <haible@clisp.cons.org>
34 * misc/error.c (error): fflush stdout also if
35 error_print_progname != NULL.
36 (error_at_line): Likewise.
38 2001-04-07 Bruno Haible <haible@clisp.cons.org>
40 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
41 (struct binding): Add codeset_cntr field.
42 (_nl_load_domain): Add domainbinding argument.
43 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
44 (_nl_find_msg): New declaration, moved here from loadinfo.h.
45 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
46 (_nl_make_l10nflist): Remove domainbinding argument.
47 (_nl_find_msg): Move declaration to gettextP.h.
48 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
49 to 0. Increment it when ->codeset is changed.
50 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
51 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
52 if domainbinding->codeset_cntr has been incremented.
53 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
54 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
55 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
56 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
57 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
58 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
59 (_nl_load_domain): Add domainbinding argument. Call
61 (_nl_unload_domain): Call _nl_free_domain_conv.
62 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
63 (test-srcs): Add tst-codeset.
64 (tests): Depend on tst-codeset.out.
65 (tst-codeset.out): New rule.
66 (CFLAGS-tst-codeset.c): New variable.
67 * intl/tst-codeset.sh: New file.
68 * intl/tstcodeset.po: New file.
69 * intl/tst-codeset.c: New file.
70 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
73 2001-04-07 Roland McGrath <roland@frob.com>
75 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
77 2001-03-31 Roland McGrath <roland@frob.com>
79 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
80 copying send rights into child. When we hit our name for our proc
81 port, just copy NEWPROC directly instead of repeating proc_task2proc
82 to install the child's port.
84 2001-04-08 Roland McGrath <roland@frob.com>
86 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
87 in second column, to provide default values for third column.
88 * shlib-versions: Add comments about using DEFAULT in second column.
89 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
90 (cris-.*-linux.*): Likewise.
92 2001-04-09 Ulrich Drepper <drepper@redhat.com>
94 * Makefile (distribute): Add scripts/documented.sh.
95 * scripts/documented.sh: New file.
97 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
99 * sysdeps/unix/sysv/linux/cris/Dist: New file.
100 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
101 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
102 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
103 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
104 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
105 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
106 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
107 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
108 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
109 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
110 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
111 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
112 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
113 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
114 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
115 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
116 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
117 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
118 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
119 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
120 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
121 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
122 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
123 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
124 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
125 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
126 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
127 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
128 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
129 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
130 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
131 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
132 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
133 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
134 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
135 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
136 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
137 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
138 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
139 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
140 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
141 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
142 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
143 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
144 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
145 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
146 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
147 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
148 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
150 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
152 * sysdeps/cris/Dist: New file.
153 * sysdeps/cris/Implies: New file.
154 * sysdeps/cris/Makefile: New file.
155 * sysdeps/cris/__longjmp.S: New file.
156 * sysdeps/cris/_mcount.S: New file.
157 * sysdeps/cris/bits/endian.h: New file.
158 * sysdeps/cris/bits/setjmp.h: New file.
159 * sysdeps/cris/bits/string.h: New file.
160 * sysdeps/cris/dl-machine.h: New file.
161 * sysdeps/cris/elf/start.S: New file.
162 * sysdeps/cris/machine-gmon.h: New file.
163 * sysdeps/cris/memcopy.h: New file.
164 * sysdeps/cris/memusage.h: New file.
165 * sysdeps/cris/setjmp.S: New file.
166 * sysdeps/cris/sysdep.h: New file.
167 * sysdeps/cris/wordcopy.c: New file.
169 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
171 * elf/elf.h: Add new relocations for CRIS.
173 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
175 * shlib-versions: Add cases for Linux on CRIS.
177 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
179 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
180 ';' for comments and '@' for line separator.
182 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
184 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
185 typo; s/==/=/ for assignment.
187 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
189 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
191 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
193 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
194 empty input before checking full output.
196 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
198 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
201 2001-04-08 Ulrich Drepper <drepper@redhat.com>
203 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
205 2001-04-07 Stephen L Moshier <moshier@mediaone.net>
207 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
210 2001-04-07 Ulrich Drepper <drepper@redhat.com>
212 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
214 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
215 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
216 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
217 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
218 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
219 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
221 2001-04-07 Andreas Jaeger <aj@suse.de>
223 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
224 instead of separate sin and cos.
225 (__ieee754_j1l): Likewise.
227 2001-04-06 Ulrich Drepper <drepper@redhat.com>
229 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
231 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
233 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
235 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
237 * sysdeps/generic/e_scalbf.c: Likewise.
238 * sysdeps/generic/e_scalbl.c: Likewise.
239 Patch by Mark Hatle <fray@mvista.com>.
241 2001-04-05 David S. Miller <davem@redhat.com>
243 * sysdeps/sparc/abort-instr.h: New file.
245 2001-04-05 Matt Wilson <msw@redhat.com>
247 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
248 added code to parse new 2.4 format.
249 (GET_NPROCS_CONF_PARSER): Likewise.
251 2001-04-05 David S. Miller <davem@redhat.com>
253 * scripts/config.sub: Recognize sparcv9b like sparcv9.
254 * configure.in: Add sparcv9b.
255 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
256 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
257 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
259 2001-04-06 David Mosberger <davidm@hpl.hp.com>
261 * stdlib/tst-setcontext.c: Move st2[] to global scope.
262 (f2): Verify that stack pointer is inside st2[].
264 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
265 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
267 2001-04-06 Ulrich Drepper <drepper@redhat.com>
269 * timezone/antarctica: Update from tzdata2001b.
270 * timezone/asia: Likewise.
271 * timezone/australasia: Likewise.
272 * timezone/europe: Likewise.
273 * timezone/northamerica: Likewise.
275 * iconv/iconv_open.c: Move strip and upstr definitions...
276 * iconv/gconv_charset.h: ...here. New file.
277 * iconv/gconv_db.c (once): Move to file level.
278 (do_lookup_alias): Split out from __gconv_find_transform.
279 (__gconv_find_transform): Call do_lookup_alias.
280 (__gconv_loopup_alias): New function.
281 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
283 * locale/categories.def: Add entries for new _NL_*_CODESET values.
284 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
285 * locale/C-address.c: Initialize _NL_*_CODESET element.
286 * locale/C-collate.c: Likewise.
287 * locale/C-identification.c: Likewise.
288 * locale/C-measurement.c: Likewise.
289 * locale/C-messages.c: Likewise.
290 * locale/C-monetary.c: Likewise.
291 * locale/C-name.c: Likewise.
292 * locale/C-numeric.c: Likewise.
293 * locale/C-paper.c: Likewise.
294 * locale/C-telephone.c: Likewise.
295 * locale/C-time.c: Likewise.
296 * locale/localeinfo.h: Declare _nl_C_codeset.
297 * locale/C_name.c: Define _nl_C_codeset.
298 * locale/findlocale.c: Before accepting locale check that the used
299 charset does not conflict with what the locale name said.
300 * locale/programs/ld-address.c: Emit codeset information.
301 * locale/programs/ld-collate.c: Likewise.
302 * locale/programs/ld-identification.c: Likewise.
303 * locale/programs/ld-measurement.c: Likewise.
304 * locale/programs/ld-messages.c: Likewise.
305 * locale/programs/ld-monetary.c: Likewise.
306 * locale/programs/ld-name.c: Likewise.
307 * locale/programs/ld-numeric.c: Likewise.
308 * locale/programs/ld-paper.c: Likewise.
309 * locale/programs/ld-telephone.c: Likewise.
310 * locale/programs/ld-time.c: Likewise.
312 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
313 if the locale data couldn't be found.
315 * string/Makefile: Define tst-strxfrm-ENV.
317 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
319 2001-04-06 Andreas Jaeger <aj@suse.de>
321 * include/sys/profil.h: New file.
323 * dlfcn/modatexit.c: Add prototypes to silence GCC.
324 * dlfcn/modcxaatexit.c: Likewise.
325 * elf/globalmod1.c: Likewise.
327 2001-04-05 David S. Miller <davem@redhat.com>
329 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
330 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
331 capability flags table and HWCAP_IMPORTANT, increase
332 _DL_HWCAP_COUNT to 6.
333 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
335 2001-04-04 David Mosberger <davidm@hpl.hp.com>
337 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
338 initialization of stack_end (bug reported by Zheng Gengbin
339 <gzheng@students.uiuc.edu>).
341 2001-04-05 Ulrich Drepper <drepper@redhat.com>
343 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
345 2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
347 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
349 2001-04-05 Ulrich Drepper <drepper@redhat.com>
351 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
352 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
354 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
356 2001-04-04 Ulrich Drepper <drepper@redhat.com>
358 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
359 define simple replacements here. Patch by Michael Keezer.
361 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
362 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
363 Contributed by Stephen L Moshier <moshier@mediaone.net>.
365 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
368 2001-04-01 Andreas Jaeger <aj@suse.de>
370 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
373 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
375 2001-04-04 Ulrich Drepper <drepper@redhat.com>
377 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
378 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
380 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
382 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
383 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
384 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
385 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
386 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
387 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
388 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
389 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
390 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
392 2001-04-04 Andreas Jaeger <aj@suse.de>
394 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
397 2001-04-04 Ulrich Drepper <drepper@redhat.com>
399 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
400 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
401 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
402 (unsigned_dec): Likewise.
403 Patch by atai@jezebel.dreamhost.com.
405 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
406 pointer to int as last parameter of yp_match.
407 Patch by kanazawa@flab.fujitsu.co.jp.
409 2001-04-03 Ulrich Drepper <drepper@redhat.com>
411 * resolv/netdb.h (gai_strerror): Make return value const.
412 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
413 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
414 Add strings for new error values.
416 2001-03-29 Michael Keezer <mkeezer@redhat.com>
418 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
419 * login/tst-utmp.c: Handle case where ut_tv is not available but
421 * sysdeps/unix/sysv/aix/utmpx.h: New file.
422 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
423 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
424 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
425 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
426 to access RTCU timer reg.
427 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
428 added dl-libc, dl-open,dl-sym, dl-close to misc.
429 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
430 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
431 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
432 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
433 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
434 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
435 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
437 * sysdeps/generic/strtoull.c: Likewise.
438 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
439 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
440 sysdeps/generic/memset.c.
441 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
443 2001-04-03 Ulrich Drepper <drepper@redhat.com>
445 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
446 * locale/programs/charmap.c: Define null_pointer if
447 NEED_NULL_POINTER is defined.
449 * misc/dirname.c (dirname): Handle multiple slashes correctly.
451 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
453 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
455 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
457 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
458 * sysdeps/s390/s390-64/bcopy.S: Likewise.
459 * sysdeps/s390/s390-32/mempcy.S: Likewise.
460 * sysdeps/s390/s390-64/memcpy.S: Likewise.
462 2001-04-02 Bruno Haible <haible@clisp.cons.org>
464 * manual/message.texi (Advanced gettext functions): More specific
465 syntax in the plural formula examples.
467 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
469 * sysdeps/powerpc/atomicity.h: Silence warnings.
470 * sysdeps/powerpc/dl-machine.h: Likewise.
471 * sysdeps/powerpc/register-dump.h: Likewise.
472 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
474 2001-04-02 Andreas Jaeger <aj@suse.de>
476 * misc/tst-dirname.c (main): Add more tests, derived from a bug
477 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
479 2001-04-01 Andreas Jaeger <aj@suse.de>
481 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
483 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
485 2001-04-01 H.J. Lu <hjl@gnu.org>
487 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
489 * stdlib/isomac.c (macrofile): Likewise.
491 2001-03-30 Thorsten Kukuk <kukuk@suse.de>
493 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
494 * nis/ypclnt.c (yp_all): Print error message only at last try,
495 check for protocoll error only if we don't have a network error.
497 2001-04-02 Andreas Schwab <schwab@suse.de>
499 * resolv/res_data.c (res_isourserver): Fix cast.
501 2001-04-02 Andreas Jaeger <aj@suse.de>
503 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
506 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
508 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
510 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
512 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
514 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
515 warning about unused variable.
517 * string/string.h (strndupa): Add cast for C++ conformance.
519 Fixes PR libc/2173, reported by tbrowder@home.com.
521 2001-03-30 Roland McGrath <roland@frob.com>
523 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
524 options after $(build-module), which is no longer a single command.
525 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
526 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
527 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
529 2001-03-11 Roland McGrath <roland@frob.com>
531 * elf/rtld.c (dl_main): Add cast to quiet warning.
532 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
533 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
534 (__gconv_read_conf): Likewise.
535 * iconv/gconv_db.c (gen_steps): Likewise.
536 (__gconv_find_transform): Likewise.
537 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
538 (fopen_uncompressed): Use const in second argument's type.
540 2001-03-11 Roland McGrath <roland@frob.com>
542 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
544 * mach/mach_error.h: Fix ancient #endif syntax.
545 * hurd/hurdmalloc.c: Likewise.
547 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
548 compare_and_swap): Add volatile qualifier to first arg, to bring
549 these prototypes in line with all the other implementations.
550 Add a #warning to remind the builder that these are not atomic.
552 2001-03-04 Roland McGrath <roland@frob.com>
554 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
555 member of TEMP_F so its type is _IO_FILE * as expected.
557 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
558 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
559 it might exceed off_t's range.
561 2001-02-25 Roland McGrath <roland@frob.com>
563 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
564 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
566 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
567 macro instead of an inline function,
568 (MSG_EXAMINE): Likewise.
570 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
572 * hurd/get-host.c: Include <string.h> for decls of built-ins.
573 * hurd/hurdchdir.c: Likewise.
574 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
575 * sysdeps/mach/hurd/opendir.c: Likewise.
577 * mach/mach_init.c: Include <unistd.h> for _exit decl.
579 * mach/errsystems.awk: Give output file a trailing newline.
581 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
582 the script will use our compiler for the cpp stage.
584 With --enable-all-warnings we get a whole bunch of warnings,
585 and these are just a few fixes; there are more needed to silence it.
586 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
587 decls before extern inline defns to quiet gcc warning.
588 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
589 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
591 2001-03-31 Andreas Jaeger <aj@suse.de>
593 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
594 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
596 Changes from Linux 2.4.3.
598 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
600 * posix/regex.c: Avoid an access violation if malloc failes.
602 2001-03-30 Andreas Jaeger <aj@suse.de>
604 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
606 2001-03-29 Ulrich Drepper <drepper@redhat.com>
608 * posix/regex.c: Remove unnecessary ifs.
610 * math/bits/mathcalls.h: Remove infnan declaration.
612 2001-03-29 H.J. Lu <hjl@gnu.org>
614 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
615 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
616 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
618 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
620 * posix/regex.c: Fix typo and add a sentinel.
622 2001-03-29 Ulrich Drepper <drepper@redhat.com>
624 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
625 O_NOFOLLOW. Suggested by Christoph Roland.
627 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
629 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
630 * sysdeps/s390/s390-32/bits/string.h: Remove.
631 * sysdeps/s390/s390-64/bits/string.h: Remove.
632 * sysdeps/s390/s390-32/strcmp.S: New file.
633 * sysdeps/s390/s390-64/strcmp.S: New file.
635 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
637 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
638 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
640 2001-03-27 Ulrich Drepper <drepper@redhat.com>
642 * version.h (VERSION): Bump to 2.2.3.
644 * stdlib/isomac.c (fmt): Don't define _LIBC.
645 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
646 LOW_HALF only if _LIBC is defined.
648 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
650 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
652 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
654 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
655 * include/endian.h: ...to here.
657 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
659 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
660 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
662 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
664 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
666 2001-03-26 Ulrich Drepper <drepper@redhat.com>
668 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
669 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
670 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
672 * gmon/Makefile (headers): Add sys/profil.h.
674 2001-03-18 Andreas Jaeger <aj@suse.de>
676 * manual/install.texi (Tools for Compilation): Advise to use GCC
678 (Supported Configurations): Mention s390x.
680 2001-03-26 Ben Collins <bcollins@debian.org>
682 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
683 defines to match other architectures.
685 2001-03-26 Ulrich Drepper <drepper@redhat.com>
687 * libio/Makefile (tests): Add tst-ext.
688 * libio/tst-ext.c: New file.
690 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
692 2001-03-25 Ulrich Drepper <drepper@redhat.com>
694 Add changes which were in this form in the original patch by
695 Eric Norum <eric.norum@usask.ca>.
696 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
698 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
699 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
700 __rpc_thread_svc_max_pollfd.
701 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
703 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
705 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
706 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
707 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
708 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
709 __rpc_thread_svc_max_pollfd.
710 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
712 * sunrpc/clnt_perr.c: Likewise.
713 * sunrpc/clnt_simp.c: Likewise.
714 * sunrpc/clnt_tcp.c: Likewise.
715 * sunrpc/clnt_udp.c: Likewise.
716 * sunrpc/clnt_unix.c: Likewise.
717 * sunrpc/pm_getport.c: Likewise.
719 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
720 syscall checks for negative n so don't test here as well.
722 2001-03-23 Jes Sorensen <jes@linuxcare.com>
724 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
725 * sysdeps/ia64/sysdep.h: ...here.
727 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
728 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
730 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
731 declare instead of LEAF(). Suggestion from David Mosberger.
733 2001-03-21 David Mosberger <davidm@hpl.hp.com>
735 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
737 (PSEUDO): Drop .psr and .lsb directives.
739 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
741 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
743 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
745 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
746 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
747 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
748 longer needed). Add unwind directives.
750 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
751 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
753 2001-03-21 Paul Eggert <eggert@twinsun.com>
755 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
756 (RE_SYNTAX_POSIX_EGREP): Use it.
757 * posix/regex.c (regex_compile): Implement it.
759 2001-03-21 Paul Eggert <eggert@twinsun.com>
761 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
762 Rewrite to avoid duplicate code.
764 2001-03-21 H.J. Lu <hjl@gnu.org>
766 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
768 ($(objpfx)tst-pathopt.out): Undo the last change.
770 2001-03-24 Mark Kettenis <kettenis@gnu.org>
772 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
773 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
775 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
777 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
779 2001-03-22 Andreas Jaeger <aj@suse.de>
781 * iconvdata/Makefile (generated): Add iconv-test.xxx.
783 * posix/Makefile (generated): Add bug-regex2.mtrace and
786 2001-03-21 Ulrich Drepper <drepper@redhat.com>
788 * csu/version.c (__gnu_get_libc_release): Add prototype.
789 (__gnu_get_libc_version): Likewise.
790 * include/gnu/libc-version.h: Remove prototypes for not exported
793 2001-03-21 Jes Sorensen <jes@linuxcare.com>
795 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
796 for internationalized printfs to work.
798 2001-03-09 Bruno Haible <haible@clisp.cons.org>
800 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
801 avoid compiler warning.
802 (_nl_find_msg): Add casts to avoid compiler warnings.
804 2001-03-21 Ulrich Drepper <drepper@redhat.com>
806 * gmon/Makefile (routines): Add sprofil.
807 (tests): Add tst-sprofil.
808 (noprof): Add sprofil.
809 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
811 2001-03-20 David Mosberger <davidm@hpl.hp.com>
813 * sysdeps/generic/sprofil.c: New file.
814 * sysdeps/posix/sprofil.c: New file.
815 * gmon/tst-sprofil.c: New file.
816 * gmon/sys/profil.h: New file.
818 2001-03-20 Andreas Schwab <schwab@suse.de>
820 * include/unistd.h: Adjust prototype of __gethostname.
822 2001-03-20 Jakub Jelinek <jakub@redhat.com>
824 * sysdeps/sparc/stackinfo.h: New file.
826 2001-03-21 Andreas Jaeger <aj@suse.de>
828 * elf/global.c (main): Use proper prototype.
830 2001-03-20 Ulrich Drepper <drepper@redhat.com>
832 * sunrpc/Makefile (routines): Add rpc_thread.
833 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
834 * sunrpc/rpc_thread.c: New file.
835 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
836 * sunrpc/auth_none.c: Don't use global variables. Access state in
837 thread-local storage.
838 * sunrpc/clnt_perr.c: Likewise.
839 * sunrpc/clnt_raw.c: Likewise.
840 * sunrpc/clnt_simp.c: Likewise.
841 * sunrpc/key_call.c: Likewise.
842 * sunrpc/rpc_common.c: Likewise.
843 * sunrpc/svc.c: Likewise.
844 * sunrpc/svc_raw.c: Likewise.
845 * sunrpc/svc_simple.c: Likewise.
846 * sunrpc/svcauth_des.c: Likewise.
847 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
848 _HURD_THREADVAR_RPC_VARS.
849 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
850 * include/rpc/rpc.h: Define data structures for internal thread-local
852 Based on patches by Eric Norum <eric.norum@usask.ca>.
854 * elf/dl-load.c: Various little optimizations.
856 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
857 LINUX_LINK_MAX only if the statfs function is not implemented for
860 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
861 LINUX_LINK_MAX only if the fstatfs function is not implemented for
864 2001-03-19 Ulrich Drepper <drepper@redhat.com>
866 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
868 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
869 (_dl_dst_substitute): Likewise.
871 2001-03-17 Bruno Haible <haible@clisp.cons.org>
873 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
875 2001-03-17 Bruno Haible <haible@clisp.cons.org>
877 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
878 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
879 union by a 'nargs' counter and an 'args[]' array.
880 * intl/plural.y: Don't include stdarg.h.
881 (new_exp): Take an array of arguments instead of varargs.
882 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
883 ('?' ':'): Make right-associative.
884 (EQUOP2): New token, replaces '=' and '!'.
886 (ADDOP2): New token, replaces '+' and '-'.
887 (MULOP2): New token, replaces '*', '/' and '%'.
889 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
890 (start): Call YYABORT here.
891 (FREE_EXPRESSION): Update.
892 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
893 Update for new token symbols.
894 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
895 init_germanic_plural): Update.
896 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
897 (plural_eval): Recognize comparison and '!' operators. Optimize for
900 2001-03-10 Bruno Haible <haible@clisp.cons.org>
902 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
905 2001-01-05 Bruno Haible <haible@clisp.cons.org>
907 * intl/loadmsgcat.c: Include headers needed for alloca().
909 (_nl_load_domain): Add fallback code for platforms lacking alloca.
910 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
912 (read_alias_file): Simplify fallback code for platforms lacking
915 2001-01-07 Bruno Haible <haible@clisp.cons.org>
917 * intl/gettextP.h (__gettextdebug): Remove declaration.
918 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
920 (gettext_free_exp__, gettextparse__): New non-libc declarations.
921 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
922 not __gettextparse, __gettext_free_exp.
923 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
925 2001-02-24 Bruno Haible <haible@clisp.cons.org>
927 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
929 2001-01-05 Bruno Haible <haible@clisp.cons.org>
931 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
932 lacking strtoul, like SunOS4.
934 2001-01-05 Bruno Haible <haible@clisp.cons.org>
936 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
938 2001-01-05 Bruno Haible <haible@clisp.cons.org>
940 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
942 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
943 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
944 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
947 2001-01-07 Bruno Haible <haible@clisp.cons.org>
949 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
950 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
952 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
953 * intl/dcgettext.c: Likewise.
954 * intl/dcigettext.c: Likewise.
955 * intl/dcngettext.c: Likewise.
956 * intl/dngettext.c: Likewise.
957 * intl/finddomain.c: Likewise.
958 * intl/ngettext.c: Likewise.
959 * intl/textdomain.c: Likewise.
960 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
962 * intl/gettext.c: Likewise. Don't include locale.h.
964 2001-03-17 Bruno Haible <haible@clisp.cons.org>
966 * intl/gettextP.h (ZERO): New macro.
967 (struct binding): Always use ZERO.
968 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
969 lack it, like SunOS4.
970 (set_binding_values): Use offsetof, not sizeof.
971 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
972 lack it, like SunOS4.
973 (ZERO): Remove macro.
974 (struct transmem_list): Use ZERO.
975 (DCIGETTEXT): Use offsetof, not sizeof.
977 2001-03-17 Bruno Haible <haible@clisp.cons.org>
979 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
981 * intl/bindtextdom.c: Don't include gettext.h.
982 * intl/dcgettext.c: Likewise.
983 * intl/dcigettext.c: Likewise.
984 * intl/dcngettext.c: Likewise.
985 * intl/dngettext.c: Likewise.
986 * intl/finddomain.c: Likewise.
987 * intl/localealias.c: Likewise.
988 * intl/ngettext.c: Likewise.
989 * intl/plural.y: Likewise.
990 * intl/textdomain.c: Likewise.
992 2001-03-17 Bruno Haible <haible@clisp.cons.org>
994 * intl/gettext.h: Don't include <stdio.h>.
996 2001-03-17 Bruno Haible <haible@clisp.cons.org>
998 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
999 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
1001 2001-03-19 Ulrich Drepper <drepper@redhat.com>
1003 * sysdeps/unix/i386/i686/tempname.c: New file.
1005 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
1006 defined use this macro to get some bits of randomness instead of
1007 the usual gettimeofday or time calls.
1009 2001-03-16 Paul Eggert <eggert@twinsun.com>
1011 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
1012 not defined, and if UINT64_MAX is not defined.
1014 2001-03-19 Ulrich Drepper <drepper@redhat.com>
1016 * elf/cache.c: Mark and have translated a few more messages.
1018 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1020 * elf/cache.c: Add case for FLAG_S390_LIB64.
1021 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
1022 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
1023 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
1025 2001-03-19 Ulrich Drepper <drepper@redhat.com>
1027 * string/Makefile (tests): Add tst-strxfrm.
1028 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
1029 * string/Depend: New file.
1031 2001-03-19 Paul Eggert <eggert@twinsun.com>
1033 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
1034 when given the empty string in nontrivial locales.
1036 2001-03-17 H.J. Lu <hjl@gnu.org>
1038 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
1039 cp to install `dir'.
1041 2001-03-19 Andreas Schwab <schwab@suse.de>
1043 * Makerules (build-shlib): Make sure exit codes get checked
1046 2001-03-18 Ulrich Drepper <drepper@redhat.com>
1048 * Makerules (build-shlib): Remove unnecessary slashes introduced in
1051 * configure.in: Test for -Bgroup option of linker.
1052 * config.make.in: Define have-Bgroup.
1054 * conform/data/unistd.h-data: Require gethostname.
1055 * posix/unistd.h: Make gethostname prototype available for
1058 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
1059 * debug/Makefile: Likewise.
1060 * dlfcn/Makefile: Likewise.
1061 * hesiod/Makefile: Likewise.
1062 * iconvdata/extra-module.mk: Likewise.
1063 * locale/Makefile: Likewise.
1064 * login/Makefile: Likewise.
1065 * math/Makefile: Likewise.
1066 * nis/Makefile: Likewise.
1067 * nss/Makefile: Likewise.
1068 * resolv/Makefile: Likewise.
1069 * rt/Makefile: Likewise.
1071 2001-03-17 Ulrich Drepper <drepper@redhat.com>
1073 * inet/Makefile (tests): Remove left-over comment.
1075 * posix/unistd.h (gethostname): Change type of second parameter
1076 back to size_t as per upcoming XPG6.
1077 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
1078 parameter back to size_t as per upcoming XPG6.
1079 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
1080 * sysdeps/unix/sysv/gethostname.c: Likewise.
1081 * sysdeps/mach/hurd/gethostname.c: Likewise.
1082 * sysdeps/generic/gethostname.c: Likewise.
1084 2001-03-16 Ulrich Drepper <drepper@redhat.com>
1086 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1089 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
1092 2001-02-06 Jakub Jelinek <jakub@redhat.com>
1094 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
1095 looking for name matches.
1097 2001-02-26 Jakub Jelinek <jakub@redhat.com>
1099 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
1100 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
1101 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
1102 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1103 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
1104 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
1105 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
1106 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1107 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
1108 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
1109 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1110 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1112 2001-03-16 Ulrich Drepper <drepper@redhat.com>
1114 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
1115 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1117 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
1119 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1121 2001-03-16 David Mosberger <davidm@hpl.hp.com>
1123 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
1124 Drop hack that was needed for 2.1.1 kernel headers.
1126 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
1128 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
1129 overlay with kernel's "struct sigcontext".
1131 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
1132 sys/rse.h for "misc" subdir.
1133 (sysdep_routines): Add __start_context for "stdlib" subdir.
1135 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
1136 kernel file of the same name).
1138 * stdlib/Makefile (tests): Add tst-setcontext.
1139 * stdlib/tst-setcontext.c: New file (based on a sample program by
1142 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
1143 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
1144 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
1145 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
1146 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
1148 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
1149 instead of shift & and.
1151 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
1153 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
1154 * sysdeps/s390/bits/huge_val.h: ...here.
1155 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
1156 * sysdeps/s390/s390-64/ffs.c: Move to...
1157 * sysdeps/s390/ffs.c: ...here.
1158 * sysdeps/s390/s390-32/ffs.c: Remove.
1160 2001-03-16 Jakub Jelinek <jakub@redhat.com>
1162 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
1163 update osversion from more recent library.
1165 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
1167 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
1168 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
1169 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
1170 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
1171 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
1172 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
1173 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
1174 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
1175 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
1176 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
1177 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
1178 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
1179 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
1180 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
1181 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
1182 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
1183 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
1184 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
1185 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
1186 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
1187 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
1188 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
1189 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
1190 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
1191 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
1192 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
1193 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
1194 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
1195 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
1196 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
1197 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
1198 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
1199 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
1200 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
1201 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
1202 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
1203 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
1204 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
1205 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
1206 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
1207 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
1208 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
1209 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
1210 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
1211 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
1212 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
1213 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
1214 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
1215 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
1216 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
1217 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
1218 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
1219 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
1220 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
1221 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
1222 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
1223 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
1224 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
1225 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
1226 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
1227 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
1228 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
1229 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
1230 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
1231 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
1232 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
1233 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
1234 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
1235 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
1236 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
1237 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
1238 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
1239 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
1240 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
1241 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
1242 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
1243 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
1244 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
1245 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
1246 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
1247 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
1248 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
1249 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
1250 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
1251 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
1252 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
1253 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
1254 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
1255 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
1256 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
1257 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
1258 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
1259 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
1260 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
1261 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
1262 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
1263 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
1264 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
1265 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
1266 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
1267 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
1268 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
1269 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
1270 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
1271 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
1272 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
1273 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
1274 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
1275 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
1276 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
1277 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
1278 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
1279 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
1280 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
1282 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
1284 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
1285 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
1286 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
1287 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
1288 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
1289 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
1290 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
1291 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
1292 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
1293 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
1294 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
1295 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
1296 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
1297 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
1298 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
1299 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
1300 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
1301 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
1302 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
1303 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
1304 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
1305 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
1306 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
1307 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
1308 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
1309 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
1310 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
1311 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
1312 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
1313 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
1314 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
1315 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
1316 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
1317 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
1318 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
1319 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
1320 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
1321 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
1322 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
1323 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
1324 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
1325 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
1326 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
1327 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
1328 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
1329 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
1330 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
1331 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
1332 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
1333 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
1334 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
1335 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
1336 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
1338 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
1340 * sysdeps/s390/Dist: Move to...
1341 * sysdeps/s390/390-32/Dist: ...here.
1342 * sysdeps/s390/Implies: Move to...
1343 * sysdeps/s390/s390-32/Implies: ...here.
1344 * sysdeps/s390/Makefile: Move to...
1345 * sysdeps/s390/s390-32/Makefile: ...here.
1346 * sysdeps/s390/Versions: Move to...
1347 * sysdeps/s390-32/s390/Versions: ...here.
1348 * sysdeps/s390/add_n.S: Move to...
1349 * sysdeps/s390/s390-32/add_n.S: ...here.
1350 * sysdeps/s390/addmul_1.S: Move to...
1351 * sysdeps/s390/s390-32/addmul_1.S: ...here.
1352 * sysdeps/s390/atomicity.h: Move to...
1353 * sysdeps/s390/s390-32/atomicity.h: ...here.
1354 * sysdeps/s390/backtrace.c: Move to...
1355 * sysdeps/s390/s390-32/backtrace.c: ...here.
1356 * sysdeps/s390/bcopy.S: Move to...
1357 * sysdeps/s390/s390-32/bcopy.S: ...here.
1358 * sysdeps/s390/bits/byteswap.h: Move to...
1359 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
1360 * sysdeps/s390/bits/huge_val.h: Move to...
1361 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
1362 * sysdeps/s390/bsd-_setjmp.S: Move to...
1363 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
1364 * sysdeps/s390/bsd-setjmp.S: Move to...
1365 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
1366 * sysdeps/s390/bzero.S: Move to...
1367 * sysdeps/s390/s390-32/bzero.S: ...here.
1368 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
1369 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
1370 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
1371 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
1372 * sysdeps/s390/elf/start.S: Move to...
1373 * sysdeps/s390/s390-32/elf/start.S: ...here.
1374 * sysdeps/s390/ffs.c: Move to...
1375 * sysdeps/s390/s390-32/ffs.c: ...here.
1376 * sysdeps/s390/memchr.S: Move to...
1377 * sysdeps/s390/s390-32/memchr.S: ...here.
1378 * sysdeps/s390/memcpy.S: Move to...
1379 * sysdeps/s390/s390-32/memcpy.S: ...here.
1380 * sysdeps/s390/memset.S: Move to...
1381 * sysdeps/s390/s390-32/memset.S: ...here.
1382 * sysdeps/s390/mul_1.S: Move to...
1383 * sysdeps/s390/s390-32/mul_1.S: ...here.
1384 * sysdeps/s390/s390-mcount.S: Move to...
1385 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
1386 * sysdeps/s390/strcpy.S: Move to...
1387 * sysdeps/s390/s390-32/strcpy.S: ...here.
1388 * sysdeps/s390/strncpy.S: Move to...
1389 * sysdeps/s390/s390-32/strncpy.S: ...here.
1390 * sysdeps/s390/sub_n.S: Move to...
1391 * sysdeps/s390/s390-32/sub_n.S: ...here.
1393 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
1395 * sysdeps/s390/s390-64/Dist: New file.
1396 * sysdeps/s390/s390-64/Implies: New file.
1397 * sysdeps/s390/s390-64/Makefile: New file.
1398 * sysdeps/s390/s390-64/__longjmp.c: New file.
1399 * sysdeps/s390/s390-64/add_n.S: New file.
1400 * sysdeps/s390/s390-64/atomicity.h: New file.
1401 * sysdeps/s390/s390-64/backtrace.c: New file.
1402 * sysdeps/s390/s390-64/bcopy.S: New file.
1403 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
1404 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
1405 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
1406 * sysdeps/s390/s390-64/bits/string.h: New file.
1407 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
1408 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
1409 * sysdeps/s390/s390-64/bzero.S: New file.
1410 * sysdeps/s390/s390-64/dl-machine.h: New file.
1411 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
1412 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
1413 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
1414 * sysdeps/s390/s390-64/elf/start.S: New file.
1415 * sysdeps/s390/s390-64/ffs.c: New file.
1416 * sysdeps/s390/s390-64/initfini.c: New file.
1417 * sysdeps/s390/s390-64/memchr.S: New file.
1418 * sysdeps/s390/s390-64/memcpy.S: New file.
1419 * sysdeps/s390/s390-64/memset.S: New file.
1420 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
1421 * sysdeps/s390/s390-64/setjmp.S: New file.
1422 * sysdeps/s390/s390-64/strcpy.S: New file.
1423 * sysdeps/s390/s390-64/strncpy.S: New file.
1424 * sysdeps/s390/s390-64/sub_n.S: New file.
1425 * sysdeps/s390/s390-64/sysdep.h: New file.
1427 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
1429 * scripts/config.guess: Add support for Linux on 64 bit S/390.
1430 * scripts/config.sub: Likewise.
1432 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
1434 * configure.in: Add support for 64 bit S/390.
1436 * elf/elf.h: Add new relocations for 64 bit S/390.
1438 * shlib-versions: Add rules for Linux on 64 bit S/390.
1440 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
1442 * sysdeps/s390/__longjmp.c: Move to...
1443 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
1444 to load the floating point registers that should be saved
1445 according to the ABI.
1447 * sysdeps/s390/bits/setjmp.h: Move to...
1448 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
1449 the use of long long in the __jmp_buf type definition.
1451 * sysdeps/s390/bits/string.h: Move to...
1452 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
1453 #ifndef _FORCE_INLINES.
1455 * sysdeps/s390/dl-machine.h: Move to...
1456 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
1457 executables EI_CLASS in elf_machine_matches_host.
1459 * sysdeps/s390/elf/setjmp.S: Move to...
1460 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
1461 branches to globally defined symbol __sigsetjmp by branches to
1462 a local label (this avoids the generation of a R_390_PC16DBL
1463 relocation in -fpic code).
1465 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
1466 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
1468 * sysdeps/s390/initfini.c: Move to...
1469 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
1472 * sysdeps/s390/setjmp.S: Move to...
1473 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
1474 floating point registers that should be saved according to the ABI.
1476 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
1478 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
1479 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
1480 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
1482 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
1484 * configure.in: Change machine=s390 to machine=s390/s390-32.
1486 * elf/elf.h: Correct comment for R_390_PLT16DBL.
1488 2001-03-12 Jakub Jelinek <jakub@redhat.com>
1490 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
1491 version to be overriden from config.h.
1492 * csu/abi-note.S: Use OS and version separately, include config.h.
1493 * elf/dl-load.c (_dl_osversion): New.
1494 (_dl_map_object_from_fd): Kill some warnings.
1495 (open_verify): Check .note.ABI-tag of the library if present.
1496 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
1497 * elf/cache.c (struct cache_entry): Add osversion.
1498 (print_entry): Print osversion.
1499 (print_cache): Pass osversion to it.
1500 (compare): Sort according to osversion.
1501 (save_cache): Set osversion.
1502 (add_to_cache): Add osversion argument.
1503 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
1504 process_elf_file): Add osversion argument.
1505 * elf/readlib.c (process_file): Likewise.
1506 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
1507 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
1508 process_elf32_file, process_elf64_file): Likewise.
1509 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
1510 process_elf32_file, process_elf64_file): Likewise.
1511 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
1512 process_elf32_file, process_elf64_file): Likewise.
1513 * elf/ldconfig.c (manual_link): Pass it.
1514 (search_dir): Issue diagnostic if two libs with the same soname in
1515 the same directory have different .note.ABI-tag. Record osversion in
1516 dlib_entry and use it from there.
1517 (struct lib_entry): Remove.
1518 (struct dlib_entry): Add osversion.
1519 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
1521 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
1522 field with osversion.
1523 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
1524 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
1525 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
1526 version in _dl_osversion.
1527 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
1528 * Makerules (build-shlib-helper, build-module-helper): New.
1529 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
1531 * config.h.in (__ABI_TAG_VERSION): Add.
1532 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
1533 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
1534 Handle LD_ASSUME_KERNEL.
1535 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
1537 2001-03-15 Ulrich Drepper <drepper@redhat.com>
1539 * timezone/antarctica: Update from tzdata2001a.
1540 * timezone/asia: Likewise.
1541 * timezone/australasia: Likewise.
1542 * timezone/backward: Likewise.
1543 * timezone/etcetera: Likewise.
1544 * timezone/europe: Likewise.
1545 * timezone/leapseconds: Likewise.
1546 * timezone/northamerica: Likewise.
1547 * timezone/southamerica: Likewise.
1548 * timezone/systemv: Likewise.
1549 * timezone/yearistype: Likewise.
1550 * timezone/zone.tab: Likewise.
1551 * timezone/tzdump.c: Update from tzcode2001a.
1553 2001-03-15 H.J. Lu <hjl@gnu.org>
1555 * intl/Makefile: Fix a typo.
1557 2001-03-14 David Mosberger <davidm@hpl.hp.com>
1559 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
1560 writing arc structures.
1562 2001-03-15 H.J. Lu <hjl@gnu.org>
1564 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
1567 2001-03-13 Andreas Schwab <schwab@suse.de>
1569 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
1571 2001-03-15 Ulrich Drepper <drepper@redhat.com>
1573 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
1574 for control message fitting into message data.
1575 Patch by James Antill <james@and.org>.
1577 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
1580 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
1581 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
1583 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
1584 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
1585 avoid running binaries with libc versions without FNM_EXTMATCH support.
1587 * include/wchar.h: Add prototype for __wcscat.
1588 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
1590 * posix/fnmatch.h (FNM_EXTMATCH): Define.
1591 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
1592 (posixly_correct): Move global variable here.
1593 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
1594 (fnmatch): Pretty printing.
1595 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
1596 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
1597 * posix/tst-fnmatch.input: Add tests for extended matching.
1599 * posix/testfnm.c: Add test for patterns with multiple ** before /.
1600 * posix/fnmatch_loop.c: Fix problem with the test above.
1602 2001-03-14 Ulrich Drepper <drepper@redhat.com>
1604 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
1607 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
1609 2001-03-12 Andreas Jaeger <aj@suse.de>
1611 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1612 Use EM_X86_64 instead of EM_X8664.
1614 2001-03-12 Ulrich Drepper <drepper@redhat.com>
1616 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
1618 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
1621 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
1624 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
1628 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
1630 (__ieee754_acos): Likewise.
1632 2001-03-12 Andreas Jaeger <aj@suse.de>
1634 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
1635 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
1637 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
1640 2001-03-11 Roland McGrath <roland@frob.com>
1642 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
1644 2001-03-11 Ulrich Drepper <drepper@redhat.com>
1646 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
1649 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
1652 Last-bit accurate math library implementation by IBM Haifa.
1653 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
1654 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
1655 Anna Reitman <reitman@il.ibm.com>.
1656 * math/Makefile (dbl-only-routines): New variable.
1657 (libm-routines): Add $(dbl-only-routines).
1658 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
1659 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
1661 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
1663 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
1665 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
1667 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
1669 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
1670 remainder implementation.
1671 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
1673 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
1675 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
1676 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
1677 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
1679 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
1680 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
1682 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
1684 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
1686 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
1687 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
1688 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
1689 * sysdeps/ieee754/dbl-64/atnat.h: New file.
1690 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
1691 * sysdeps/ieee754/dbl-64/branred.c: New file.
1692 * sysdeps/ieee754/dbl-64/branred.h: New file.
1693 * sysdeps/ieee754/dbl-64/dla.h: New file.
1694 * sysdeps/ieee754/dbl-64/doasin.c: New file.
1695 * sysdeps/ieee754/dbl-64/doasin.h: New file.
1696 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
1697 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
1698 * sysdeps/ieee754/dbl-64/endian.h: New file.
1699 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
1700 * sysdeps/ieee754/dbl-64/mpa.c: New file.
1701 * sysdeps/ieee754/dbl-64/mpa.h: New file.
1702 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
1703 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
1704 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
1705 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
1706 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
1707 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
1708 * sysdeps/ieee754/dbl-64/mplog.c: New file.
1709 * sysdeps/ieee754/dbl-64/mplog.h: New file.
1710 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
1711 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
1712 * sysdeps/ieee754/dbl-64/mptan.c: New file.
1713 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
1714 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
1715 * sysdeps/ieee754/dbl-64/root.tbl: New file.
1716 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
1717 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
1718 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
1719 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
1720 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
1721 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
1722 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
1723 * sysdeps/ieee754/dbl-64/uexp.h: New file.
1724 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
1725 * sysdeps/ieee754/dbl-64/ulog.h: New file.
1726 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
1727 * sysdeps/ieee754/dbl-64/upow.h: New file.
1728 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
1729 * sysdeps/ieee754/dbl-64/urem.h: New file.
1730 * sysdeps/ieee754/dbl-64/uroot.h: New file.
1731 * sysdeps/ieee754/dbl-64/usncs.h: New file.
1732 * sysdeps/ieee754/dbl-64/utan.h: New file.
1733 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
1734 * sysdeps/i386/fpu/branred.c: New file.
1735 * sysdeps/i386/fpu/doasin.c: New file.
1736 * sysdeps/i386/fpu/dosincos.c: New file.
1737 * sysdeps/i386/fpu/halfulp.c: New file.
1738 * sysdeps/i386/fpu/mpa.c: New file.
1739 * sysdeps/i386/fpu/mpatan.c: New file.
1740 * sysdeps/i386/fpu/mpatan2.c: New file.
1741 * sysdeps/i386/fpu/mpexp.c: New file.
1742 * sysdeps/i386/fpu/mplog.c: New file.
1743 * sysdeps/i386/fpu/mpsqrt.c: New file.
1744 * sysdeps/i386/fpu/mptan.c: New file.
1745 * sysdeps/i386/fpu/sincos32.c: New file.
1746 * sysdeps/i386/fpu/slowexp.c: New file.
1747 * sysdeps/i386/fpu/slowpow.c: New file.
1748 * sysdeps/ia64/fpu/branred.c: New file.
1749 * sysdeps/ia64/fpu/doasin.c: New file.
1750 * sysdeps/ia64/fpu/dosincos.c: New file.
1751 * sysdeps/ia64/fpu/halfulp.c: New file.
1752 * sysdeps/ia64/fpu/mpa.c: New file.
1753 * sysdeps/ia64/fpu/mpatan.c: New file.
1754 * sysdeps/ia64/fpu/mpatan2.c: New file.
1755 * sysdeps/ia64/fpu/mpexp.c: New file.
1756 * sysdeps/ia64/fpu/mplog.c: New file.
1757 * sysdeps/ia64/fpu/mpsqrt.c: New file.
1758 * sysdeps/ia64/fpu/mptan.c: New file.
1759 * sysdeps/ia64/fpu/sincos32.c: New file.
1760 * sysdeps/ia64/fpu/slowexp.c: New file.
1761 * sysdeps/ia64/fpu/slowpow.c: New file.
1762 * sysdeps/m68k/fpu/branred.c: New file.
1763 * sysdeps/m68k/fpu/doasin.c: New file.
1764 * sysdeps/m68k/fpu/dosincos.c: New file.
1765 * sysdeps/m68k/fpu/halfulp.c: New file.
1766 * sysdeps/m68k/fpu/mpa.c: New file.
1767 * sysdeps/m68k/fpu/mpatan.c: New file.
1768 * sysdeps/m68k/fpu/mpatan2.c: New file.
1769 * sysdeps/m68k/fpu/mpexp.c: New file.
1770 * sysdeps/m68k/fpu/mplog.c: New file.
1771 * sysdeps/m68k/fpu/mpsqrt.c: New file.
1772 * sysdeps/m68k/fpu/mptan.c: New file.
1773 * sysdeps/m68k/fpu/sincos32.c: New file.
1774 * sysdeps/m68k/fpu/slowexp.c: New file.
1775 * sysdeps/m68k/fpu/slowpow.c: New file.
1777 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
1780 2001-03-11 Andreas Jaeger <aj@suse.de>
1782 * elf/elf.h (EM_*): Synch with official list.
1784 2001-03-07 David Mosberger <davidm@hpl.hp.com>
1786 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
1788 2001-03-07 Jes Sorensen <jes@linuxcare.com>
1790 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
1791 variables addr & len.
1793 2001-02-22 Jes Sorensen <jes@linuxcare.com>
1795 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
1796 punctuation in asm constraint.
1798 2001-03-07 Mark Kettenis <kettenis@gnu.org>
1800 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
1801 <time.h> to get definition of `struct timespec'.
1803 2001-03-08 Jakub Jelinek <jakub@redhat.com>
1805 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
1806 LD_WARN=1, not if LD_WARN is unset.
1808 2001-03-07 Andreas Schwab <schwab@suse.de>
1810 * elf/ldconfig.h: Moved to ...
1811 * sysdeps/generic/ldconfig.h: ... here.
1812 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
1813 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
1814 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
1815 * elf/readlib.c (interpreters, known_libs): Use
1816 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
1817 instead of hard coding old names.
1819 2001-03-09 Ulrich Drepper <drepper@redhat.com>
1821 * catgets/Makefile (generated): Add test-gencat.h.
1822 (sample.SJIS.cat): Also generate header.
1823 * catgets/sample.SJIS: Add new set and message, both with symbolic
1825 * catgets/test-gencat.sh: Also compare generated header with what
1828 2001-03-07 Jakub Jelinek <jakub@redhat.com>
1830 * catgets/gencat.c (read_input_file): Preserve properly symbolic
1833 2001-03-06 Andreas Jaeger <aj@suse.de>
1835 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
1837 (elf_machine_pltrel_p): Likewise.
1838 * sysdeps/powerpc/dl-machine.h: Likewise.
1839 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
1841 2001-03-09 Ulrich Drepper <drepper@redhat.com>
1843 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
1846 2001-03-05 Philip Blundell <philb@gnu.org>
1848 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
1849 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
1850 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
1851 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
1854 2001-03-09 Ulrich Drepper <drepper@redhat.com>
1856 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
1858 * dlfcn/tstcxaatexit.c (main): Likewise.
1860 2001-03-10 Andreas Jaeger <aj@suse.de>
1862 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
1864 2001-03-09 Andreas Jaeger <aj@suse.de>
1866 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
1867 both new and old EM_S390 values.
1868 (EM_S390_OLD): New constant.
1870 * elf/elf.h (EM_S390): Use official value.
1872 2001-03-09 Ulrich Drepper <drepper@redhat.com>
1874 * conform/data/sys/socket.h-data: Allow SO* symbols.
1876 2001-03-07 Andreas Schwab <schwab@suse.de>
1878 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
1879 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
1881 2001-03-07 Andreas Jaeger <aj@suse.de>
1883 * resolv/Makefile (routines): Only build gai_sigqueue when threads
1886 2001-03-07 Jakub Jelinek <jakub@redhat.com>
1888 * elf/ldconfig.c (_dl_sysdep_message): Remove.
1889 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
1891 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1893 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
1894 _dl_error_printf instead of _dl_sysdep_error.
1895 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1896 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
1897 Use _dl_printf instead of _dl_sysdep_message.
1898 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
1901 2001-03-06 Ben Collins <bcollins@debian.org>
1903 * manual/arith.texi (Integers): Fix documentation of fast and
1904 least integer typedefs.
1906 2001-03-06 Jakub Jelinek <jakub@redhat.com>
1908 * resolv/Depend: New file.
1909 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
1910 when libpthread is built.
1912 2001-03-06 Andreas Jaeger <aj@suse.de>
1914 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
1916 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
1917 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
1919 2001-03-05 Ulrich Drepper <drepper@redhat.com>
1921 * stdlib/Versions: Remove __new_exitfn again. Not needed.
1923 2001-03-05 Andreas Jaeger <aj@suse.de>
1925 * stdlib/msort.c (qsort): Don't use alloca in a function call.
1927 2001-03-05 Ulrich Drepper <drepper@redhat.com>
1929 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
1930 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
1932 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1933 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
1934 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1935 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
1936 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1937 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1938 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1940 2001-03-04 Andreas Jaeger <aj@suse.de>
1942 * stdlib/longlong.h: Don't use multi-line strings.
1943 * iconvdata/tst-loading.c: Likewise.
1945 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
1948 2001-03-04 Ulrich Drepper <drepper@redhat.com>
1950 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
1952 * rt/lio_listio.c: Add a few asserts.
1954 * elf/global.c: New file.
1955 * elf/globalmod1.c: New file.
1956 * elf/Makefile: Add rules to build and run global.
1958 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
1959 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
1960 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
1961 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1962 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
1964 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
1965 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1967 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
1969 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
1970 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
1972 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
1974 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
1976 2001-03-04 Andreas Jaeger <aj@suse.de>
1978 * resolv/tst-aton.c: Add testcase for IP with four periods.
1980 * resolv/inet_addr.c: Don't recognize an IP with four periods.
1981 Patch by Andre' Breiler <A.Breiler@gmx.net>.
1983 2001-02-27 Philip Blundell <pb@futuretv.com>
1985 * elf/elf.h: Add new ARM definitions from latest (B-01)
1986 specification. Correct naming of EF_ARM_ALIGN8 et al.
1988 2001-03-04 Ulrich Drepper <drepper@redhat.com>
1990 * stdio-common/tst-printf.sh: Remove bashisms.
1991 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
1993 2001-03-03 Ulrich Drepper <drepper@redhat.com>
1995 * Versions.def: Add libanl definition.
1996 * shlib-versions: Add entry for libanl.
1997 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
1998 (routines): Add gai_sigqueue.
1999 (extra-libs): Add libanl.
2000 (libanl-routines): New variable.
2001 Add rules to build libanl and ga_test.
2002 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
2003 [libanl]: New library.
2004 * resolv/netdb.h: Add definitions for libanl.
2005 * resolv/getaddrinfo_a.c: New file.
2006 * resolv/gai_cancel.c: New file.
2007 * resolv/gai_error.c: New file.
2008 * resolv/gai_misc.c: New file.
2009 * resolv/gai_misc.h: New file.
2010 * resolv/gai_notify.c: New file.
2011 * resolv/gai_suspend.c: New file.
2012 * resolv/ga_test.c: New file.
2013 * sysdeps/generic/gai_sigqueue.c: New file.
2014 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
2015 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
2016 and provide only that definition.
2017 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
2018 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
2019 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2020 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2021 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2022 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2024 * rt/aio_misc.c: Fix typos in comments.
2025 * rt/lio_listio.c: Pretty printing. Little optimization in request
2028 * elf/rtld.c: Remove commented out code.
2030 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
2031 Update for real 2.4 kernels.
2033 2001-03-01 Ulrich Drepper <drepper@redhat.com>
2035 * elf/dl-load.c: Pretty printing.
2037 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
2040 2001-02-28 Ulrich Drepper <drepper@redhat.com>
2042 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
2043 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
2045 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
2047 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
2050 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
2052 2001-02-27 Ulrich Drepper <drepper@redhat.com>
2054 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
2057 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
2059 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
2060 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
2061 _dl_debug_printf_c, and _dl_printf.
2062 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
2063 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
2064 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
2065 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
2066 * elf/dl-close.c: Replace use of old output functions with the new
2068 * elf/dl-deps.c: Likewise.
2069 * elf/dl-error.c: Likewise.
2070 * elf/dl-fini.c: Likewise.
2071 * elf/dl-init.c: Likewise.
2072 * elf/dl-load.c: Likewise.
2073 * elf/dl-lookup.c: Likewise.
2074 * elf/dl-minimal.c: Likewise.
2075 * elf/dl-open.c: Likewise.
2076 * elf/dl-profile.c: Likewise.
2077 * elf/dl-reloc.c: Likewise.
2078 * elf/dl-version.c: Likewise.
2079 * elf/do-lookup.h: Likewise.
2080 * elf/rtld.c: Likewise.
2081 * sysdeps/generic/dl-cache.c: Likewise.
2082 * sysdeps/generic/dl-sysdep.c: Likewise.
2083 * sysdeps/generic/libc-start.c: Likewise.
2084 * sysdeps/i386/dl-machine.h: Likewise.
2085 * sysdeps/arm/dl-machine.h: Likewise.
2086 * sysdeps/hppa/dl-machine.h: Likewise.
2087 * sysdeps/m68k/dl-machine.h: Likewise.
2088 * sysdeps/powerpc/dl-machine.h: Likewise.
2089 * sysdeps/s390/dl-machine.h: Likewise.
2090 * sysdeps/sh/dl-machine.h: Likewise.
2091 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2092 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2093 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2095 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
2097 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
2098 supported by assembler.
2100 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
2103 * elf/rtld.c: Little optimizations in handling _dl_lazy.
2105 * elf/cache.c (save_cache): Portability changes.
2106 * elf/dl-profile.c (_dl_start_profile): Likewise.
2108 * elf/sln.c: Cleanups. Remove arbitrary limits.
2110 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
2111 * elf/dl-deps.c: Likewise.
2112 * elf/dl-fini.c: Likewise.
2113 * elf/dl-init.c: Likewise.
2114 * elf/dl-load.c: Likewise.
2115 * elf/dl-lookup.c: Likewise.
2116 * elf/dl-open.c: Likewise.
2117 * elf/dl-reloc.c: Likewise.
2118 * elf/dl-support.c: Likewise.
2119 * elf/dl-version.c: Likewise.
2120 * elf/do-lookup.h: Likewise.
2121 * elf/rtld.c: Likewise.
2122 * sysdeps/generic/dl-cache.c: Likewise.
2123 * sysdeps/generic/ldsodefs.h: Likewise.
2124 * sysdeps/generic/libc-start.c: Likewise.
2125 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
2126 Export _dl_debug_mask.
2127 * Versions.def: Define GLIBC_2.2.3 for ld.
2129 2001-02-26 Greg McGary <greg@mcgary.org>
2131 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
2133 2001-02-26 Paul Eggert <eggert@twinsun.com>
2135 Modify mkstemp.c and tempname.c so that they can be used by
2136 GNU applications on non-glibc platforms.
2138 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
2140 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
2141 Include <stddef.h>, <stdint.h>, <string.h> only if
2142 STDC_HEADERS || _LIBC.
2143 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
2144 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
2145 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
2146 (__set_errno): Define this macro if <errno.h> doesn't.
2147 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
2148 Define these macros if <stdio.h> doesn't.
2149 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
2150 Define these macros if <sys/stat.h> doesn't.
2151 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
2152 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
2153 lxstat64, __xstat64): Define if not _LIBC.
2154 (struct_stat64): New macro.
2155 (direxists, __gen_tempname): Use it, to avoid a
2156 portability problem with Solaris 8.
2157 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
2158 (__gen_tempname): Invoke gettimeofday only if
2159 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
2160 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
2161 octal values like 0600.
2163 2001-02-26 Ulrich Drepper <drepper@redhat.com>
2165 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
2166 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2168 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
2169 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2171 * posix/wordexp-test.c (testit): Remove warnings.
2173 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
2174 (tests): Add tstatexit and tstcxaatexit.
2175 (module-names): Add modatexit and modcxaatexit.
2176 Add rules to build and run tstatexit and tstcxaatexit.
2177 * dlfcn/modatexit.c: New file.
2178 * dlfcn/modcxaatexit.c: New file.
2179 * dlfcn/tstatexit.c: New file.
2180 * dlfcn/tstcxaatexit.c: New file.
2182 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
2183 .hidden is available.
2184 * io/stat.c: If .hidden is available use it to avoid exporting
2186 * io/fstat.c: Likewise.
2187 * io/lstat.c: Likewise.
2188 * io/stat64.c: Likewise.
2189 * io/fstat64.c: Likewise.
2190 * io/lstat64.c: Likewise.
2191 * sysdeps/generic/mknod.c: Likewise.
2193 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
2194 * sysdeps/generic/bb_init_func.c: Likewise.
2195 * sysdeps/generic/libc-start.c: Likewise.
2197 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
2198 (atexit): Implement using __cxa_atexit.
2199 Use .hidden if availble to avoid exporting atexit.
2200 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
2201 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
2202 * stdlib/Makefile (routines): Add old_atexit.
2203 (static-only-routines): Add atexit.
2204 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
2205 * stdlib/old_atexit.c: New file.
2207 * intl/Makefile: Remove bogus endif.
2209 2001-02-26 Andreas Jaeger <aj@suse.de>
2211 * iconvdata/Makefile (tests): Fix typo in last patch.
2213 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
2215 Reported by Achim Gottinger <achim@gentoo.org>.
2217 2001-02-25 Andreas Jaeger <aj@suse.de>
2219 * intl/Makefile (plural.c): Reorder rules so that they work if
2220 BISON doesn't exist.
2222 2001-02-25 Ulrich Drepper <drepper@redhat.com>
2224 * intl/locale.alias: Don't use nb_NO but define aliases for it.
2226 2001-02-23 Ulrich Drepper <drepper@redhat.com>
2228 * sysdeps/i386/strtok.S: Continue to return NULL after the first
2231 2001-02-23 Andreas Jaeger <aj@suse.de>
2233 * string/tester.c (test_strtok_r): Add testcase.
2234 (test_strtok_r): Always initialize cp for proper checking.
2236 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
2237 returning NULL correctly.
2238 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
2239 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
2241 2001-02-23 Ulrich Drepper <drepper@redhat.com>
2243 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
2244 including <stddef.h>.
2245 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
2246 * include/libc-symbols.h (weak_alias): Don't use .weak if
2247 HAVE_ASM_GLOBAL_DOT_NAME is defined.
2248 Patches by Michael Keezer <mkeezer@redhat.com>.
2250 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
2251 Patch by Michael Keezer <mkeezer@redhat.com>.
2253 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
2254 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
2255 (sysdep_routines): Remove restf.S and savef.S.
2256 * sysdeps/unix/sysv/aix/restf.S. Removed.
2257 * sysdeps/unix/sysv/aix/savef.S. Removed.
2258 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
2259 alternative names used on some platforms.
2260 * sysdeps/powerpc/fprsave.S: Likewise.
2261 * sysdeps/powerpc/gprrest0.S: Likewise.
2262 * sysdeps/powerpc/gprrest1.S: Likewise.
2263 * sysdeps/powerpc/gprsave0.S: Likewise.
2264 * sysdeps/powerpc/gprsave1.S: Likewise.
2265 Patch by Michael Keezer <mkeezer@redhat.com>.
2267 2001-02-22 Ulrich Drepper <drepper@redhat.com>
2269 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
2271 2001-02-22 Andreas Jaeger <aj@suse.de>
2273 * string/tst-strtok.c (main): Fix error messages.
2275 2001-02-22 Andreas Jaeger <aj@suse.de>
2277 * math/Makefile: Remove omit-long-double-fcts.
2279 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2281 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
2282 avoid problems on MIPS I.
2283 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
2285 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
2288 2001-02-21 Ulrich Drepper <drepper@redhat.com>
2290 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
2292 * sysdeps/generic/ftime.c: Include <time.h>.
2294 * configure.in: Don't check for libgd if user passed --without-gd.
2295 Patch by Achim Gottinger <achim@gentoo.org>.
2297 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
2298 first time this happened.
2299 * string/Makefile (tests): Add tst-strtok.
2301 2001-02-21 Andreas Jaeger <aj@suse.de>
2303 * string/tst-strtok.c: New testcase, reported by
2304 Andrew Church <achurch@achurch.org>.
2306 2001-02-20 Ulrich Drepper <drepper@redhat.com>
2308 * libio/iofwide.c: Remove fwide alias.
2310 2001-02-20 Andreas Jaeger <aj@suse.de>
2312 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
2314 Reported by Achim Gottinger <achim@gentoo.org>.
2316 2001-02-19 Ulrich Drepper <drepper@redhat.com>
2318 * iconv/tst-iconv1.c (main): Remove debugging code.
2320 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
2321 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2323 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
2325 * sysdeps/generic/e_scalbf.c: Likewise.
2326 * sysdeps/generic/e_scalbl.c: Likewise.
2328 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
2329 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
2331 (routines): Replace libm_error with libc_libm_error.
2332 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
2333 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
2335 2001-02-18 Mark Kettenis <kettenis@gnu.org>
2337 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
2338 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
2340 2001-02-17 H.J. Lu <hjl@gnu.org>
2342 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
2343 scratch registers across the system call.
2345 2001-02-19 Andreas Jaeger <aj@suse.de>
2347 * malloc/Makefile (tests): Run mtrace only when perl is available.
2348 Reported by Achim Gottinger <achim@gentoo.org>.
2350 2001-02-19 Ulrich Drepper <drepper@redhat.com>
2352 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
2353 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2355 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
2356 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
2357 * math/libm-test.inc (j1_test): Mark constants as long double.
2358 (jn_test): Likewise.
2359 (y1_test): Likewise.
2360 (yn_test): Likewise.
2362 * libio/iogetline.c: Move return until after last statement.
2364 * localedata/show-ucs-data.c: Don't show < > for better readability.
2366 * sysdeps/ia64/fpu/Dist: New file.
2367 * sysdeps/ia64/fpu/Makefile: New file.
2368 * sysdeps/ia64/fpu/Versions: New file.
2369 * sysdeps/ia64/fpu/e_acos.S: New file.
2370 * sysdeps/ia64/fpu/e_acosf.S: New file.
2371 * sysdeps/ia64/fpu/e_acosl.S: New file.
2372 * sysdeps/ia64/fpu/e_asin.S: New file.
2373 * sysdeps/ia64/fpu/e_asinf.S: New file.
2374 * sysdeps/ia64/fpu/e_asinl.S: New file.
2375 * sysdeps/ia64/fpu/e_atan2.S: New file.
2376 * sysdeps/ia64/fpu/e_atan2f.S: New file.
2377 * sysdeps/ia64/fpu/e_atan2l.c: New file.
2378 * sysdeps/ia64/fpu/e_cosh.S: New file.
2379 * sysdeps/ia64/fpu/e_coshf.S: New file.
2380 * sysdeps/ia64/fpu/e_coshl.S: New file.
2381 * sysdeps/ia64/fpu/e_exp.S: New file.
2382 * sysdeps/ia64/fpu/e_expf.S: New file.
2383 * sysdeps/ia64/fpu/e_expl.c: New file.
2384 * sysdeps/ia64/fpu/e_fmod.S: New file.
2385 * sysdeps/ia64/fpu/e_fmodf.S: New file.
2386 * sysdeps/ia64/fpu/e_fmodl.S: New file.
2387 * sysdeps/ia64/fpu/e_hypot.S: New file.
2388 * sysdeps/ia64/fpu/e_hypotf.S: New file.
2389 * sysdeps/ia64/fpu/e_hypotl.S: New file.
2390 * sysdeps/ia64/fpu/e_log.S: New file.
2391 * sysdeps/ia64/fpu/e_log10.c: New file.
2392 * sysdeps/ia64/fpu/e_log10f.c: New file.
2393 * sysdeps/ia64/fpu/e_log10l.c: New file.
2394 * sysdeps/ia64/fpu/e_logf.S: New file.
2395 * sysdeps/ia64/fpu/e_logl.c: New file.
2396 * sysdeps/ia64/fpu/e_pow.S: New file.
2397 * sysdeps/ia64/fpu/e_powf.S: New file.
2398 * sysdeps/ia64/fpu/e_powl.S: New file.
2399 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
2400 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
2401 * sysdeps/ia64/fpu/e_remainder.S: New file.
2402 * sysdeps/ia64/fpu/e_remainderf.S: New file.
2403 * sysdeps/ia64/fpu/e_remainderl.S: New file.
2404 * sysdeps/ia64/fpu/e_scalb.S: New file.
2405 * sysdeps/ia64/fpu/e_scalbf.S: New file.
2406 * sysdeps/ia64/fpu/e_scalbl.S: New file.
2407 * sysdeps/ia64/fpu/e_sinh.S: New file.
2408 * sysdeps/ia64/fpu/e_sinhf.S: New file.
2409 * sysdeps/ia64/fpu/e_sinhl.S: New file.
2410 * sysdeps/ia64/fpu/e_sqrt.S: New file.
2411 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
2412 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
2413 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
2414 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
2415 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
2416 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
2417 * sysdeps/ia64/fpu/libm_error.c: New file.
2418 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
2419 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
2420 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
2421 * sysdeps/ia64/fpu/libm_reduce.S: New file.
2422 * sysdeps/ia64/fpu/libm_support.h: New file.
2423 * sysdeps/ia64/fpu/libm_tan.S: New file.
2424 * sysdeps/ia64/fpu/s_atan.S: New file.
2425 * sysdeps/ia64/fpu/s_atanf.S: New file.
2426 * sysdeps/ia64/fpu/s_atanl.S: New file.
2427 * sysdeps/ia64/fpu/s_cbrt.S: New file.
2428 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
2429 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
2430 * sysdeps/ia64/fpu/s_ceil.S: New file.
2431 * sysdeps/ia64/fpu/s_ceilf.S: New file.
2432 * sysdeps/ia64/fpu/s_ceill.S: New file.
2433 * sysdeps/ia64/fpu/s_cos.S: New file.
2434 * sysdeps/ia64/fpu/s_cosf.S: New file.
2435 * sysdeps/ia64/fpu/s_cosl.S: New file.
2436 * sysdeps/ia64/fpu/s_expm1.S: New file.
2437 * sysdeps/ia64/fpu/s_expm1f.S: New file.
2438 * sysdeps/ia64/fpu/s_expm1l.S: New file.
2439 * sysdeps/ia64/fpu/s_floor.S: New file.
2440 * sysdeps/ia64/fpu/s_floorf.S: New file.
2441 * sysdeps/ia64/fpu/s_floorl.S: New file.
2442 * sysdeps/ia64/fpu/s_frexp.c: New file.
2443 * sysdeps/ia64/fpu/s_frexpf.c: New file.
2444 * sysdeps/ia64/fpu/s_frexpl.c: New file.
2445 * sysdeps/ia64/fpu/s_ilogb.S: New file.
2446 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
2447 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
2448 * sysdeps/ia64/fpu/s_ldexp.S: New file.
2449 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
2450 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
2451 * sysdeps/ia64/fpu/s_log1p.S: New file.
2452 * sysdeps/ia64/fpu/s_log1pf.S: New file.
2453 * sysdeps/ia64/fpu/s_log1pl.S: New file.
2454 * sysdeps/ia64/fpu/s_logb.S: New file.
2455 * sysdeps/ia64/fpu/s_logbf.S: New file.
2456 * sysdeps/ia64/fpu/s_logbl.S: New file.
2457 * sysdeps/ia64/fpu/s_matherrf.c: New file.
2458 * sysdeps/ia64/fpu/s_matherrl.c: New file.
2459 * sysdeps/ia64/fpu/s_modf.S: New file.
2460 * sysdeps/ia64/fpu/s_modff.S: New file.
2461 * sysdeps/ia64/fpu/s_modfl.S: New file.
2462 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
2463 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
2464 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
2465 * sysdeps/ia64/fpu/s_rint.S: New file.
2466 * sysdeps/ia64/fpu/s_rintf.S: New file.
2467 * sysdeps/ia64/fpu/s_rintl.S: New file.
2468 * sysdeps/ia64/fpu/s_round.S: New file.
2469 * sysdeps/ia64/fpu/s_roundf.S: New file.
2470 * sysdeps/ia64/fpu/s_roundl.S: New file.
2471 * sysdeps/ia64/fpu/s_scalbn.S: New file.
2472 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
2473 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
2474 * sysdeps/ia64/fpu/s_significand.S: New file.
2475 * sysdeps/ia64/fpu/s_significandf.S: New file.
2476 * sysdeps/ia64/fpu/s_significandl.S: New file.
2477 * sysdeps/ia64/fpu/s_sin.c: New file.
2478 * sysdeps/ia64/fpu/s_sincos.c: New file.
2479 * sysdeps/ia64/fpu/s_sincosf.c: New file.
2480 * sysdeps/ia64/fpu/s_sincosl.c: New file.
2481 * sysdeps/ia64/fpu/s_sinf.c: New file.
2482 * sysdeps/ia64/fpu/s_sinl.c: New file.
2483 * sysdeps/ia64/fpu/s_tan.S: New file.
2484 * sysdeps/ia64/fpu/s_tanf.S: New file.
2485 * sysdeps/ia64/fpu/s_tanl.S: New file.
2486 * sysdeps/ia64/fpu/s_trunc.S: New file.
2487 * sysdeps/ia64/fpu/s_truncf.S: New file.
2488 * sysdeps/ia64/fpu/s_truncl.S: New file.
2489 * sysdeps/ia64/fpu/w_acos.c: New file.
2490 * sysdeps/ia64/fpu/w_acosf.c: New file.
2491 * sysdeps/ia64/fpu/w_acosl.c: New file.
2492 * sysdeps/ia64/fpu/w_asin.c: New file.
2493 * sysdeps/ia64/fpu/w_asinf.c: New file.
2494 * sysdeps/ia64/fpu/w_asinl.c: New file.
2495 * sysdeps/ia64/fpu/w_atan2.c: New file.
2496 * sysdeps/ia64/fpu/w_atan2f.c: New file.
2497 * sysdeps/ia64/fpu/w_atan2l.c: New file.
2498 * sysdeps/ia64/fpu/w_cosh.c: New file.
2499 * sysdeps/ia64/fpu/w_coshf.c: New file.
2500 * sysdeps/ia64/fpu/w_coshl.c: New file.
2501 * sysdeps/ia64/fpu/w_exp.c: New file.
2502 * sysdeps/ia64/fpu/w_expf.c: New file.
2503 * sysdeps/ia64/fpu/w_fmod.c: New file.
2504 * sysdeps/ia64/fpu/w_fmodf.c: New file.
2505 * sysdeps/ia64/fpu/w_fmodl.c: New file.
2506 * sysdeps/ia64/fpu/w_hypot.c: New file.
2507 * sysdeps/ia64/fpu/w_hypotf.c: New file.
2508 * sysdeps/ia64/fpu/w_hypotl.c: New file.
2509 * sysdeps/ia64/fpu/w_log.c: New file.
2510 * sysdeps/ia64/fpu/w_log10.c: New file.
2511 * sysdeps/ia64/fpu/w_log10f.c: New file.
2512 * sysdeps/ia64/fpu/w_log10l.c: New file.
2513 * sysdeps/ia64/fpu/w_logf.c: New file.
2514 * sysdeps/ia64/fpu/w_logl.c: New file.
2515 * sysdeps/ia64/fpu/w_pow.c: New file.
2516 * sysdeps/ia64/fpu/w_powf.c: New file.
2517 * sysdeps/ia64/fpu/w_powl.c: New file.
2518 * sysdeps/ia64/fpu/w_remainder.c: New file.
2519 * sysdeps/ia64/fpu/w_remainderf.c: New file.
2520 * sysdeps/ia64/fpu/w_remainderl.c: New file.
2521 * sysdeps/ia64/fpu/w_scalb.c: New file.
2522 * sysdeps/ia64/fpu/w_scalbf.c: New file.
2523 * sysdeps/ia64/fpu/w_scalbl.c: New file.
2524 * sysdeps/ia64/fpu/w_sqrt.c: New file.
2525 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
2526 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
2527 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
2529 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
2530 Change FP_ILOGBNAN for new implementation.
2531 * Verions.def: Add 2.2.3 versions.
2533 2001-02-18 Ulrich Drepper <drepper@redhat.com>
2535 * math/libm-test.inc (scalb_test): Require invalid exception being
2536 raised for invalid parameters.
2537 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
2538 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2539 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2541 2001-02-18 Mark Kettenis <kettenis@gnu.org>
2543 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
2545 (__get_avphys_pages): Likewise.
2547 2001-02-18 Ulrich Drepper <drepper@redhat.com>
2549 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
2550 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
2551 * sysdeps/i386/fpu/e_powf.S: Likewise.
2552 * sysdeps/i386/fpu/e_powl.S: Likewise.
2554 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
2556 2001-02-17 Ulrich Drepper <drepper@redhat.com>
2558 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
2560 * sysdeps/generic/s_exp2l.c: Renamed to...
2561 * sysdeps/generic/e_exp2l.c: ...this. New file.
2562 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
2563 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
2564 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
2565 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
2566 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
2567 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
2568 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
2569 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
2570 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
2571 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
2572 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
2573 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
2574 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
2575 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
2576 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
2577 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
2579 2001-02-17 Andreas Jaeger <aj@suse.de>
2581 * configure.in: Allow gcc 3.
2583 2001-02-16 Ulrich Drepper <drepper@redhat.com>
2585 * math/w_acos.c: Move to ...
2586 * sysdeps/generic/w_acos.c: ...here. New file.
2587 * math/w_acosf.c: Move to ...
2588 * sysdeps/generic/w_acosf.c: ...here. New file.
2589 * math/w_acosh.c: Move to ...
2590 * sysdeps/generic/w_acosh.c: ...here. New file.
2591 * math/w_acoshf.c: Move to ...
2592 * sysdeps/generic/w_acoshf.c: ...here. New file.
2593 * math/w_acoshl.c: Move to ...
2594 * sysdeps/generic/w_acoshl.c: ...here. New file.
2595 * math/w_acosl.c: Move to ...
2596 * sysdeps/generic/w_acosl.c: ...here. New file.
2597 * math/w_asin.c: Move to ...
2598 * sysdeps/generic/w_asin.c: ...here. New file.
2599 * math/w_asinf.c: Move to ...
2600 * sysdeps/generic/w_asinf.c: ...here. New file.
2601 * math/w_asinl.c: Move to ...
2602 * sysdeps/generic/w_asinl.c: ...here. New file.
2603 * math/w_atan2.c: Move to ...
2604 * sysdeps/generic/w_atan2.c: ...here. New file.
2605 * math/w_atan2f.c: Move to ...
2606 * sysdeps/generic/w_atan2f.c: ...here. New file.
2607 * math/w_atan2l.c: Move to ...
2608 * sysdeps/generic/w_atan2l.c: ...here. New file.
2609 * math/w_atanh.c: Move to ...
2610 * sysdeps/generic/w_atanh.c: ...here. New file.
2611 * math/w_atanhf.c: Move to ...
2612 * sysdeps/generic/w_atanhf.c: ...here. New file.
2613 * math/w_atanhl.c: Move to ...
2614 * sysdeps/generic/w_atanhl.c: ...here. New file.
2615 * math/w_cosh.c: Move to ...
2616 * sysdeps/generic/w_cosh.c: ...here. New file.
2617 * math/w_coshf.c: Move to ...
2618 * sysdeps/generic/w_coshf.c: ...here. New file.
2619 * math/w_coshl.c: Move to ...
2620 * sysdeps/generic/w_coshl.c: ...here. New file.
2621 * math/w_drem.c: Move to ...
2622 * sysdeps/generic/w_drem.c: ...here. New file.
2623 * math/w_dremf.c: Move to ...
2624 * sysdeps/generic/w_dremf.c: ...here. New file.
2625 * math/w_dreml.c: Move to ...
2626 * sysdeps/generic/w_dreml.c: ...here. New file.
2627 * math/w_exp10.c: Move to ...
2628 * sysdeps/generic/w_exp10.c: ...here. New file.
2629 * math/w_exp10f.c: Move to ...
2630 * sysdeps/generic/w_exp10f.c: ...here. New file.
2631 * math/w_exp10l.c: Move to ...
2632 * sysdeps/generic/w_exp10l.c: ...here. New file.
2633 * math/w_exp2.c: Move to ...
2634 * sysdeps/generic/w_exp2.c: ...here. New file.
2635 * math/w_exp2f.c: Move to ...
2636 * sysdeps/generic/w_exp2f.c: ...here. New file.
2637 * math/w_exp2l.c: Move to ...
2638 * sysdeps/generic/w_exp2l.c: ...here. New file.
2639 * math/w_fmod.c: Move to ...
2640 * sysdeps/generic/w_fmod.c: ...here. New file.
2641 * math/w_fmodf.c: Move to ...
2642 * sysdeps/generic/w_fmodf.c: ...here. New file.
2643 * math/w_fmodl.c: Move to ...
2644 * sysdeps/generic/w_fmodl.c: ...here. New file.
2645 * math/w_hypot.c: Move to ...
2646 * sysdeps/generic/w_hypot.c: ...here. New file.
2647 * math/w_hypotf.c: Move to ...
2648 * sysdeps/generic/w_hypotf.c: ...here. New file.
2649 * math/w_hypotl.c: Move to ...
2650 * sysdeps/generic/w_hypotl.c: ...here. New file.
2651 * math/w_j0.c: Move to ...
2652 * sysdeps/generic/w_j0.c: ...here. New file.
2653 * math/w_j0f.c: Move to ...
2654 * sysdeps/generic/w_j0f.c: ...here. New file.
2655 * math/w_j0l.c: Move to ...
2656 * sysdeps/generic/w_j0l.c: ...here. New file.
2657 * math/w_j1.c: Move to ...
2658 * sysdeps/generic/w_j1.c: ...here. New file.
2659 * math/w_j1f.c: Move to ...
2660 * sysdeps/generic/w_j1f.c: ...here. New file.
2661 * math/w_j1l.c: Move to ...
2662 * sysdeps/generic/w_j1l.c: ...here. New file.
2663 * math/w_jn.c: Move to ...
2664 * sysdeps/generic/w_jn.c: ...here. New file.
2665 * math/w_jnf.c: Move to ...
2666 * sysdeps/generic/w_jnf.c: ...here. New file.
2667 * math/w_jnl.c: Move to ...
2668 * sysdeps/generic/w_jnl.c: ...here. New file.
2669 * math/w_lgamma.c: Move to ...
2670 * sysdeps/generic/w_lgamma.c: ...here. New file.
2671 * math/w_lgammaf.c: Move to ...
2672 * sysdeps/generic/w_lgammaf.c: ...here. New file.
2673 * math/w_lgammaf_r.c: Move to ...
2674 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
2675 * math/w_lgammal.c: Move to ...
2676 * sysdeps/generic/w_lgammal.c: ...here. New file.
2677 * math/w_lgammal_r.c: Move to ...
2678 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
2679 * math/w_lgamma_r.c: Move to ...
2680 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
2681 * math/w_log10.c: Move to ...
2682 * sysdeps/generic/w_log10.c: ...here. New file.
2683 * math/w_log10f.c: Move to ...
2684 * sysdeps/generic/w_log10f.c: ...here. New file.
2685 * math/w_log10l.c: Move to ...
2686 * sysdeps/generic/w_log10l.c: ...here. New file.
2687 * math/w_log.c: Move to ...
2688 * sysdeps/generic/w_log.c: ...here. New file.
2689 * math/w_logf.c: Move to ...
2690 * sysdeps/generic/w_logf.c: ...here. New file.
2691 * math/w_logl.c: Move to ...
2692 * sysdeps/generic/w_logl.c: ...here. New file.
2693 * math/w_pow.c: Move to ...
2694 * sysdeps/generic/w_pow.c: ...here. New file.
2695 * math/w_powf.c: Move to ...
2696 * sysdeps/generic/w_powf.c: ...here. New file.
2697 * math/w_powl.c: Move to ...
2698 * sysdeps/generic/w_powl.c: ...here. New file.
2699 * math/w_remainder.c: Move to ...
2700 * sysdeps/generic/w_remainder.c: ...here. New file.
2701 * math/w_remainderf.c: Move to ...
2702 * sysdeps/generic/w_remainderf.c: ...here. New file.
2703 * math/w_remainderl.c: Move to ...
2704 * sysdeps/generic/w_remainderl.c: ...here. New file.
2705 * math/w_scalb.c: Move to ...
2706 * sysdeps/generic/w_scalb.c: ...here. New file.
2707 * math/w_scalbf.c: Move to ...
2708 * sysdeps/generic/w_scalbf.c: ...here. New file.
2709 * math/w_scalbl.c: Move to ...
2710 * sysdeps/generic/w_scalbl.c: ...here. New file.
2711 * math/w_sinh.c: Move to ...
2712 * sysdeps/generic/w_sinh.c: ...here. New file.
2713 * math/w_sinhf.c: Move to ...
2714 * sysdeps/generic/w_sinhf.c: ...here. New file.
2715 * math/w_sinhl.c: Move to ...
2716 * sysdeps/generic/w_sinhl.c: ...here. New file.
2717 * math/w_sqrtl.c: Move to ...
2718 * sysdeps/generic/w_sqrtl.c: ...here. New file.
2719 * math/w_tgamma.c: Move to ...
2720 * sysdeps/generic/w_tgamma.c: ...here. New file.
2721 * math/w_tgammaf.c: Move to ...
2722 * sysdeps/generic/w_tgammaf.c: ...here. New file.
2723 * math/w_tgammal.c: Move to ...
2724 * sysdeps/generic/w_tgammal.c: ...here. New file.
2726 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
2727 formats for postal_fmt.
2729 2001-02-16 Jakub Jelinek <jakub@redhat.com>
2731 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
2732 __ftruncate64 alias.
2733 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
2736 2001-02-15 David Mosberger <davidm@hpl.hp.com>
2738 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
2739 do "loadrs". Writing to bspstore already takes care of
2740 invalidating the "clean" partition.
2742 2001-02-16 Andreas Schwab <schwab@suse.de>
2744 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
2745 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
2747 2001-02-15 Jakub Jelinek <jakub@redhat.com>
2749 * posix/regex.c (init_syntax_once): Add prototype.
2750 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
2751 (re_search_2): Avoid warning.
2752 (count_mbs_length): Add prototype.
2753 * posix/tst-regex3.c: New file.
2754 * posix/Makefile (tests): Add bug-regex3.
2756 2001-02-15 Ulrich Drepper <drepper@redhat.com>
2758 * stdio-common/Makefile (tests): Add tst-gets.
2759 * stdio-common/tst-gets.c: New file.
2760 * stdio-common/tst-gets.input: New file.
2762 * elf/elf.h (DT_CHECKSUM): Define.
2764 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
2766 * sysdeps/generic/strtoull.c: Likewise.
2768 2001-02-14 Wolfram Gloger <wg@malloc.de>
2770 * malloc/malloc.c (new_heap): When allocating large chunk aligned
2771 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
2774 2001-02-14 Ulrich Drepper <drepper@redhat.com>
2776 * math/libm-test.inc (j0_test): Check whether sincos is available.
2777 (j1_test): Likewise.
2778 (jn_test): Likewise.
2779 (y0_test): Likewise.
2780 (y1_test): Likewise.
2781 (yn_test): Likewise.
2783 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
2784 fake filesystem routines to handle this.
2786 * time/sys/time.h: Make settimeofday and adjtime available if
2789 * time/sys/time.h: Make timer* macros available for BSD.
2791 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
2792 Patch by Yong Li <rigel863@yahoo.com>.
2794 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
2797 * posix/Makefile (tests): Add tst-gnuglob.
2798 * posix/tst-gnuglob.c: New file.
2800 2001-02-13 H.J. Lu <hjl@gnu.org>
2802 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
2804 2001-02-13 Ulrich Drepper <drepper@redhat.com>
2806 * locale/programs/ld-paper.c (paper_output): Pretty printing.
2808 * iconvdata/Makefile (modules): Add GBBIG5.
2809 (distribute): Add gbbig5.c.
2810 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
2812 * iconvdata/gbbig5.c: New file.
2813 Contributed by Yong Li <rigel863@yahoo.com>.
2815 2001-02-13 Philip Blundell <pb@futuretv.com>
2817 * manual/crypt.texi: Remove outdated references to crypt add-on.
2819 * manual/creature.texi: Improve wording slightly.
2821 2001-02-13 Ulrich Drepper <drepper@redhat.com>
2823 * io/ftw.c: Always use readdir64.
2824 * io/ftw64.c: Likewise.
2825 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2826 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2827 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
2828 callback to dirent. Still allow compiling outside glibc.
2829 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
2830 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2832 * malloc/mtrace.c: Use fopen64.
2833 * posix/spawni.c: Use __open64.
2834 * sysdeps/unix/opendir.c: Likewise.
2835 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
2837 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
2839 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
2840 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
2841 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
2842 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
2844 * resolv/res_data.c: Add cast to avoid warning.
2846 * include/unistd.h: Declare __ftruncate64.
2848 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
2850 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
2853 2001-02-13 Andreas Jaeger <aj@suse.de>
2855 * login/getutent_r.c: Include <stdlib.h> for NULL.
2856 * login/getutid_r.c: Likewise.
2858 2001-02-12 Ulrich Drepper <drepper@redhat.com>
2860 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
2861 * sysdeps/dbl-64/e_j1.c: Likewise.
2862 * sysdeps/dbl-64/e_jn.c: Likewise.
2863 * sysdeps/flt-32/e_j0f.c: Likewise.
2864 * sysdeps/flt-32/e_j1f.c: Likewise.
2865 * sysdeps/ldbl-96/e_j0l.c: Likewise.
2867 2000-12-02 H.J. Lu <hjl@gnu.org>
2869 * resolv/res_libc.c (res_init): Don't make it default.
2871 2001-02-12 Ulrich Drepper <drepper@redhat.com>
2873 * manual/debug.texi: Improved the wording.
2874 Patch by Philip Blundell <pb@futuretv.com>.
2876 2001-02-12 Andreas Jaeger <aj@suse.de>
2878 * posix/Makefile (tests): Don't run bug-regex2 when
2881 * libio/Makefile (tests): Don't run test-freopen when
2884 * manual/stdio.texi (Streams and I18N): Fix typos.
2886 2001-02-12 Ulrich Drepper <drepper@redhat.com>
2888 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
2890 * math/libm-test.inc (j0_test): Make expected results long double
2892 (y0_test): Likewise.
2894 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
2895 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2897 2001-02-11 Jakub Jelinek <jakub@redhat.com>
2899 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
2900 which was exported from libc.
2901 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
2903 2001-02-12 Andreas Jaeger <aj@suse.de>
2905 * manual/arith.texi (Parsing of Integers): Fix some wordings.
2907 2001-02-11 Ulrich Drepper <drepper@redhat.com>
2909 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
2910 and get_avphys_page to long int.
2911 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
2912 * include/sys/sysinfo.h: Likewise.
2913 * sysdeps/generic/sys/sysinfo.h: Likewise.
2914 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
2916 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
2917 cannot return as many values as the user asked for.
2919 2001-02-11 Andreas Jaeger <aj@suse.de>
2921 * manual/resource.texi (Memory Resources): Fix typo.
2923 * libio/Makefile ($(objpfx)test-freopen.out): Pass
2926 * libio/test-freopen.sh: Use run_program_prefix.
2928 2001-02-10 Andreas Jaeger <aj@suse.de>
2930 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
2932 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
2934 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
2937 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
2939 * posix/Makefile: Fix typo, it's build-static-nss.
2941 * iconv/Makefile (extra-objs): New.
2943 2001-02-10 Mark Kettenis <kettenis@gnu.org>
2945 * sysdeps/unix/stime.c: Include <time.h>.
2947 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
2949 2001-02-10 Andreas Jaeger <aj@suse.de>
2951 * manual/string.texi (Search Functions): Fix typo.
2953 2001-02-10 Mark Kettenis <kettenis@gnu.org>
2955 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
2956 (timeval_to_clock_t): Add clk_tck argument and use that instead of
2958 (__times): Use __getclktck to get the number of clock ticks per
2959 second and use its return value instead of CLK_TCK.
2961 2001-02-10 Mark Kettenis <kettenis@gnu.org>
2963 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
2965 2001-02-10 Mark Kettenis <kettenis@gnu.org>
2967 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
2969 2001-02-10 Andreas Jaeger <aj@suse.de>
2971 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
2974 2001-02-09 Ulrich Drepper <drepper@redhat.com>
2976 * posix/Makefile: Add rules to build and run bug-regex2.
2977 * posix/bug-regex2.c: New file.
2979 2001-02-10 Jakub Jelinek <jakub@redhat.com>
2981 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
2982 (regex_compile): Likewise.
2983 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
2984 (re_match_2_internal): Use just is_binary instead of two variables.
2985 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
2987 2001-02-09 Ulrich Drepper <drepper@redhat.com>
2989 * version.h (VERSION): Bump to 2.2.2.
2991 * iconv/Makefile (distribute): Add iconv_charmap.c and
2993 * elf/Makefile (distribute): Add firstobj.c.
2994 * Makefile (distribute): Add include/pthread.h.
2996 * configure.in: Require makeinfo version 4.
2998 * libio/tst_wscanf.c (main): Add cast to avoid warning.
2999 * libio/tst_swscanf.c (main): Likewise..
3001 2001-02-09 Jakub Jelinek <jakub@redhat.com>
3003 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
3004 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
3006 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
3007 if not RTLD_BOOTSTRAP.
3008 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3009 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3011 2001-02-09 Ulrich Drepper <drepper@redhat.com>
3013 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
3014 lr_ungetc to push back last read character.
3015 * locale/programs/linereader.h (lr_ungetc): Don't push back is
3017 (lr_ignore_rest): Don't warn about garbage if it is really the end
3020 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
3023 2001-02-08 Ulrich Drepper <drepper@redhat.com>
3025 * Makerules (build-shlib): Work around different order of
3026 processing of -B option in different gcc versions.
3028 * posix/regex.c: Fix alignment problem.
3029 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3031 * sysdeps/alpha/strrchr.S: Little optimization.
3032 Patch by Richard Henderson <rth@redhat.com>.
3034 * sysdeps/alpha/alphaev67/strrchr.S: New file.
3035 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
3037 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
3039 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
3040 in the assembler end directive.
3042 2001-02-08 Andreas Jaeger <aj@suse.de>
3044 * manual/stdio.texi (Closing Streams): Fix typos.
3046 2001-02-07 Ulrich Drepper <drepper@redhat.com>
3048 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
3049 Patch by Richard Henderson <rth@redhat.com>.
3050 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
3052 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
3053 pointer in FILE structure before calling _IO_init.
3054 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
3055 strfmon_l if necessary.
3056 Reported by Jury Gerold <gjury@grips.com>.
3058 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
3059 Patch by Pekka.Pietikainen@cern.ch.
3061 * posix/regex.c: Correct several problems with 64-bit architectures
3062 introduced in the MBS changes.
3063 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3065 2001-02-07 Jakub Jelinek <jakub@redhat.com>
3067 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
3069 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
3071 2001-02-07 Andreas Jaeger <aj@suse.de>
3073 * manual/install.texi (Tools for Compilation): Fix typo.
3074 Reported by Pavel Machek <pavel@bug.ucw.cz>.
3076 2001-02-07 Ulrich Drepper <drepper@redhat.com>
3078 * stdlib/strtod.c: Never stop prematurely reading digits before the
3079 decimal point is found. Compute exponent limit for negative exponents
3080 correctly. For numbers ending in all zeros eat the zeros even before
3081 the decimal point if the exponent is negative [PR libc/2072].
3082 * stdlib/Makefile (tests): Add bug-strtod.
3083 * stdlib/bug-strtod.c: New file.
3085 2001-02-07 Andreas Jaeger <aj@suse.de>
3087 * posix/bug-regex1.c: Include <wchar.h> for fwide.
3089 2001-02-06 Ulrich Drepper <drepper@redhat.com>
3091 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
3093 (compile_range): Handle index being passed, not pointer.
3094 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3096 * posix/regex.c: Fix a cast in the code for bracket handling which
3097 caused 8-bit uncleanliness.
3098 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
3100 * posix/Makefile (tests): Add bug-regex1.
3101 * posix/bug-regex1.c: New file.
3102 Contributed by Jim Meyering <jim@meyering.net>.
3104 * posix/regex.c: Many cleanups for incorrect format strings.
3106 2001-02-06 Andreas Jaeger <aj@suse.de>
3108 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
3110 2001-02-06 Ulrich Drepper <drepper@redhat.com>
3112 * locale/programs/locale.c (write_locales): Use scandir to read
3113 directory so that the entries are sorted.
3115 2001-02-06 Andreas Jaeger <aj@suse.de>
3117 * include/pthread.h: New file.
3119 * wctype/wctype.h: Move internal interfaces from here to...
3120 * include/wctype.h: ...here.
3122 * wcsmbs/wchar.h: Move __wcslen from here to...
3123 * include/wchar.h: ...here.
3125 * posix/sys/wait.h: Move __wait from here to...
3126 * include/sys/wait.h: ...here.
3128 * string/string.h: Move __ffs and __strerror_r from here to...
3129 * include/string.h: ...here.
3131 * stdlib/stdlib.h: Move __on_exit from here to...
3132 * include/stdlib.h: ...here.
3134 * libio/stdio.h: Move __vsnprintf from here to...
3135 * include/stdio.h: ...here.
3137 2001-02-06 Andreas Schwab <schwab@suse.de>
3139 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
3142 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
3145 2001-02-06 Ulrich Drepper <drepper@redhat.com>
3147 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
3149 2001-02-06 Andreas Jaeger <aj@suse.de>
3151 * elf/firstobj.c: Add prototype.
3153 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
3154 (truncate_wchar): Likewise.
3156 2001-02-06 Ulrich Drepper <drepper@redhat.com>
3158 * locale/programs/locale.c: Implement --verbose option for -a
3159 which prints detailed information about the locales.
3161 2001-02-05 Ulrich Drepper <drepper@redhat.com>
3163 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
3164 variable to uint32_t.
3165 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
3167 2001-02-04 Bruno Haible <haible@clisp.cons.org>
3169 * locale/C-translit.h.in: Add transliterations for CJK units of
3172 2001-02-05 Ulrich Drepper <drepper@redhat.com>
3174 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
3175 string. Include <inttypes.h> instead of <stdint.h>.
3177 * localedata/Makefile (tests): Add bug-iconv-trans.
3178 Define bug-iconv-trans-ENV.
3179 * localedata/bug-iconv-trans.c: New file.
3181 2001-02-04 Bruno Haible <haible@clisp.cons.org>
3183 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
3184 pointer, to avoid accumulating output from incomplete (unsuccessful)
3185 transliteration attempts.
3187 2001-02-05 Ulrich Drepper <drepper@redhat.com>
3189 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
3190 string. Include <inttypes.h> instead of <stdint.h>.
3192 * configure.in: Add check for bison.
3193 * config.make.in: Define BISON variable.
3194 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
3195 Rename YFLAGS to BISONFLAGS.
3197 2001-02-05 Andreas Jaeger <aj@suse.de>
3199 * io/test-lfs.c (do_test): Test lseek64 return value, call
3201 (test_ftello): New function to test ftello64 and fseeko64.
3203 * signal/signal.h: Move __sigaction from here to...
3204 * include/signal.h: ...here.
3206 * io/fcntl.h: Move __fcntl and __open to...
3207 * include/fcntl.h: ...here.
3209 2001-02-04 Philip Blundell <philb@gnu.org>
3211 * configure.in: Distinguish ARM from Thumb.
3213 2001-02-04 Philip Blundell <philb@gnu.org>
3215 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
3216 PC24 relocs with negative value.
3218 2001-02-04 Ulrich Drepper <drepper@redhat.com>
3220 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
3221 files in locale/programs. Add CFLAGS definition to allow compiling
3223 * iconv/dummy-repertoire.c: New file.
3224 * iconv/iconv_charmap.c: New file.
3225 * iconv/iconv_prog.h: New file.
3226 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
3227 (main): If parameter for -f and -t contain slashes try first to resolve
3228 the strings as filenames of charmap files. Use them for conversion
3230 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
3231 iconv getting charmap names as parameters.
3232 * locale/programs/linereader.c (lr_token): Take extra parameters
3233 verbose and pass it to get_string.
3234 (get_string): Take extra parameters verbose.
3235 * locale/programs/charmap.c (parse_charmap): Take extra parameters
3236 verbose and be_quiet. Change all callers of lr_token and
3238 * locale/programs/charmap.h: Likewise.
3239 * locale/programs/ld-address.c: Likewise.
3240 * locale/programs/ld-collate.c: Likewise.
3241 * locale/programs/ld-ctype.c: Likewise.
3242 * locale/programs/ld-identification.c: Likewise.
3243 * locale/programs/ld-measurement.c: Likewise.
3244 * locale/programs/ld-messages.c: Likewise.
3245 * locale/programs/ld-monetary.c: Likewise.
3246 * locale/programs/ld-name.c: Likewise.
3247 * locale/programs/ld-numeric.c: Likewise.
3248 * locale/programs/ld-paper.c: Likewise.
3249 * locale/programs/ld-telephone.c: Likewise.
3250 * locale/programs/ld-time.c: Likewise.
3251 * locale/programs/linereader.c: Likewise.
3252 * locale/programs/linereader.h: Likewise.
3253 * locale/programs/localedef.c: Likewise.
3254 * locale/programs/locfile.c: Likewise.
3255 * locale/programs/locfile.h: Likewise.
3256 * locale/programs/repertoire.c: Likewise.
3258 2001-02-03 Ulrich Drepper <drepper@redhat.com>
3260 * iconv/iconv_prog.c (main): If output file name is "-" write to
3262 (main): If -f or -t argument is missing use charset of the current
3265 2001-02-03 Andreas Jaeger <aj@suse.de>
3267 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
3268 boundary for SSE/SSE-2 alignment.
3270 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
3273 2001-02-03 Ulrich Drepper <drepper@redhat.com>
3275 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
3276 Remove comma at end of enum.
3278 * elf/dl-init.c: Add a few __builtin_expect.
3280 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
3282 2001-02-02 Ulrich Drepper <drepper@redhat.com>
3284 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
3285 errno is ECONNREFUSED.
3287 * posix/Makefile: Define MBS_SUPPORT for regex.c.
3288 * posix/regex.c: Implement multibyte character handling.
3289 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
3291 * string/tst-svc.input: Add two more test cases.
3292 * string/tst-svc.expect: Modify to reflect new test cases.
3294 2001-02-01 Jakub Jelinek <jakub@redhat.com>
3296 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
3297 tp->name tests with tp->name[0] tests.
3299 2001-01-29 Ben Collins <bcollins@debian.org>
3301 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
3302 Fix check for name == NULL.
3304 2001-02-01 Ulrich Drepper <drepper@redhat.com>
3306 * elf/Makefile: Add rules to build and run initfirst test.
3307 * elf/initfirst.c: New file.
3308 * elf/firstobj.c: New file.
3310 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
3311 * configure.in: Test for -z initfirst linker option.
3312 * config.make.in: Add have-z-initfirst.
3313 * elf/dl-init.c (_dl_init): Split out actual initialization code in
3314 new function call_init. If _dl_initfirst is non-NULL initialize first.
3315 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
3316 remember object in _dl_initfirst.
3317 * elf/soinit.c: Remove special support for calling
3318 __pthread_initialize_minimal.
3320 * conform/conformtest.pl: Add missing $prepend in type test.
3322 2001-01-31 Ulrich Drepper <drepper@redhat.com>
3324 * elf/elf.h (SHT_CHECKSUM): New definition.
3326 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
3327 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3328 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
3330 2001-01-31 Mark Kettenis <kettenis@gnu.org>
3332 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
3333 to get definition of `struct timeval'.
3335 2001-01-31 Ulrich Drepper <drepper@redhat.com>
3337 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
3338 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
3340 2001-01-30 Ulrich Drepper <drepper@redhat.com>
3342 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
3345 * nis/nis_findserv.c: Include <time.h>.
3347 2001-01-30 Yong Li <yong.li@asu.edu>
3349 * iconv/iconv_prog.c (main): Correct error handling method name.
3351 2001-01-29 Ben Collins <bcollins@debian.org>
3353 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
3354 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
3355 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
3356 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
3358 2001-01-30 Ulrich Drepper <drepper@redhat.com>
3360 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
3361 Patch by Marko Myllynen <myllynen@lut.fi>.
3363 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
3364 (int instead of char).
3365 (__strpbrk_c3): Likewise.
3366 Reported by GOTO Masanori <gotom@debian.or.jp>.
3368 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
3369 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
3370 * include/sys/socket.h: Add SA_LEN here for internal use.
3371 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
3373 2001-01-29 Ulrich Drepper <drepper@redhat.com>
3375 * malloc/Makefile: Don't build memusagestat if cross-compiling.
3377 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
3379 * math/libm-test.inc (rint_test): Add a few more tests for round
3382 2001-01-28 Ulrich Drepper <drepper@redhat.com>
3384 * conform/data/pthread.h-data: Correct return type of pthread_exit.
3386 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
3388 * conform/data/stdlib.h-data: Add _Exit.
3390 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
3391 if not already happened.
3392 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
3393 Don't include <limits.h> and <bits/sockaddr.h>.
3395 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
3397 * conform/data/spawn.h-data: Allow all of <sched.h>.
3399 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
3402 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
3403 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
3405 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
3407 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
3408 * libio/stdio.h: Define va_list correctly.
3410 * conform/data/pthread.h-data: Make priority protocol related
3411 functions optional. Fix typos.
3413 * posix/sched.h: Define sched_priority as __sched_priority.
3414 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
3415 to __sched_priority.
3416 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3418 2001-01-27 Ulrich Drepper <drepper@redhat.com>
3420 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
3423 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
3424 * sysdeps/unix/time.c: Likewise.
3426 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
3427 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
3428 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
3429 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
3430 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
3431 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
3432 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
3433 * time/time.h: Likewise.
3435 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
3436 * conform/data/complex.h-data: New file.
3437 * conform/data/tgmath.h-data: New file.
3439 * conform/data/wchar.h-data: Add missing functions.
3441 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
3443 * conform/data/termios.h-data: Add missing const in tcsetattr()
3446 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
3447 Don't define pid_t here.
3449 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
3451 * conform/data/sys/time.h-data: Allow sys/select.h.
3452 * conform/data/sys/un.h-data: Fix typo.
3453 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
3454 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
3456 * sysdeps/unix/clock_nanosleep.c: Likewise.
3457 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
3458 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
3459 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
3460 * sysdeps/unix/clock_settime.c: Likewise.
3462 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
3463 * login/getutent.c: Likewise.
3464 * login/getutid.c: Likewise.
3465 * login/getutline.c: Likewise.
3467 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
3469 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
3470 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
3471 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
3472 f_fsid field after change in struct statvfs.
3473 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
3474 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
3475 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
3477 * conform/data/sys/stat.h-data: Remove isfdtype. Use
3480 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
3481 recvfrom, send, and socketpair prototypes. Add allow lines.
3482 * socket/sys/socket.h: Include <sys/uio.h>.
3483 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
3484 Fix type of second parameter of listen.
3485 Don't declare isfdtype unless __USE_MISC.
3486 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
3487 * sysdeps/mach/hurd/listen.c: Likewise.
3488 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
3489 ss_family and __ss_family.
3490 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
3491 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3492 (struct msghdr): Change type of msg_iovlen to int and type of
3493 msg_controllen to socklen_t.
3494 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
3495 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
3496 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
3497 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
3498 (rresvport_af): Likewise.
3500 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
3501 * conform/conformtest.pl: Implement handling of symbol.
3503 * signal/signal.h: Fix handling of __need_* symbols.
3504 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
3505 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
3506 * include/sys/select.h: Use fd_set not __fd_set.
3507 * sysdeps/generic/bits/select.h: Likewise.
3508 * sysdeps/i386/bits/select.h: Likewise.
3509 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
3510 __FDELT, __FDMASK, and __fd_set here.
3511 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
3512 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
3513 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3514 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3515 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
3516 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3517 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3518 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
3519 * time/sys/time.h: Define struct timeval before including <time.h>
3522 * conform/data/sys/time.h-data: fd_set is a typedef.
3523 * conform/data/sys/select.h-data: New file.
3524 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
3525 * conform/conformtest.pl (@headers): Add sys/select.h.
3526 (type, optional-type): Unless testing a typedef instantiate object.
3527 Implement optional-function.
3529 * math/test-misc.c: Include <float.h>.
3531 2001-01-27 Andreas Jaeger <aj@suse.de>
3533 * misc/efgcvt_r.c: Include <float.h>.
3535 2001-01-26 Ulrich Drepper <drepper@redhat.com>
3537 * conform/data/stdlib.h-data: Account for XPG6 changes.
3538 * stdlib/stdlib.h (__random): Change return value type to long.
3539 (posix_memalign): Cleanup parameter names.
3540 (setenv, unsetenv): Make available for __USE_XOPEN2K.
3541 Change return type of unsetenv to int.
3542 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
3543 * include/stdlib.h: Change return type of unsetenv to int.
3544 Change return type of random to long int.
3545 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
3546 Return -1 and set errno if parameter is invalid.
3547 * stdlib/random.c (__random): Change return value type to long.
3549 * conform/data/stdio.h-data: Account for changes in XPG6.
3551 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
3554 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
3555 * conform/data/signal.h-data: Fix sigev_notify_function entry.
3556 Fix typo (SIGVALRM -> SIGVTALRM).
3557 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
3559 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
3560 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3561 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3562 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3563 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3565 * conform/conformtest.pl: Implement optional-element. Define
3566 $mustprepend{"sched.h"}.
3567 * conform/data/sched.h-data: Make sporadic scheduler definitions
3570 * pwd/pwd.h: Don't define getpwent_r for XPG.
3572 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
3573 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
3574 * sysdeps/mach/hurd/poll.c: Likewise.
3575 * sysdeps/unix/bsd/poll.c: Likewise.
3576 * sysdeps/unix/sysv/linux/poll.c: Likewise.
3577 * sysdeps/unix/sysv/aix/poll.c: Likewise.
3578 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
3579 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
3580 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
3581 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
3582 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
3583 * conform/data/poll.h-data: Fix typo in poll prototype.
3585 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
3587 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
3589 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
3591 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
3593 * conform/conformtest.pl: Implement optional-type.
3595 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
3596 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
3597 defining uint32_t here. Define IPPORT_RESERVED.
3598 (struct hostent): Type of h_length element is int.
3599 (getnameinfo): Type of flags parameter is unsigned int.
3600 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
3601 * conform/data/netdb.h-data: Add many missing definitions.
3603 * conform/conformtest.pl: Implement optional-macro.
3604 * conform/data/math.h-data: Update for XPG6.
3606 * math/math.h (HUGE): Define as FLT_MAX value but don't use
3607 FLT_MAX. Don't include <float.h>.
3608 (MAXFLOAT): Likewise.
3610 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
3612 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
3614 * conform/data/limits.h-data: Mark constants as optional wherever
3617 * posix/bits/posix2_lim.h: Set correct values for
3618 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
3621 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
3624 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
3626 * conform/data/netinet/in.h-data: Add reserved prefixes.
3628 * conform/data/arpa/inet.h-data: Fix a few typos.
3630 2001-01-26 Andreas Jaeger <aj@suse.de>
3632 * sysdeps/generic/strtol.c: Include <locale.h>
3633 * stdlib/strtod.c: Likewise
3634 * stdlib/strfmon.c: Likewise.
3635 * string/strcoll.c: Likewise.
3636 * string/strxfrm.c: Likewise.
3637 * wctype/wcfuncs_l.c: Likewise.
3638 * wctype/wctype_l.c: Likewise.
3639 * wctype/wctrans_l.c: Likewise.
3641 * include/bits/locale.h: New file.
3643 2001-01-26 Ulrich Drepper <drepper@redhat.com>
3645 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
3648 * locale/Makefile (headers): Add bits/locale.h.
3649 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
3650 and use __LC_ constants instead of LC_.
3651 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
3652 using __LC_ constants.
3653 * locale/bits/locale.h: New file.
3654 * locale/loadlocale.c: Include <locale.h>.
3655 * locale/nl_langinfo.h: Likewise.
3657 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
3659 * io/sys/stat.h: Define S_IFSOCK for XPG6.
3661 * conform/data/fcntl.h-data: posix_madvise is not expected here.
3663 * conform/conformtest.pl: Fix handling of macro-str.
3665 * conform/data/inttypes.h-data: Add missing definition and all of
3668 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
3670 2001-01-25 Ulrich Drepper <drepper@redhat.com>
3672 * conform/conformtest.pl (@headers): Add stdint.h.
3673 * conform/data/stdint.h-data: New file.
3675 * conform/conformtest.pl: Recognize options --headers and
3676 --dialect. Add dialect-specific CFLAGS.
3678 * conform/conformtest.pl: Implement handling of recursive
3681 * conform/data/locale.h-data: Add new struct lconv members.
3683 * posix/wordexp.h: Correct definition of wordexp_t.
3684 * posix/wordexp.c: Moved to ...
3685 * sysdeps/generic/wordexp.c: ...here. New file.
3686 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
3687 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
3688 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
3689 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
3691 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
3692 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
3694 * math/tgmath.h: Pretty printing.
3696 * math/Makefile (tests): Add test-tgmath.
3697 (CFLAGS-test-tgmath.c): New variable.
3698 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
3700 * conform/conformtest.pl: Handle allow-header in secondary headers
3703 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
3706 * conform/data/netinet/in.h-data: Use correct comment character.
3707 * conform/data/sys/stat.h-data: Likewise.
3709 2001-01-25 Jakub Jelinek <jakub@redhat.com>
3711 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
3712 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
3713 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
3714 __builtin_classify_type, add ##f suffixes where appropriate.
3715 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
3716 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
3717 __builtin_classify_type.
3718 (fma): Fix spelling of first argument.
3720 2001-01-25 Ulrich Drepper <drepper@redhat.com>
3722 * conform/data/unistd.h-data: Mark functions removed in XPG6
3725 * posix/unistd.h: Don't make functions removed in XPG6 available if
3728 * conform/conformtest.pl: Implement optional-constant.
3729 * conform/data/unistd.h-data: Use optional-constant wherever
3732 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
3733 constants and add _SC_STREAMS.
3734 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3736 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
3737 make old name weak alias.
3738 * sysdeps/generic/statvfs64.c: Likewise.
3739 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
3740 make old name weak alias.
3741 * sysdeps/generic/fstatvfs64.c: Likewise.
3742 * include/sys/statvfs.h: New file.
3744 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
3745 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
3747 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
3748 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
3749 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
3750 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3752 * conform/conformtest.pl: Run Unix tests for XPG6.
3753 Implement handling of known namespace violations.
3754 Improve printing of results.
3756 * posix/unistd.h (usleep): Correct return type.
3757 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
3758 * sysdeps/unix/bsd/usleep.c: Correct return type.
3759 * sysdeps/mach/usleep.c: Correct return type.
3760 * sysdeps/generic/usleep.c: Correct return type.
3762 * posix/unistd.h (sync): Correct return type.
3763 * sysdeps/generic/sync.c: Likewise.
3764 * sysdeps/mach/hurd/sync.c: Likewise.
3766 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
3768 * posix/unistd.h: Make seteuid and setegid available for XPG6.
3770 * wcsmbs/wchar.h: Get FILE definition for XPG5.
3772 * conform/data/ctype.h-data: Use correct comment form.
3773 * conform/data/errno.h-data: Likewise.
3774 * conform/data/math.h-data: Likewise.
3775 * conform/data/mqueue.h-data: Likewise.
3776 * conform/data/netdb.h-data: Likewise.
3777 * conform/data/pthread.h-data: Likewise.
3779 2001-01-24 Ulrich Drepper <drepper@redhat.com>
3781 * conform/data/wordexp.h-data: Fix typo.
3783 * conform/conformtest.pl: Handle allow-header correctly.
3785 * conform/data/time.h-data: Use correct comment form.
3787 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
3789 * configure.in: Comment out binutils version test.
3791 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
3793 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
3795 * stdlib/tst-strtod.c (locale_test): New function.
3796 (main): Call locale_test.
3797 * stdlib/Makefile (tst-strtod-ENV): New variable.
3799 2001-01-24 Mark Kettenis <kettenis@gnu.org>
3801 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
3802 declaration of value such that we actually return the value of the
3803 environment variable.
3805 2001-01-24 Andreas Jaeger <aj@suse.de>
3807 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
3809 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3811 * include/sys/sysctl.h: New file.
3813 2001-01-23 Andreas Jaeger <aj@suse.de>
3815 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
3818 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
3819 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
3820 closes PR libc/2039.
3822 * manual/install.texi (Tools for Compilation): Change required
3825 2001-01-22 Andreas Jaeger <aj@suse.de>
3827 * configure.in: Add test for new enough binutils version, move
3828 compiler/binutils test up.
3830 * Versions.def: Add version GLIBC_2.2.2.
3832 2001-01-21 Ulrich Drepper <drepper@redhat.com>
3834 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
3836 * iconvdata/testdata/IBM932: New file.
3837 * iconvdata/testdata/IBM932..UTF8: New file.
3838 * iconvdata/testdata/IBM943: New file.
3839 * iconvdata/testdata/IBM943..UTF8: New file.
3840 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
3842 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3844 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
3846 2001-01-21 Ulrich Drepper <drepper@redhat.com>
3848 * malloc/malloc.c: Remove a few unnecessary initializers of global
3851 2000-12-09 H.J. Lu <hjl@gnu.org>
3853 * nss/Makefile (routines): Add digits_dots.
3854 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
3855 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
3857 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
3859 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
3860 (TYPE_VAR_P): Likewise.
3861 (FLAGS_VAR): Likewise.
3862 (AF_VAR_P): Likewise.
3863 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
3864 instead of including digits_dots.c.
3865 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
3866 (TYPE_VAR_P): Likewise.
3867 (FLAGS_VAR): Likewise.
3868 (AF_VAR_P): Likewise.
3869 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
3870 instead of including digits_dots.c.
3872 2001-01-21 Ulrich Drepper <drepper@redhat.com>
3874 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
3876 2001-01-21 Andreas Jaeger <aj@suse.de>
3878 * elf/constload2.c: Add prototype for init.
3880 2001-01-21 Ulrich Drepper <drepper@redhat.com>
3882 * stdlib/stdlib.h (drand48_data): Make available only for
3883 __USE_MISC. Rename elements to protect namespace. Change type
3884 and position of a and init element.
3885 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
3886 differently. Adjust for drand48_data change. Don't compute a here,
3887 it comes from drand48_data.
3888 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
3889 differently. Adjust for drand48_data change. Compute a here.
3890 * stdlib/srand48_r.c: Likewise.
3891 * stdlib/drand48.c: Adjust for drand48_data change.
3892 * stdlib/lrand48.c: Likewise.
3893 * stdlib/mrand48.c: Likewise.
3894 * stdlib/seek48.c: Likewise.
3895 * stdlib/drand48_r.c: Likewise.
3896 * stdlib/lrand48_r.c: Likewise.
3897 * stdlib/mrand48_r.c: Likewise.
3898 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
3900 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
3901 * stdlib/jrand48_r.c: Likewise.
3903 * po/sv.po: Update from translation team.
3905 2001-01-21 Andreas Jaeger <aj@suse.de>
3907 * stdio-common/vfprintf.c (vfprintf): Add casts.
3909 2001-01-20 Ulrich Drepper <drepper@redhat.com>
3911 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
3913 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
3915 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
3916 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
3917 * iconvdata/ibm932.c: New file.
3918 * iconvdata/ibm932.h: New file.
3919 * iconvdata/ibm943.c: New file.
3920 * iconvdata/ibm943.h: New file.
3921 Patches by Masahide Washizawa <washi@jp.ibm.com>.
3923 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
3924 preventing optimization from being done. Set the correct type bit
3925 in seen. Don't define and use _dl_base_addr unless
3926 NEED_DL_BASE_ADDR is defined.
3928 * io/ftw.c (ftw_dir): Add slash after directory name if there
3929 wasn't any. Reported by loris <loris@iol.it>.
3930 * io/Makefile (tests): Add bug-ftw2.
3931 * io/bug-ftw2.c: New file.
3933 2001-01-19 Ulrich Drepper <drepper@redhat.com>
3935 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
3936 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
3937 * stdlib/tst-rand48.c: New file.
3938 * stdlib/Makefile (tests): Add tst-rand48.
3940 * locale/newlocale.c (__newlocale): Fix test for setting all
3943 2001-01-19 Mark Kettenis <kettenis@gnu.org>
3945 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
3946 but change looking up the initial directory port in a similar way
3947 as done by _hurd_change_directory_port_from_name.
3948 * hurd/fchroot.c (fchroot): Likewise.
3950 2001-01-18 Ulrich Drepper <drepper@redhat.com>
3952 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
3953 defined don't look whether the AT_*ID values were set.
3954 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
3955 (_dl_show_auxv): Rewrite to avoid switch statement.
3956 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3957 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
3958 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
3959 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
3961 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
3962 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3963 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3965 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
3967 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
3968 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
3970 * dlfcn/eval.c (__strtol_internal): Define here.
3971 (eval): Use __strtol_internal instead of strtol.
3973 * elf/elf.h: Add a few more EF_MIPS_* constants.
3975 2001-01-17 Ulrich Drepper <drepper@redhat.com>
3977 * manual/Makefile (chapters): Add debug.
3978 * manual/debug.texi: New file.
3979 * manual/examples/execinfo.c: New file.
3980 Patch by suckfish@ihug.co.nz.
3982 2001-01-17 Andreas Schwab <schwab@suse.de>
3984 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
3987 2001-01-17 Andreas Jaeger <aj@suse.de>
3989 * nscd/connections.c (nscd_run): Use proper format specifier.
3991 2001-01-16 Ulrich Drepper <drepper@redhat.com>
3993 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
3994 x86_platforms data into new file after prepending _dl_. Change
3996 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
3997 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
3998 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
4001 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
4003 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
4004 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
4005 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
4006 (_setjmp): Likewise.
4007 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
4008 * sysdeps/i386/bsd-setjmp.S: Real implementation.
4009 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
4010 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
4013 2001-01-16 Andreas Jaeger <aj@suse.de>
4015 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
4016 misapplied last patch.
4018 2001-01-15 Ulrich Drepper <drepper@redhat.com>
4020 * stdlib/random.c (__initstate): Clean up a cast.
4021 (__setstate): Likewise.
4023 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
4024 syscall handling. The generic Linux version should work.
4026 2001-01-15 Andreas Jaeger <aj@suse.de>
4028 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
4030 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
4032 2001-01-14 Jakub Jelinek <jakub@redhat.com>
4034 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
4035 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
4037 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
4038 If number is 0, list all.
4039 (services_keys): Likewise. Lookup aliases as well.
4040 (databases): New table.
4041 (build_doc): Prepare argp doc text with list of supported databases.
4042 (main): Change to table driven processing.
4044 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
4046 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
4049 2001-01-03 Jakub Jelinek <jakub@redhat.com>
4051 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
4052 encode value which does not fit in the 32bit type.
4054 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
4056 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
4057 Change type of CTX to (struct sigcontext *).
4058 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
4059 (GET_FRAME): Likewise.
4060 (GET_STACK): Likewise.
4061 (SIGCONTEXT): Likewise. Add 2nd arg _code.
4062 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
4064 2001-01-13 Ulrich Drepper <drepper@redhat.com>
4066 * manual/texinfo.tex: Update from upstream version.
4068 2001-01-13 Jakub Jelinek <jakub@redhat.com>
4070 * inet/ether_ntoh.c (lookup_function): Change arguments to match
4071 _nss_*_getntohost_r prototype.
4072 (ether_ntohost): Pass errno pointer to NSS function.
4074 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4076 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
4077 (MAP_LOCKED): New definition.
4078 (MAP_NORESERVE): New definition.
4080 2001-01-12 Ulrich Drepper <drepper@redhat.com>
4082 * assert/assert.h: Use static_cast instead of C-style cast for C++.
4083 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
4085 2001-01-12 Ben Collins <bcollins@debian.org>
4087 * sysdeps/generic/segfault.c (install_handler): Use access, not
4090 2001-01-12 Andreas Jaeger <aj@suse.de>
4092 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
4093 * posix/wordexp.c (do_parse_glob): Likewise.
4094 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4095 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
4096 * elf/dl-open.c (_dl_open): Likewise.
4097 * elf/dl-close.c (_dl_close): Likewise.
4098 * elf/dl-load.c (_dl_map_object): Likewise.
4099 * iconv/iconv_prog.c (process_fd): Likewise.
4100 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
4102 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
4103 of a zero-length array.
4105 2001-01-11 Jakub Jelinek <jakub@redhat.com>
4107 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
4108 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
4109 * stdlib/cxa_on_exit.c: Remove.
4110 * stdlib/Makefile: Revert last patch.
4111 * stdlib/Versions: Likewise.
4112 * include/stdlib.h: Likewise.
4113 * stdlib/exit.h: Revert last patch.
4114 (struct exit_function): Add second argument to cxa fn.
4115 * stdlib/exit.c: Revert last patch.
4116 (exit): Add hidden second argument.
4118 2001-01-11 H.J. Lu <hjl@gnu.org>
4120 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
4121 * elf/dl-open.c (_dl_open): Here.
4122 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
4124 (_dl_static_init): Initialize the variables every time when possible.
4125 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
4128 2001-01-11 Ulrich Drepper <drepper@redhat.com>
4130 * stdlib/Makefile (routines): Add cxa_on_exit.
4131 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
4132 * stdlib/cxa_on_exit.c: New file.
4133 * include/stdlib.h: Add prototype for __cxa_on_exit.
4134 * stdlib/exit.c: Handle ef_cxa2.
4135 * stdlib/exit.h (enum): Add ef_cxa2.
4136 (struct exit_function): Add cxa2.
4138 * Versions.def [ld]: Add GLIBC_2.2.1.
4140 2001-01-10 H.J. Lu <hjl@gnu.org>
4142 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
4143 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
4145 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
4146 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
4147 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
4148 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
4149 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
4151 2001-01-11 Ulrich Drepper <drepper@redhat.com>
4153 * libio/stdio.h: Remove definition of off_t.
4155 2001-01-11 Andreas Jaeger <aj@suse.de>
4157 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
4160 2001-01-10 Ulrich Drepper <drepper@redhat.com>
4162 * sunrpc/Makefile (distribute): Add errqueue.h.
4164 2001-01-10 H.J. Lu <hjl@gnu.org>
4166 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
4167 r9, r10 and r11 for language specific registers.
4169 2001-01-10 Jakub Jelinek <jakub@redhat.com>
4171 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
4173 (clntudp_call): Handle MSG_ERRQUEUE.
4174 * sysdeps/generic/errqueue.h: New file.
4175 * sysdeps/unix/sysv/linux/errqueue.h: New file.
4177 2001-01-10 H.J. Lu <hjl@gnu.org>
4179 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
4181 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
4183 * CONFORMANCE: Update.
4185 2001-01-09 Ulrich Drepper <drepper@redhat.com>
4187 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
4188 Minimal cleanups. Add assert to ensure memory handling is correct.
4190 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
4191 Reported by Ben Collins <bcollins@debian.org>.
4193 * time/strftime.c (my_strftime): Mark previous GNU extensions
4194 which are now in C99 as such.
4196 2001-01-08 Ulrich Drepper <drepper@redhat.com>
4198 * elf/rtld.c (process_envvars): Place output files for profiling
4199 in SUID binaries in /var/profile.
4201 * elf/dl-load.c (_dl_map_object): Don't look in cache for
4202 preloading in SUID binaries.
4204 * elf/dl-profile.c (_dl_start_profile): Open the output file with
4205 O_NOFOLLOW if possible.
4207 * include/stdlib.h: Add __posix_openpt declaration.
4208 * stdlib/stdlib.h: Add posix_openpt declaration.
4209 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
4210 * sysdeps/generic/getpt.c: Define posix_openpt.
4211 * sysdeps/unix/bsd/getpt.c: Likewise.
4212 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
4214 * time/Makefile (tests): Add tst-mktime.
4215 * time/tst-mktime.c: New file.
4217 * posix/tst-dir.c (main): One more mkdir() test.
4219 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
4220 Remove getpagesize syscall. We assume that the pagesize is always
4221 determined from the auxiliary vector.
4223 * intl/dcigettext.c: Fix a few warnings.
4224 Patch by Bruno Haible <haible@ilog.fr>.
4226 2001-01-08 Andreas Jaeger <aj@suse.de>
4228 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
4229 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
4231 2001-01-08 Ulrich Drepper <drepper@redhat.com>
4233 * sysdeps/generic/segfault.c (install_handler): Check output file
4236 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
4237 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
4239 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
4241 * malloc/memusage.c (me): Use access() to determine whether we
4242 should write the output file or not.
4244 * libio/bits/stdio.h (printf): Define macro to map printf call to
4245 fprintf which gcc can optimize.
4246 * stdio-common/printf.c: Undefine printf.
4248 2001-01-07 Ulrich Drepper <drepper@redhat.com>
4250 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
4251 patch. We must use unsigned int for l member of union.
4253 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
4254 _dl_aux_init for shared libraries.
4256 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
4257 * sysdeps/gnu/glob64.c: ...here. New file.
4259 2001-01-07 Ben Collins <bcollins@debian.org>
4261 * manual/examples/longopt.c: Make the "struct option" a little
4262 more like it should be, adding usage of required_argument,
4263 noargument and such, and also setting the options string right.
4265 * manual/sysinfo.texi (Load Average): New section, documents
4268 2001-01-06 Ulrich Drepper <drepper@redhat.com>
4270 * version.h (VERSION): Bump to 2.2.1.
4272 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
4273 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
4274 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
4275 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
4276 * Makefile (distribute): Add include/libc-internal.h.
4277 * libio/Makefile (distribute): Avoid overwriting.
4279 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
4280 buffer and table handling.
4282 2001-01-05 H.J. Lu <hjl@gnu.org>
4284 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
4285 vector checking to ...
4286 (_dl_aux_init): Here. New function. Defined only if
4287 HAVE_AUX_VECTOR is defined.
4289 * sysdeps/generic/libc-start.c (__libc_start_main): Call
4290 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
4292 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
4295 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
4296 (HAVE_AUX_VECTOR): Defined.
4297 (_dl_aux_init): Declared.
4299 2001-01-05 Ben Collins <bcollins@debian.org>
4301 * manual/string.texi (Finding Tokens in a String): Document XPG
4302 basename() and dirname(), as well as GNU basename().
4304 2001-01-05 Jakub Jelinek <jakub@redhat.com>
4306 * Makeconfig (preprocess-version): Replace -traditional with
4307 -x assembler-with-cpp.
4309 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
4311 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
4312 for GCC 2.97 or later.
4314 2001-01-05 Ben Collins <bcollins@debian.org>
4316 * manual/stdio.texi (getline): Clarify the return value in the
4317 case of EOF being reached before a newline.
4319 2001-01-04 Jakub Jelinek <jakub@redhat.com>
4321 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
4323 (pmap_set, pmap_unset): Check __get_myaddress return value.
4325 2001-01-05 Mark Kettenis <kettenis@gnu.org>
4327 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
4328 (struct ether_addr): Declare ether_addr_octet member as
4329 `u_int8_t'. Add __attribute__ ((__packed__)).
4331 2001-01-06 Mark Kettenis <kettenis@gnu.org>
4333 * sysdeps/mach/hurd/readdir64.c: New file.
4334 * sysdeps/mach/hurd/readdir64_r.c: New file.
4336 2001-01-07 Mark Kettenis <kettenis@gnu.org>
4338 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
4339 `struct statfs' and `struct statvfs' being identical.
4340 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
4342 2001-01-06 Mark Kettenis <kettenis@gnu.org>
4344 * sysdeps/mach/hurd/fstatfs64.c: New file.
4345 * sysdeps/mach/hurd/fstatvfs64.c: New file.
4346 * sysdeps/mach/hurd/statfs64.c: New file.
4347 * sysdeps/mach/hurd/statvfs64.c: New file.
4348 * sysdeps/mach/hurd/statfsconv.c: New file.
4349 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
4351 2001-01-06 Ulrich Drepper <drepper@redhat.com>
4353 * iconv/skeleton.c: Reset outbuf for next round of the loop.
4354 Reported by Owen Taylor <otaylor@redhat.com>.
4355 * iconv/Makefile (tests): Add tst-iconv3.
4356 * iconv/tst-iconv3.c: New file.
4358 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
4359 * iconvdata/ibm933.c: Likewise.
4360 * iconvdata/ibm935.c: Likewise.
4361 * iconvdata/ibm937.c: Likewise.
4362 * iconvdata/ibm939.c: Likewise.
4363 * iconvdata/ibm930.h: Adjust single byte table for optimization.
4364 * iconvdata/ibm933.h: Likewise.
4365 * iconvdata/ibm935.h: Likewise.
4366 * iconvdata/ibm939.h: Likewise.
4368 * iconvdata/testdata/IBM930: Add misssing SI.
4369 * iconvdata/testdata/IBM933: Likewise.
4370 * iconvdata/testdata/IBM935: Likewise.
4371 * iconvdata/testdata/IBM937: Likewise.
4372 * iconvdata/testdata/IBM939: Likewise.
4374 2001-01-06 Andreas Jaeger <aj@suse.de>
4376 * configure.in: Check for old add-ons that shouldn't be used with
4377 current glibc anymore.
4379 2001-01-06 Mark Kettenis <kettenis@gnu.org>
4381 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
4382 instead of -1 on failure. Don't forget to copy file name into
4383 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
4386 2001-01-06 Mark Kettenis <kettenis@gnu.org>
4388 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
4389 copy st_atime member.
4391 2001-01-05 Ulrich Drepper <drepper@redhat.com>
4393 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
4394 for searches from the root directory.
4395 Reported by loris <loris@iol.it> [PR libc/1991].
4396 * io/Makefile (tests): Add bug-ftw1.
4397 * io/bug-ftw1.c: New file.
4399 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
4400 if it is not available. Instead use it only if it is available.
4401 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
4403 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
4404 overflowing output buffer.
4405 (internal_ucs4_loop_unaligned): Likewise.
4406 (ucs4_internal_loop): Likewise.
4407 (ucs4_internal_loop_unaligned): Likewise.
4408 (internal_ucs4le_loop): Likewise.
4409 (internal_ucs4le_loop_unaligned): Likewise.
4410 (ucs4le_internal_loop): Likewise.
4411 (ucs4le_internal_loop_unaligned): Likewise.
4412 Reported by Owen Taylor <otaylor@redhat.com>.
4413 * iconv/Makefile (tests): Add tst-iconv2.
4414 * iconv/tst-iconv2.c: New file.
4416 2001-01-04 H.J. Lu <hjl@gnu.org>
4418 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
4419 (_dl_clktck): Declared.
4420 (non_dynamic_init): Take 3 arguments.
4421 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
4423 2001-01-01 Bruno Haible <haible@clisp.cons.org>
4425 Finish implementation of plural form handling.
4426 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
4427 'domainname'. Remove 'plindex' field. Add 'domain' and
4428 'translation_length' fields.
4429 (transcmp): Don't compare 'plindex' fields.
4430 (plural_lookup): New function.
4431 (DCIGETTEXT): Change cache handing in the plural case. Don't call
4432 plural_eval before the translation and its catalog file have been
4433 found. Remove plindex from cache key. Add 'translation_length' and
4434 'domain' to cache result.
4435 (_nl_find_msg): Remove index argument, return length of translation
4436 to the caller instead. Weaken comparison of string lengths, to account
4437 for plural entries. Call iconv() on the entire result string, not
4438 only on the portion needed so far.
4439 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
4441 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
4443 2001-01-04 Ulrich Drepper <drepper@redhat.com>
4445 * intl/plural.y (yylex): Minimal improvement in number scanner.
4447 2000-07-31 Bruno Haible <haible@clisp.cons.org>
4449 * intl/plural.y: Include config.h. Needed to define 'inline' away for
4450 C compilers that don't support it.
4451 (yylex): Don't use gcc specific case range syntax.
4452 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
4455 2000-10-12 Bruno Haible <haible@clisp.cons.org>
4457 * intl/finddomain.c: Remove unneeded includes.
4459 2000-10-12 Bruno Haible <haible@clisp.cons.org>
4461 * intl/localealias.c (memcpy): Return first argument, just like the
4462 real memcpy function does.
4463 * intl/bindtextdom.c (memcpy): Likewise.
4464 * intl/finddomain.c (memcpy): Likewise.
4465 * intl/l10nflist.c (memcpy): Likewise.
4466 * intl/textdomain.c (memcpy): Likewise.
4467 From Paul Eggert <eggert@twinsun.com>.
4469 2001-01-03 Jakub Jelinek <jakub@redhat.com>
4471 * resolv/resolv.h (struct __res_state): Add nsinit field.
4472 * resolv/res_send.c (res_nsend): Use it instead of nscount.
4473 * resolv/res_init.c (__res_vinit): Initialize it.
4474 (res_nclose): Clear it instead of nscount.
4476 2001-01-04 Ulrich Drepper <drepper@redhat.com>
4478 * malloc/mtrace.pl: Fix matching of addresses.
4479 Patch by Aharon Robbins <arnold@skeeve.com>.
4481 * Versions.def (ld): Add GLIBC_2.2.
4483 * catgets/gencat.c: Copyright 2001.
4484 * csu/version.c: Likewise.
4485 * debug/catchsegv.sh: Likewise.
4486 * debug/xtrace.sh: Likewise.
4487 * elf/ldconfig.c: Likewise.
4488 * elf/sprof.c: Likewise.
4489 * iconv/iconv_prog.c: Likewise.
4490 * locale/locale.c: Likewise.
4491 * locale/localedef.c: Likewise.
4492 * malloc/memusage.sh: Likewise.
4493 * malloc/mtrace.pl: Likewise.
4494 * nscd/nscd.c: Likewise.
4495 * posix/getconf.c: Likewise.
4497 2001-01-04 Mark Kettenis <kettenis@gnu.org>
4499 * include/stdio.h: Only provide __getwc_unlocked prototype if
4500 USE_IN_LIBIO is defined.
4502 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4504 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
4507 2001-01-03 Andreas Schwab <schwab@suse.de>
4509 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
4510 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
4512 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
4513 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
4515 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
4516 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
4519 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
4521 * sysdeps/generic/strtol_l.c: Likewise.
4522 * sysdeps/generic/strtoul_l.c: Likewise.
4523 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
4525 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
4526 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
4527 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
4528 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
4530 2001-01-04 Andreas Jaeger <aj@suse.de>
4532 * nss/nsswitch.c: Include files for missing prototypes, remove
4533 buggy declaration of prototypes.
4535 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4537 * resolv/Versions: Fix bracing.
4538 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4539 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
4541 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4543 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4545 2001-01-02 Ulrich Drepper <drepper@redhat.com>
4547 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
4548 Suggested by Minko Markov <mmarkov@home.com>.
4550 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4552 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
4553 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
4555 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
4557 2001-01-02 Ben Collins <bcollins@debian.org>
4559 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
4560 if TZ is not set and TZDEFAULT is not present.
4562 2001-01-01 Ben Collins <bcollins@debian.org>
4564 * string/strings.h: Make sure we declare our functions even if
4565 string.h is already included, based on whether or not __USE_BSD is
4568 2001-01-02 Ulrich Drepper <drepper@redhat.com>
4570 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
4571 other dlopen() and dlsym().
4572 Based on a patch by Ben Collins <bcollins@debian.org>.
4574 2001-01-02 Andreas Jaeger <aj@suse.de>
4576 * dlfcn/errmsg1.c (main): Call dlerror initially.
4577 Reported by Ben Collins <bcollins@debian.org>.
4579 2001-01-02 Ulrich Drepper <drepper@redhat.com>
4581 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
4582 value is ignored if the selected locale is the C locale.
4583 * intl/tst-gettext.c: Set locale for above change.
4584 * intl/tst-translit.c: Likewise.
4586 2001-01-02 Andreas Jaeger <aj@suse.de>
4588 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
4589 (_IO_switch_to_wget_mode): Likewise.
4590 (_IO_sputbackwc): Likewise.
4591 (_IO_sungetwc): Use wint_t for result.
4593 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
4595 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
4598 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
4599 to (int) to avoid warnings.
4600 * stdio-common/printf_fp.c (putc): Likewise.
4601 * stdio-common/printf_size.c (putc): Likewise.
4603 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
4606 2001-01-01 Andreas Jaeger <aj@suse.de>
4608 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
4610 2000-12-31 Andreas Jaeger <aj@suse.de>
4612 * include/libc-internal.h: Add prototype for __libc_freeres.
4614 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
4615 for prototypes, remove redundant prototypes.
4616 * gmon/gmon.c: Likewise.
4617 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
4618 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
4619 * malloc/mtrace.c: Likewise.
4621 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
4623 * elf/soinit.c: Likewise.
4624 * sysdeps/generic/prof-freq.c: Likewise.
4625 * sysdeps/mach/hurd/profil.c: Likewise.
4626 * debug/noophooks.c: Likewise.
4627 * debug/pcprofile.c: Likewise.
4628 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4629 * sysdeps/generic/get_clockfreq.c: Likewise.
4630 * malloc/set-freeres.c: Likewise.
4632 * locale/localeinfo.h: Add internal prototypes.
4634 * elf/rtld.c (dl_main): Fix prototype.
4636 * iconvdata/tst-table-to.c (main): Use return instead of exit to
4639 * nis/rpcsvc/yp_prot.h: Remove __P.
4640 * nis/rpcsvc/ypupd.h: Likewise.
4641 * nis/rpcsvc/yp.h: Likewise.
4643 * sunrpc/rpc_main.c: Add noreturn attributes.
4644 * sunrpc/rpc_scan.h: Likewise.
4646 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
4648 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
4650 * sunrpc/proto.h: Add noreturn attributes to error and crash.
4652 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
4654 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
4656 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
4658 * include/rpc/rpc_msg.h: Add prototypes for some functions.
4659 * include/rpc/auth.h: Likewise.
4660 * include/rpc/auth_des.h: Likewise.
4661 * include/rpc/clnt.h: Likewise.
4662 * include/rpc/rpc.h: Likewise.
4663 * include/rpc/svc.h: Likewise.
4664 * include/rpc/svc_auth.h: Likewise.
4666 * include/rpc/des_crypt.h: New file.
4668 * malloc/memusagestat.c (main): Use return instead of exit to
4670 * io/pwd.c (main): Likewise.
4671 * iconvdata/tst-table-from.c (main): Likewise.
4672 * ctype/test_ctype.c (main): Likewise.
4673 * setjmp/tst-setjmp.c (main): Likewise.
4674 * signal/tst-signal.c (main): Likewise.
4675 * stdlib/tst-strtol.c (main): Likewise.
4676 * stdlib/tst-strtod.c (main): Likewise.
4677 * stdlib/tst-strtoll.c (main): Likewise.
4678 * stdlib/tst-xpg-basename.c (main): Likewise.
4679 * dirent/tst-seekdir.c (main): Likewise.
4680 * grp/testgrp.c (main): Likewise.
4681 * inet/test_ifindex.c (main): Likewise.
4682 * io/test-utime.c (main): Likewise.
4683 * posix/test-vfork.c (main): Likewise.
4684 * posix/testfnm.c (main): Likewise.
4685 * stdio-common/temptest.c (main): Likewise.
4686 * stdio-common/test_rdwr.c (main): Likewise.
4687 * stdio-common/tst-fileno.c (main): Likewise.
4688 * stdio-common/tst-sscanf.c (main): Likewise.
4689 * stdio-common/tstscanf.c (main): Likewise.
4690 * string/bug-strncat1.c (main): Likewise.
4691 * string/bug-strpbrk1.c (main): Likewise.
4692 * string/bug-strspn1.c (main): Likewise.
4693 * string/test-ffs.c (main): Likewise.
4694 * string/tst-inlcall.c (main): Likewise.
4695 * string/tst-svc.c (main): Likewise.
4696 * timezone/test-tz.c (main): Likewise.
4697 * wctype/test_wcfuncs.c (main): Likewise.
4698 * wctype/test_wctype.c (main): Likewise.
4700 * stdlib/tst-random.c: Add attribute noreturn to fail.
4702 2000-12-28 Wolfram Gloger <wg@malloc.de>
4704 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
4705 destination overlap. Assume dest is always below source if
4708 2000-12-30 Ulrich Drepper <drepper@redhat.com>
4710 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
4711 object was not yet initialized.
4713 2000-12-28 H.J. Lu <hjl@gnu.org>
4715 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
4716 is always consistent even if its dependency is failed.
4718 * elf/dl-open.c (_dl_open): Increment the open count before
4719 calling _dl_close () in case of failure.
4721 * elf/neededtest4.c: New file.
4722 * elf/neededobj5.c: New file.
4723 * elf/neededobj6.c: New file.
4725 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
4726 (tests): Add neededtest4.
4727 (modules-names): Add neededobj5 and neededobj6.
4728 ($(objpfx)neededobj6.so): New target.
4729 ($(objpfx)neededtest4): New target.
4730 ($(objpfx)neededtest4.out): New target.
4732 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
4734 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
4735 * stdlib/monetary.h: Add strfmon format attributes.
4737 2000-12-28 Roland McGrath <roland@frob.com>
4739 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
4740 __mempcpy does it for us.
4742 2000-12-28 Andreas Jaeger <aj@suse.de>
4744 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
4746 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
4749 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
4752 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
4755 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
4756 __chown_is_lchown and __real_chown.
4758 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
4761 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
4762 up GCC's warning about "deprecated use of label at end of compound
4764 * sunrpc/rpc_cout.c (emit_inline): Likewise.
4766 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
4768 Remove struct bb and __bb_head since those are declared by
4771 2000-12-22 Ben Collins <bcollins@debian.org>
4773 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
4775 * manual/argp.texi: Document argp_domain as part of struct argp.
4777 2000-12-28 Andreas Jaeger <aj@suse.de>
4779 * catgets/Makefile (generated): Add sample.SJIS.cat.
4781 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
4783 * elf/dl-minimal.c: Add prototypes.
4785 * include/locale.h: Add internal prototypes.
4786 * include/sys/gmon.h: Likewise.
4788 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
4790 2000-12-27 Ben Collins <bcollins@debian.org>
4792 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
4793 when reallocating the error strings.
4794 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
4796 2000-12-27 Ulrich Drepper <drepper@redhat.com>
4798 * dlfcn/Makefile (tests): Add errmsg1.
4799 (modules-names): Add errmsg1mod.
4800 Add rules to run errmsg1.
4801 * dlfcn/errmsg1.c: New file.
4802 * dlfcn/errmsg1mod.c: New file.
4804 * dlfcn/dlerror.c (dlerror): Always create output string which
4805 includes object file name.
4807 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
4808 if we would go through it only once.
4809 Patch by Rick Gorton <rick.gorton@api-networks.com>.
4811 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
4812 Patch by Richard Henderson <rth@redhat.com>.
4814 2000-12-27 Jakub Jelinek <jakub@redhat.com>
4816 * malloc/malloc.c (memmove): Add prototypes.
4817 (MALLOC_MEMMOVE): Define.
4818 (chunk_realloc): Use it instead of MALLOC_COPY if source and
4819 destination might overlap.
4821 2000-12-27 Andreas Jaeger <aj@suse.de>
4823 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
4825 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4826 * locale/programs/locale.c (show_locale_vars): Likewise.
4827 (show_info): Likewise.
4828 * locale/programs/ld-collate.c (collate_output): Likewise.
4829 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4830 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4831 * stdlib/rpmatch.c (rpmatch): Likewise.
4833 * setjmp/tst-setjmp.c: Make local functions static.
4834 * setjmp/jmpbug.c: Likewise.
4835 * signal/tst-signal.c: Likewise.
4836 * stdio-common/tfformat.c: Likewise.
4837 * string/tst-svc.c: Likewise.
4838 * time/clocktest.c: Likewise.
4839 * time/tst-getdate.c: Likewise.
4840 * dirent/list.c: Likewise.
4841 * dirent/opendir-tst1.c: Likewise.
4842 * posix/runtests.c: Likewise.
4843 * posix/tst-getaddrinfo.c: Likewise.
4844 * posix/tst-chmod.c: Likewise.
4845 * posix/wordexp-test.c: Likewise.
4846 * misc/tst-efgcvt.c: Likewise.
4847 * timezone/tst-timezone.c: Likewise.
4848 * rt/tst-clock.c: Likewise.
4849 * rt/tst-shm.c: Likewise.
4850 * rt/tst-aio2.c: Likewise.
4851 * rt/tst-aio3.c: Likewise.
4852 * rt/tst-aio4.c: Likewise.
4853 * rt/tst-aio5.c: Likewise.
4855 * dlfcn/failtest.c: Add prototype for foo.
4857 * dlfcn/glrefmain.c: Add prototype for do_test.
4859 * dlfcn/tst-dladdr.c: Add prototype for do_test.
4861 * string/test-ffs.c (main): Add prototype for nested function.
4863 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
4865 * nss/XXX-lookup.c: Add prototype to shut up GCC.
4867 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
4868 setetherent prototype.
4869 Add internal interfaces.
4871 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
4872 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
4874 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
4876 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
4878 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
4879 prototypes, remove struct etherent since it's declared in ether.h.
4880 Fix ntohost declaration.
4882 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
4884 * include/getopt.h: Add internal interfaces.
4885 * include/termios.h: Likewise.
4886 * include/resolv.h: Likewise.
4887 * include/netdb.h: Likewise.
4888 * include/grp.h: Likewise.
4889 * include/pwd.h: Likewise.
4890 * include/shadow.h: Likewise.
4891 * include/rpc/netdb.h: Likewise.
4892 * include/setjmp.h: Likewise.
4894 * include/stdio.h: Add prototypes for compatibility functions.
4895 * include/grp.h: Likewise.
4896 * include/pwd.h: Likewise.
4897 * include/shadow.h: Likewise.
4899 * include/fenv.h: Define internal interfaces.
4901 2000-12-27 Ulrich Drepper <drepper@redhat.com>
4903 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
4904 argument case separately.
4905 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
4907 2000-12-27 Andreas Jaeger <aj@suse.de>
4909 * include/sys/wait.h: Add some prototypes.
4910 * Rules (dummy.c): Create also prototype to shut up GCC.
4912 2000-12-27 Andreas Jaeger <aj@suse.de>
4914 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
4915 it's not needed at the moment.
4916 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
4917 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
4919 2000-12-26 Andreas Jaeger <aj@suse.de>
4921 * libio/getc_u.c: Include stdio.h via system path to get internal
4923 * libio/getwc_u.c: Likewise.
4925 * stdlib/strfmon.c: Fix prototype of __printf_fp.
4927 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
4928 __printf_fp prototypes to ...
4929 * include/printf.h: ...here.
4931 * include/stdio.h: Add some internal prototypes to shut up GCC.
4932 * include/stdlib.h: Likewise.
4934 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
4937 * include/signal.h: Add prototypes for internal sigpause
4940 2000-12-26 Ulrich Drepper <drepper@redhat.com>
4942 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
4943 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
4945 * string/Makefile (tests): Add tst-bswap.
4946 * string/tst-bswap.c: New file.
4948 2000-12-11 Bruno Haible <haible@clisp.cons.org>
4950 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
4952 2000-12-26 Ulrich Drepper <drepper@redhat.com>
4954 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
4955 Patch by Ed Connell <Ed.Connell@sas.com>.
4957 2000-12-24 Ulrich Drepper <drepper@redhat.com>
4959 * locale/iso-639.def: Correct one entry. Add two missing entries.
4961 * locale/iso-4217.def: Change entry for Eritrea.
4962 Reported by Daniel Yacob <yacob@geez.org>.
4964 2000-12-23 Ben Collins <bcollins@debian.org>
4966 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
4969 * manual/stdio.texi (Dynamic Output): Document the return value of
4970 asprintf. Also make the asprintf/snprintf examples a little
4971 better (check for some error returns).
4973 2000-12-22 Andreas Jaeger <aj@suse.de>
4975 * include/stdio.h: Add __ftrylockfile prototype.
4977 2000-12-21 H.J. Lu <hjl@gnu.org>
4979 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
4980 Make sign_exponent element signed.
4982 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
4985 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
4987 2000-12-21 Andreas Jaeger <aj@suse.de>
4989 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
4990 * inet/ether_hton.c: Likewise
4991 * inet/ether_ntoh.c: Likewise.
4993 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
4994 declaration to match prototype.
4996 * include/netinet/ether.h (struct etherent): Declare here so that
4997 all implementations use the same struct.
4999 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
5001 (struct ether): Removed.
5002 Use struct etherent instead of ether everywhere.
5004 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
5006 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
5008 * sunrpc/publickey.c: Include auth_des.h for prototypes.
5010 2000-12-20 Ulrich Drepper <drepper@redhat.com>
5012 * math/test-misc.c: Add more tests for nextafter functions.
5014 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
5015 normal correctly. Correct test for sign.
5016 Based on a patch by HJ Lu.
5018 2000-12-19 Ulrich Drepper <drepper@redhat.com>
5020 * Makeconfig (preprocess-version): Add -traditional to gcc call.
5023 2000-12-19 Andreas Jaeger <aj@suse.de>
5025 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
5027 * nis/nis_intern.h: Add prototype for __do_niscall3.
5029 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
5032 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
5034 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
5036 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
5038 2000-12-18 Ulrich Drepper <drepper@redhat.com>
5040 * math/test-misc.c: Add more tests for nextafter.
5041 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
5042 * sysdeps/ieee754/ldbl-96/math_ldbl.h
5043 (ieee_long_double_shape_type): Make sign_exponent element signed.
5045 * manual/message.texi: Add Estonian to plural overview list.
5046 Correct rule for Slavic languages.
5047 Patch by Stanislav Brabec <utx@penguin.cz>.
5049 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
5051 2000-12-18 Andreas Jaeger <aj@suse.de>
5053 * test-skeleton.c: Use temp_name_list instead of name_list to
5054 avoid collision with name_list from inet/netgroup.h.
5056 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
5058 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
5059 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
5060 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
5061 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
5063 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
5064 declaration to match prototype.
5065 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
5066 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
5067 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
5069 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
5070 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
5071 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
5072 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
5073 (_nss_nis_getservbyport_r): Likewise.
5074 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
5075 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
5076 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
5077 (_nss_nis_setnetent): Likewise
5078 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5079 (_nss_nis_endnetgrent): Likewise.
5080 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
5082 (_nss_nisplus_setnetgrent): Likewise.
5083 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
5084 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
5085 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
5086 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
5088 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
5090 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
5092 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
5094 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
5095 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
5096 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
5097 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
5098 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
5099 (_nss_dns_getnetbyaddr_r): Likewise.
5101 2000-12-17 Andreas Jaeger <aj@suse.de>
5103 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
5106 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
5107 unused attribute to shut up gcc warnings.
5109 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
5110 * sysdeps/generic/k_tanl.c: Likewise.
5111 * sysdeps/generic/k_cosl.c: Likewise.
5112 * sysdeps/generic/e_j0l.c: Likewise.
5113 * sysdeps/generic/e_j1l.c: Likewise.
5114 * sysdeps/generic/e_jnl.c: Likewise.
5115 * sysdeps/generic/e_lgammal_r.c: Likewise.
5117 * elf/vismain.c: Move prototypes for functions in vismod*.c to
5119 * elf/vismod.h: New file.
5120 * elf/Makefile (distribute): Add vismod.h.
5121 * elf/vismod1.c: Include vismod.h.
5122 * elf/vismod2.c: Likewise.
5123 * elf/vismod3.c: Likewise.
5125 * elf/constload3.c: Add prototype declarations to shut up gcc.
5126 * elf/failobj.c: Likewise.
5127 * elf/nodelmod3.c: Likewise.
5128 * elf/filtmod1.c: Likewise.
5129 * elf/filtmod2.c: Likewise.
5130 * elf/reldepmod1.c: Likewise.
5131 * elf/reldepmod2.c: Likewise.
5132 * elf/reldepmod3.c: Likewise.
5133 * elf/reldepmod4.c: Likewise.
5134 * elf/unload2dep.c: Likewise.
5135 * elf/unload2mod.c: Likewise.
5136 * elf/ltglobmod1.c: Likewise.
5137 * elf/pathoptobj.c: Likewise.
5138 * elf/neededobj1.c: Likewise.
5139 * elf/neededobj2.c: Likewise.
5140 * elf/neededobj3.c: Likewise.
5141 * elf/neededobj4.c: Likewise.
5142 * elf/nextmod1.c: Likewise.
5143 * elf/nextmod2.c: Likewise.
5145 * locale/programs/ld-collate.c (collate_finish): Don't use labels
5146 at end of compound statement.
5147 * locale/programs/locale.c (show_info): Likewise.
5148 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
5150 2000-12-16 Jakub Jelinek <jakub@redhat.com>
5152 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
5153 with a pointer not returned by obstack_ functions.
5155 2000-12-16 Ulrich Drepper <drepper@redhat.com>
5157 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
5159 (struct stat64): Likewise.
5160 Reported by Michael Keezer <mkeezer@redhat.com>.
5162 * timezone/asia: Update from tzdata2000h.
5163 * timezone/australasia: Likewise.
5164 * timezone/backward: Likewise.
5165 * timezone/europe: Likewise.
5166 * timezone/northamerica: Likewise.
5167 * timezone/southamerica: Likewise.
5168 * timezone/zone.tab: Likewise.
5170 2000-12-14 Jakub Jelinek <jakub@redhat.com>
5172 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
5173 and dir.stream is NULL, only free dir.content.
5174 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
5175 * io/ftwtest-sh: Test with --early-exit.
5177 2000-12-13 Jakub Jelinek <jakub@redhat.com>
5179 * misc/efgcvt.c (FCVT_MAXDIG): Define.
5180 (FCVT_BUFPTR): New variable.
5181 (fcvt): If fcvt_r returns -1 on the static short buffer,
5182 try to malloc a sufficiently large one and retry.
5183 (free_mem): New function.
5184 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
5185 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
5187 2000-12-15 Ulrich Drepper <drepper@redhat.com>
5189 * misc/dirname.c (dirname): Fix search for second to last slash.
5191 2000-12-13 Andreas Jaeger <aj@suse.de>
5193 * misc/tst-dirname.c (main): Fix typo in test to really use
5194 the examples from Unix98.
5195 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
5197 2000-12-09 H.J. Lu <hjl@gnu.org>
5199 * sysdeps/ia64/fpu/s_fabs.S: New file.
5200 * sysdeps/ia64/fpu/s_fabsf.S: New file.
5201 * sysdeps/ia64/fpu/s_fabsl.S: New file.
5203 2000-12-15 Andreas Jaeger <aj@suse.de>
5205 * stdio-common/scanf9.c (main): Reformat and change to avoid
5208 * stdio-common/tstdiomisc.c: Make local functions static.
5209 * stdio-common/tst-printf.c: Likewise.
5211 * elf/constload2.c: Add prototype declarations to shut up gcc.
5212 * elf/dep1.c: Likewise.
5213 * elf/dep2.c: Likewise.
5214 * elf/dep3.c: Likewise.
5215 * elf/dep4.c: Likewise.
5216 * elf/ltglobmod2.c: Likewise.
5218 * libio/fmemopen.c: Make local functions static.
5220 * elf/Makefile (distribute): Added testobj.h.
5222 * elf/testobj.h: New file.
5224 * elf/testobj1.c: Include testobj.h and move prototype
5225 declarations to testobj.h.
5226 * elf/testobj2.c: Likewise.
5227 * elf/testobj3.c: Likewise.
5228 * elf/testobj4.c: Likewise.
5229 * elf/testobj5.c: Likewise.
5230 * elf/testobj6.c: Likewise.
5231 * elf/testobj1_1.c: Likewise.
5232 * elf/preloadtest.c: Likewise.
5234 2000-12-15 Ben Collins <bcollins@debian.org>
5236 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
5237 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
5239 2000-12-14 H.J. Lu <hjl@gnu.org>
5241 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
5242 field in a float is 8 bits, not 11 bits.
5244 2000-12-13 Jakub Jelinek <jakub@redhat.com>
5246 * math/test-misc.c (main): Adjust m for IEEE quad long double.
5248 2000-12-13 Andreas Jaeger <aj@suse.de>
5250 * manual/message.texi (Using gettextized software): Fix typo.
5252 * manual/charset.texi (Converting a Character): Fix mbstouwcs
5254 Patch by Martin Buchholz <martin@xemacs.org>.
5256 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
5257 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
5259 2000-12-11 Andreas Jaeger <aj@suse.de>
5261 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
5262 kernel_sigset_t and use it.
5263 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
5265 2000-12-10 Richard Henderson <rth@redhat.com>
5267 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
5268 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
5269 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
5271 2000-12-10 Jakub Jelinek <jakub@redhat.com>
5273 * sysdeps/alpha/htonl.S: Fix a typo.
5275 2000-12-10 Jakub Jelinek <jakub@redhat.com>
5277 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
5279 2000-12-10 Andreas Jaeger <aj@suse.de>
5281 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
5282 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
5283 Drepper <drepper@redhat.com>.
5285 2000-12-09 Andreas Jaeger <aj@suse.de>
5287 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
5289 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
5291 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
5293 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
5296 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
5299 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
5300 * nscd/connections.c (handle_request): Likewise.
5301 * nscd/pwdcache.c (addpwbyname): Likewise.
5302 * nscd/grpcache.c (addgrbyname): Likewise.
5304 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
5306 2000-12-09 Ulrich Drepper <drepper@redhat.com>
5308 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
5310 * Makeconfig (default_cflags): Make -O2 the default for stable
5313 2000-12-08 H.J. Lu <hjl@gnu.org>
5315 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
5316 * sysdeps/ia64/fpu/s_isinf.S: This.
5317 Add a .pred.rel.mutex note to avoid false report.
5319 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
5320 * sysdeps/ia64/fpu/s_isnan.S: This.
5322 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
5323 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
5324 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
5325 * sysdeps/ia64/fpu/s_isinff.S: New file.
5326 * sysdeps/ia64/fpu/s_isinfl.S: New file.
5327 * sysdeps/ia64/fpu/s_isnanf.S: New file.
5328 * sysdeps/ia64/fpu/s_isnanl.S: New file.
5329 * sysdeps/ia64/fpu/s_finite.S: New file.
5330 * sysdeps/ia64/fpu/s_finitef.S: New file.
5331 * sysdeps/ia64/fpu/s_finitel.S: New file.
5332 * sysdeps/ia64/fpu/s_signbit.S: New file.
5333 * sysdeps/ia64/fpu/s_signbitf.S: New file.
5334 * sysdeps/ia64/fpu/s_signbitl.S: New file.
5335 * sysdeps/ia64/fpu/s_copysign.S: New file.
5336 * sysdeps/ia64/fpu/s_copysignf.S: New file.
5337 * sysdeps/ia64/fpu/s_copysignl.S: New file.
5339 2000-12-08 Ulrich Drepper <drepper@redhat.com>
5341 * math/libm-test.inc (main): Fix typos in messages.
5343 * string/stratcliff.c: Add test for rawmemchr.
5345 2000-12-08 Jakub Jelinek <jakub@redhat.com>
5347 * elf/dl-open.c (_dl_open): If objname points right after errstring,
5348 allocate it together with errstring using alloca.
5349 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
5350 to "", because it might point to local stack.
5352 2000-12-05 H.J. Lu <hjl@gnu.org>
5354 * nss/Makefile (routines): Add getnssent and getnssent_r.
5355 * nss/nsswitch.h (__nss_setent): New internal NSS function.
5356 (__nss_endent): Likewise.
5357 (__nss_getent_r): Likewise.
5358 (__nss_getent): Likewise.
5359 * nss/getnssent_r.c: New file.
5360 * nss/getnssent.c: New file.
5361 * nss/getXXent.c (H_ERRNO_VAR): Updated.
5362 (GETFUNC_NAME): Updated to call __nss_getent ().
5363 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
5364 (STAYOPEN_TMPVAR): Updated.
5365 (STAYOPEN_VAR): Updated.
5366 (SETFUNC_NAME): Updated to call __nss_setent ().
5367 (ENDFUNC_NAME): Updated to call __nss_endent ().
5368 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
5370 2000-12-08 Andreas Jaeger <aj@suse.de>
5372 * nscd/dbg_log.h (dbg_log): Correct attribute.
5374 2000-12-08 Jakub Jelinek <jakub@redhat.com>
5376 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
5377 cp + len. Compute where from dirname.
5378 Reported by <jreiser@BitWagon.com>.
5380 2000-12-08 Richard Henderson <rth@twiddle.net>
5382 * sysdeps/alpha/_mcount.S: Fix typo.
5383 * sysdeps/alpha/strncpy.S: Likewise.
5385 * sysdeps/alpha/alphaev6/Implies: New file.
5386 * sysdeps/alpha/alphaev67/Implies: New file.
5387 * sysdeps/alpha/alphaev67/ffs.S: New file.
5388 * sysdeps/alpha/alphaev67/ffsll.S: New file.
5389 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
5390 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
5391 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
5392 * sysdeps/alpha/rawmemchr.S: New file.
5393 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
5394 * sysdeps/alpha/strcpy.S: Likewise.
5397 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
5399 From rick.gorton@alpha-processor.com:
5400 * sysdeps/alpha/alphaev6/memchr.S: New file.
5401 * sysdeps/alpha/alphaev6/memcpy.S: New file.
5402 * sysdeps/alpha/alphaev6/memset.S: New file.
5403 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
5404 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
5405 * sysdeps/alpha/alphaev67/strcat.S: New file.
5406 * sysdeps/alpha/alphaev67/strchr.S: New file.
5407 * sysdeps/alpha/alphaev67/strlen.S: New file.
5408 * sysdeps/alpha/alphaev67/strncat.S: New file.
5409 * sysdeps/alpha/htonl.S: Use a shorter sequence.
5411 2000-12-08 Jakub Jelinek <jakub@redhat.com>
5413 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
5414 Reported by <pspencer@fields.utoronto.ca>.
5416 2000-12-07 Jes Sorensen <jes@linuxcare.com>
5418 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
5419 Pointed out by Hans Boehm.
5421 2000-12-07 H.J. Lu <hjl@gnu.org>
5423 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
5425 2000-12-07 Andreas Jaeger <aj@suse.de>
5427 * misc/error.c: Add format attributes for __error and __error_at_line.
5429 * nscd/dbg_log.h: Add format attribute.
5431 2000-12-08 Ulrich Drepper <drepper@redhat.com>
5433 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
5434 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
5436 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
5438 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
5440 2000-12-06 Ulrich Drepper <drepper@redhat.com>
5442 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
5443 (sysdep_routines): Add uitrunc.
5444 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
5445 Patches by Michael Keezer <mkeezer@redhat.com>.
5447 2000-12-06 Roland McGrath <roland@frob.com>
5449 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
5450 argument data, since it will be used to copy out too (for INOUT).
5451 Reported by Marcus Brinkmann <marcus@gnu.org>.
5453 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
5454 (__ioctl): Use uintptr_t instead of unsigned long int.
5456 2000-12-06 Jim Wilson <wilson@redhat.com>
5458 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
5460 2000-12-06 Ulrich Drepper <drepper@redhat.com>
5462 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
5463 x.5 rounding correctly.
5465 2000-12-06 Mark Kettenis <kettenis@gnu.org>
5467 * stdio-common/perror.c (perror): Conditionalize code dealing with
5468 wide-oriented streams on USE_IN_LIBIO.
5470 2000-12-06 Mark Kettenis <kettenis@gnu.org>
5472 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
5473 as internal_function.
5475 2000-12-05 Ulrich Drepper <drepper@redhat.com>
5477 * sysdeps/alpha/elf/start.S (__data_start): Define.
5479 2000-12-05 H.J. Lu <hjl@gnu.org>
5481 * nss/getXXent_r.c (setup): Change the return type to int.
5483 2000-12-05 Ulrich Drepper <drepper@redhat.com>
5485 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
5486 (sysdep_routines): Add restf and savef.
5487 * sysdeps/unix/sysv/aix/restf.c: New file.
5488 * sysdeps/unix/sysv/aix/savef.c: New file.
5489 Patches by Michael Keezer <mkeezer@redhat.com>.
5491 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
5492 if O_DIRECTORY is not defined.
5493 Patch by Michael Keezer <mkeezer@redhat.com>.
5495 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
5496 Patch by Michael Keezer <mkeezer@redhat.com>.
5498 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
5499 than 4 bytes in escape sequence.
5500 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5502 2000-12-05 Andreas Jaeger <aj@suse.de>
5504 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
5507 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
5509 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
5511 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
5512 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
5514 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
5516 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
5517 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
5519 * sysdeps/generic/dl-cache.c: Remove declaration of
5520 _dl_sysdep_read_whole_file.
5522 * elf/dl-load.c (_dl_map_object): Remove declaration of
5523 _dl_load_cache_lookup.
5525 * sysdeps/generic/ldsodefs.h: Add declarations of
5526 _dl_load_cache_lookup, _dl_unload_cache,
5527 _dl_sysdep_read_whole_file, _dl_sysdep_start and
5528 _dl_sysdep_start_cleanup.
5530 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
5533 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
5534 * sysdeps/generic/dl-environ.c: Likewise.
5536 * stdio-common/printf_fp.c: Include <gmp.h> instead of
5538 * math/atest-exp.c: Likewise.
5539 * math/atest-exp2.c: Likewise.
5540 * math/atest-sincos.c: Likewise.
5541 * stdio-common/_itoa.c: Likewise.
5542 * stdio-common/_itowa.c: Likewise.
5544 * include/gmp.h: New file with internal prototypes.
5546 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
5548 * include/setjmp.h: ...here.
5550 * locale/Makefile (routines): Remove codeset_name since it's not
5553 * locale/codeset_name.c: Removed.
5555 2000-12-05 Ulrich Drepper <drepper@redhat.com>
5557 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
5559 2000-12-05 Andreas Jaeger <aj@suse.de>
5561 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
5563 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
5565 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
5568 2000-12-05 Andreas Jaeger <aj@suse.de>
5570 * nss/test-netdb.c: Mark local functions as static to avoid
5572 (main): Use return to silence warning.
5574 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
5576 * stdio-common/test-popen.c: Mark local functions as static to
5578 (main): Use return to silence warning.
5580 * stdlib/testsort.c (compare): Mark as static to avoid warning.
5582 * assert/test-assert.c: Mark local functions as static to avoid
5584 * assert/test-assert-perr.c: Likewise.
5586 * math/libm-test.inc (main): Use return to silence warnings.
5588 2000-12-04 Ulrich Drepper <drepper@redhat.com>
5590 * math/fenv.h: Fix typo in comment.
5592 * math/test-misc.c (main): Add a few more over and underflow tests
5595 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
5596 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5597 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5598 * math/w_scalb.c: Don't use matherr except in SVID mode.
5599 * math/w_scalbf.c: Likewise.
5600 * math/w_scalbl.c: Likewise.
5601 * math/test-misc.c: Add test for NaN and scalbl.
5602 Reported by Fred J. Tydeman <tydeman@tybor.com>.
5604 2000-12-04 Ulrich Drepper <drepper@redhat.com>
5606 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
5607 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
5608 * include/libc-symbols.h (strong_alias): Define special version
5609 for HAVE_ASM_GLOBAL_DOT_NAME.
5610 (weak_alias): Likewise.
5611 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
5612 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
5613 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
5614 getutxline, pututxline, and utmpxname.
5615 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
5616 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
5617 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
5618 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
5619 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
5620 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
5621 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
5622 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
5623 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
5624 Patches by Michael Keezer <mkeezer@redhat.com>.
5626 2000-12-04 H.J. Lu <hjl@gnu.org>
5628 * configure.in: Change --with-oldest-abi=ABI to
5629 --enable-oldest-abi=ABI.
5631 2000-12-02 Bruno Haible <haible@clisp.cons.org>
5633 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
5634 fwprintf instead of fprintf.
5636 2000-12-04 Ulrich Drepper <drepper@redhat.com>
5638 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
5639 DECIMAL_DIG definitions.
5640 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
5641 * sysdeps/generic/bits/mathdef.h: Likewise
5642 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
5643 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
5644 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
5645 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
5646 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
5647 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
5649 2000-12-03 Ulrich Drepper <drepper@redhat.com>
5651 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
5653 * math/atest-exp.c: Mark local functions as static to avoid warnings.
5654 * math/atest-exp2.c: Likewise.
5655 * math/atest-sincos.c: Likewise.
5657 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
5658 Reported by Fred J. Tydeman <tydeman@tybor.com>.
5660 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
5661 the handling of denormalized numbers.
5663 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
5665 * sysdeps/i386/fpu/fpclassifyl.c: New file.
5667 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
5668 pseudo denormal representation of LDBL_MIN.
5670 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
5671 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
5673 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
5674 * iconvdata/jis0208.c: Likewise.
5675 * iconvdata/jis0212.c: Likewise.
5676 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5678 * math/test-misc.c (main): More tests for frexp and some for
5679 fpclassify and isnormal.
5681 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
5683 Reported by Fred J. Tydeman <tydeman@tybor.com>.
5685 * math/test-misc.c (main): Add tests for frexp.
5686 Reported by Fred J. Tydeman <tydeman@tybor.com>.
5687 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
5689 2000-12-02 H.J. Lu <hjl@gnu.org>
5691 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
5694 2000-12-02 Ulrich Drepper <drepper@redhat.com>
5696 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
5697 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5698 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5700 * sysdeps/generic/glob.c: Adjust types of several variables to
5703 2000-12-01 Ulrich Drepper <drepper@redhat.com>
5705 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
5707 2000-11-30 Roland McGrath <roland@frob.com>
5709 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
5710 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
5711 allow multiple instances using the same function name in one file.
5713 2000-12-01 Ulrich Drepper <drepper@redhat.com>
5715 * configure.in: Correct test for pserver CVS access.
5717 2000-11-28 H.J. Lu <hjl@gnu.org>
5719 * libio/libio.h: Remove extra "#if ... #endif".
5721 2000-11-29 H.J. Lu <hjl@gnu.org>
5723 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
5725 2000-12-01 H.J. Lu <hjl@gnu.org>
5727 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
5728 * nss/getXXent_r.c: Likewise.
5729 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5731 2000-11-30 H.J. Lu <hjl@gnu.org>
5733 * scripts/abi-versions.awk (oldest_abi): New variable.
5734 Handle the oldest ABI supported.
5736 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
5737 for scripts/abi-versions.awk.
5739 * configure.in: Add --with-oldest-abi=ABI.
5740 * configure: Rebuild.
5742 * config.make.in (oldest-abi): New.
5744 * config.h.in (GLIBC_OLDEST_ABI): New.
5746 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
5748 2000-11-30 Jakub Jelinek <jakub@redhat.com>
5750 * locale/setlocale.c (setname): Free for all categories, not just
5752 (setlocale): Store a copy of string passed by user, not the string
5755 2000-11-30 Roland McGrath <roland@frob.com>
5757 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
5758 rather than _hurd_fd_subinit, so it happens after it's safe to use
5759 libc facilities like malloc.
5761 2000-11-28 Andreas Jaeger <aj@suse.de>
5763 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
5764 declaration, adjust declaration of __syscall_getdents to match
5767 2000-11-29 H.J. Lu <hjl@gnu.org>
5769 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
5771 2000-11-29 Andreas Jaeger <aj@suse.de>
5773 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
5775 2000-11-28 Ulrich Drepper <drepper@redhat.com>
5777 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
5778 * dlfcn/defaultmod2.c: Likewise.
5779 * dlfcn/dlopen.c: Likewise.
5780 * dlfcn/dlopenold.c: Likewise.
5781 * dlfcn/failtestmod.c: Likewise.
5782 * dlfcn/glreflib1.c: Likewise.
5783 * dlfcn/glreflib2.c: Likewise.
5784 * dlfcn/eval.c: Likewise. Add attributes.
5786 * ctype/ctype-extn.c: Define isblank and not __isblank.
5788 * time/strftime.c: Add const where necessary to avoid warnings.
5789 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
5791 2000-11-22 Paul Eggert <eggert@twinsun.com>
5793 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
5794 size of (size_t) -1; it's not portable.
5796 2000-11-28 Ulrich Drepper <drepper@redhat.com>
5798 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
5800 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
5802 2000-11-14 Jes Sorensen <jes@linuxcare.com>
5804 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
5806 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
5807 _mcount is required by profiled binaries.
5809 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
5810 * sysdeps/ia64/machine-gmon.h: ...here.
5812 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
5814 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
5815 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
5817 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
5819 * iconvdata/ibm922.c: New file.
5820 * iconvdata/ibm922.h: New file.
5821 * iconvdata/ibm1124.c: New file.
5822 * iconvdata/ibm1124.h: New file.
5823 * iconvdata/ibm1129.c: New file.
5824 * iconvdata/ibm1129.h: New file.
5825 * iconvdata/testdata/IBM922: New file.
5826 * iconvdata/testdata/IBM922..UTF8: New file.
5827 * iconvdata/testdata/IBM1124: New file.
5828 * iconvdata/testdata/IBM1124..UTF8: New file.
5829 * iconvdata/testdata/IBM1129: New file.
5830 * iconvdata/testdata/IBM1129..UTF8: New file.
5832 2000-11-28 Ulrich Drepper <drepper@redhat.com>
5834 * catgets/gencat.c (normalize_line): Take extra parameter with escape
5835 character. Change callers.
5836 (open_conversion): Determine mapping of 0x5c as wchar_t value.
5837 * catgets/Makefile: Add rules to build and run test-gencat.
5838 * catgets/sample.SJIS: New file.
5839 * catgets/test-gencat.c: New file.
5840 * catgets/test-gencat.sh: New file.
5841 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5843 2000-11-28 Andreas Jaeger <aj@suse.de>
5845 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
5848 2000-11-28 Ulrich Drepper <drepper@redhat.com>
5850 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
5852 2000-11-28 Andreas Jaeger <aj@suse.de>
5854 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
5856 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
5859 2000-11-27 Ulrich Drepper <drepper@redhat.com>
5861 * misc/getusershell.c: Make strings in okshells array const.
5862 * misc/regexp.c: Add const to cast to avoid warnings.
5863 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
5864 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
5866 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
5868 * misc/error.c: Add prototypes for __error and __error_at_line.
5869 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
5870 statement to avoid warning.
5871 * test-skeleton.c: Mark timeout_handler with noreturn.
5872 * iconv/skeleton.c (get16u): Add const to cast.
5874 * iconvdata/gb18030.c: Likewise.
5875 * iconvdata/iso-2022-cn-ext.c: Likewise.
5876 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
5877 * iconvdata/big5.c: Likewise.
5878 * iconvdata/big5hkscs.c: Likewise.
5879 * iconvdata/iso_6937.c: Likewise.
5880 * iconvdata/iso_6937-2.c: Likewise.
5881 * iconvdata/t.61.c: Likewise.
5882 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
5883 * iconvdata/unicode.c: Likewise.
5884 * iconvdata/utf-16.c: Likewise.
5885 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
5886 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
5887 with little code shuffling.
5889 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
5890 the problems introduced when the user selects -O3.
5892 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
5893 * misc/sys/cdefs.h: Define __flexarr.
5894 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
5896 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
5897 * iconv/skeleton.c: Likewise.
5898 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
5899 * iconv/loop.c (get16): Add const to cast.
5902 2000-11-27 Andreas Jaeger <aj@suse.de>
5904 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
5906 * login/programs/utmpdump.c (print_entry): Likewise.
5908 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5910 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
5911 in a single asm as they may be used to access other stored
5913 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
5915 2000-11-27 Andreas Jaeger <aj@suse.de>
5917 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
5918 * rt/tst-aio64.c: Likewise.
5920 2000-11-27 Ulrich Drepper <drepper@redhat.com>
5922 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
5924 (libc.cat): Likewise.
5925 * catgets/gencat.c: Implement handling of message catalogs encoded
5926 with stateful character sets.
5927 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5929 2000-11-26 Ulrich Drepper <drepper@redhat.com>
5931 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
5933 * inet/getnameinfo.c: Adjust casts to avoid warnings.
5934 * inet/rcmd.c: Likewise.
5935 * inet/ruserpass.c: Likewise.
5936 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
5937 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5938 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
5939 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
5940 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
5941 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
5942 * include/aliases.h: Add prototypes for internal __getalias* functions.
5943 * include/netdb.h: Add prototypes for __old_gethostent_r,
5944 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
5945 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
5946 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
5947 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
5948 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
5949 __old_getrpcbynumber_r, __old_getrpcent_r.
5951 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
5952 __getrpcent_r prototypes.
5954 2000-11-25 Ulrich Drepper <drepper@redhat.com>
5956 * string/strcoll.c: Add casts to avoid warnings.
5957 * string/strnlen.c: Likewise.
5958 * string/strxfrm.c: Likewise.
5959 * sysdeps/generic/_strerror.c: Likewise.
5960 * sysdeps/generic/memrchr.c: Likewise.
5961 * sysdeps/generic/strcasestr.c: Likewise.
5962 * sysdeps/generic/strstr.c: Likewise.
5964 * locale/weight.h (findidx): Add const to cast to avoid warning.
5966 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
5967 * elf/loadtest.c: Likewise.
5968 * elf/multiload.c: Likewise.
5969 * elf/next.c: Likewise.
5970 * elf/nodelete.c: Likewise.
5971 * elf/noload.c: Likewise.
5972 * elf/order.c: Likewise.
5973 * elf/origtest.c: Likewise.
5974 * elf/preloadtest.c: Likewise.
5975 * elf/restest1.c: Likewise.
5977 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
5978 parameter of asm must be in %ecx.
5980 * string/tester.c: Mark test functions as static to avoid warnings.
5982 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
5983 preserve value over different gconv-modules files.
5985 2000-11-24 Ulrich Drepper <drepper@redhat.com>
5987 * locale/findlocale.c: Add casts to avoid warnings.
5988 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
5989 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
5991 * misc/tsearch.c (const_node): New type.
5992 (trecurse): Correct casts to avoid warnings.
5993 (__twalk): Likewise.
5994 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
5997 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
5999 * test-skeleton.c: Mark local functions as static to avoid warnings.
6001 2000-11-23 H.J. Lu <hjl@gnu.org>
6003 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
6004 support the background job.
6007 2000-11-24 Ulrich Drepper <drepper@redhat.com>
6009 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
6010 has same names but lower cost.
6012 2000-11-23 Jakub Jelinek <jakub@redhat.com>
6014 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
6015 which never occur during bootstrap.
6016 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6018 2000-11-23 Andreas Jaeger <aj@suse.de>
6020 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
6022 * nss/Versions: Remove _nss_files_getipnodebyname_r.
6024 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
6026 2000-11-18 Martin Buchholz <martin@xemacs.org>
6028 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
6031 2000-11-21 Alan Modra <alan@linuxcare.com.au>
6033 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
6035 * csu/abi-note.S: Correct comment for operating system number.
6037 2000-11-22 Ulrich Drepper <drepper@redhat.com>
6039 * Versions.def: Add GLIBC_2.2.1 for glibc.
6041 2000-11-22 Andreas Schwab <schwab@suse.de>
6043 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
6044 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
6046 2000-11-22 Ulrich Drepper <drepper@redhat.com>
6048 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
6049 absolute time for pthread_cond_timedwait call.
6050 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
6052 * rt/Makefile (tests): Add tst-aio6.
6053 * rt/tst-aio6.c: New file.
6055 2000-11-23 Andreas Jaeger <aj@suse.de>
6057 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
6059 2000-11-22 Andreas Jaeger <aj@suse.de>
6061 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
6063 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
6065 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
6067 2000-11-21 Andreas Schwab <schwab@suse.de>
6069 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
6070 * sysdeps/arm/setjmp.S: Likewise.
6071 * sysdeps/arm/fpu/setjmp.S: Likewise.
6072 * sysdeps/i386/setjmp.S: Likewise.
6073 * sysdeps/i386/elf/setjmp.S: Likewise.
6074 * sysdeps/s390/setjmp.S: Likewise.
6075 * sysdeps/s390/elf/setjmp.S: Likewise.
6076 * sysdeps/sh/sh3/setjmp.S: Likewise.
6077 * sysdeps/sh/sh4/setjmp.S: Likewise.
6078 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
6079 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6080 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
6081 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
6083 2000-11-21 Andreas Jaeger <aj@suse.de>
6085 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
6086 NORETURN, fix parameter list.
6088 * string/bug-strncat1.c (main): Fix typo.
6089 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
6091 2000-11-20 Ulrich Drepper <drepper@redhat.com>
6093 * configure.in: Add --enable-all-warnings.
6094 * config.make.in (all-warnings): New variable.
6095 * Makeconfig (+gccwarn): Define with many more warnings if
6096 all-warnings is yes.
6098 2000-11-20 Jakub Jelinek <jakub@redhat.com>
6100 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
6101 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
6102 * malloc/tst-valloc.c (main): Cast valloc return value to long.
6103 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
6104 * math/test-fpucw.c (main): Use %lx in format string, cast
6105 control words to long.
6106 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
6107 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
6108 large that it is unsigned warning.
6110 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
6111 it to long on sparc64.
6113 2000-11-20 Andreas Jaeger <aj@suse.de>
6115 * nscd/nscd.h (termination_handler): Add noreturn attribute.
6116 (receiv_print_stats): Likewise.
6118 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
6120 2000-11-20 Ulrich Drepper <drepper@redhat.com>
6122 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
6124 * csu/gmon-start.c: Always have prototype for __gmon_start.
6125 * csu/version.c: Add prototypes for __libc_print_version and
6127 * iconv/gconv.c: Include gconv_int.h and gconv.h.
6128 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
6130 * iconv/gconv_builtin.h: Add ASCII module definitions.
6131 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
6132 (add_module): Add cast to avoid warning. Rework construction of
6133 strings for new module.
6134 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
6135 (derivation_compare): Likewise.
6136 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
6137 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
6138 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
6139 (struct gconv_alias): Remove const from fromname and toname.
6140 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
6142 (internal_ucs4_loop): Use correct const-ness.
6143 (ucs4_internal_loop): Likewise.
6144 (internal_ucs4le_loop): Likewise.
6145 (ucs4le_internal_loop_single): Likewise.
6146 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
6147 to_idx, to_tbl, winbuf, winbufend const. Change casts in
6148 assignments appropriately.
6149 (struct known_trans): Remove const from fname.
6150 (trans_compare): Make s1 and s2 const.
6151 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
6153 * iconv/skeleton.c: Remove cast in calls of loop functions.
6154 * iconvdata/gconv-modules: Remove US-ASCII definitions.
6155 * iconvdata/iso646.c: Remove US_ASCII support.
6156 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
6157 * include/unistd.h: Add __libc_check_standard_fds prototype.
6158 * string/bits/string2.h (__mempcpy_args): Add const to casts.
6159 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
6161 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
6162 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
6163 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
6165 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
6166 __libc_init_first and _dl_start.
6167 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
6168 (DCIGETTEXT): Make domaindata variable const.
6169 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
6172 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
6174 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
6176 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
6177 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
6180 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
6181 value defined in /usr/include/asm-mips/fcntl.h.
6183 2000-11-18 Ulrich Drepper <drepper@redhat.com>
6185 * stdio-common/Makefile (tests): Add test-vfprintf.
6186 (test-vfprintf-ENV): New variable.
6187 * stdio-common/test-vfprintf.c: New file.
6189 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
6191 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
6192 (tst-mbrtowc-ENV): New variable.
6193 (tst-wcrtomb-ENV): New variable.
6194 * wcsmbs/tst-mbrtowc.c: New file.
6195 * wcsmbs/tst-wcrtomb.c: New file.
6197 2000-11-16 Andreas Jaeger <aj@suse.de>
6199 * manual/install.texi (Tools for Compilation): Update
6200 documentation for GCC 2.95.2.
6202 2000-11-18 Ulrich Drepper <drepper@redhat.com>
6204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
6205 if IPv4 and IPv6 requests timed out.
6207 2000-11-18 Akim Demaille <akim@epita.fr>
6209 * malloc/obstack.h: Formatting changes.
6210 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
6211 prevents type checking.
6212 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
6213 cast the value to (void *): assigning a `foo *' to a `void *'
6215 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
6217 2000-11-17 Ulrich Drepper <drepper@redhat.com>
6219 * scripts/config.guess: Update from upstream maintainer.
6220 * scripts/config.sub: Likewise.
6222 2000-11-16 Ulrich Drepper <drepper@redhat.com>
6224 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
6225 * libio/freopen64.c (freopen64): Likewise.
6226 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6228 * libio/Makefile: Add rules to build and run test-freopen.
6229 * libio/test-freopen.c: New file.
6230 * libio/test-freopen.sh: New file.
6232 2000-11-15 H.J. Lu <hjl@gnu.org>
6234 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
6235 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
6236 (DL_DT_FINI_ADDRESS): Likewise.
6238 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
6239 return type to ElfW(Addr).
6240 (_dl_function_address): New prototype.
6241 (DL_FUNCTION_ADDRESS): Defined.
6242 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
6243 (DL_DT_FINI_ADDRESS): Likewise.
6245 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
6247 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
6248 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
6250 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
6251 (_dl_function_address): This.
6253 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
6254 function pointer for DT_FINI.
6255 * elf/dl-close.c (_dl_close): Likewise.
6257 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
6258 function pointer for DT_INIT.
6260 2000-11-16 Jakub Jelinek <jakub@redhat.com>
6262 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
6263 end of wexpbuf buffer.
6265 2000-11-16 Andreas Jaeger <aj@suse.de>
6267 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
6268 definition of F_GETLK, F_SETLK, F_SETLKW.
6270 2000-11-16 Andreas Jaeger <aj@suse.de>
6272 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
6275 2000-11-15 Jakub Jelinek <jakub@redhat.com>
6277 * dlfcn/default.c (main): Add test for dladdr of main returning
6278 argv[0] in dli_fname field.
6280 2000-11-15 Jakub Jelinek <jakub@redhat.com>
6282 * Makeconfig (run-program-prefix): Move test-static test into the
6285 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
6286 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
6287 schedule instructions.
6288 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
6289 schedule instructions, fix a bug in copying auxiliary data.
6291 2000-11-15 Ulrich Drepper <drepper@redhat.com>
6293 * manual/startup.texi (Program Arguments): Fix type of main's envp
6295 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
6297 * iconvdata/gconv-modules: Add CP950 alias.
6299 2000-11-13 Jakub Jelinek <jakub@redhat.com>
6301 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
6302 syscall-list.h goal.
6303 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
6305 2000-11-15 Ulrich Drepper <drepper@redhat.com>
6307 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
6309 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
6312 * intl/tst-gettext2.c: Set C locale if setting other locale
6313 failed. Use gettext() not _().
6315 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
6316 successfully loaded a new locale.
6318 2000-11-13 Andreas Jaeger <aj@suse.de>
6320 * configure.in: Require gcc 2.95 or newer.
6322 2000-11-15 Ulrich Drepper <drepper@redhat.com>
6324 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
6325 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
6327 2000-11-11 Jim Meyering <meyering@lucent.com>
6329 * string/strndup.c (strndup): Cast return value to `char *'.
6331 2000-11-15 Jim Meyering <meyering@ascend.com>
6333 * sysdeps/generic/memchr.c: Remove some useless parentheses.
6334 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
6335 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
6336 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
6337 Also #undef __memchr.
6338 Use `weak_alias' only if it's defined.
6340 2000-11-10 H.J. Lu <hjl@gnu.org>
6342 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
6344 2000-11-15 Andreas Jaeger <aj@suse.de>
6346 * elf/chroot_canon.c: Include <stdint.h>.
6348 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
6349 (print_entry): Likewise.
6350 (add_to_cache): Likewise.
6352 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
6354 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
6355 (path_hwcap): Likewise.
6356 (search_dir): Likewise.
6358 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
6360 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
6362 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
6363 (_dl_platform_string): New.
6364 (_DL_HWCAP_PLATFORM): New.
6365 (_dl_string_platform): New.
6366 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
6368 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
6369 (_dl_string_platform): New.
6370 (_DL_HWCAP_PLATFORM): New.
6371 (_dl_platform_string): New.
6373 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
6375 (_DL_HWCAP_COUNT): New.
6376 (_dl_string_platform): New.
6377 (_DL_HWCAP_PLATFORM): New.
6378 (_dl_platform_string): New.
6380 2000-11-14 Ulrich Drepper <drepper@redhat.com>
6382 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
6384 2000-11-14 Andreas Jaeger <aj@suse.de>
6386 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
6388 2000-11-13 Roland McGrath <roland@frob.com>
6390 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
6392 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
6394 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
6395 underrun and make sure the result is null terminated even if there
6396 is no trailing newline.
6398 2000-11-13 Jakub Jelinek <jakub@redhat.com>
6400 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6402 2000-11-10 H.J. Lu <hjl@gnu.org>
6404 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
6406 2000-11-10 Andreas Jaeger <aj@suse.de>
6408 * elf/ldconfig.c (create_links): Fix alloca calculation.
6409 Patch by Ben Collins <bcollins@debian.org>.
6411 2000-11-09 Ulrich Drepper <drepper@redhat.com>
6413 * inet/getnameinfo.c (getnameinfo): Use correct destination
6414 parameter for if_indextoname.
6415 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
6417 2000-11-09 H.J. Lu <hjl@gnu.org>
6419 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
6420 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
6421 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
6424 * time/Versions (GLIBC_2.1): Move getitimer to...
6425 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
6427 2000-11-03 Bruno Haible <haible@clisp.cons.org>
6429 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
6430 "make install", to work around a binary incompatibility between
6431 glibc 2.1 and glibc 2.2 gconv modules.
6433 2000-11-09 Ulrich Drepper <drepper@redhat.com>
6435 * intl/locale.alias: Add thai.
6436 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
6438 2000-11-07 Akim Demaille <akim@epita.fr>
6440 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
6441 argument `data' for consistency with the prototypes.
6443 (obstack_copy, obstack_copy0): Rename the second argument as
6444 `address' for consistency. Qualify it `const'.
6445 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
6446 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
6447 `const' their input argument (`data' or `address').
6448 Adjust the corresponding macros to include `const' in casts.
6450 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
6452 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
6455 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
6457 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
6460 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
6462 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
6463 ai_protocol by internal table if service was not given.
6465 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
6467 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
6468 numerical port was specified with protocol without socktype.
6470 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
6472 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
6474 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
6476 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
6478 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
6480 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
6481 sin6_scope_id field.
6483 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
6485 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
6487 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
6489 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
6491 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
6493 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
6494 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
6496 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
6498 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
6499 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
6501 2000-11-09 H.J. Lu <hjl@gnu.org>
6503 * io/Versions (GLIBC_2.1.1): Remove lockf64.
6506 See ChangeLog.11 for earlier changes.