]> sourceware.org Git - glibc.git/blame - ChangeLog
* sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in the Hurd pfinet serve...
[glibc.git] / ChangeLog
CommitLineData
5bd5e357
MK
12001-07-01 Mark Kettenis <kettenis@gnu.org>
2
3 * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
4 the Hurd pfinet server, using equivalent code from the Linux
5 version in sysdeps/unix/sysv/linux/if_index.c. In detail:
6 Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
7 <hurd/pfinet.h>. Don't include <sys/mman.h> and <hurd/fsys.h>
8 anymore.
9 (if_nametoindex): New implementation using SIOCGIFINDEX.
10 (if_freenameindex): Straight copy of the Linux version.
11 (if_nameindex): New implementation based on pfinet_siocgifconf and
12 SIOCGIFINDEX.
13 (if_indextoname): New implementation using SIOCGIFNAME.
14 (map_interfaces): Function removed.
15 From Marcus Brinkmann <marcus@gnu.org>.
16
f669de74
UD
172001-06-30 Jakub Jelinek <jakub@redhat.com>
18
19 * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
20 gaps below main executable.
21
33e25d26
AJ
222001-06-19 Andreas Jaeger <aj@suse.de>
23
24 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
25 Handle profiling.
26
2995f70e
AJ
272001-06-29 Andreas Jaeger <aj@suse.de>
28
29 * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
30 Patch by Stephen L Moshier <moshier@mediaone.net>.
31
f7364247
UD
322001-06-28 Ulrich Drepper <drepper@redhat.com>
33
34 * manual/argp.texi: Tons of cleanups.
35 Patch by Clifford U. Smith <cuel@swbell.net>.
36
90e5b29e
UD
372001-06-28 Mark Kettenis <kettenis@gnu.org>
38
39 * manual/users.texi (Setting Groups): Correct initgroups
40 documentation. Add documentation for getgrouplist.
41
422001-06-28 H.J. Lu <hjl@gnu.org>
43
44 * locale/findlocale.c (locale_file_list): Renamed to ...
da1375be 45 (_nl_locale_file_list): This. Make it extern.
90e5b29e
UD
46 (free_mem): Move to ...
47 * locale/setlocale.c (free_mem): Here.
48
e17f3859
MK
492001-06-28 Mark Kettenis <kettenis@gnu.org>
50
59a3de2d
MK
51 * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
52 (__libc_read): Don't call __pread. Use _hurd_fd_read directly
53 instead.
54 * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
55 (__libc_write): Don't call __pwrite. Use _hurd_fd_write directly
56 instead.
57
e17f3859
MK
58 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
59 -Wl,-soname option lost in 2001-06-16 change.
60
64333c66
UD
612001-06-27 Ulrich Drepper <drepper@redhat.com>
62
2f07975d
UD
63 * posix/tst-regex.c: Pass REG_NEWLINE to regcomp. Add extra tests.
64 Restrict printing of string in debug mode to 100 characters to make
65 the output useful for long input texts.
66
64333c66
UD
67 * posix/Makefile: Add rules to build and run tst-regex.
68
90e5b29e 692001-06-20 Isamu Hasegawa <isamu@yamato.ibm.com>
64333c66
UD
70
71 * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
da1375be 72 (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
64333c66
UD
73 (wcs_re_match_2_internal): Check whether the wcs buffers need
74 seting up or not, and skip seting up routin if not needed.
75
90e5b29e 762001-06-26 Isamu Hasegawa <isamu@yamato.ibm.com>
64333c66 77
90e5b29e 78 * posix/regex.c (count_mbs_length): Use binary search for optimization.
64333c66 79
7bcad280
UD
802001-06-27 Ulrich Drepper <drepper@redhat.com>
81
82 * posix/tst-regex.c: Fix several bugs. Add more tests.
83
7facfddd
MK
842001-06-26 Mark Kettenis <kettenis@gnu.org>
85
86 * hurd/Makefile (user-interfaces): Add pfinet.
87 * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
88 <netinet/in.h>.
89 (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL
90 as the handler for SIOCGIFCONF.
91 * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
92 SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC
93 and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro
94 definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
95 SIOCGIFNAME.
96 From Marcus Brunkmann <marcus@gnu.org>.
97
505d4b24
UD
982001-06-25 Ulrich Drepper <drepper@redhat.com>
99
da0debaa
UD
100 * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
101 and _IOT_ifreq_int. Patch by Mark Kettenis <kettenis@wins.uva.nl>.
102
505d4b24
UD
103 * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
104 _dl_catch_error calls.
105
d8f00d46
UD
1062001-06-22 Jakub Jelinek <jakub@redhat.com>
107
108 * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
109 typos.
110
1112001-06-01 Wolfram Gloger <wg@malloc.de>
112
113 * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
114 ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
115 when malloc_atfork is in use.
116
36e3e2d4
AJ
1172001-06-22 Andreas Jaeger <aj@suse.de>
118
37695e8f
AJ
119 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
120 to avoid warnings.
121
122 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
123 variable.
124 Add unused attributes to avoid warnings.
125
e15df0bb
AJ
126 * elf/reldep4mod4.c: Add prototype to avoid warning.
127 * elf/reldep4mod2.c: Likewise.
128
36e3e2d4
AJ
129 * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
130 prototypes.
131
cb18901b
RM
1322001-06-18 Roland McGrath <roland@frob.com>
133
134 * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
135
fec3cf81
UD
1362001-06-20 Alexandre Oliva <aoliva@redhat.com>
137
138 * sysdeps/unix/sysv/settimeofday.c: Include time.h.
139
74b98188
UD
1402001-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
141
142 * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
143
ad10cac8
UD
1442001-05-09 Michael Keezer <mkeezer@redhat.com>
145
146 * Makeconfig: Added AIX-ld support for DSO.
147 * Makerules: Likewise.
148 * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
149 (defaultmod2.so): Likewise.
150 * debug/Makefile: Conditionalize use of elf/ld.so.
151 * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
152
153 * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
154 * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
155 (f/g)prrest(0/1) static only.
156 * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
157 * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
158 shared.
159 * sysdeps/unix/sysv/aix/setitimer.c: New file.
160 * sysdeps/unix/sysv/aix/sleep.c: New file.
161 * sysdeps/unix/sysv/aix/usleep.c: New file.
162 * sysdeps/unix/sysv/aix/dl-addr.c: New file.
163 * sysdeps/unix/sysv/aix/dl-error.c: New file.
164 * sysdeps/unix/sysv/aix/dl-support.c: New file.
165 * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
166
874e5570
UD
1672001-06-19 Ulrich Drepper <drepper@redhat.com>
168
169 * po/es.po: Update from translation team.
170
20f421e1
AJ
1712001-06-19 Andreas Jaeger <aj@suse.de>
172
173 * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
174
175 * math/libm-test.inc (tanh_test): Test for 2^-56.
176
177 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
178 equals argument when x < 2^-55.
179 Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
180
d7d64cdb
UD
1812001-06-17 Alan Modra <amodra@bigpond.net.au>
182
183 * sysdeps/hppa/dl-machine.h (elf_machine_rela): handle relocs
184 at unaligned address.
185
9e05f72f
UD
1862001-06-18 Ulrich Drepper <drepper@redhat.com>
187
c4be6664
UD
188 * posix/regex.c: Reorganize code to build code twice, once for single
189 byte, once for multi-byte charsets. Choose function set adequate for
190 locale at runtime.
191 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
192
9e05f72f
UD
193 * po/nl.po: Update from translation team.
194
86621b49
UD
1952001-06-09 Bruno Haible <haible@clisp.cons.org>
196
197 * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
198 (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
199 * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
200
2012001-05-26 Bruno Haible <haible@clisp.cons.org>
202
203 * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
204 * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
205
986ad61e
RM
2062001-06-17 Roland McGrath <roland@frob.com>
207
b8744bea
RM
208 * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
209 not LIO_READ + 1 (which is the value of LIO_WRITE!).
210
c7414a8e
RM
211 * Makerules (build-module-helper-objlist): New variable,
212 broken out of build-module. Insert --whole-archive/--no-whole-archive
213 immediately each *_pic.a file in the link object list.
214 (whole-archive): New variable, used by that.
215 (build-module-objlist): New variable using build-module-helper-objlist.
216 (build-module, build-module-helper): Use it.
217 (build-shlib-objlist): New variable using build-module-helper-objlist.
218 (build-shlib): Use that.
219 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
220
986ad61e
RM
221 * posix/spawni.c: Moved to ...
222 * sysdeps/posix/spawni.c: ... here.
223 * sysdeps/generic/spawni.c: New file.
224
5fe915ee
RM
2252001-06-16 Roland McGrath <roland@frob.com>
226
227 * hurd/Makefile (routines): Add lookup-retry.
228 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
229 * hurd/lookup-retry.c: ... into here, new file.
230 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
231 using of duplicate code here.
232
233 * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
234
5b60c9fc
UD
2352001-06-17 Ulrich Drepper <drepper@redhat.com>
236
237 * po/ja.po: Update from translation team.
238
aac0e8c4
UD
2392001-06-04 Bruno Haible <haible@clisp.cons.org>
240
241 * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
242 compare_files): New functions.
da1375be 243 (write_locale_data): Use xmalloc. Compare the file with the locale
aac0e8c4
UD
244 data files for the same category in other locales, and reuse it if
245 possible and safe.
246
8fee1bb0
UD
2472001-06-07 Mark Kettenis <kettenis@gnu.org>
248
249 * grp/initgroups.c (initgroups): Factor out re-usable code into...
250 (internal_getgrouplist): ... new function.
251 (getgrouplist): New function.
252 * grp/grp.h (getgrouplist): New prototype.
253 * grp/Versions [2.2.4]: Add getgrouplist.
254
2552001-06-16 Ulrich Drepper <drepper@redhat.com>
256
257 * inet/netinet/ip6.h: Fix comments in ip6_hdr.
258 Patch by Pekka Savola <pekkas@netcore.fi>.
259
81dacf8a
RM
2602001-06-15 Roland McGrath <roland@frob.com>
261
262 * rt/Makefile (aio-routines, clock-routines, timer-routines): New
263 variables, broken out of librt-routines.
264 (librt-routines): Set using those.
265 (extra-libs, extra-libc-others, tests): Set these unconditionally.
266 (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
267 * sysdeps/generic/aio_fsync.c: New file.
268 * sysdeps/generic/aio_misc.c: New file.
269 * sysdeps/generic/aio_write.c: New file.
270 * sysdeps/generic/aio_write64.c: New file.
271 * sysdeps/generic/aio_read64.c: New file.
272 * sysdeps/generic/aio_read.c: New file.
273 * sysdeps/generic/aio_notify.c: New file.
274 * sysdeps/generic/lio_listio64.c: New file.
275 * sysdeps/generic/lio_listio.c: New file.
276 * sysdeps/generic/aio_cancel.c: New file.
277 * sysdeps/generic/aio_misc.h: New file.
278 * sysdeps/generic/aio_suspend.c: New file.
279 * rt/aio_cancel.c: Moved to ...
280 * sysdeps/pthread/aio_cancel.c: ... here.
281 * rt/aio_fsync.c: Moved to ...
282 * sysdeps/pthread/aio_fsync.c: ... here.
283 * rt/aio_misc.c: Moved to ...
284 * sysdeps/pthread/aio_misc.c: ... here.
285 * rt/aio_misc.h: Moved to ...
286 * sysdeps/pthread/aio_misc.h: ... here.
287 * rt/aio_notify.c: Moved to ...
288 * sysdeps/pthread/aio_notify.c: ... here.
289 * rt/aio_read.c: Moved to ...
290 * sysdeps/pthread/aio_read.c: ... here.
291 * rt/aio_read64.c: Moved to ...
292 * sysdeps/pthread/aio_read64.c: ... here.
293 * rt/aio_suspend.c: Moved to ...
294 * sysdeps/pthread/aio_suspend.c: ... here.
295 * rt/aio_write.c: Moved to ...
296 * sysdeps/pthread/aio_write.c: ... here.
297 * rt/aio_write64.c: Moved to ...
298 * sysdeps/pthread/aio_write64.c: ... here.
299 * rt/lio_listio.c: Moved to ...
300 * sysdeps/pthread/lio_listio.c: ... here.
301 * rt/lio_listio64.c: Moved to ...
302 * sysdeps/pthread/lio_listio64.c: ... here.
303
636ccfc8
UD
3042001-06-14 Roland McGrath <roland@frob.com>
305
306 * configure.in: Let sysdeps Implies files in add-ons bring in
307 sysdeps directories from the main source and other add-ons too.
308
3092001-06-15 Jakub Jelinek <jakub@redhat.com>
310
311 * math/test-misc.c (main): Add tests for nextafter and nexttoward
312 with +-Inf as second argument.
313
314 * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
315 NaN, not Inf.
316 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
317 * sysdeps/i386/fpu/s_nexttoward.c: New.
318 * sysdeps/i386/fpu/s_nexttowardf.c: New.
319 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
320 check for NaN, optimize x==+-0 handling.
321 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
322 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
323 check for NaN, fix sign in x==+-0 case.
324 * sysdeps/ia64/fpu/s_nexttoward.c: New.
325 * sysdeps/ia64/fpu/s_nexttowardf.c: New.
326
3272001-06-15 H.J. Lu <hjl@gnu.org>
328
329 * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
330 * rt/tst-aio3.c (do_test): Likewise.
331 * rt/tst-aio4.c (do_test): Likewise.
332 * rt/tst-aio5.c (do_test): Likewise.
333 * rt/tst-aio6.c (do_test): Likewise.
334
08003272
AS
3352001-06-15 Andreas Schwab <schwab@suse.de>
336
337 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
338 * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
339
6a9a03d6
AJ
3402001-06-15 Andreas Jaeger <aj@suse.de>
341
342 * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
343
53483036
AS
3442001-06-14 Andreas Schwab <schwab@suse.de>
345
0f843f89
AS
346 * elf/ldconfig.c (search_dir): Fix check for regular file.
347
53483036
AS
348 * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
349 * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
350
eeeeed6a
RM
3512001-06-14 Roland McGrath <roland@frob.com>
352
353 * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
354 (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
355
c0c71388
RM
3562001-06-13 Roland McGrath <roland@frob.com>
357
3de5235f
RM
358 * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
359
221dc560
RM
360 * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
361 so the label is not considered unused.
362
363 * sysdeps/mach/hurd/pwrite64.c: New file.
364 * sysdeps/mach/hurd/pread64.c: New file.
365
366 * sysdeps/mach/hurd/pread.c
367 (__libc_pread): Define this name, with __pread as an alias.
368 * sysdeps/mach/hurd/pwrite.c
369 (__libc_pwrite): Define this name, with __pwrite as an alias.
370
371 Implement POSIX "shared memory objects" as regular
372 files residing in the /var/run/shm/ directory.
373 This works on any system that supports _POSIX_MAPPED_FILES,
374 to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
375 * sysdeps/posix/shm_open.c: New file.
376 * sysdeps/posix/shm_unlink.c: New file.
377 * sysdeps/mach/hurd/bits/posix_opt.h
378 (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
379
380 * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
381 Use raise instead of __aio_sigqueue.
382
c0c71388
RM
383 * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
384 * sysdeps/mach/hurd/pwrite.c: Likewise.
385
386 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
387 [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
388 as default version set.
389
6999d70e
UD
3902001-06-13 Ulrich Drepper <drepper@redhat.com>
391
392 * libio/iolibio.h (_IO_freopen): Correct last parameter to
393 _IO_file_open.
394 (_IO_freopen64): Likewise.
395 Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
396
397 * elf/elf.h: Add a few more EM_* constants.
398
3992001-06-12 Bruno Haible <haible@clisp.cons.org>
400
401 * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
402
4032001-06-09 Ben Collins <bcollins@debian.org>
404
405 * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
406 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
407 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
408 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
409 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
410 * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
411 hardcoded B400000.
412
d002205f
UD
4132001-06-13 Ulrich Drepper <drepper@redhat.com>
414
415 * time/sys/time.h: Don't use enum __itimer_which ever for
416 __itimer_which_t for C++.
417 Reported by Martin Buchholz <martin@xemacs.org>.
418
419 * po/fr.po: Update from translation team.
420
4212001-06-12 H.J. Lu <hjl@gnu.org>
6b4e880f
AJ
422
423 * configure.in: Fix typos in missing program names.
424 * configure: Regenerated.
425
f280b985
AJ
4262001-06-12 Andreas Jaeger <aj@suse.de>
427
a29a3e1a
AJ
428 * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
429
f280b985
AJ
430 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
431
92ec5b31
AJ
4322001-06-11 Andreas Jaeger <aj@suse.de>
433
f280b985 434 * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by
92ec5b31
AJ
435 Stephen L Moshier <moshier@mediaone.net>.
436
437 * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
438
439 * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
440 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
441
d002205f 4422001-06-11 Michael Deutschmann <michael@talamasca.ocis.net>
207390f7
AJ
443
444 * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
445 Use my_signo instead of MY_SIGNO and initialize it so that the
446 used signal is always available.
447
f280b985 4482001-06-11 Andreas Jaeger <aj@suse.de>,
d002205f 449 Michael Deutschmann <michael@talamasca.ocis.net>
207390f7
AJ
450
451 * io/test-lfs.c (do_prepare): Clean up error messages.
c0c71388 452 (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
207390f7
AJ
453 (do_test): Likewise.
454
4552001-06-11 Andreas Jaeger <aj@suse.de>
456
457 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
458 IMAXBEL): Make always visible since they're needed by POSIX.
459 Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
460
4612001-06-10 Ben Collins <bcollins@debian.org>
462
463 * sysdeps/arm/elf/start.S: Use #function, not @function, for
464 .type of _start.
465
466 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
467 INT_MAX.
468
4692001-06-07 H.J. Lu <hjl@gnu.org>
470
471 * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
472
0aaa9c6a
RM
4732001-06-10 Roland McGrath <roland@frob.com>
474
475 * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
476 * elf/reldep4mod4.c: Likewise.
477
fecb794f
MK
4782001-06-10 Mark Kettenis <kettenis@gnu.org>
479
480 * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
481
e10a9eba
UD
4822001-06-08 Andreas Schwab <schwab@suse.de>
483
484 * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
485 Don't dereference at end of string.
486
b381189e
RM
4872001-06-06 Roland McGrath <roland@frob.com>
488
489 * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
490 From Robert Bihlmeyer <robbe@orcus.priv.at>.
491
eb12749a
UD
4922001-06-06 Ulrich Drepper <drepper@redhat.com>
493
494 * po/ko.po: Update from translation team.
495
b73147d0
AJ
4962001-06-06 Andreas Jaeger <aj@suse.de>
497
498 * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
499 offset+length-1.
500 Reported by Robert Bernecky <bernecky@acm.org>.
501
d1cf3e71
AJ
5022001-06-06 Jakub Jelinek <jakub@redhat.com>
503
504 * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
505 * sysdeps/ia64/elf/start.S: Likewise.
506 * sysdeps/sh/elf/start.S: Likewise.
507 * sysdeps/s390/s390-32/elf/start.S: Likewise.
508 * sysdeps/s390/s390-64/elf/start.S: Likewise.
509
2ecb820e
AJ
5102001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com>
511
512 * sysdeps/hppa/bsd-_setjmp.S: New.
513 * sysdeps/hppa/bsd-setjmp.S: New.
514
515 * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
516 gcc warnings about multi-line strings.
517
518 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
519 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
520
521 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
522 setrlimit directly instead of using wrappers.
523
5242001-05-01 Richard Hirst <rhirst@linuxcare.com>
525
526 * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
527 * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
528
5292001-06-05 Philipp Thomas <pthomas@suse.de>
530
531 * nis/nis_call.c (__nisbind_connect): Don't mark for translation
532 what can't be translated.
533
289ac9dd
UD
5342001-06-06 Ulrich Drepper <drepper@redhat.com>
535
536 * timezone/zic.c: Update from tzcode2001c.
537 * timezone/private.h: Likewise.
538 * timezone/africa: Update from tzdata2001c.
539 * timezone/asia: Likewise.
540 * timezone/europe: Likewise.
541 * timezone/northamerica: Likewise.
542 * timezone/southamerica: Likewise.
543 * timezone/zone.tab: Likewise.
544
601d2942 5452001-06-04 Bruno Haible <haible@clisp.cons.org>
a18f73be 546
601d2942
UD
547 * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
548 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
549 UNICODE_TAG_HANDLER.
550 (__gconv_transform_internal_ucs2): Likewise.
551 (__gconv_transform_internal_ucs2reverse): Likewise.
552 * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
553 * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
554 * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
555 * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
556 * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
557 * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
558 * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
559 * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
560 * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
561 * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
562 * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
563 * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
564 * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
565 * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
566 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
567 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
568 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
569 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
570 * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
571 * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
572 * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
573 * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
574 * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
575 * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
576 * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
577 * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
578 * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
579 * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
580 * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
581 * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
582 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
583 * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
584 TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
585 TAG_language_zh, CURRENT_TAG_MASK): New enum values.
586 (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
587 is already selected but set2 or tag are set.
588 (conversion): New enum type.
589 (cvlist_t): New type.
590 (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
591 (conversion_lists): New array.
da1375be 592 (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
ad10cac8 593 prefer conversion to Japanese character sets. If "zh", prefer
da1375be 594 conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
601d2942
UD
595 optimizations.
596 (INIT_PARAMS): Add tag.
597 (UPDATE_PARAMS): Add tag.
598
5992001-06-04 Bruno Haible <haible@clisp.cons.org>
600
601 * locale/programs/locfile.c (write_locale_data): Before creat(),
602 unlink the file, to avoid crashing the processes that mmap it. Change
603 a double slash to a single slash. Free fname in case of error return.
604
6052001-06-02 Jakub Jelinek <jakub@redhat.com>
606
607 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
608 changes, do the special handling for denormal numbers, not for
609 normalized numbers (patch by <trevin@xmission.com>).
610
611 * math/test-misc.c (main): Test frexpl with denormal arguments.
612
6132001-06-04 Jakub Jelinek <jakub@redhat.com>
614
615 * math/libm-test.inc (llround_test): Add two new llround tests.
616 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
617 overflow when rounding away from zero.
618
6192001-06-04 Jakub Jelinek <jakub@redhat.com>
620
621 * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
622 * math/math_private.h (__ieee754_log2, __ieee754_log2f,
623 __ieee754_log2l): New prototypes.
624 * sysdeps/generic/w_log2.c: New file.
625 * sysdeps/generic/w_log2f.c: New file.
626 * sysdeps/generic/w_log2l.c: New file.
627 * sysdeps/generic/s_log2l.c: Move...
da1375be 628 * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
601d2942
UD
629 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
630 and log2(x < 0).
631 * sysdeps/i386/fpu/s_log2.S: Move...
da1375be 632 * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
601d2942 633 * sysdeps/i386/fpu/s_log2f.S: Move...
da1375be 634 * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
601d2942 635 * sysdeps/i386/fpu/s_log2l.S: Move...
da1375be 636 * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
53483036 637 * sysdeps/m68k/fpu/s_log2.c: Move...
da1375be 638 * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2.
53483036 639 * sysdeps/m68k/fpu/s_log2f.c: Move...
da1375be 640 * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f.
53483036 641 * sysdeps/m68k/fpu/s_log2l.c: Move...
da1375be 642 * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l.
601d2942 643 * sysdeps/ieee754/dbl-64/s_log2.c: Move...
da1375be 644 * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
601d2942
UD
645 __ieee754_log2.
646 * sysdeps/ieee754/flt-32/s_log2f.c: Move...
da1375be 647 * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
601d2942
UD
648 __ieee754_log2f.
649
6502001-06-04 Jakub Jelinek <jakub@redhat.com>
651
652 * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
653 even arguments which result in denormalized exp2 are accepted.
654 (__exp2): Arguments equal to u_threshold already result into
655 underflow.
656 * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
657 * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
658 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
659 low, with corrected lowmark use greaterequal, not greater.
660 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
661
6622001-06-04 Jakub Jelinek <jakub@redhat.com>
663
664 * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
665 * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
666 * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
667 * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
668 * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
669 * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
670 * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
671 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
672
6732001-06-04 Jakub Jelinek <jakub@redhat.com>
674
675 * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
676 gave non-finite result instead of using constant in generic
677 version.
678 * sysdeps/generic/w_coshf.c (__coshf): Likewise.
679 * sysdeps/generic/w_cosh.c (__cosh): Likewise.
680 * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
681 (__exp10): Test if finite argument gave non-finite result.
682 * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
683 Likewise.
684 * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
685 Likewise.
686
6872001-06-04 Jakub Jelinek <jakub@redhat.com>
688
689 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
690 overflow threshold constant (log(LDBL_MAX)+M_LN2l).
691
6922001-05-29 Bruno Haible <haible@clisp.cons.org>
693
694 * locale/programs/ld-ctype.c (idx_table): New struct type.
695 (idx_table_init, idx_table_get, idx_table_add): New functions.
696 (MAX_CHARNAMES_IDX): Remove macro.
697 (locale_ctype_t): Change type of charnames_idx field.
698 (ctype_startup): Change initialization of charnames_idx field.
699 (find_idx): Use idx_table_get and idx_table_add for speed.
700
701 * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
702 computation of characters in a range.
703
7042001-05-29 Bruno Haible <haible@clisp.cons.org>
705
706 * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
707 <U03F5>.
708 (__ucs_to_gb18030_tab1): Likewise.
709 (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
710 (BODY for TO_LOOP): Likewise.
711 * iconvdata/tst-table-charmap.sh: Update for charmaps containing
712 <U00xxxxxx> syntax.
713 * iconvdata/tst-table-from.c (bmp_only): New variable.
714 (utf8_decode): If bmp_only, don't return characters outside Unicode
715 plane 0.
da1375be 716 (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
601d2942
UD
717 a conversion line if utf8_decode returns NULL.
718 * iconvdata/tst-table-to.c (main): When testing encodings other than
da1375be 719 UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
601d2942
UD
720 instead of UCS-2 as input.
721 * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
722 of the charmap.
723
7242001-05-29 Bruno Haible <haible@clisp.cons.org>
725
726 * iconvdata/cns11643l1.c: Update to Unicode 3.1.
727 (__cns11643l1_to_ucs4_tab): Regenerated.
728 (__cns11643l1_from_ucs4_tab12): Regenerated.
729 * iconvdata/cns11643.c: Update to Unicode 3.1.
730 (__cns11643l14_to_ucs4_tab): Remove array.
731 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
732 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
733 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
734 (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
735 (__cns11643_from_ucs4p2_tab): New array.
736 * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
737 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
738 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
739 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
740 (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
741 (__cns11643_from_ucs4_tab): Remove declaration.
742 (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
743 declarations.
da1375be 744 (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
601d2942
UD
745 U+20000..U+2A6D6.
746 * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
747 declaration.
748 (__cns11643_from_ucs4p0_tab): New declaration.
749 (ucs4_to_cns11643l2): Update for new arrays.
750 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
751 3 to 7.
752 (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
753 * iconvdata/EUC-TW.irreversible: New file.
754 * iconvdata/tst-table.sh: Use it.
755 * iconvdata/Makefile (distribute): Add CP1255.irreversible,
756 CP1258.irreversible, EUC-TW.irreversible.
757
7582001-05-29 Bruno Haible <haible@clisp.cons.org>
759
760 * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
761 mathematical symbols.
a18f73be 762
a1b567d0
AJ
7632001-06-05 Andreas Jaeger <aj@suse.de>
764
765 * manual/stdio.texi (Portable Positioning): Fix description of
766 fpos_t and fpos64_t.
767
344af000
UD
7682001-06-06 Ulrich Drepper <drepper@redhat.com>
769
770 * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead.
771
772 * po/sk.po: Update from translation team.
773
f8d32693
AJ
7742001-06-05 Andreas Jaeger <aj@suse.de>
775
776 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
777 tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
778 Closes PR libc/2315.
779
b66aba32
UD
7802001-06-05 Ulrich Drepper <drepper@redhat.com>
781
782 * sysdeps/generic/wordexp.c: Add missing free.
783 Patch by yeti@physics.muni.cz.
784
5bb46825
AJ
7852001-06-02 Tom Browder <tbrowder@home.com>
786
787 * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
788 within bounds when lag > 0.
789
76f696fc
UD
7902001-06-05 Ulrich Drepper <drepper@redhat.com>
791
792 * po/tr.po: New file.
793
6a7a8b22
AJ
7942001-06-05 Andreas Jaeger <aj@suse.de>
795
796 * manual/libm-err-tab.pl (parse_ulps): Fix typo.
797
7982001-06-04 H.J. Lu <hjl@gnu.org>
799
800 * sysdeps/alpha/elf/start.S: Add .type for the entry point.
801 * sysdeps/arm/elf/start.S: Likewise.
802 * sysdeps/hppa/elf/start.S: Likewise.
803 * sysdeps/i386/elf/start.S: Likewise.
804 * sysdeps/m68k/elf/start.S: Likewise.
805 * sysdeps/mips/elf/start.S: Likewise.
806 * sysdeps/ia64/elf/start.S: Likewise.
807 * sysdeps/sh/elf/start.S: Likewise.
808 * sysdeps/s390/s390-32/elf/start.S: Likewise.
809 * sysdeps/s390/s390-64/elf/start.S: Likewise.
810 * sysdeps/cris/elf/start.S: Likewise.
811
8122001-06-04 Bruce Mitchener <bruce@cubik.org>
813
814 * manual/resource.texi: Correct setpriority/nice documentation.
815
816 * sysdeps/unix/nice.c: Correct nice() implementation.
817
17827c3a
AJ
8182001-06-04 Andreas Jaeger <aj@suse.de>
819
820 * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
821 Stephen L Moshier <moshier@mediaone.net>.
822
eaeeb1eb
RM
8232001-06-03 Roland McGrath <roland@frob.com>
824
825 * Makefile (postclean): Remove obsolete sysd-Makefile.
826
bb653c36
RM
8272001-06-01 Roland McGrath <roland@frob.com>
828
4eb8a862
RM
829 * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
830 and use compat_symbol/versioned_symbol instead of plain
831 symbol_version/default_symbol_version.
832 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
833 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
834 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
835 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
836 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
837 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
838 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
839 * sysdeps/arm/fpu/fegetenv.c: Likewise.
840 * sysdeps/arm/fpu/fesetenv.c: Likewise.
841 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
842 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
843 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
844 * sysdeps/i386/fpu/fegetenv.c: Likewise.
845 * sysdeps/i386/fpu/fesetenv.c: Likewise.
846 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
847 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
848 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
849 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
850 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
851 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
852 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
853 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
854 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
855 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
856 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
857 * sysdeps/powerpc/fclrexcpt.c: Likewise.
858 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
859 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
860 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
861 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
862 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
863 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
864
bb653c36
RM
865 * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
866 * iconvdata/iso-2022-cn-ext.c: Likewise.
867
548e813d
AJ
8682001-06-01 Andreas Jaeger <aj@suse.de>
869
870 * Versions.def: Add version 2.2.4.
871
b5041719
UD
8722001-06-01 Ulrich Drepper <drepper@redhat.com>
873
874 * socket/Makefile (routines): Add sockatmark.
875 * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
876 * socket/sys/socket.h: Add prototype for sockatmark.
877 * sysdeps/generic/sockatmark.c: New file.
878 * sysdeps/unix/sockatmark.c: New file.
879
852d75f9
AJ
8802001-06-01 Andreas Jaeger <aj@suse.de>
881
882 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
883 B4000000.
884 (cfsetospeed): Likewise.
885 Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
886
8872001-05-31 Joseph S. Myers <jsm28@cam.ac.uk>
888
889 * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
890
371881fe
AJ
8912001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
892
893 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
894 needs to have the same aligment as the kernel structure.
895
c2cc0483
UD
8962001-05-29 Jakub Jelinek <jakub@redhat.com>
897
898 * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
899 u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
900 * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
901 u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
902 against multiple definition.
903
a18b5b49
UD
9042001-05-30 Ulrich Drepper <drepper@redhat.com>
905
906 * po/da.po: Update from translation team.
907
c9bfaa1b
AJ
9082001-05-29 Andreas Jaeger <aj@suse.de>
909
910 * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
911 Stephen L Moshier <moshier@mediaone.net>.
912
913 * math/libm-test.inc (sinh_test): Add new test case.
914
915 * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
916 x when x < 2^-32.
917 Patch by Stephen L Moshier <moshier@mediaone.net>.
918
de64faec
AJ
9192001-05-23 Andreas Jaeger <aj@suse.de>
920
921 * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
922 * iconvdata/testdata/WINDOWS-1255..UTF8: this.
923
417d6b34
AJ
9242001-05-27 Andreas Jaeger <aj@suse.de>
925
926 * manual/stdio.texi (String Streams): Fix fmemopen description.
927 Reported by Michal Kochanowicz <michal@michal.waw.pl>.
928
f7b8b666
AJ
9292001-05-26 H.J. Lu <hjl@gnu.org>
930
dbbf07d0 931 * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
da1375be 932 to s_sigsuspend. Add s_mmap2.
dbbf07d0
AJ
933
934 * sysdeps/mips/atomicity.h: New file.
935
936 * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
937
f7b8b666
AJ
938 * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
939 back __key.
940
b912ca11
UD
9412001-05-25 Bruce Mitchener <bruce@cubik.org>
942
943 * manual/ctype.texi: Minor fix.
944 * manual/install.texi: Likewise.
945 * manual/startup.texi: Likewise.
946 * manual/examples/dir.c: Use perror() rather than puts().
947
9482001-05-25 David Mosberger <davidm@hpl.hp.com>
949
950 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
951 #endif directive inside a comment to avoid compiler warnings.
952
9532001-05-25 Philipp Thomas <pthomas@suse.de>
954
955 * nis/nis_print.c (nis_nstype2str): Don't mark names of
956 naming services for translation, only UNKNOWN needs it.
957 Add comment to prevent it for the future.
958
9592001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
960
961 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
962 3.1 and non-GCC C99 compilers.
963
995a692a
UD
9642001-05-22 David Mosberger <davidm@hpl.hp.com>
965
966 * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
967 performance.
968 * sysdeps/ia64/memcpy.S: Likewise.
969
970 * sysdeps/ia64/bcopy.S: New file.
971
972 * sysdeps/ia64/bzero.S: New file (derived from memset.S).
973
9742001-05-26 Ulrich Drepper <drepper@redhat.com>
975
976 * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
977
65fa1dec
UD
9782001-05-24 Ulrich Drepper <drepper@redhat.com>
979
980 * iconvdata/Makefile: Add rules for CP10007.
981 * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
982 * iconvdata/cp10007.c: New file.
983 * iconvdata/tst-tables.sh: Add CP10007.
984
64b7897d
UD
9852001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
986
987 * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
988 (_dl_runtime_profile): Likewise..
989
9902001-05-23 Thorsten Kukuk <kukuk@suse.de>
991
992 * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
993 * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
994
9952001-05-19 H.J. Lu <hjl@gnu.org>
996
997 * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
998 errstring of the failed DSO to _dl_signal_error ().
999
22107048
UD
10002001-05-23 Ulrich Drepper <drepper@redhat.com>
1001
1002 * iconvdata/gconv-modules: Add more aliases to enable use in
1003 locale names.
1004
505d5e18
AJ
10052001-05-23 Andreas Jaeger <aj@suse.de>
1006
1007 * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
1008 Remove, it's not used anywhere anymore.
1009 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
1010 (CFLAGS-initfini.s): Likewise.
1011 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1012 (CFLAGS-initfini.s): Likewise.
1013 * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
1014 Likewise.
1015 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
1016 Likewise.
1017
e0178305
UD
10182001-05-21 Bruno Haible <haible@clisp.cons.org>
1019
1020 * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1021 use 0 instead, and rely on the converter to do the flush.
1022 * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1023 utf8_test.
1024 (utf8_test_2, utf8_test_3): New function.
1025 (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1026
1826d793
UD
10272001-05-22 Jakub Jelinek <jakub@redhat.com>
1028
1029 * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1030
1031 * elf/Makefile (distribute): Add reldep4mod[1234].c.
1032 (tests): Add reldep4.
1033 (modules-names): Add reldep4mod[1234].
1034 (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1035 * elf/reldep4.c: New file.
1036 * elf/reldep4mod1.c: Likewise.
1037 * elf/reldep4mod2.c: Likewise.
1038 * elf/reldep4mod3.c: Likewise.
1039 * elf/reldep4mod4.c: Likewise.
1040
80d9c5f0
UD
10412001-05-18 Jakub Jelinek <jakub@redhat.com>
1042
1043 * elf/dl-lookup.c (PROTECTED): Remove defines.
1044 (add_dependency): Mark it with internal_function.
1045 (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1046 (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1047 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1048 it if we don't want do_lookup* inlined.
1049
10502001-05-18 Jakub Jelinek <jakub@redhat.com>
1051
1052 * include/link.h (struct r_scope_elem): Remove r_duplist and
1053 r_nduplist fields.
1054 * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1055 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1056 r_duplist.
1057 (_dl_lookup_versioned_symbol_skip): Likewise.
1058 * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1059 (_dl_map_object_deps): Don't compute duplicate list.
1060
1061 * elf/dl-symbol.c: Removed.
1062 * elf/Makefile (routines): Remove dl-symbol.
1063
10642001-05-22 Ulrich Drepper <drepper@redhat.com>
1065
1066 * po/el.po: Update from translation team.
1067 * po/sv.po: Likewise.
1068
2373b30e
UD
10692001-05-20 Bruno Haible <haible@clisp.cons.org>
1070
1071 * iconvdata/cp1255.c: Completely rewritten.
1072 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1073 * iconvdata/testdata/WINDOWS-1255: New file.
1074 * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1075 * iconvdata/TESTS: Add WINDOWS-1255 test.
1076 * iconvdata/CP1255.irreversible: New file.
1077
10782001-05-20 Bruno Haible <haible@clisp.cons.org>
1079
1080 * iconvdata/cp1258.c: Completely rewritten.
1081 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1082 * iconvdata/testdata/WINDOWS-1258: New file.
1083 * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1084 * iconvdata/TESTS: Add WINDOWS-1258 test.
1085 * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1086 the main call, and flush it afterwards.
1087 (utf8_decode): Return a string, possibly containing several Unicode
1088 characters.
1089 (main): Update all utf8_decode calls.
1090 * iconvdata/CP1258.irreversible: New file.
1091
10922001-05-20 Bruno Haible <haible@clisp.cons.org>
1093
1094 * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
da1375be 1095 * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
2373b30e
UD
1096 first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1097 EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
da1375be 1098 the next step. In the second case, clear the state without calling
2373b30e
UD
1099 EMIT_SHIFT_TO_INIT.
1100 * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1101 data->__outbuf, and outend instead of data->__outbufend.
1102 * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1103 * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1104 * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1105 * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1106 * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1107 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1108 * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1109 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1110 * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1111
11122001-05-21 Jakub Jelinek <jakub@redhat.com>
1113
1114 * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1115 * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1116 If match == _dl_loaded, caller can still come from the main program.
1117 (_dl_vsym): Likewise.
1118 * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1119 * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1120 * elf/restest2.c: New test.
1121 * elf/Makefile (tests): Add restest2.
1122 (restest2, LDFLAGS-restest2): Add rules.
1123
25e57b10
UD
11242001-05-22 Ulrich Drepper <drepper@redhat.com>
1125
1126 * intl/Makefile: Add a few more dependencies to avoid races in the
1127 test shell scripts.
1128
90b828e6
AJ
11292001-05-22 Andreas Jaeger <aj@suse.de>
1130
1131 * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1132 Stephen L Moshier <moshier@mediaone.net>.
1133
11342001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
1135
1136 * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1137 return addresses instead of the stack pointers.
1138 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1139
11402001-05-21 Jakub Jelinek <jakub@redhat.com>
1141
1142 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1143 bits/sigcontext.h instead of bits/sigstack.h.
1144 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1145 multiple-inclusion guards.
1146
0bc93a2f
AJ
11472001-05-21 Andreas Jaeger <aj@suse.de>
1148
1149 * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1150 Patch by Philipp Thomas <pthomas@suse.de>.
1151
be594011
AJ
11522001-05-17 Bruce Mitchener <bruce@cubik.org>
1153
1154 * manual/arpg.texi: Spelling, misc fixes.
1155 * manual/arith.texi: Likewise.
1156 * manual/crypt.texi: Likewise.
1157 * manual/debug.texi: Likewise.
1158 * manual/getopt.texi: Likewise.
1159 * manual/intro.texi: Likewise.
1160 * manual/memory.texi: Likewise.
1161 * manual/nss.texi: Likewise.
1162 * manual/pattern.texi: Likewise.
1163 * manual/process.texi: Likewise.
1164 * manual/resource.texi: Likewise.
1165 * manual/search.texi: Likewise.
1166 * manual/setjmp.texi: Likewise.
1167 * manual/signal.texi: Likewise.
1168 * manual/socket.texi: Likewise.
1169 * manual/stdio.texi: Likewise.
1170 * manual/string.texi: Likewise.
1171 * manual/sysinfo.texi: Likewise.
1172 * manual/terminal.texi: Likewise.
1173 * manual/llio.texi: Document madvise().
1174
f1d71039
RM
11752001-05-20 Roland McGrath <roland@frob.com>
1176
1177 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1178 found within $(add-ons) directories too.
1179 [linuxthreads add-on]: Move variable settings for linuxthreads
1180 to new file linuxthreads/Makeconfig.
1181
d6e614de
AJ
11822001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1183
1184 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1185 Define for linux >= 2.4.5 on powerpc.
1186 (__ASSUME_MMAP2_SYSCALL): Likewise.
1187
6cceab00
RM
11882001-05-19 Roland McGrath <roland@frob.com>
1189
1190 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1191 result port when failing with ELOOP. Do the ELOOP check when
1192 following an absolute symlink target as well as relative.
1193 Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1194
f5956cf9
AJ
11952001-05-18 Andreas Jaeger <aj@suse.de>
1196
6e2d19ca
AJ
1197 * po/fr.po: Free software is "logiciel libre".
1198 Patch by Martin Michlmayr <tbm@cyrius.com>.
1199
f5956cf9
AJ
1200 * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1201 Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1202
33bdaa2c
UD
12032001-05-17 David Mosberger <davidm@hpl.hp.com>
1204
1205 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1206
7f81ac70
UD
12072001-05-17 Ulrich Drepper <drepper@redhat.com>
1208
1209 * elf/dl-profile.c (_dl_mcount): Check whether state is
1210 GMON_PROF_ON before doing anything.
1211
8d88a164
UD
12122001-05-17 H.J. Lu <hjl@gnu.org>
1213
1214 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1215
8df6c274
UD
12162001-05-17 Ulrich Drepper <drepper@redhat.com>
1217
1218 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1219 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1220 Reported by Mark Burton <markb@ordern.com>.
1221
4be8dba8
AJ
12222001-05-17 Jakub Jelinek <jakub@redhat.com>
1223
1224 * elf/ldconfig.c (add_dir): Only warn about stat failure if
1225 opt_verbose.
1226 (search_dir): Likewise.
1227
fb221698
UD
12282001-05-17 Ulrich Drepper <drepper@redhat.com>
1229
1230 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1231 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
1232
304d7abf
UD
12332001-05-14 Bruno Haible <haible@clisp.cons.org>
1234
1235 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1236 without previous announcement, reject it regularly, don't abort.
1237
12382001-05-16 Ulrich Drepper <drepper@redhat.com>
1239
1240 * math/tgmath.h: Fix handling of int parameters to binary and
1241 ternary functions. Reported by mitr@volny.cz.
1242
1243 * math/test-tgmath.c: Add tests for calls with integer parameters.
1244
d1abdd5c
UD
12452001-05-15 Jakub Jelinek <jakub@redhat.com>
1246
1247 * sunrpc/rpc_thread.c (rpc_default): Remove.
1248 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1249 rpc_default.
1250 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1251 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1252 * sunrpc/auth_none.c (authnone_private): Fix a typo.
1253
f010f4a3
AJ
12542001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
1255
1256 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1257
19e4c7dd
AJ
12582001-05-16 Bruce Mitchener <bruce@cubik.org>
1259
304d7abf 1260 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
19e4c7dd 1261
33996419
AJ
12622001-05-15 Andreas Jaeger <aj@suse.de>
1263
1264 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1265 Stephen L Moshier <moshier@mediaone.net>.
1266
1267 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1268
1269 * math/libm-test.inc: Add comment with ToDo.
1270
1271 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1272 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
1273
1274 * sysdeps/i386/fpu/e_expl.S: Removed.
1275
083973f3
RM
12762001-05-14 Roland McGrath <roland@frob.com>
1277
1278 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1279 static pattern rule also that also covers
1280 $(objpx)g$(static-start-installed-name).
1281 [$(start-installed-name) != $(static-start-installed-name)]
1282 (extra-objs, omit-deps, install-lib): Add
1283 $(static-start-installed-name) and g$(static-start-installed-name).
1284 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1285 just setting static-start-installed-name is now sufficient.
1286 (extra-objs): Add static-start.o here.
1287 (CFLAGS-initfini.s): Remove obsolete variable.
1288 * sysdeps/mach/hurd/i386/Makeconfig: New file.
1289 Define static-start-installed-name here.
1290
1291 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1292 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1293
1294 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1295 associated hair. Instead, just use $(wildcard ...) in the include.
1296
1297 * configure.in (critic_missing, aux_missing): Collect in these vars
1298 the names of the missing programs, and include them in the error msgs.
1299 * configure: Regenerated.
1300
3eab00bd
AJ
13012001-05-14 Andreas Jaeger <aj@suse.de>
1302
1303 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1304
1305 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1306
13072001-05-14 Stephen L Moshier <moshier@mediaone.net>
1308
1309 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1310
13112001-05-11 Jakub Jelinek <jakub@redhat.com>
1312
1313 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1314 as well if swapping strings.
1315 Make sure stop is not past end of second string.
1316 * posix/bug-regex4.c: New test.
1317 * posix/Makefile (tests): Add bug-regex4.
1318
13192001-05-10 Andreas Jaeger <aj@suse.de>
1320
1321 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1322 requirement.
1323
e859d1d9
AJ
13242001-05-12 Andreas Jaeger <aj@suse.de>
1325
15b3c029
AJ
1326 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1327 internal prototypes.
1328 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1329 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1330 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1331 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1332 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1333 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74f7eecd 1334 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15b3c029
AJ
1335
1336 * math/math_private.h: Add prototypes for internal functions of
1337 the IBM Accurate Mathematical Library.
1338
1339 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1340 prototypes.
1341 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1342
e859d1d9
AJ
1343 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1344 internal prototypes.
1345 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1346 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1347 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1348 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1349 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1351 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1352 * sysdeps/generic/e_rem_pio2l.c: Likewise.
1353 (__ieee754_rem_pio2l): Fix prototype.
1354
1355 * math/math_private.h (__copysign): Add internal prototype.
1356
02eca23b
AJ
13572001-05-11 Andreas Jaeger <aj@suse.de>
1358
1359 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1360 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
1361
a26e67d3
AJ
13622001-05-11 Andreas Jaeger <aj@suse.de>
1363
1364 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
1365 MIPS.
1366
1367 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
1368 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
1369
2344bc54
RM
13702001-05-11 Roland McGrath <roland@frob.com>
1371
1372 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
1373 $(build-module) here, since we don't need the full magilla.
1374 Just use $(build-module-helper) and append our special options.
1375
7d2e3d55
AS
13762001-05-09 Andreas Schwab <schwab@suse.de>
1377
1378 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
1379 reached EOF.
1380
c5d6c25b
AJ
13812001-05-07 H.J. Lu <hjl@gnu.org>
1382
1383 * elf/ldconfig.c (dir_entry): Add ino and dev.
1384 (add_single_dir): Compare ino and dev to check if 2 directory
da1375be 1385 paths are the same or not. Free entry->path for duplicates.
c5d6c25b
AJ
1386 (add_dir): Initialize ino and dev for entry.
1387 (search_dir): Handle symlink to directory.
1388
98f8cdf0
AJ
13892001-05-07 Andreas Jaeger <aj@suse.de>
1390
4c95adde
AJ
1391 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
1392
1393 * math/libm-test.inc (exp_test): Add some more tests.
1394 (pow_test): Run double only test also for long double.
1395
1396 * math/test-ldouble.c (TEST_LDOUBLE): Define.
1397 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
1398
8ee20e93
AJ
1399 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
1400 enumeration.
1401 Closes PR libc/2240.
1402
98f8cdf0
AJ
1403 * scripts/config.guess: Imported from gnu.org.
1404 * scripts/config.sub: Likewise.
4ceae915 1405
07c416ed
AJ
14062001-05-05 Jakub Jelinek <jakub@redhat.com>
1407
1408 * include/features.h (__USE_EXTERN_INLINES): Don't define if
1409 __NO_INLINE__ is defined.
1410 * ctype/ctype.h (tolower, toupper): Change the guard condition to
1411 __USE_EXTERN_INLINES check only.
1412 * stdlib/stdlib.h (strtod, ...): Likewise.
1413 * wcsmbs/wchar.h (mbrlen): Likewise.
1414 * string/string.h: Only include bits/string.h and bits/string2.h
1415 if __NO_INLINE__ is not defined.
1416
3ebab9ee
AJ
14172001-05-07 Andreas Jaeger <aj@suse.de>
1418
1419 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
1420 of @LIBDIR@.
1421
14222001-05-04 H.J. Lu <hjl@gnu.org>
1423
1424 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
1425 not @LIBDIR@.
1426
b3b38042
AJ
14272001-05-06 Andreas Jaeger <aj@suse.de>
1428
8c2dab4f
AJ
1429 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
1430 * sysdeps/i386/fpu/e_fmodl.S: Removed.
1431 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
1432 * sysdeps/i386/fpu/e_atan2l.S: Removed.
b3b38042
AJ
1433 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
1434 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
1435 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
1436 * sysdeps/i386/fpu/e_acosl.S: Removed.
1437 * sysdeps/i386/fpu/s_atanl.S: Removed.
1438 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
1439
aa2e3ec3
MK
14402001-05-05 Mark Kettenis <kettenis@gnu.org>
1441
1442 * sysdeps/mach/hurd/bits/environments.h: Add comment from
1443 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
1444
2c179ef0
AJ
14452001-04-30 Jakub Jelinek <jakub@redhat.com>
1446
1447 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
1448 that _CS_LFS_CFLAGS can fall through to the empty returned string
1449 case. Add FALLTHROUGH comment.
1450
b7dd38e6
AJ
14512001-04-29 Ralf Baechle <ralf@gnu.org>
1452
1453 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
1454 definitions match the kernel definitions.
1455 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1456 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1457
ba77ce24
AJ
14582001-04-29 Ben Collins <bcollins@debian.org>
1459
1460 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
1461 warnings.
1462 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
1463 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1464 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1465 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
1466 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
1467 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1468 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1469 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1470 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1471 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1472 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1473 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1474 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
1475 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1476 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
1477 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1478 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1479 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1480 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1481 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
1482 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
1483 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
1484 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1485
8b6b1af4
AS
14862001-04-29 Andreas Schwab <schwab@suse.de>
1487
1488 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
1489 in last change.
1490
5385f864
AJ
14912001-04-29 Andreas Jaeger <aj@suse.de>
1492
1493 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1494 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
1495
1496 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
1497 Linux 2.4.4.
1498 (AF_WANPIPE): Likewise.
1499 (MSG_MORE): New.
1500
1501 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
1502 for Linux generic version.
1503 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
1504 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1505 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1506 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
1507
1508 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
1509
7c2034ad
UD
15102001-04-27 Ulrich Drepper <drepper@redhat.com>
1511
1512 * nis/nss-nis.h: Correct test for invalid error number.
1513 * nis/nss-nisplus.h: Likewise.
1514
29f1a897
UD
1515 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
1516
48a92e9d
UD
15172001-04-26 Ulrich Drepper <drepper@redhat.com>
1518
fa39bea4
UD
1519 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
1520
c51dc068
UD
1521 * string/strcoll.c: Fix two memory allocation problems.
1522 * string/Makefile (tests): Add bug-strcoll1.
1523 * string/bug-strcoll1.c: New file.
1524
1b20d937
UD
1525 * malloc/mcheck.c (mcheck): Call malloc once before setting the
1526 hooks to allow the internal check hooks to be set up if necessary.
1527
48a92e9d
UD
1528 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
1529 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
1530 __yperr2nss_count.
1531 * nis/nss-nis.c: New file.
9d4f43ae
UD
1532 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
1533 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
1534 __niserr2nss_count.
1535 * nis/nss-nisplus.c: New file.
48a92e9d
UD
1536 * nis/Makefile (libnss_compat-routines): Add nss-nis.
1537 (libnss_nis-routines): Likewise.
9d4f43ae
UD
1538 (libnss_nisplus-routines): Add nss-nisplus.
1539
9243173a
UD
1540 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
1541 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1542 * nis/nss_nisplus/nisplus-grp.c: Likewise.
1543 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1544 * nis/nss_nisplus/nisplus-network.c: Likewise.
1545 * nis/nss_nisplus/nisplus-proto.c: Likewise.
1546 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1547 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1548 * nis/nss_nisplus/nisplus-service.c: Likewise.
1549 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1550 * nis/nss_nis/nis-alias.c: Likewise.
1551 * nis/nss_nis/nis-ethers.c: Likewise.
1552 * nis/nss_nis/nis-grp.c: Likewise.
1553 * nis/nss_nis/nis-network.c: Likewise.
1554 * nis/nss_nis/nis-proto.c: Likewise.
1555 * nis/nss_nis/nis-pwd.c: Likewise.
1556 * nis/nss_nis/nis-spwd.c: Likewise.
1557 * nis/nss_compat/compat-grp.c: Likewise.
1558 * nis/nss_compat/compat-initgroups.c: Likewise.
1559 * nis/nss_compat/compat-pwd.c: Likewise.
1560 * nis/nss_compat/compat-spwd.c: Likewise.
48a92e9d
UD
1561
1562 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
1563 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
1564
e1fff0e7
AJ
15652001-04-26 Andreas Jaeger <aj@suse.de>
1566
1567 * po/zh_TW.po: Update.
1568 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
1569
c3fa6e3d
UD
15702001-04-25 Ulrich Drepper <drepper@redhat.com>
1571
1572 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
1573 compiler command line.
1574 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
1575 command line for malloc.c.
1576
e0ea3583
UD
15772001-04-25 Jakub Jelinek <jakub@redhat.com>
1578
1579 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
1580 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
1581 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
1582 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
1583 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
1584 struct msghdr for __WORDSIZE == 32.
1585 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
da1375be 1586 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
e0ea3583
UD
1587 for __WORDSIZE == 32.
1588 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
1589 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
1590 file.
1591 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
1592 Rename from longjmp, make longjmp weak alias to it.
1593
15942001-04-24 David S. Miller <davem@redhat.com>
1595
1596 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
1597
c5e38fac
UD
15982001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
1599
1600 * sysdeps/hppa/stackinfo.h: New file.
1601 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
1602 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
1603 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
1604 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
1605 of PA kernel features.
1606
dcf56f42
UD
16072001-04-25 Ulrich Drepper <drepper@redhat.com>
1608
1609 * locale/programs/localedef.c (main): Always set a file name for
1610 the initial locale.
1611 * locale/programs/locfile.c (locfile_read): filename is allowed to
1612 be NULL.
1613
69d8605e
UD
16142001-04-12 Paul Bame <paul_bame@hp.com>
1615
1616 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
1617 enable flags.
1618
216c24b7
UD
16192001-04-24 Ulrich Drepper <drepper@redhat.com>
1620
d95f7853
UD
1621 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
1622 _XBS5_LPBIG_OFFBIG): Define to -1.
1623 Fix typos.
fc2083cc 1624
280f4add
UD
1625 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
1626 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
1627 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1628 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
1629
216c24b7
UD
1630 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
1631 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
1632
1921e934
UD
16332001-03-21 Alan Modra <alan@one.net.au>
1634
1635 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
1636 value from application so that constructors in non-PIC libs work.
1637
16382000-12-13 Jes Sorensen <jes@linuxcare.com>
1639
1640 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
1641 function pointer, hence load the jump address and gp from the
1642 function pointer before jumping.
1643
dcea709a
AJ
16442001-04-24 Andreas Jaeger <aj@suse.de>
1645
1646 * sysdeps/generic/send.c (__send): Return ssize_t.
1647 * sysdeps/mach/hurd/send.c (__send): Likewise.
1648 * sysdeps/mach/hurd/recv.c (recv): Likewise.
1649 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
1650 * sysdeps/generic/sendto.c (sendto): Likewise.
1651 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
1652 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1653 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
1654 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
1655
1656 * socket/sys/socket.h: send* and recv* return ssize_t.
1657
1658 * include/sys/socket.h: send returns ssize_t.
1659
1660 * sysdeps/i386/fpu_control.h: Fix comments.
1661
9c83a5ec
UD
16622001-04-24 Ulrich Drepper <drepper@redhat.com>
1663
1664 * sysdeps/ia64/Dist: Add hp-timing.c.
1665 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
1666 * posix/Makefile (distribute): Add tst-getconf.sh.
1667 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
1668
bc183edc
UD
16692001-04-23 Ulrich Drepper <drepper@redhat.com>
1670
295125c5
UD
1671 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
1672 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
1673 * sysdeps/ia64/hp-timing.c: New file.
1674 * sysdeps/ia64/hp-timing.h: New file.
1675 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
1676 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1677
1678 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
1679 using #ifdef whether the clock is available.
1680 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
1681
1682 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
1683 it into data section.
1684
3b5c1b57
UD
1685 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
1686 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
1687 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
1688 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
1689 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
1690 * sysdeps/generic/cpuclock-init.h: Removed.
1691 * sysdeps/unix/i386/i686/Implies: Removed.
1692 * sysdeps/unix/i386/i686/tempname.c: Removed.
1693 * sysdeps/i386/i686/Versions: New file.
1694 * sysdeps/unix/i386/i586/Versions: Removed.
1695
1696 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
1697 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
1698 * sysdeps/unix/clock_gettime.c: Likewise.
1699 * sysdeps/unix/clock_nanosleep.c: Likewise.
1700 * sysdeps/unix/clock_settime.c: Likewise.
1701 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
1702 RANDOM_BITS use CPU clock.
1703
1704 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
1705 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
1706 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
1707 * sysdeps/sparc/Versions: New file.
1708
1709 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
1710 hp-timing.h definitions.
1711 * sysdeps/generic/dl-sysdep.c: Likewise.
1712
1713 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
1714 __get_clockfreq prototype.
1715
1716 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1717 Use hp_timing_t type.
44c51e9a 1718 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
3b5c1b57
UD
1719
1720 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
1721
bc183edc
UD
1722 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
1723 whether named file is a regular file or a block device.
1724 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1725
77e4dc62
AJ
17262001-04-23 Andreas Jaeger <aj@suse.de>
1727
1728 * nscd/nscd.h: Add noreturn attribute for start_threads.
1729
a3bbce5b
UD
17302001-04-22 Ulrich Drepper <drepper@redhat.com>
1731
1732 * posix/getconf.c: Fix names of XBS5 LFS test variables.
1733 Add missing configuration variables from XPG6.
1734 * posix/tst-getconf.c: New file.
1735 * posix/Makefile (generated): Add tst-getconf.out.
1736 (tests): Add ($objpfx)tst-getconf.out.
1737 Add rule to run tst-getconf.sh.
1738 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
1739 from XPG6.
1740 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
1741 _PC_SYMLINK_MAX.
1742 * sysdeps/posix/pathconf.c: Likewise.
1743 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
1744 and _SC_SYMLOOP_MAX.
1745
e17e51b4
UD
17462001-04-22 Philip Blundell <philb@gnu.org>
1747
1748 * sysdeps/arm/fpu/feenablxcpt.c: New file.
1749 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
1750 * sysdeps/arm/fpu/fegetexcpt.c: New file.
1751
e661fdf2
UD
17522001-04-22 Philip Blundell <philb@gnu.org>
1753
1754 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
1755 Renamed from struct user_fp.
1756 (struct user_regs): New.
1757 (struct user): Use struct user_regs rather than struct pt_regs to
1758 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
1759 of struct user_fp and struct user_fp_struct.
1760 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
1761 not sys/elf.h.
1762
17632001-04-22 Philip Blundell <philb@gnu.org>
1764
1765 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
1766 sys/procfs.h, and tell the user to include that file instead.
1767 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
1768 surrounded with #if 0.
1769 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
1770 from sys/elf.h.
1771 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
1772 elf_fpregset_t respectively.
1773
17742001-04-22 Philip Blundell <philb@gnu.org>
1775
1776 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
1777 address that faulted.
1778
d8cbcd7d
UD
17792001-04-21 Ulrich Drepper <drepper@redhat.com>
1780
d20f21a2
UD
1781 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
1782 values.
1783 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
1784 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
1785 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
1786 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
1787
d8cbcd7d 1788 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
d290c57b
UD
1789 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1790 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1791 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
d8cbcd7d 1792
46346835
UD
17932001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1794
1795 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
1796 offset.
1797
17982001-04-21 Ulrich Drepper <drepper@redhat.com>
1799
1800 * posix/getopt.h: Treat __cplusplus like __STDC__.
1801
18022001-04-20 John S. Marvin <jsm@fc.hp.com>
1803
1804 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
1805 entry point stub.
1806
18072001-04-20 Richard Hirst <rhirst@linuxcare.com>
1808
1809 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
1810 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
1811
1812 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
1813 entry so the ptrace.c wrapper is used.
1814
18152001-04-20 Alan Modra <amodra@one.net.au>
1816
1817 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
1818 (DL_FUNCTION_ADDRESS): Define.
1819 (DL_DT_INIT_ADDRESS): Define.
1820 (DL_DT_FINI_ADDRESS): Define.
1821 * sysdeps/hppa/Versions: Add _dl_function_address.
1822 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
1823 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
1824 _dl_function_address.
1825
e94dd733
AJ
18262001-04-21 Andreas Jaeger <aj@suse.de>
1827
36c96ccd
AJ
1828 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
1829 * resolv/gai_misc.c (handle_requests): Likewise.
1830 * malloc/obstack.c (print_and_abort): Likewise.
1831 * malloc/mcheck.c (mabort): Likewise.
1832
e94dd733
AJ
1833 * sysdeps/unix/i386/i586/clock_settime.c: Include
1834 "libc-internal.h" for __get_clockfreq declaration.
1835
5fc48cd7
UD
18362001-04-21 Ulrich Drepper <drepper@redhat.com>
1837
1838 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
1839 CPUCLOCK_INIT if defined.
1840 * sysdeps/generic/dl-sysdep.c: Likewise.
1841 * sysdeps/generic/cpuclock-init.h: New file.
1842 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
1843 * sysdeps/unix/i386/i586/Versions: New file.
1844 * sysdeps/unix/i386/i586/clock_settime.c: New file.
1845 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
1846 separately by calling __pthread_clock_gettime if this function is
1847 available. Subtract offset from tsc value before computing time value.
1848
b8750342
UD
18492001-04-20 Ulrich Drepper <drepper@redhat.com>
1850
b17c0a8e
UD
1851 * iconv/iconv_prog.c (print_known_names): If printing goes not to
1852 a tty print in a more machine-friendly way.
1853
b8750342
UD
1854 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
1855 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1856
b701d41a
AJ
18572001-04-20 Andreas Jaeger <aj@suse.de>
1858
b8750342 1859 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
b701d41a 1860
9434fe81
AS
18612001-04-20 Andreas Schwab <schwab@suse.de>
1862
1863 * sysdeps/m68k/fpu/libm-test-ulps: Update.
1864
49547c68
UD
18652001-04-19 Alan Modra <amodra@one.net.au>
1866
1867 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
1868 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
1869 (CFLAGS-.os): Remove.
1870
1871 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
1872
1873 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
1874 gregset): Correct for new kernel definitions.
1875
18762001-04-19 Alan Modra <alan@linuxcare.com.au>
1877
1878 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
1879 generate unwind info by hand.
1880
18812001-04-19 Ulrich Drepper <drepper@redhat.com>
1882
1883 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
1884
1885 * configure.in: Correct regular expression for msgfmt.
1886 Patch by Bruno Haible <haible@ilog.fr>.
1887
aa29e3a2
AJ
18882001-04-19 Andreas Jaeger <aj@suse.de>
1889
1890 * po/el.po: Add comment explaining what's broken.
1891
1892 * po/Makefile (BROKEN_LINGUAS): New.
1893 (ALL_LINGUAS): Don't add broken languages.
1894
426c5279
RM
18952001-04-19 Roland McGrath <roland@frob.com>
1896
d81b986b
RM
1897 * sysdeps/mach/hurd/mlock.c: New file.
1898 * sysdeps/mach/hurd/munlock.c: New file.
1899 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
1900
1901 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
1902 * sysdeps/generic/mlock.c: New file.
1903 * sysdeps/generic/munlock.c: New file.
1904 * sysdeps/generic/mlockall.c: New file.
1905 * sysdeps/generic/munlockall.c: New file.
1906 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
1907 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
1908 mlockall, munlockall): Change caller field to - from EXTRA.
1909 Don't use __ names; not used (and not declared in include/sys/mman.h).
1910
5017b2c8
RM
1911 * hurd/privports.c (__get_privileged_ports): Renamed with __.
1912 Use __ names for calls we make.
1913 (get_privileged_ports): Add alias.
1914 * hurd/hurd.h: Declare it with the __ name.
1915 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
1916 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1917 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1918
426c5279
RM
1919 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
1920 nothing if it's zero.
1921
6610a140
UD
19222001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
1923
1924 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
1925 Change to return a signed result for compatibility with other
1926 architectures, and correctness.
1927
72ae756a
UD
19282001-04-19 Ulrich Drepper <drepper@redhat.com>
1929
1930 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1931 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
1932
45b80afb
AJ
19332001-04-19 Andreas Jaeger <aj@suse.de>
1934
c26b4f64
AJ
1935 * configure.in: Require gettext 0.10.36 or newer.
1936
72ae756a 1937 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
c26b4f64 1938
45b80afb
AJ
1939 * po/zh_TW.po: Remove extraneous backslashes.
1940
1941 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
1942 variables b and n.
1943
9bab9806
UD
19442001-04-18 Jakub Jelinek <jakub@redhat.com>
1945
1946 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
1947 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
1948 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
1949 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
1950 Copy first word of uc_sigmask into __uc_sigmask.
1951 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
da1375be
UD
1952 Save uc_link around trap. Copy __uc_sigmask into first word of
1953 uc_sigmask, clear the rest. Make sure setcontext to the created
9bab9806
UD
1954 context doesn't do this though.
1955 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
1956 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
1957 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
1958 64bit version, make uc_sigmask __sigset_t in the 32bit version.
1959
03b9ce8b
AJ
19602001-04-19 Andreas Jaeger <aj@suse.de>
1961
1962 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
1963
9bab9806 1964 * rt/Makefile (otherlibs): Added for static NSS.
43536751 1965
9bab9806 1966 * glibcbug.in (BUGGLIBC): Send to new alias.
10930041 1967
2f53aec9
UD
19682001-04-02 Andreas Schwab <schwab@suse.de>
1969
1970 * Makerules (build-module): Make sure exit codes get checked
1971 properly and remove unnecessary slashes.
1972
ddad941e
UD
19732001-04-17 Ulrich Drepper <drepper@redhat.com>
1974
01608292
UD
1975 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1976 Handle kernels which report only three digits after the decimal point.
1977 Reported by Van Okamura <van.okamura@oracle.com>.
1978
ddad941e
UD
1979 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
1980
2edfd87c
UD
19812001-04-17 David S. Miller <davem@redhat.com>
1982
1983 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
1984 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1985
33e885db
UD
19862001-04-17 Jakub Jelinek <jakub@redhat.com>
1987
1988 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
1989 desired exceptions are raised for exceptional values.
1990 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
1991 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
1992 clog_test, log_test, log1p_test, tan_test): Increase precision of
1993 expected values to satisfy ldbl-128.
1994 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
1995 * sysdeps/arm/libm-test-ulps: Likewise.
1996 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1997 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1998 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
1999 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2000 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2001 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2002 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2003 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2004 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2005
de83fb78
AJ
20062001-04-17 Andreas Jaeger <aj@suse.de>
2007
2008 * configure.in: Move test for critical programs up.
2009
9b7ee67e
UD
20102001-04-16 Stephen L Moshier <moshier@mediaone.net>
2011
2012 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
da1375be
UD
2013 Correct the values.
2014 (pSx, qSx): Replace by shorter approximation.
9b7ee67e
UD
2015 Use f suffix on float constants.
2016
c991a86a
UD
20172001-04-16 Ulrich Drepper <drepper@redhat.com>
2018
9b7ee67e
UD
2019 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
2020 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2021
c991a86a
UD
2022 * string/string.h: Replace const in attribute list with __const__.
2023
3de33da9
RM
20242001-04-16 Roland McGrath <roland@frob.com>
2025
2026 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2027 instead of the constant NGROUPS_MAX. That way, the limit can be
2028 raised in the kernel configuration without having to recompile libc.
2029
2030 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2031 define NGROUPS_MAX; we don't use it here.
2032
27cffd27
AJ
20332001-04-16 Andreas Jaeger <aj@suse.de>
2034
8c4b05d0
AJ
2035 * math/libm-test.inc (atan2_test): Add more testcases.
2036
27cffd27
AJ
2037 * iconv/gconv_db.c: Include gconv_charset.h for
2038 __gconv_lookup_alias prototype.
2039
cd2209ee
UD
20402001-04-13 Ulrich Drepper <drepper@redhat.com>
2041
2042 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2043 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2044
355561ef
UD
20452001-04-13 Jes Sorensen <jes@linuxcare.com>
2046
2047 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2048
acc8ad63
UD
20492001-04-13 Jes Sorensen <jes@linuxcare.com>
2050
2051 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2052 explicitly pad struct siginfo instead of relying on compiler padding.
2053
c4103b34
UD
20542001-04-12 Ulrich Drepper <drepper@redhat.com>
2055
2056 * sysdeps/ia64/Dist: Add elf/entry.h.
2057
2058 * iconvdata/Makefile (distribute): Add TESTS2.
2059
a08877d0
UD
20602001-04-13 Jakub Jelinek <jakub@redhat.com>
2061
2062 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2063 Calculate load address differently.
2064
b721a2c0
UD
20652001-04-12 Bruno Haible <haible@clisp.cons.org>
2066
2067 * iconvdata/TESTS2: New file.
2068 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2069 * iconvdata/testdata/alfabeta..UTF-8: New file.
2070 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2071 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2072 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2073 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2074
20752001-04-11 Bruno Haible <haible@clisp.cons.org>
2076
2077 * iconvdata/utf-32.c: New file.
2078 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2079 * iconvdata/Makefile (modules): Add UTF-32.
2080 (distribute): Add utf-32.c.
2081
20822001-04-11 Bruno Haible <haible@clisp.cons.org>
2083
2084 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
da1375be 2085 changing it in the state. After incrementing 'inptr', store it back.
b721a2c0
UD
2086 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2087 store it back.
2088
20892001-04-11 Bruno Haible <haible@clisp.cons.org>
2090
2091 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2092 MIN_NEEDED_FROM.
2093
8ee35515
UD
20942001-04-11 David Mosberger <davidm@hpl.hp.com>
2095
2096 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2097 * sysdeps/ia64/htons.S: Likewise.
2098
2099 * sysdeps/ia64/memset.S: Add unwind directives.
2100 * sysdeps/ia64/strncpy.S: Likewise.
2101 * sysdeps/ia64/strcat.S: Likewise.
2102
2103 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
2104 restore of ar.pfs.
2105 * sysdeps/ia64/strchr.S: Likewise.
2106 * sysdeps/ia64/memmove.S: Likewise.
2107 * sysdeps/ia64/memcpy.S: Likewise.
2108 * sysdeps/ia64/memcmp.S: Likewise.
2109 * sysdeps/ia64/memchr.S: Likewise.
2110 * sysdeps/ia64/strcmp.S: Likewise.
2111 * sysdeps/ia64/strlen.S: Likewise.
2112 * sysdeps/ia64/strcpy.S: Likewise.
2113 * sysdeps/ia64/strncmp.S: Likewise.
2114
87d5c92d
UD
21152001-04-11 Jakub Jelinek <jakub@redhat.com>
2116
2117 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2118 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2119 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2120 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2121
6f509da6
AJ
21222001-04-11 Andreas Jaeger <aj@suse.de>
2123
2124 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2125
9af328b6
AS
21262001-04-11 Andreas Schwab <schwab@suse.de>
2127
2128 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2129
26e01c8a
UD
21302001-04-11 Ulrich Drepper <drepper@redhat.com>
2131
2132 * sysdeps/arm/stackinfo.h: New file.
2133
9860e47f 21342001-04-08 Thorsten Kukuk <kukuk@suse.de>
337c27f9
UD
2135
2136 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2137 rpcgen to generate thread safe code.
2138
59bcae17
AJ
21392001-04-10 Andreas Jaeger <aj@suse.de>
2140
2141 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2142
28966366
UD
21432001-04-10 Ulrich Drepper <drepper@redhat.com>
2144
2145 * elf/dl-minimal.c (__assert_fail): Change error string. It's
2146 most of the time no bug in ld.so.
2147 (__assert_perror_fail): Likewise.
2148
122dbcec
UD
21492001-04-11 Hans-Peter Nilsson <hp@axis.com>
2150
2151 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2152 from struct to unsigned int.
2153
390911be
UD
21542001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2155
2156 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2157 AT_IGNOREPPC): New defines.
2158 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2159 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2160 Define for newer powerpc kernels.
2161 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2162 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2163
07bccb46
UD
21642000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
2165
2166 * sysdeps/sh/stackinfo.h: New file.
2167
951d5dd8
UD
21682001-04-10 Ulrich Drepper <drepper@redhat.com>
2169
671ab00d
UD
2170 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2171 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2172 __ctype_tolower, and __ctype_toupper elements.
2173
7e3f2875
UD
2174 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2175 Reported by Konstantin Osipov <rabid@spylog.ru>.
2176
951d5dd8
UD
2177 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2178 the lousy AMD FPU.
2179
21802001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2181
2182 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2183 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2184 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2185 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2186
21872001-04-10 Ulrich Drepper <drepper@redhat.com>
2188
2189 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2190 message. Based on a patch by HJ Lu.
2191
a16956f3
UD
21922001-04-10 Andreas Schwab <schwab@suse.de>
2193
2194 * math/libm-test.inc (csinh_test): Don't require the invalid
2195 exception for csinh (x + iNaN), but make it optional.
2196
21972001-04-09 David Mosberger <davidm@hpl.hp.com>
2198
2199 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2200
2201 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2202 * sysdeps/ia64/elf/entry.h: New file.
2203 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2204 __start.
2205 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
2206 of &ENTRY_POINT.
2207 * sysdeps/generic/dl-sysdep.c: Likewise.
2208 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2209 * sysdeps/ia64/elf/start.S: Save base address of register backing
2210 store in __libc_ia64_register_backing_store_base.
2211
58f46c79
UD
22122001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
2213
2214 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2215 value of getcontext.
2216 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2217 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2218 value of setcontext.
2219 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2220 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2221 call by changing the saved context.
2222
bf9d1166
UD
22232001-04-10 Ulrich Drepper <drepper@redhat.com>
2224
2225 * sysdeps/alpha/stackinfo.h: New file.
2226 * sysdeps/ia64/stackinfo.h: New file.
2227
d2784f80
AS
22282001-04-10 Andreas Schwab <schwab@suse.de>
2229
2230 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2231 values.
2232 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2233
1dc843f7
UD
22342001-04-09 Ulrich Drepper <drepper@redhat.com>
2235
9deee4bb
UD
2236 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2237 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2238
1dc843f7
UD
2239 * libio/Makefile (distribute): Add fd_to_filename.h.
2240
c44a663d
UD
22412001-04-05 David S. Miller <davem@redhat.com>
2242
2243 Add hp-timing support for sparcv9/sparc64 targets.
2244 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2245 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2246 * sysdeps/sparc/sparc64/hp-timing.c: New file
2247 * sysdeps/sparc/sparc64/hp-timing.h: New file
2248 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2249 * sysdeps/sparc/sparc64/Makefile: Likewise.
2250
22512001-04-09 Jakub Jelinek <jakub@redhat.com>
2252
2253 * sysdeps/generic/fd_to_filename.h: New file.
2254 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2255 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2256 filename from the open file descriptor.
2257 * libio/freopen64.c (freopen64): Likewise.
2258
22592001-04-09 Bruno Haible <haible@clisp.cons.org>
2260
2261 * misc/error.c (error): fflush stdout also if
2262 error_print_progname != NULL.
2263 (error_at_line): Likewise.
2264
9deee4bb 22652001-04-07 Bruno Haible <haible@clisp.cons.org>
c44a663d
UD
2266
2267 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2268 (struct binding): Add codeset_cntr field.
2269 (_nl_load_domain): Add domainbinding argument.
2270 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2271 (_nl_find_msg): New declaration, moved here from loadinfo.h.
2272 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2273 (_nl_make_l10nflist): Remove domainbinding argument.
2274 (_nl_find_msg): Move declaration to gettextP.h.
2275 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2276 to 0. Increment it when ->codeset is changed.
2277 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2278 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
2279 if domainbinding->codeset_cntr has been incremented.
2280 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2281 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
2282 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2283 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2284 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
2285 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2286 (_nl_load_domain): Add domainbinding argument. Call
2287 _nl_init_domain_conv.
2288 (_nl_unload_domain): Call _nl_free_domain_conv.
2289 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2290 (test-srcs): Add tst-codeset.
2291 (tests): Depend on tst-codeset.out.
2292 (tst-codeset.out): New rule.
2293 (CFLAGS-tst-codeset.c): New variable.
2294 * intl/tst-codeset.sh: New file.
2295 * intl/tstcodeset.po: New file.
2296 * intl/tst-codeset.c: New file.
2297 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2298 calls.
2299
7119ea6d
RM
23002001-04-07 Roland McGrath <roland@frob.com>
2301
2302 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2303
23042001-03-31 Roland McGrath <roland@frob.com>
2305
2306 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2307 copying send rights into child. When we hit our name for our proc
2308 port, just copy NEWPROC directly instead of repeating proc_task2proc
2309 to install the child's port.
2310
23112001-04-08 Roland McGrath <roland@frob.com>
2312
2313 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2314 in second column, to provide default values for third column.
2315 * shlib-versions: Add comments about using DEFAULT in second column.
2316 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2317 (cris-.*-linux.*): Likewise.
2318
4c78249d
UD
23192001-04-09 Ulrich Drepper <drepper@redhat.com>
2320
2321 * Makefile (distribute): Add scripts/documented.sh.
2322 * scripts/documented.sh: New file.
2323
eacde9d0
UD
23242001-04-08 Hans-Peter Nilsson <hp@axis.com>
2325
2326 * sysdeps/unix/sysv/linux/cris/Dist: New file.
2327 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2328 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2329 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2330 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2331 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2332 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2333 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2334 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2335 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2336 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2337 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2338 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2339 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2340 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2341 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2342 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2343 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2344 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2345 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2346 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2347 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2348 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2349 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2350 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2351 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2352 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2353 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2354 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2355 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2356 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2357 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2358 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2359 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2360 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2361 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2362 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
2363 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
2364 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
2365 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
2366 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
2367 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
2368 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
2369 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
2370 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
2371 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
2372 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
2373 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
2374 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
2375 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
2376
23772001-04-08 Hans-Peter Nilsson <hp@axis.com>
2378
2379 * sysdeps/cris/Dist: New file.
2380 * sysdeps/cris/Implies: New file.
2381 * sysdeps/cris/Makefile: New file.
2382 * sysdeps/cris/__longjmp.S: New file.
2383 * sysdeps/cris/_mcount.S: New file.
2384 * sysdeps/cris/bits/endian.h: New file.
2385 * sysdeps/cris/bits/setjmp.h: New file.
2386 * sysdeps/cris/bits/string.h: New file.
2387 * sysdeps/cris/dl-machine.h: New file.
2388 * sysdeps/cris/elf/start.S: New file.
2389 * sysdeps/cris/machine-gmon.h: New file.
2390 * sysdeps/cris/memcopy.h: New file.
2391 * sysdeps/cris/memusage.h: New file.
2392 * sysdeps/cris/setjmp.S: New file.
2393 * sysdeps/cris/sysdep.h: New file.
2394 * sysdeps/cris/wordcopy.c: New file.
2395
23962001-04-08 Hans-Peter Nilsson <hp@axis.com>
2397
2398 * elf/elf.h: Add new relocations for CRIS.
2399
24002001-04-08 Hans-Peter Nilsson <hp@axis.com>
2401
2402 * shlib-versions: Add cases for Linux on CRIS.
2403
24042001-04-08 Hans-Peter Nilsson <hp@axis.com>
2405
2406 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
2407 ';' for comments and '@' for line separator.
2408
24092001-04-08 Hans-Peter Nilsson <hp@axis.com>
2410
2411 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
2412 typo; s/==/=/ for assignment.
2413
24142001-04-08 Hans-Peter Nilsson <hp@axis.com>
2415
2416 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
2417
24182001-04-08 Hans-Peter Nilsson <hp@axis.com>
2419
2420 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
2421 empty input before checking full output.
2422
24232001-04-08 Hans-Peter Nilsson <hp@axis.com>
2424
2425 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
2426 checking if == -1L.
2427
24282001-04-08 Ulrich Drepper <drepper@redhat.com>
2429
2430 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
2431
4c450556
UD
24322001-04-07 Stephen L Moshier <moshier@mediaone.net>
2433
2434 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
2435 return values.
2436
4ee87ecc
UD
24372001-04-07 Ulrich Drepper <drepper@redhat.com>
2438
232fdf8c
UD
2439 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
2440
4ee87ecc
UD
2441 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
2442 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
2443 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
2444 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
2445 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
2446 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
2447
6e6917b0
AJ
24482001-04-07 Andreas Jaeger <aj@suse.de>
2449
2450 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
2451 instead of separate sin and cos.
2452 (__ieee754_j1l): Likewise.
2453
bb769ab6
UD
24542001-04-06 Ulrich Drepper <drepper@redhat.com>
2455
f5eefa62
UD
2456 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
2457
663a2488
UD
2458 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
2459
5360538b
UD
2460 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
2461
bb769ab6
UD
2462 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
2463 available.
2464 * sysdeps/generic/e_scalbf.c: Likewise.
2465 * sysdeps/generic/e_scalbl.c: Likewise.
2466 Patch by Mark Hatle <fray@mvista.com>.
2467
24682001-04-05 David S. Miller <davem@redhat.com>
2469
2470 * sysdeps/sparc/abort-instr.h: New file.
2471
24722001-04-05 Matt Wilson <msw@redhat.com>
2473
2474 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
2475 added code to parse new 2.4 format.
2476 (GET_NPROCS_CONF_PARSER): Likewise.
2477
24782001-04-05 David S. Miller <davem@redhat.com>
2479
2480 * scripts/config.sub: Recognize sparcv9b like sparcv9.
2481 * configure.in: Add sparcv9b.
2482 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
2483 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
2484 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
2485
1a51bde7
UD
24862001-04-06 David Mosberger <davidm@hpl.hp.com>
2487
2488 * stdlib/tst-setcontext.c: Move st2[] to global scope.
2489 (f2): Verify that stack pointer is inside st2[].
2490
2491 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
2492 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
2493
e7f21fa6
UD
24942001-04-06 Ulrich Drepper <drepper@redhat.com>
2495
99ee5970
UD
2496 * timezone/antarctica: Update from tzdata2001b.
2497 * timezone/asia: Likewise.
2498 * timezone/australasia: Likewise.
2499 * timezone/europe: Likewise.
2500 * timezone/northamerica: Likewise.
2501
e7f21fa6
UD
2502 * iconv/iconv_open.c: Move strip and upstr definitions...
2503 * iconv/gconv_charset.h: ...here. New file.
2504 * iconv/gconv_db.c (once): Move to file level.
2505 (do_lookup_alias): Split out from __gconv_find_transform.
2506 (__gconv_find_transform): Call do_lookup_alias.
2507 (__gconv_loopup_alias): New function.
2508 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
2509 but LC_CTYPE.
2510 * locale/categories.def: Add entries for new _NL_*_CODESET values.
2511 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
2512 * locale/C-address.c: Initialize _NL_*_CODESET element.
2513 * locale/C-collate.c: Likewise.
2514 * locale/C-identification.c: Likewise.
2515 * locale/C-measurement.c: Likewise.
2516 * locale/C-messages.c: Likewise.
2517 * locale/C-monetary.c: Likewise.
2518 * locale/C-name.c: Likewise.
2519 * locale/C-numeric.c: Likewise.
2520 * locale/C-paper.c: Likewise.
2521 * locale/C-telephone.c: Likewise.
2522 * locale/C-time.c: Likewise.
2523 * locale/localeinfo.h: Declare _nl_C_codeset.
2524 * locale/C_name.c: Define _nl_C_codeset.
2525 * locale/findlocale.c: Before accepting locale check that the used
2526 charset does not conflict with what the locale name said.
2527 * locale/programs/ld-address.c: Emit codeset information.
2528 * locale/programs/ld-collate.c: Likewise.
2529 * locale/programs/ld-identification.c: Likewise.
2530 * locale/programs/ld-measurement.c: Likewise.
2531 * locale/programs/ld-messages.c: Likewise.
2532 * locale/programs/ld-monetary.c: Likewise.
2533 * locale/programs/ld-name.c: Likewise.
2534 * locale/programs/ld-numeric.c: Likewise.
2535 * locale/programs/ld-paper.c: Likewise.
2536 * locale/programs/ld-telephone.c: Likewise.
2537 * locale/programs/ld-time.c: Likewise.
2538
2539 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
2540 if the locale data couldn't be found.
2541
2542 * string/Makefile: Define tst-strxfrm-ENV.
2543
2544 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
2545
f4964b5c
AJ
25462001-04-06 Andreas Jaeger <aj@suse.de>
2547
2548 * include/sys/profil.h: New file.
2549
2550 * dlfcn/modatexit.c: Add prototypes to silence GCC.
2551 * dlfcn/modcxaatexit.c: Likewise.
2552 * elf/globalmod1.c: Likewise.
2553
5e014387
UD
25542001-04-05 David S. Miller <davem@redhat.com>
2555
2556 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
2557 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
2558 capability flags table and HWCAP_IMPORTANT, increase
2559 _DL_HWCAP_COUNT to 6.
2560 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2561
8912b9aa
UD
25622001-04-04 David Mosberger <davidm@hpl.hp.com>
2563
2564 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
2565 initialization of stack_end (bug reported by Zheng Gengbin
2566 <gzheng@students.uiuc.edu>).
2567
96dd1a81
UD
25682001-04-05 Ulrich Drepper <drepper@redhat.com>
2569
2570 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
2571
e2027cc3
UD
25722001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2573
2574 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
2575
f128331c
UD
25762001-04-05 Ulrich Drepper <drepper@redhat.com>
2577
626fb886
UD
2578 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
2579 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
2580
f128331c
UD
2581 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
2582
817a51e2
UD
25832001-04-04 Ulrich Drepper <drepper@redhat.com>
2584
b53df4c9
UD
2585 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
2586 define simple replacements here. Patch by Michael Keezer.
2587
2588 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
2589 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
2590 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2591
817a51e2
UD
2592 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
2593 anymore.
2594
f18ec00f
AJ
25952001-04-01 Andreas Jaeger <aj@suse.de>
2596
2597 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
2598 alias.
2599
2600 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
2601
816fc1ed
UD
26022001-04-04 Ulrich Drepper <drepper@redhat.com>
2603
2604 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
2605 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
2606
26072001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
2608
2609 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
2610 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
2611 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
2612 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
2613 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
2614 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
2615 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
2616 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
2617 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
2618
d92643e2
AJ
26192001-04-04 Andreas Jaeger <aj@suse.de>
2620
2621 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
2622 place.
2623
ed40d9c0
UD
26242001-04-04 Ulrich Drepper <drepper@redhat.com>
2625
816fc1ed
UD
2626 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
2627 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
2628 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
2629 (unsigned_dec): Likewise.
2630 Patch by atai@jezebel.dreamhost.com.
2631
ed40d9c0
UD
2632 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
2633 pointer to int as last parameter of yp_match.
2634 Patch by kanazawa@flab.fujitsu.co.jp.
2635
754f6576
UD
26362001-04-03 Ulrich Drepper <drepper@redhat.com>
2637
2638 * resolv/netdb.h (gai_strerror): Make return value const.
2639 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
2640 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
2641 Add strings for new error values.
2642
46894673
UD
26432001-03-29 Michael Keezer <mkeezer@redhat.com>
2644
2645 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
2646 * login/tst-utmp.c: Handle case where ut_tv is not available but
2647 ut_time is.
2648 * sysdeps/unix/sysv/aix/utmpx.h: New file.
2649 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
2650 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
2651 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
2652 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
2653 to access RTCU timer reg.
2654 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
2655 added dl-libc, dl-open,dl-sym, dl-close to misc.
2656 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
2657 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
2658 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
2659 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
2660 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
2661 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
2662 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
2663 GLIBC_2_2).
2664 * sysdeps/generic/strtoull.c: Likewise.
2665 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
2666 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
2667 sysdeps/generic/memset.c.
2668 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
2669
c891b2df
UD
26702001-04-03 Ulrich Drepper <drepper@redhat.com>
2671
194c5f8d
UD
2672 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
2673 * locale/programs/charmap.c: Define null_pointer if
2674 NEED_NULL_POINTER is defined.
2675
c891b2df
UD
2676 * misc/dirname.c (dirname): Handle multiple slashes correctly.
2677
26782001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2679
2680 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
2681
26822001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
2683
2684 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
2685 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2686 * sysdeps/s390/s390-32/mempcy.S: Likewise.
2687 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2688
26892001-04-02 Bruno Haible <haible@clisp.cons.org>
2690
2691 * manual/message.texi (Advanced gettext functions): More specific
2692 syntax in the plural formula examples.
2693
26942001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2695
2696 * sysdeps/powerpc/atomicity.h: Silence warnings.
2697 * sysdeps/powerpc/dl-machine.h: Likewise.
2698 * sysdeps/powerpc/register-dump.h: Likewise.
2699 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
2700
27012001-04-02 Andreas Jaeger <aj@suse.de>
2702
2703 * misc/tst-dirname.c (main): Add more tests, derived from a bug
2704 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2705
27062001-04-01 Andreas Jaeger <aj@suse.de>
2707
2708 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
2709 is installed there.
2710 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
2711
27122001-04-01 H.J. Lu <hjl@gnu.org>
2713
2714 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
2715 tmpnam (NULL).
2716 * stdlib/isomac.c (macrofile): Likewise.
2717
27182001-03-30 Thorsten Kukuk <kukuk@suse.de>
2719
2720 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
2721 * nis/ypclnt.c (yp_all): Print error message only at last try,
2722 check for protocoll error only if we don't have a network error.
2723
60620ef6
AS
27242001-04-02 Andreas Schwab <schwab@suse.de>
2725
2726 * resolv/res_data.c (res_isourserver): Fix cast.
2727
9bd77523
AJ
27282001-04-02 Andreas Jaeger <aj@suse.de>
2729
d92643e2
AJ
2730 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
2731 __umount2.
2732
2a56ca2a
AJ
2733 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
2734 strings.
2735 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2736
f457369d
AJ
2737 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
2738 initializers.
2739 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
2740
2741 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
2742 warning about unused variable.
2743
9bd77523
AJ
2744 * string/string.h (strndupa): Add cast for C++ conformance.
2745 (strdupa): Likewise.
0da1a9fd 2746 Fixes PR libc/2173, reported by tbrowder@home.com.
9bd77523 2747
8a0746ae
RM
27482001-03-30 Roland McGrath <roland@frob.com>
2749
2750 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
2751 options after $(build-module), which is no longer a single command.
2752 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
2753 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
2754 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
2755
27562001-03-11 Roland McGrath <roland@frob.com>
2757
2758 * elf/rtld.c (dl_main): Add cast to quiet warning.
2759 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2760 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
2761 (__gconv_read_conf): Likewise.
2762 * iconv/gconv_db.c (gen_steps): Likewise.
2763 (__gconv_find_transform): Likewise.
2764 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
2765 (fopen_uncompressed): Use const in second argument's type.
2766
27672001-03-11 Roland McGrath <roland@frob.com>
2768
2769 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
2770
2771 * mach/mach_error.h: Fix ancient #endif syntax.
2772 * hurd/hurdmalloc.c: Likewise.
2773
2774 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
2775 compare_and_swap): Add volatile qualifier to first arg, to bring
2776 these prototypes in line with all the other implementations.
2777 Add a #warning to remind the builder that these are not atomic.
2778
27792001-03-04 Roland McGrath <roland@frob.com>
2780
2781 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
2782 member of TEMP_F so its type is _IO_FILE * as expected.
2783
2784 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
2785 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
2786 it might exceed off_t's range.
2787
27882001-02-25 Roland McGrath <roland@frob.com>
2789
2790 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
2791 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
2792
2793 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
2794 macro instead of an inline function,
2795 (MSG_EXAMINE): Likewise.
2796
2797 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
2798
2799 * hurd/get-host.c: Include <string.h> for decls of built-ins.
2800 * hurd/hurdchdir.c: Likewise.
2801 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
2802 * sysdeps/mach/hurd/opendir.c: Likewise.
2803
2804 * mach/mach_init.c: Include <unistd.h> for _exit decl.
2805
2806 * mach/errsystems.awk: Give output file a trailing newline.
2807
2808 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
2809 the script will use our compiler for the cpp stage.
2810
2811 With --enable-all-warnings we get a whole bunch of warnings,
2812 and these are just a few fixes; there are more needed to silence it.
2813 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
2814 decls before extern inline defns to quiet gcc warning.
2815 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
2816 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
2817
89aa3626
AJ
28182001-03-31 Andreas Jaeger <aj@suse.de>
2819
2820 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
2821 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
2822 (ARPHRD_CISCO): New.
2823 Changes from Linux 2.4.3.
2824
5590a2a1
UD
28252001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
2826
5fe915ee 2827 * posix/regex.c: Avoid an access violation if malloc fails.
5590a2a1 2828
45f1a309
AJ
28292001-03-30 Andreas Jaeger <aj@suse.de>
2830
2831 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
2832
28d2fb9a
UD
28332001-03-29 Ulrich Drepper <drepper@redhat.com>
2834
8bca0bd4
UD
2835 * posix/regex.c: Remove unnecessary ifs.
2836
28d2fb9a
UD
2837 * math/bits/mathcalls.h: Remove infnan declaration.
2838
28392001-03-29 H.J. Lu <hjl@gnu.org>
2840
2841 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
2842 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
2843 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
5fe915ee 2844
28d2fb9a
UD
28452001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
2846
2847 * posix/regex.c: Fix typo and add a sentinel.
2848
28492001-03-29 Ulrich Drepper <drepper@redhat.com>
2850
2851 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
2852 O_NOFOLLOW. Suggested by Christoph Roland.
2853
0a51f0ac
UD
28542001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2855
2856 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
2857 * sysdeps/s390/s390-32/bits/string.h: Remove.
2858 * sysdeps/s390/s390-64/bits/string.h: Remove.
2859 * sysdeps/s390/s390-32/strcmp.S: New file.
2860 * sysdeps/s390/s390-64/strcmp.S: New file.
2861
397fa451
UD
28622001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2863
2864 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
2865 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2866
325a39c5
UD
28672001-03-27 Ulrich Drepper <drepper@redhat.com>
2868
9dedc969
UD
2869 * version.h (VERSION): Bump to 2.2.3.
2870
4668903c
UD
2871 * stdlib/isomac.c (fmt): Don't define _LIBC.
2872 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
2873 LOW_HALF only if _LIBC is defined.
2874
2875 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
2876
228293b5
UD
2877 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
2878 and +().
2879 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
2880
325a39c5
UD
2881 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
2882 * include/endian.h: ...to here.
2883
6e3794ed
UD
28842001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
2885
2886 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
2887 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
2888
dc3e77b1
AJ
28892001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2890
2891 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
2892
a341068d
UD
28932001-03-26 Ulrich Drepper <drepper@redhat.com>
2894
2895 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
2896 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
2897 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
2898
2899 * gmon/Makefile (headers): Add sys/profil.h.
2900
dd68573b
AJ
29012001-03-18 Andreas Jaeger <aj@suse.de>
2902
2903 * manual/install.texi (Tools for Compilation): Advise to use GCC
2904 2.95.3.
2905 (Supported Configurations): Mention s390x.
2906
93a4b7ca
UD
29072001-03-26 Ben Collins <bcollins@debian.org>
2908
2909 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
2910 defines to match other architectures.
2911
0a04075e
UD
29122001-03-26 Ulrich Drepper <drepper@redhat.com>
2913
2914 * libio/Makefile (tests): Add tst-ext.
2915 * libio/tst-ext.c: New file.
2916
2917 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
2918
5e311497
UD
29192001-03-25 Ulrich Drepper <drepper@redhat.com>
2920
543cf8a9
UD
2921 Add changes which were in this form in the original patch by
2922 Eric Norum <eric.norum@usask.ca>.
2923 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
2924 svc_max_pollfd.
2925 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
2926 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2927 __rpc_thread_svc_max_pollfd.
2928 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
2929 svc_max_pollfd.
2930 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
2931 global variables.
2932 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
2933 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
2934 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
2935 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2936 __rpc_thread_svc_max_pollfd.
2937 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
2938 get_rpc_createerr.
2939 * sunrpc/clnt_perr.c: Likewise.
2940 * sunrpc/clnt_simp.c: Likewise.
2941 * sunrpc/clnt_tcp.c: Likewise.
2942 * sunrpc/clnt_udp.c: Likewise.
2943 * sunrpc/clnt_unix.c: Likewise.
2944 * sunrpc/pm_getport.c: Likewise.
2945
5e311497
UD
2946 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
2947 syscall checks for negative n so don't test here as well.
2948
0a45b76c
UD
29492001-03-23 Jes Sorensen <jes@linuxcare.com>
2950
2951 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
2952 * sysdeps/ia64/sysdep.h: ...here.
2953
2954 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
2955 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
2956
2957 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
2958 declare instead of LEAF(). Suggestion from David Mosberger.
2959
29602001-03-21 David Mosberger <davidm@hpl.hp.com>
2961
2962 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
2963 directives.
2964 (PSEUDO): Drop .psr and .lsb directives.
2965
2966 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
2967 directives.
2968 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
2969
2970 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
2971 directives etc.
2972 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
2973 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
2974 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
2975 longer needed). Add unwind directives.
2976
2977 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
2978 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
2979
29802001-03-21 Paul Eggert <eggert@twinsun.com>
2981
2982 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
2983 (RE_SYNTAX_POSIX_EGREP): Use it.
2984 * posix/regex.c (regex_compile): Implement it.
2985
29862001-03-21 Paul Eggert <eggert@twinsun.com>
2987
2988 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
2989 Rewrite to avoid duplicate code.
2990
29912001-03-21 H.J. Lu <hjl@gnu.org>
2992
2993 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
2994 for cross-compiling.
2995 ($(objpfx)tst-pathopt.out): Undo the last change.
2996
8443afdc
MK
29972001-03-24 Mark Kettenis <kettenis@gnu.org>
2998
0cdd0c51
MK
2999 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
3000 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
3001
8443afdc
MK
3002 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
3003 (_dl_argv): Declare.
3004 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
3005
cb207240
AJ
30062001-03-22 Andreas Jaeger <aj@suse.de>
3007
3008 * iconvdata/Makefile (generated): Add iconv-test.xxx.
3009
3010 * posix/Makefile (generated): Add bug-regex2.mtrace and
3011 bug-regex2-mem.
3012
844b79a6
UD
30132001-03-21 Ulrich Drepper <drepper@redhat.com>
3014
3015 * csu/version.c (__gnu_get_libc_release): Add prototype.
3016 (__gnu_get_libc_version): Likewise.
3017 * include/gnu/libc-version.h: Remove prototypes for not exported
3018 functions.
3019
313e5fb3
UD
30202001-03-21 Jes Sorensen <jes@linuxcare.com>
3021
3022 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3023 for internationalized printfs to work.
3024
e686e1a1
UD
30252001-03-09 Bruno Haible <haible@clisp.cons.org>
3026
3027 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3028 avoid compiler warning.
3029 (_nl_find_msg): Add casts to avoid compiler warnings.
3030
4c48b267
UD
30312001-03-21 Ulrich Drepper <drepper@redhat.com>
3032
3033 * gmon/Makefile (routines): Add sprofil.
3034 (tests): Add tst-sprofil.
3035 (noprof): Add sprofil.
3036 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3037
30382001-03-20 David Mosberger <davidm@hpl.hp.com>
3039
3040 * sysdeps/generic/sprofil.c: New file.
3041 * sysdeps/posix/sprofil.c: New file.
3042 * gmon/tst-sprofil.c: New file.
3043 * gmon/sys/profil.h: New file.
3044
cf4431ed
UD
30452001-03-20 Andreas Schwab <schwab@suse.de>
3046
3047 * include/unistd.h: Adjust prototype of __gethostname.
3048
df4cada7
UD
30492001-03-20 Jakub Jelinek <jakub@redhat.com>
3050
3051 * sysdeps/sparc/stackinfo.h: New file.
3052
9113b2a2
AJ
30532001-03-21 Andreas Jaeger <aj@suse.de>
3054
3055 * elf/global.c (main): Use proper prototype.
3056
c200ecdf
UD
30572001-03-20 Ulrich Drepper <drepper@redhat.com>
3058
f1e4a4a4
UD
3059 * sunrpc/Makefile (routines): Add rpc_thread.
3060 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3061 * sunrpc/rpc_thread.c: New file.
3062 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3063 * sunrpc/auth_none.c: Don't use global variables. Access state in
3064 thread-local storage.
3065 * sunrpc/clnt_perr.c: Likewise.
3066 * sunrpc/clnt_raw.c: Likewise.
3067 * sunrpc/clnt_simp.c: Likewise.
3068 * sunrpc/key_call.c: Likewise.
3069 * sunrpc/rpc_common.c: Likewise.
3070 * sunrpc/svc.c: Likewise.
3071 * sunrpc/svc_raw.c: Likewise.
3072 * sunrpc/svc_simple.c: Likewise.
3073 * sunrpc/svcauth_des.c: Likewise.
3074 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3075 _HURD_THREADVAR_RPC_VARS.
3076 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3077 * include/rpc/rpc.h: Define data structures for internal thread-local
3078 "global" variables.
3079 Based on patches by Eric Norum <eric.norum@usask.ca>.
3080
55c91021
UD
3081 * elf/dl-load.c: Various little optimizations.
3082
c200ecdf
UD
3083 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3084 LINUX_LINK_MAX only if the statfs function is not implemented for
3085 the filesystem.
3086
3087 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3088 LINUX_LINK_MAX only if the fstatfs function is not implemented for
3089 the filesystem.
3090
2541eda0
UD
30912001-03-19 Ulrich Drepper <drepper@redhat.com>
3092
3093 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3094
3095 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3096 (_dl_dst_substitute): Likewise.
3097
4a4d50f3
UD
30982001-03-17 Bruno Haible <haible@clisp.cons.org>
3099
3100 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3101
31022001-03-17 Bruno Haible <haible@clisp.cons.org>
3103
3104 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
da1375be 3105 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
4a4d50f3
UD
3106 union by a 'nargs' counter and an 'args[]' array.
3107 * intl/plural.y: Don't include stdarg.h.
3108 (new_exp): Take an array of arguments instead of varargs.
3109 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3110 ('?' ':'): Make right-associative.
3111 (EQUOP2): New token, replaces '=' and '!'.
3112 (CMPOP2): New token.
3113 (ADDOP2): New token, replaces '+' and '-'.
3114 (MULOP2): New token, replaces '*', '/' and '%'.
3115 ('!'): New token.
da1375be 3116 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
4a4d50f3
UD
3117 (start): Call YYABORT here.
3118 (FREE_EXPRESSION): Update.
da1375be 3119 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
4a4d50f3
UD
3120 Update for new token symbols.
3121 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3122 init_germanic_plural): Update.
3123 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
da1375be 3124 (plural_eval): Recognize comparison and '!' operators. Optimize for
4a4d50f3
UD
3125 space.
3126
31272001-03-10 Bruno Haible <haible@clisp.cons.org>
3128
3129 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3130 NULL any more.
3131
31322001-01-05 Bruno Haible <haible@clisp.cons.org>
3133
3134 * intl/loadmsgcat.c: Include headers needed for alloca().
3135 (freea): New macro.
3136 (_nl_load_domain): Add fallback code for platforms lacking alloca.
3137 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3138 (freea): New macro.
3139 (read_alias_file): Simplify fallback code for platforms lacking
3140 alloca.
3141
31422001-01-07 Bruno Haible <haible@clisp.cons.org>
3143
3144 * intl/gettextP.h (__gettextdebug): Remove declaration.
3145 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3146 syntax.
3147 (gettext_free_exp__, gettextparse__): New non-libc declarations.
3148 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3149 not __gettextparse, __gettext_free_exp.
3150 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3151
31522001-02-24 Bruno Haible <haible@clisp.cons.org>
3153
3154 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3155
31562001-01-05 Bruno Haible <haible@clisp.cons.org>
3157
3158 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3159 lacking strtoul, like SunOS4.
3160
31612001-01-05 Bruno Haible <haible@clisp.cons.org>
3162
3163 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3164
31652001-01-05 Bruno Haible <haible@clisp.cons.org>
3166
3167 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3168 syntax.
3169 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3170 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3171 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3172 syntax.
3173
31742001-01-07 Bruno Haible <haible@clisp.cons.org>
3175
3176 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3177 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3178 old libgettext.h.
3179 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3180 * intl/dcgettext.c: Likewise.
3181 * intl/dcigettext.c: Likewise.
3182 * intl/dcngettext.c: Likewise.
3183 * intl/dngettext.c: Likewise.
3184 * intl/finddomain.c: Likewise.
3185 * intl/ngettext.c: Likewise.
3186 * intl/textdomain.c: Likewise.
3187 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3188 Include gettextP.h.
3189 * intl/gettext.c: Likewise. Don't include locale.h.
3190
31912001-03-17 Bruno Haible <haible@clisp.cons.org>
3192
3193 * intl/gettextP.h (ZERO): New macro.
3194 (struct binding): Always use ZERO.
3195 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3196 lack it, like SunOS4.
3197 (set_binding_values): Use offsetof, not sizeof.
3198 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3199 lack it, like SunOS4.
3200 (ZERO): Remove macro.
3201 (struct transmem_list): Use ZERO.
3202 (DCIGETTEXT): Use offsetof, not sizeof.
3203
32042001-03-17 Bruno Haible <haible@clisp.cons.org>
3205
da1375be 3206 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
4a4d50f3
UD
3207 nls_uint32.
3208 * intl/bindtextdom.c: Don't include gettext.h.
3209 * intl/dcgettext.c: Likewise.
3210 * intl/dcigettext.c: Likewise.
3211 * intl/dcngettext.c: Likewise.
3212 * intl/dngettext.c: Likewise.
3213 * intl/finddomain.c: Likewise.
3214 * intl/localealias.c: Likewise.
3215 * intl/ngettext.c: Likewise.
3216 * intl/plural.y: Likewise.
3217 * intl/textdomain.c: Likewise.
3218
32192001-03-17 Bruno Haible <haible@clisp.cons.org>
3220
3221 * intl/gettext.h: Don't include <stdio.h>.
3222
32232001-03-17 Bruno Haible <haible@clisp.cons.org>
3224
3225 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3226 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3227
f2615995
UD
32282001-03-19 Ulrich Drepper <drepper@redhat.com>
3229
3230 * sysdeps/unix/i386/i686/tempname.c: New file.
3231
3232 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3233 defined use this macro to get some bits of randomness instead of
3234 the usual gettimeofday or time calls.
3235
32362001-03-16 Paul Eggert <eggert@twinsun.com>
3237
3238 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3239 not defined, and if UINT64_MAX is not defined.
3240
96c0d65d
UD
32412001-03-19 Ulrich Drepper <drepper@redhat.com>
3242
3243 * elf/cache.c: Mark and have translated a few more messages.
3244
32452001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
3246
3247 * elf/cache.c: Add case for FLAG_S390_LIB64.
3248 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3249 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3250 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3251
3c504879
UD
32522001-03-19 Ulrich Drepper <drepper@redhat.com>
3253
3254 * string/Makefile (tests): Add tst-strxfrm.
3255 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
3256 * string/Depend: New file.
3257
32582001-03-19 Paul Eggert <eggert@twinsun.com>
3259
3260 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3261 when given the empty string in nontrivial locales.
3262
b28dcd8e
UD
32632001-03-17 H.J. Lu <hjl@gnu.org>
3264
3265 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3266 cp to install `dir'.
3267
b5d51280
UD
32682001-03-19 Andreas Schwab <schwab@suse.de>
3269
3270 * Makerules (build-shlib): Make sure exit codes get checked
3271 properly.
3272
639c3248
UD
32732001-03-18 Ulrich Drepper <drepper@redhat.com>
3274
3275 * Makerules (build-shlib): Remove unnecessary slashes introduced in
3276 last change.
3277
3278 * configure.in: Test for -Bgroup option of linker.
3279 * config.make.in: Define have-Bgroup.
3280
3281 * conform/data/unistd.h-data: Require gethostname.
3282 * posix/unistd.h: Make gethostname prototype available for
3283 __USE_XOPEN2K.
3284
3285 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3286 * debug/Makefile: Likewise.
3287 * dlfcn/Makefile: Likewise.
3288 * hesiod/Makefile: Likewise.
3289 * iconvdata/extra-module.mk: Likewise.
3290 * locale/Makefile: Likewise.
3291 * login/Makefile: Likewise.
3292 * math/Makefile: Likewise.
3293 * nis/Makefile: Likewise.
3294 * nss/Makefile: Likewise.
3295 * resolv/Makefile: Likewise.
3296 * rt/Makefile: Likewise.
3297
2bd7e9c3
UD
32982001-03-17 Ulrich Drepper <drepper@redhat.com>
3299
3300 * inet/Makefile (tests): Remove left-over comment.
3301
639c3248
UD
3302 * posix/unistd.h (gethostname): Change type of second parameter
3303 back to size_t as per upcoming XPG6.
2bd7e9c3
UD
3304 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3305 parameter back to size_t as per upcoming XPG6.
3306 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3307 * sysdeps/unix/sysv/gethostname.c: Likewise.
3308 * sysdeps/mach/hurd/gethostname.c: Likewise.
3309 * sysdeps/generic/gethostname.c: Likewise.
3310
7c91639e
UD
33112001-03-16 Ulrich Drepper <drepper@redhat.com>
3312
276ae1f2
UD
3313 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3314 Handle NaN here.
3315
7c91639e
UD
3316 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3317 Internationalize.
3318
e1f578d6
UD
33192001-02-06 Jakub Jelinek <jakub@redhat.com>
3320
3321 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3322 looking for name matches.
3323
a88775bd
UD
33242001-02-26 Jakub Jelinek <jakub@redhat.com>
3325
3326 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3327 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3328 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3329 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3330 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3331 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3332 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3333 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3334 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3335 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3336 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3337 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3338
a66f0958
UD
33392001-03-16 Ulrich Drepper <drepper@redhat.com>
3340
3341 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3342 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3343
3344 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3345 erfcl.
3346 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3347
aeba9785
UD
33482001-03-16 David Mosberger <davidm@hpl.hp.com>
3349
3350 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3351 Drop hack that was needed for 2.1.1 kernel headers.
3352
3353 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3354
3355 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3356 overlay with kernel's "struct sigcontext".
3357
3358 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3359 sys/rse.h for "misc" subdir.
3360 (sysdep_routines): Add __start_context for "stdlib" subdir.
3361
3362 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
3363 kernel file of the same name).
3364
3365 * stdlib/Makefile (tests): Add tst-setcontext.
3366 * stdlib/tst-setcontext.c: New file (based on a sample program by
3367 Uli Drepper).
3368
3369 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
3370 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
3371 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
3372 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
a66f0958 3373 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
aeba9785
UD
3374
3375 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
3376 instead of shift & and.
3377
b8a8413c
UD
33782001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
3379
3380 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
3381 * sysdeps/s390/bits/huge_val.h: ...here.
3382 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
3383 * sysdeps/s390/s390-64/ffs.c: Move to...
3384 * sysdeps/s390/ffs.c: ...here.
3385 * sysdeps/s390/s390-32/ffs.c: Remove.
3386
b15ff9d6
UD
33872001-03-16 Jakub Jelinek <jakub@redhat.com>
3388
3389 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
3390 update osversion from more recent library.
3391
ffeac417
UD
33922001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3393
3394 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
3395 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
3396 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
3397 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
3398 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
3399 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
3400 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
3401 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
3402 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
3403 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
3404 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
3405 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
3406 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
3407 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
3408 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
3409 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
3410 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
3411 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
3412 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
3413 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
3414 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
3415 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
3416 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
3417 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
3418 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
3419 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
3420 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
3421 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
3422 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
3423 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
3424 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
3425 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
3426 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
3427 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
3428 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
3429 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
3430 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
3431 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
3432 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
3433 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
3434 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
3435 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
3436 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
3437 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
3438 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
3439 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
3440 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
3441 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
3442 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
3443 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
3444 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
3445 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
3446 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
3447 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
3448 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
3449 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
3450 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
3451 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
3452 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
3453 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
3454 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
3455 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
3456 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
3457 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
3458 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
3459 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
3460 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
3461 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
3462 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
3463 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
3464 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
3465 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
3466 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
3467 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
3468 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
3469 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
3470 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
3471 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
3472 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
3473 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
3474 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
3475 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
3476 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
3477 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
3478 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
3479 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
3480 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
3481 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
3482 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
3483 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
3484 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
3485 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
3486 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
3487 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
3488 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
3489 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
3490 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
3491 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
3492 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
3493 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
3494 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
3495 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
3496 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
3497 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
3498 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
3499 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
3500 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
3501 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
3502 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
3503 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
3504 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
3505 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
3506 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
3507 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
3508
35092001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3510
3511 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
3512 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
3513 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
3514 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
3515 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
3516 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
3517 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
3518 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
3519 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
3520 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
3521 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
3522 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
3523 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
3524 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
3525 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
3526 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
3527 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
3528 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
3529 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
3530 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
3531 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
3532 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
3533 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
3534 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
3535 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
3536 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
3537 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
3538 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
3539 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
3540 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
3541 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
3542 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
3543 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
3544 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
3545 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
3546 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
3547 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
3548 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
3549 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
3550 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
3551 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
3552 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
3553 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
3554 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
3555 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
3556 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
3557 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
3558 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
3559 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
3560 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
3561 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
3562 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
3563 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
3564
35652001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3566
3567 * sysdeps/s390/Dist: Move to...
3568 * sysdeps/s390/390-32/Dist: ...here.
3569 * sysdeps/s390/Implies: Move to...
3570 * sysdeps/s390/s390-32/Implies: ...here.
3571 * sysdeps/s390/Makefile: Move to...
3572 * sysdeps/s390/s390-32/Makefile: ...here.
3573 * sysdeps/s390/Versions: Move to...
3574 * sysdeps/s390-32/s390/Versions: ...here.
3575 * sysdeps/s390/add_n.S: Move to...
3576 * sysdeps/s390/s390-32/add_n.S: ...here.
3577 * sysdeps/s390/addmul_1.S: Move to...
3578 * sysdeps/s390/s390-32/addmul_1.S: ...here.
3579 * sysdeps/s390/atomicity.h: Move to...
3580 * sysdeps/s390/s390-32/atomicity.h: ...here.
3581 * sysdeps/s390/backtrace.c: Move to...
3582 * sysdeps/s390/s390-32/backtrace.c: ...here.
3583 * sysdeps/s390/bcopy.S: Move to...
3584 * sysdeps/s390/s390-32/bcopy.S: ...here.
3585 * sysdeps/s390/bits/byteswap.h: Move to...
3586 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
3587 * sysdeps/s390/bits/huge_val.h: Move to...
3588 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
3589 * sysdeps/s390/bsd-_setjmp.S: Move to...
3590 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
3591 * sysdeps/s390/bsd-setjmp.S: Move to...
3592 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
3593 * sysdeps/s390/bzero.S: Move to...
3594 * sysdeps/s390/s390-32/bzero.S: ...here.
3595 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
3596 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
3597 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
3598 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
3599 * sysdeps/s390/elf/start.S: Move to...
3600 * sysdeps/s390/s390-32/elf/start.S: ...here.
3601 * sysdeps/s390/ffs.c: Move to...
3602 * sysdeps/s390/s390-32/ffs.c: ...here.
3603 * sysdeps/s390/memchr.S: Move to...
3604 * sysdeps/s390/s390-32/memchr.S: ...here.
3605 * sysdeps/s390/memcpy.S: Move to...
3606 * sysdeps/s390/s390-32/memcpy.S: ...here.
3607 * sysdeps/s390/memset.S: Move to...
3608 * sysdeps/s390/s390-32/memset.S: ...here.
3609 * sysdeps/s390/mul_1.S: Move to...
3610 * sysdeps/s390/s390-32/mul_1.S: ...here.
3611 * sysdeps/s390/s390-mcount.S: Move to...
3612 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
3613 * sysdeps/s390/strcpy.S: Move to...
3614 * sysdeps/s390/s390-32/strcpy.S: ...here.
3615 * sysdeps/s390/strncpy.S: Move to...
3616 * sysdeps/s390/s390-32/strncpy.S: ...here.
3617 * sysdeps/s390/sub_n.S: Move to...
3618 * sysdeps/s390/s390-32/sub_n.S: ...here.
3619
36202001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3621
3622 * sysdeps/s390/s390-64/Dist: New file.
3623 * sysdeps/s390/s390-64/Implies: New file.
3624 * sysdeps/s390/s390-64/Makefile: New file.
3625 * sysdeps/s390/s390-64/__longjmp.c: New file.
3626 * sysdeps/s390/s390-64/add_n.S: New file.
3627 * sysdeps/s390/s390-64/atomicity.h: New file.
3628 * sysdeps/s390/s390-64/backtrace.c: New file.
3629 * sysdeps/s390/s390-64/bcopy.S: New file.
3630 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
3631 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
3632 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
3633 * sysdeps/s390/s390-64/bits/string.h: New file.
3634 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
3635 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
3636 * sysdeps/s390/s390-64/bzero.S: New file.
3637 * sysdeps/s390/s390-64/dl-machine.h: New file.
3638 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
3639 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
3640 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
3641 * sysdeps/s390/s390-64/elf/start.S: New file.
3642 * sysdeps/s390/s390-64/ffs.c: New file.
3643 * sysdeps/s390/s390-64/initfini.c: New file.
3644 * sysdeps/s390/s390-64/memchr.S: New file.
3645 * sysdeps/s390/s390-64/memcpy.S: New file.
3646 * sysdeps/s390/s390-64/memset.S: New file.
3647 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
3648 * sysdeps/s390/s390-64/setjmp.S: New file.
3649 * sysdeps/s390/s390-64/strcpy.S: New file.
3650 * sysdeps/s390/s390-64/strncpy.S: New file.
3651 * sysdeps/s390/s390-64/sub_n.S: New file.
3652 * sysdeps/s390/s390-64/sysdep.h: New file.
3653
36542001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3655
3656 * scripts/config.guess: Add support for Linux on 64 bit S/390.
3657 * scripts/config.sub: Likewise.
3658
36592001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3660
3661 * configure.in: Add support for 64 bit S/390.
3662
3663 * elf/elf.h: Add new relocations for 64 bit S/390.
3664
3665 * shlib-versions: Add rules for Linux on 64 bit S/390.
3666
36672001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3668
3669 * sysdeps/s390/__longjmp.c: Move to...
3670 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
3671 to load the floating point registers that should be saved
3672 according to the ABI.
3673
3674 * sysdeps/s390/bits/setjmp.h: Move to...
3675 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
3676 the use of long long in the __jmp_buf type definition.
3677
3678 * sysdeps/s390/bits/string.h: Move to...
3679 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
3680 #ifndef _FORCE_INLINES.
3681
3682 * sysdeps/s390/dl-machine.h: Move to...
3683 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
3684 executables EI_CLASS in elf_machine_matches_host.
3685
3686 * sysdeps/s390/elf/setjmp.S: Move to...
3687 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
3688 branches to globally defined symbol __sigsetjmp by branches to
3689 a local label (this avoids the generation of a R_390_PC16DBL
3690 relocation in -fpic code).
3691
3692 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
3693 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
3694
3695 * sysdeps/s390/initfini.c: Move to...
3696 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
3697 ".align 4,0x07".
3698
3699 * sysdeps/s390/setjmp.S: Move to...
3700 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
3701 floating point registers that should be saved according to the ABI.
3702
3703 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
3704
3705 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
da1375be 3706 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
ffeac417
UD
3707 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
3708
37092001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
3710
3711 * configure.in: Change machine=s390 to machine=s390/s390-32.
3712
3713 * elf/elf.h: Correct comment for R_390_PLT16DBL.
3714
a986484f
UD
37152001-03-12 Jakub Jelinek <jakub@redhat.com>
3716
3717 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
3718 version to be overriden from config.h.
3719 * csu/abi-note.S: Use OS and version separately, include config.h.
3720 * elf/dl-load.c (_dl_osversion): New.
3721 (_dl_map_object_from_fd): Kill some warnings.
3722 (open_verify): Check .note.ABI-tag of the library if present.
3723 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
3724 * elf/cache.c (struct cache_entry): Add osversion.
3725 (print_entry): Print osversion.
3726 (print_cache): Pass osversion to it.
3727 (compare): Sort according to osversion.
3728 (save_cache): Set osversion.
3729 (add_to_cache): Add osversion argument.
3730 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
3731 process_elf_file): Add osversion argument.
3732 * elf/readlib.c (process_file): Likewise.
3733 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
3734 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
3735 process_elf32_file, process_elf64_file): Likewise.
3736 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
3737 process_elf32_file, process_elf64_file): Likewise.
3738 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
3739 process_elf32_file, process_elf64_file): Likewise.
3740 * elf/ldconfig.c (manual_link): Pass it.
3741 (search_dir): Issue diagnostic if two libs with the same soname in
3742 the same directory have different .note.ABI-tag. Record osversion in
3743 dlib_entry and use it from there.
3744 (struct lib_entry): Remove.
3745 (struct dlib_entry): Add osversion.
3746 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
3747 osversion.
3748 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
3749 field with osversion.
3750 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
3751 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
3752 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
3753 version in _dl_osversion.
3754 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
3755 * Makerules (build-shlib-helper, build-module-helper): New.
3756 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
3757 early.
3758 * config.h.in (__ABI_TAG_VERSION): Add.
3759 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
3760 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
3761 Handle LD_ASSUME_KERNEL.
3762 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
3763
955994e1
UD
37642001-03-15 Ulrich Drepper <drepper@redhat.com>
3765
328c5f65
UD
3766 * timezone/antarctica: Update from tzdata2001a.
3767 * timezone/asia: Likewise.
3768 * timezone/australasia: Likewise.
3769 * timezone/backward: Likewise.
3770 * timezone/etcetera: Likewise.
3771 * timezone/europe: Likewise.
3772 * timezone/leapseconds: Likewise.
3773 * timezone/northamerica: Likewise.
3774 * timezone/southamerica: Likewise.
3775 * timezone/systemv: Likewise.
3776 * timezone/yearistype: Likewise.
3777 * timezone/zone.tab: Likewise.
3778 * timezone/tzdump.c: Update from tzcode2001a.
3779
37802001-03-15 H.J. Lu <hjl@gnu.org>
3781
3782 * intl/Makefile: Fix a typo.
3783
37842001-03-14 David Mosberger <davidm@hpl.hp.com>
3785
3786 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
3787 writing arc structures.
3788
37892001-03-15 H.J. Lu <hjl@gnu.org>
3790
3791 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
3792 cross-compiling.
3793
37942001-03-13 Andreas Schwab <schwab@suse.de>
3795
3796 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
3797
37982001-03-15 Ulrich Drepper <drepper@redhat.com>
3799
3800 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
3801 for control message fitting into message data.
3802 Patch by James Antill <james@and.org>.
3803
821a6bb4
UD
3804 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
3805 FNM_EXTMATCH.
3806
3807 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
3808 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
3809
3810 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
3811 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
3812 avoid running binaries with libc versions without FNM_EXTMATCH support.
3813
3814 * include/wchar.h: Add prototype for __wcscat.
3815 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
3816
955994e1
UD
3817 * posix/fnmatch.h (FNM_EXTMATCH): Define.
3818 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
3819 (posixly_correct): Move global variable here.
3820 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
3821 (fnmatch): Pretty printing.
3822 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
3823 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
3824 * posix/tst-fnmatch.input: Add tests for extended matching.
3825
3826 * posix/testfnm.c: Add test for patterns with multiple ** before /.
3827 * posix/fnmatch_loop.c: Fix problem with the test above.
3828
0493a6d7
UD
38292001-03-14 Ulrich Drepper <drepper@redhat.com>
3830
3831 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
3832 reference to usqrt.
3833
3834 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
3835
cd6e89b2
AJ
38362001-03-12 Andreas Jaeger <aj@suse.de>
3837
3838 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
0493a6d7 3839 Use EM_X86_64 instead of EM_X8664.
cd6e89b2 3840
ca58f1db
UD
38412001-03-12 Ulrich Drepper <drepper@redhat.com>
3842
a2d61ef8
UD
3843 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
3844
ca58f1db
UD
3845 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
3846 conditions.
3847
3848 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
3849 conditions.
3850
3851 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
3852 correctly.
3853 (__cos): Likewise.
3854
3855 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
3856 correctly.
3857 (__ieee754_acos): Likewise.
3858
f993e803
AJ
38592001-03-12 Andreas Jaeger <aj@suse.de>
3860
8cbdd648
AJ
3861 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
3862 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3863
f993e803 3864 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
ca58f1db 3865 redefinition.
f993e803 3866
efd822f9
RM
38672001-03-11 Roland McGrath <roland@frob.com>
3868
3869 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
3870
e4d82761
UD
38712001-03-11 Ulrich Drepper <drepper@redhat.com>
3872
ca58f1db
UD
3873 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
3874 LITTLE_ENDI.
3875
3876 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
3877 parameter list.
3878
e4d82761
UD
3879 Last-bit accurate math library implementation by IBM Haifa.
3880 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
3881 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
3882 Anna Reitman <reitman@il.ibm.com>.
3883 * math/Makefile (dbl-only-routines): New variable.
3884 (libm-routines): Add $(dbl-only-routines).
3885 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
3886 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
3887 implementation.
3888 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
3889 implementation.
3890 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
3891 implementation.
3892 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
3893 __kernel_cos.
3894 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
3895 implementation.
3896 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
3897 remainder implementation.
3898 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
3899 implementation.
3900 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
3901 implementation.
3902 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
3903 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
3904 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
3905 implementation.
3906 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
3907 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
3908 implementation.
3909 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
3910 and __kernel_cos.
3911 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
3912 implementation.
3913 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
3914 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
3915 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
3916 * sysdeps/ieee754/dbl-64/atnat.h: New file.
3917 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
3918 * sysdeps/ieee754/dbl-64/branred.c: New file.
3919 * sysdeps/ieee754/dbl-64/branred.h: New file.
3920 * sysdeps/ieee754/dbl-64/dla.h: New file.
3921 * sysdeps/ieee754/dbl-64/doasin.c: New file.
3922 * sysdeps/ieee754/dbl-64/doasin.h: New file.
3923 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
3924 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
3925 * sysdeps/ieee754/dbl-64/endian.h: New file.
3926 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
3927 * sysdeps/ieee754/dbl-64/mpa.c: New file.
3928 * sysdeps/ieee754/dbl-64/mpa.h: New file.
3929 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
3930 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
3931 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
3932 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
3933 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
3934 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
3935 * sysdeps/ieee754/dbl-64/mplog.c: New file.
3936 * sysdeps/ieee754/dbl-64/mplog.h: New file.
3937 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
3938 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
3939 * sysdeps/ieee754/dbl-64/mptan.c: New file.
3940 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
3941 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
3942 * sysdeps/ieee754/dbl-64/root.tbl: New file.
3943 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
3944 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
3945 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
3946 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
3947 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
3948 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
3949 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
3950 * sysdeps/ieee754/dbl-64/uexp.h: New file.
3951 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
3952 * sysdeps/ieee754/dbl-64/ulog.h: New file.
3953 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
3954 * sysdeps/ieee754/dbl-64/upow.h: New file.
3955 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
3956 * sysdeps/ieee754/dbl-64/urem.h: New file.
3957 * sysdeps/ieee754/dbl-64/uroot.h: New file.
3958 * sysdeps/ieee754/dbl-64/usncs.h: New file.
3959 * sysdeps/ieee754/dbl-64/utan.h: New file.
3960 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
3961 * sysdeps/i386/fpu/branred.c: New file.
3962 * sysdeps/i386/fpu/doasin.c: New file.
3963 * sysdeps/i386/fpu/dosincos.c: New file.
3964 * sysdeps/i386/fpu/halfulp.c: New file.
3965 * sysdeps/i386/fpu/mpa.c: New file.
3966 * sysdeps/i386/fpu/mpatan.c: New file.
3967 * sysdeps/i386/fpu/mpatan2.c: New file.
3968 * sysdeps/i386/fpu/mpexp.c: New file.
3969 * sysdeps/i386/fpu/mplog.c: New file.
3970 * sysdeps/i386/fpu/mpsqrt.c: New file.
3971 * sysdeps/i386/fpu/mptan.c: New file.
3972 * sysdeps/i386/fpu/sincos32.c: New file.
3973 * sysdeps/i386/fpu/slowexp.c: New file.
3974 * sysdeps/i386/fpu/slowpow.c: New file.
3975 * sysdeps/ia64/fpu/branred.c: New file.
3976 * sysdeps/ia64/fpu/doasin.c: New file.
3977 * sysdeps/ia64/fpu/dosincos.c: New file.
3978 * sysdeps/ia64/fpu/halfulp.c: New file.
3979 * sysdeps/ia64/fpu/mpa.c: New file.
3980 * sysdeps/ia64/fpu/mpatan.c: New file.
3981 * sysdeps/ia64/fpu/mpatan2.c: New file.
3982 * sysdeps/ia64/fpu/mpexp.c: New file.
3983 * sysdeps/ia64/fpu/mplog.c: New file.
3984 * sysdeps/ia64/fpu/mpsqrt.c: New file.
3985 * sysdeps/ia64/fpu/mptan.c: New file.
3986 * sysdeps/ia64/fpu/sincos32.c: New file.
3987 * sysdeps/ia64/fpu/slowexp.c: New file.
3988 * sysdeps/ia64/fpu/slowpow.c: New file.
3989 * sysdeps/m68k/fpu/branred.c: New file.
3990 * sysdeps/m68k/fpu/doasin.c: New file.
3991 * sysdeps/m68k/fpu/dosincos.c: New file.
3992 * sysdeps/m68k/fpu/halfulp.c: New file.
3993 * sysdeps/m68k/fpu/mpa.c: New file.
3994 * sysdeps/m68k/fpu/mpatan.c: New file.
3995 * sysdeps/m68k/fpu/mpatan2.c: New file.
3996 * sysdeps/m68k/fpu/mpexp.c: New file.
3997 * sysdeps/m68k/fpu/mplog.c: New file.
3998 * sysdeps/m68k/fpu/mpsqrt.c: New file.
3999 * sysdeps/m68k/fpu/mptan.c: New file.
4000 * sysdeps/m68k/fpu/sincos32.c: New file.
4001 * sysdeps/m68k/fpu/slowexp.c: New file.
4002 * sysdeps/m68k/fpu/slowpow.c: New file.
4003
4004 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
4005 codepages.
4006
f6b8deb0
AJ
40072001-03-11 Andreas Jaeger <aj@suse.de>
4008
4009 * elf/elf.h (EM_*): Synch with official list.
4010
667b0577
UD
40112001-03-07 David Mosberger <davidm@hpl.hp.com>
4012
4013 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
4014
40152001-03-07 Jes Sorensen <jes@linuxcare.com>
4016
4017 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
4018 variables addr & len.
4019
40202001-02-22 Jes Sorensen <jes@linuxcare.com>
4021
4022 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4023 punctuation in asm constraint.
4024
40252001-03-07 Mark Kettenis <kettenis@gnu.org>
4026
4027 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4028 <time.h> to get definition of `struct timespec'.
4029
40302001-03-08 Jakub Jelinek <jakub@redhat.com>
4031
4032 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4033 LD_WARN=1, not if LD_WARN is unset.
4034
40352001-03-07 Andreas Schwab <schwab@suse.de>
4036
4037 * elf/ldconfig.h: Moved to ...
4038 * sysdeps/generic/ldconfig.h: ... here.
4039 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4040 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4041 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4042 * elf/readlib.c (interpreters, known_libs): Use
4043 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4044 instead of hard coding old names.
4045
f79bdc33
UD
40462001-03-09 Ulrich Drepper <drepper@redhat.com>
4047
4048 * catgets/Makefile (generated): Add test-gencat.h.
4049 (sample.SJIS.cat): Also generate header.
4050 * catgets/sample.SJIS: Add new set and message, both with symbolic
4051 names.
4052 * catgets/test-gencat.sh: Also compare generated header with what
4053 we expect.
4054
40552001-03-07 Jakub Jelinek <jakub@redhat.com>
4056
4057 * catgets/gencat.c (read_input_file): Preserve properly symbolic
4058 names.
4059
40602001-03-06 Andreas Jaeger <aj@suse.de>
4061
4062 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4063 needed.
4064 (elf_machine_pltrel_p): Likewise.
4065 * sysdeps/powerpc/dl-machine.h: Likewise.
4066 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4067
40682001-03-09 Ulrich Drepper <drepper@redhat.com>
4069
4070 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4071 dl-procinfo.h.
4072
40732001-03-05 Philip Blundell <philb@gnu.org>
4074
4075 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4076 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4077 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4078 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4079 dl-procinfo.
4080
40812001-03-09 Ulrich Drepper <drepper@redhat.com>
4082
4083 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4084 is not available.
4085 * dlfcn/tstcxaatexit.c (main): Likewise.
4086
94a3395c
AJ
40872001-03-10 Andreas Jaeger <aj@suse.de>
4088
4089 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4090
9672b937
AJ
40912001-03-09 Andreas Jaeger <aj@suse.de>
4092
4093 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4094 both new and old EM_S390 values.
4095 (EM_S390_OLD): New constant.
4096
4097 * elf/elf.h (EM_S390): Use official value.
4098
1ca17c10
UD
40992001-03-09 Ulrich Drepper <drepper@redhat.com>
4100
4101 * conform/data/sys/socket.h-data: Allow SO* symbols.
4102
3eb4be93
AS
41032001-03-07 Andreas Schwab <schwab@suse.de>
4104
4105 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4106 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4107
3897dbb6
AJ
41082001-03-07 Andreas Jaeger <aj@suse.de>
4109
4110 * resolv/Makefile (routines): Only build gai_sigqueue when threads
4111 are available.
4112
b9fb7870
AJ
41132001-03-07 Jakub Jelinek <jakub@redhat.com>
4114
504216a0
AJ
4115 * elf/ldconfig.c (_dl_sysdep_message): Remove.
4116 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4117 ldsodefs.h.
4118 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4119
b9fb7870
AJ
4120 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4121 _dl_error_printf instead of _dl_sysdep_error.
4122 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4123 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4124 Use _dl_printf instead of _dl_sysdep_message.
4125 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4126 Likewise.
4127
150f9fb8
AJ
41282001-03-06 Ben Collins <bcollins@debian.org>
4129
4130 * manual/arith.texi (Integers): Fix documentation of fast and
4131 least integer typedefs.
4132
e10546cb
AJ
41332001-03-06 Jakub Jelinek <jakub@redhat.com>
4134
4135 * resolv/Depend: New file.
4136 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4137 when libpthread is built.
4138
b12860f1
AJ
41392001-03-06 Andreas Jaeger <aj@suse.de>
4140
ffb555a1
AJ
4141 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4142
b12860f1
AJ
4143 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4144 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4145
d127a875
UD
41462001-03-05 Ulrich Drepper <drepper@redhat.com>
4147
4148 * stdlib/Versions: Remove __new_exitfn again. Not needed.
4149
647dd1ed
AJ
41502001-03-05 Andreas Jaeger <aj@suse.de>
4151
4152 * stdlib/msort.c (qsort): Don't use alloca in a function call.
4153
3e90e361
UD
41542001-03-05 Ulrich Drepper <drepper@redhat.com>
4155
4156 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4157 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
4158 always return zero.
4159 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4160 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4161 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4162 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4163 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4164 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4165 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4166
278689e8
AJ
41672001-03-04 Andreas Jaeger <aj@suse.de>
4168
4169 * stdlib/longlong.h: Don't use multi-line strings.
4170 * iconvdata/tst-loading.c: Likewise.
4171
4172 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4173 string.
4174
73807ef9
UD
41752001-03-04 Ulrich Drepper <drepper@redhat.com>
4176
2b432733
UD
4177 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4178
d127a875 4179 * rt/lio_listio.c: Add a few asserts.
d5198f8d 4180
273a3cfb
UD
4181 * elf/global.c: New file.
4182 * elf/globalmod1.c: New file.
4183 * elf/Makefile: Add rules to build and run global.
4184
bd575f16
UD
4185 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4186 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4187 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4188 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4189 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4190
3bde1a69
UD
4191 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4192 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4193
4194 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4195
4196 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4197 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4198
4199 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4200
73807ef9
UD
4201 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4202
fb0ff31b
AJ
42032001-03-04 Andreas Jaeger <aj@suse.de>
4204
f01817b0 4205 * resolv/tst-aton.c: Add testcase for IP with four periods.
fb0ff31b 4206
f01817b0 4207 * resolv/inet_addr.c: Don't recognize an IP with four periods.
fb0ff31b
AJ
4208 Patch by Andre' Breiler <A.Breiler@gmx.net>.
4209
1746f2b0
UD
42102001-02-27 Philip Blundell <pb@futuretv.com>
4211
4212 * elf/elf.h: Add new ARM definitions from latest (B-01)
4213 specification. Correct naming of EF_ARM_ALIGN8 et al.
4214
42152001-03-04 Ulrich Drepper <drepper@redhat.com>
4216
4217 * stdio-common/tst-printf.sh: Remove bashisms.
4218 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4219
28b20578
UD
42202001-03-03 Ulrich Drepper <drepper@redhat.com>
4221
2ace5721 4222 * Versions.def: Add libanl definition.
1746f2b0 4223 * shlib-versions: Add entry for libanl.
2ace5721
UD
4224 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4225 (routines): Add gai_sigqueue.
4226 (extra-libs): Add libanl.
4227 (libanl-routines): New variable.
4228 Add rules to build libanl and ga_test.
4229 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4230 [libanl]: New library.
4231 * resolv/netdb.h: Add definitions for libanl.
4232 * resolv/getaddrinfo_a.c: New file.
4233 * resolv/gai_cancel.c: New file.
4234 * resolv/gai_error.c: New file.
4235 * resolv/gai_misc.c: New file.
4236 * resolv/gai_misc.h: New file.
4237 * resolv/gai_notify.c: New file.
4238 * resolv/gai_suspend.c: New file.
4239 * resolv/ga_test.c: New file.
4240 * sysdeps/generic/gai_sigqueue.c: New file.
4241 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4242 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4243 and provide only that definition.
4244 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4245 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4246 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4247 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4248 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4249 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4250
4251 * rt/aio_misc.c: Fix typos in comments.
4252 * rt/lio_listio.c: Pretty printing. Little optimization in request
4253 list handling.
4254
4255 * elf/rtld.c: Remove commented out code.
4256
28b20578
UD
4257 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4258 Update for real 2.4 kernels.
4259
c1d32f33
UD
42602001-03-01 Ulrich Drepper <drepper@redhat.com>
4261
4262 * elf/dl-load.c: Pretty printing.
4263
4264 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4265 twice.
4266
7b97934b
UD
42672001-02-28 Ulrich Drepper <drepper@redhat.com>
4268
4269 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4270 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4271
4272 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4273
c1d32f33 4274 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
7b97934b
UD
4275 machines.
4276
4277 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4278
b76a75de
UD
42792001-02-27 Ulrich Drepper <drepper@redhat.com>
4280
40619178
UD
4281 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4282 _dl_debug_mask.
4283
b5ba0659
UD
4284 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
4285 _dl_debug_printf.
4286 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4287 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
4288 _dl_debug_printf_c, and _dl_printf.
4289 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4290 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4291 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
4292 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4293 * elf/dl-close.c: Replace use of old output functions with the new
4294 ones.
4295 * elf/dl-deps.c: Likewise.
4296 * elf/dl-error.c: Likewise.
4297 * elf/dl-fini.c: Likewise.
4298 * elf/dl-init.c: Likewise.
4299 * elf/dl-load.c: Likewise.
4300 * elf/dl-lookup.c: Likewise.
4301 * elf/dl-minimal.c: Likewise.
4302 * elf/dl-open.c: Likewise.
4303 * elf/dl-profile.c: Likewise.
4304 * elf/dl-reloc.c: Likewise.
4305 * elf/dl-version.c: Likewise.
4306 * elf/do-lookup.h: Likewise.
4307 * elf/rtld.c: Likewise.
4308 * sysdeps/generic/dl-cache.c: Likewise.
4309 * sysdeps/generic/dl-sysdep.c: Likewise.
4310 * sysdeps/generic/libc-start.c: Likewise.
4311 * sysdeps/i386/dl-machine.h: Likewise.
35fc382a
UD
4312 * sysdeps/arm/dl-machine.h: Likewise.
4313 * sysdeps/hppa/dl-machine.h: Likewise.
4314 * sysdeps/m68k/dl-machine.h: Likewise.
4315 * sysdeps/powerpc/dl-machine.h: Likewise.
4316 * sysdeps/s390/dl-machine.h: Likewise.
4317 * sysdeps/sh/dl-machine.h: Likewise.
b5ba0659
UD
4318 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4319 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4320 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4321
4322 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4323
4324 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4325 supported by assembler.
4326
edd8e70f
UD
4327 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4328 declaractions.
4329
ba9fcb3f
UD
4330 * elf/rtld.c: Little optimizations in handling _dl_lazy.
4331
4332 * elf/cache.c (save_cache): Portability changes.
4333 * elf/dl-profile.c (_dl_start_profile): Likewise.
4334
4335 * elf/sln.c: Cleanups. Remove arbitrary limits.
4336
b76a75de
UD
4337 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4338 * elf/dl-deps.c: Likewise.
4339 * elf/dl-fini.c: Likewise.
4340 * elf/dl-init.c: Likewise.
4341 * elf/dl-load.c: Likewise.
4342 * elf/dl-lookup.c: Likewise.
4343 * elf/dl-open.c: Likewise.
4344 * elf/dl-reloc.c: Likewise.
4345 * elf/dl-support.c: Likewise.
4346 * elf/dl-version.c: Likewise.
4347 * elf/do-lookup.h: Likewise.
4348 * elf/rtld.c: Likewise.
4349 * sysdeps/generic/dl-cache.c: Likewise.
4350 * sysdeps/generic/ldsodefs.h: Likewise.
4351 * sysdeps/generic/libc-start.c: Likewise.
4352 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4353 Export _dl_debug_mask.
4354 * Versions.def: Define GLIBC_2.2.3 for ld.
4355
4d8bbe63
GM
43562001-02-26 Greg McGary <greg@mcgary.org>
4357
4358 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4359
46c3f8cd
UD
43602001-02-26 Paul Eggert <eggert@twinsun.com>
4361
4362 Modify mkstemp.c and tempname.c so that they can be used by
4363 GNU applications on non-glibc platforms.
4364
4365 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
4366
4367 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
4368 Include <stddef.h>, <stdint.h>, <string.h> only if
4369 STDC_HEADERS || _LIBC.
4370 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
4371 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
4372 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
4373 (__set_errno): Define this macro if <errno.h> doesn't.
4374 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
4375 Define these macros if <stdio.h> doesn't.
4376 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
4377 Define these macros if <sys/stat.h> doesn't.
4378 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
4379 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
4380 lxstat64, __xstat64): Define if not _LIBC.
4381 (struct_stat64): New macro.
4382 (direxists, __gen_tempname): Use it, to avoid a
4383 portability problem with Solaris 8.
4384 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
4385 (__gen_tempname): Invoke gettimeofday only if
4386 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
4387 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
4388 octal values like 0600.
4389
c08bc50a
UD
43902001-02-26 Ulrich Drepper <drepper@redhat.com>
4391
08b3d7ad
UD
4392 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
4393 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4394
4395 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
4396 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4397
00b16c4a
UD
4398 * posix/wordexp-test.c (testit): Remove warnings.
4399
c08bc50a
UD
4400 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
4401 (tests): Add tstatexit and tstcxaatexit.
4402 (module-names): Add modatexit and modcxaatexit.
4403 Add rules to build and run tstatexit and tstcxaatexit.
4404 * dlfcn/modatexit.c: New file.
4405 * dlfcn/modcxaatexit.c: New file.
4406 * dlfcn/tstatexit.c: New file.
4407 * dlfcn/tstcxaatexit.c: New file.
4408
4409 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
4410 .hidden is available.
4411 * io/stat.c: If .hidden is available use it to avoid exporting
4412 functions.
4413 * io/fstat.c: Likewise.
4414 * io/lstat.c: Likewise.
4415 * io/stat64.c: Likewise.
4416 * io/fstat64.c: Likewise.
4417 * io/lstat64.c: Likewise.
4418 * sysdeps/generic/mknod.c: Likewise.
4419
4420 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
4421 * sysdeps/generic/bb_init_func.c: Likewise.
4422 * sysdeps/generic/libc-start.c: Likewise.
4423
4424 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
4425 (atexit): Implement using __cxa_atexit.
4426 Use .hidden if availble to avoid exporting atexit.
4427 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
4428 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
4429 * stdlib/Makefile (routines): Add old_atexit.
4430 (static-only-routines): Add atexit.
4431 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
4432 * stdlib/old_atexit.c: New file.
4433
4434 * intl/Makefile: Remove bogus endif.
4435
5af65d0e
AJ
44362001-02-26 Andreas Jaeger <aj@suse.de>
4437
4438 * iconvdata/Makefile (tests): Fix typo in last patch.
4439
89e89345
AJ
4440 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
4441 available.
4442 Reported by Achim Gottinger <achim@gentoo.org>.
4443
199745d1
AJ
44442001-02-25 Andreas Jaeger <aj@suse.de>
4445
4446 * intl/Makefile (plural.c): Reorder rules so that they work if
4447 BISON doesn't exist.
4448
6c9ea999
UD
44492001-02-25 Ulrich Drepper <drepper@redhat.com>
4450
4451 * intl/locale.alias: Don't use nb_NO but define aliases for it.
4452
ef5166a6
UD
44532001-02-23 Ulrich Drepper <drepper@redhat.com>
4454
4455 * sysdeps/i386/strtok.S: Continue to return NULL after the first
4456 time this happened.
4457
d436a9f7
UD
44582001-02-23 Andreas Jaeger <aj@suse.de>
4459
4460 * string/tester.c (test_strtok_r): Add testcase.
4461 (test_strtok_r): Always initialize cp for proper checking.
4462
4463 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
4464 returning NULL correctly.
4465 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
4466 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
4467
44682001-02-23 Ulrich Drepper <drepper@redhat.com>
4469
4470 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
4471 including <stddef.h>.
4472 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
4473 * include/libc-symbols.h (weak_alias): Don't use .weak if
4474 HAVE_ASM_GLOBAL_DOT_NAME is defined.
4475 Patches by Michael Keezer <mkeezer@redhat.com>.
4476
4477 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
4478 Patch by Michael Keezer <mkeezer@redhat.com>.
4479
4480 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
4481 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
4482 (sysdep_routines): Remove restf.S and savef.S.
da1375be
UD
4483 * sysdeps/unix/sysv/aix/restf.S: Removed.
4484 * sysdeps/unix/sysv/aix/savef.S: Removed.
d436a9f7
UD
4485 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
4486 alternative names used on some platforms.
4487 * sysdeps/powerpc/fprsave.S: Likewise.
4488 * sysdeps/powerpc/gprrest0.S: Likewise.
4489 * sysdeps/powerpc/gprrest1.S: Likewise.
4490 * sysdeps/powerpc/gprsave0.S: Likewise.
4491 * sysdeps/powerpc/gprsave1.S: Likewise.
4492 Patch by Michael Keezer <mkeezer@redhat.com>.
4493
578af338
UD
44942001-02-22 Ulrich Drepper <drepper@redhat.com>
4495
4496 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
4497
ab5dd2d9
AJ
44982001-02-22 Andreas Jaeger <aj@suse.de>
4499
4500 * string/tst-strtok.c (main): Fix error messages.
4501
bcbd6c73
AJ
45022001-02-22 Andreas Jaeger <aj@suse.de>
4503
4504 * math/Makefile: Remove omit-long-double-fcts.
4505
e947e316
AJ
45062001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4507
4508 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
4509 avoid problems on MIPS I.
4510 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
4511
4512 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
4513 noreorder".
4514
1999031e
UD
45152001-02-21 Ulrich Drepper <drepper@redhat.com>
4516
bd8fbd57
UD
4517 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
4518
37ada9da
UD
4519 * sysdeps/generic/ftime.c: Include <time.h>.
4520
578af338 4521 * configure.in: Don't check for libgd if user passed --without-gd.
6dab8688
UD
4522 Patch by Achim Gottinger <achim@gentoo.org>.
4523
1999031e
UD
4524 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
4525 first time this happened.
b716cb4e 4526 * string/Makefile (tests): Add tst-strtok.
1999031e
UD
4527
45282001-02-21 Andreas Jaeger <aj@suse.de>
4529
4530 * string/tst-strtok.c: New testcase, reported by
4531 Andrew Church <achurch@achurch.org>.
4532
b85b1334
UD
45332001-02-20 Ulrich Drepper <drepper@redhat.com>
4534
4535 * libio/iofwide.c: Remove fwide alias.
4536
b702b4ee
AJ
45372001-02-20 Andreas Jaeger <aj@suse.de>
4538
4539 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
4540 is available.
4541 Reported by Achim Gottinger <achim@gentoo.org>.
4542
2d7faa72
UD
45432001-02-19 Ulrich Drepper <drepper@redhat.com>
4544
2fad2c60
UD
4545 * iconv/tst-iconv1.c (main): Remove debugging code.
4546
f14bd805
UD
4547 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
4548 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4549
d210ca02
UD
4550 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
4551 parameters.
8d18644b
UD
4552 * sysdeps/generic/e_scalbf.c: Likewise.
4553 * sysdeps/generic/e_scalbl.c: Likewise.
d210ca02 4554
2d7faa72
UD
4555 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
4556 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
4557 in libc.
4558 (routines): Replace libm_error with libc_libm_error.
4559 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
4560 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
4561
4c48dc93
UD
45622001-02-18 Mark Kettenis <kettenis@gnu.org>
4563
4564 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
4565 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
4566
45672001-02-17 H.J. Lu <hjl@gnu.org>
4568
4569 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
4570 scratch registers across the system call.
4571
4595829c
AJ
45722001-02-19 Andreas Jaeger <aj@suse.de>
4573
4574 * malloc/Makefile (tests): Run mtrace only when perl is available.
4575 Reported by Achim Gottinger <achim@gentoo.org>.
4576
8da2915d
UD
45772001-02-19 Ulrich Drepper <drepper@redhat.com>
4578
cf61f83f
UD
4579 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
4580 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4581
4582 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
4583 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
4584 * math/libm-test.inc (j1_test): Mark constants as long double.
4585 (jn_test): Likewise.
4586 (y1_test): Likewise.
4587 (yn_test): Likewise.
4588
8da2915d
UD
4589 * libio/iogetline.c: Move return until after last statement.
4590
4591 * localedata/show-ucs-data.c: Don't show < > for better readability.
4592
4593 * sysdeps/ia64/fpu/Dist: New file.
4594 * sysdeps/ia64/fpu/Makefile: New file.
4595 * sysdeps/ia64/fpu/Versions: New file.
4596 * sysdeps/ia64/fpu/e_acos.S: New file.
4597 * sysdeps/ia64/fpu/e_acosf.S: New file.
4598 * sysdeps/ia64/fpu/e_acosl.S: New file.
4599 * sysdeps/ia64/fpu/e_asin.S: New file.
4600 * sysdeps/ia64/fpu/e_asinf.S: New file.
4601 * sysdeps/ia64/fpu/e_asinl.S: New file.
4602 * sysdeps/ia64/fpu/e_atan2.S: New file.
4603 * sysdeps/ia64/fpu/e_atan2f.S: New file.
4604 * sysdeps/ia64/fpu/e_atan2l.c: New file.
4605 * sysdeps/ia64/fpu/e_cosh.S: New file.
4606 * sysdeps/ia64/fpu/e_coshf.S: New file.
4607 * sysdeps/ia64/fpu/e_coshl.S: New file.
4608 * sysdeps/ia64/fpu/e_exp.S: New file.
4609 * sysdeps/ia64/fpu/e_expf.S: New file.
4610 * sysdeps/ia64/fpu/e_expl.c: New file.
4611 * sysdeps/ia64/fpu/e_fmod.S: New file.
4612 * sysdeps/ia64/fpu/e_fmodf.S: New file.
4613 * sysdeps/ia64/fpu/e_fmodl.S: New file.
4614 * sysdeps/ia64/fpu/e_hypot.S: New file.
4615 * sysdeps/ia64/fpu/e_hypotf.S: New file.
4616 * sysdeps/ia64/fpu/e_hypotl.S: New file.
4617 * sysdeps/ia64/fpu/e_log.S: New file.
4618 * sysdeps/ia64/fpu/e_log10.c: New file.
4619 * sysdeps/ia64/fpu/e_log10f.c: New file.
4620 * sysdeps/ia64/fpu/e_log10l.c: New file.
4621 * sysdeps/ia64/fpu/e_logf.S: New file.
4622 * sysdeps/ia64/fpu/e_logl.c: New file.
4623 * sysdeps/ia64/fpu/e_pow.S: New file.
4624 * sysdeps/ia64/fpu/e_powf.S: New file.
4625 * sysdeps/ia64/fpu/e_powl.S: New file.
4626 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
4627 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
4628 * sysdeps/ia64/fpu/e_remainder.S: New file.
4629 * sysdeps/ia64/fpu/e_remainderf.S: New file.
4630 * sysdeps/ia64/fpu/e_remainderl.S: New file.
4631 * sysdeps/ia64/fpu/e_scalb.S: New file.
4632 * sysdeps/ia64/fpu/e_scalbf.S: New file.
4633 * sysdeps/ia64/fpu/e_scalbl.S: New file.
4634 * sysdeps/ia64/fpu/e_sinh.S: New file.
4635 * sysdeps/ia64/fpu/e_sinhf.S: New file.
4636 * sysdeps/ia64/fpu/e_sinhl.S: New file.
4637 * sysdeps/ia64/fpu/e_sqrt.S: New file.
4638 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
4639 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
4640 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
4641 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
4642 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
4643 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
4644 * sysdeps/ia64/fpu/libm_error.c: New file.
4645 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
4646 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
4647 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
4648 * sysdeps/ia64/fpu/libm_reduce.S: New file.
4649 * sysdeps/ia64/fpu/libm_support.h: New file.
4650 * sysdeps/ia64/fpu/libm_tan.S: New file.
4651 * sysdeps/ia64/fpu/s_atan.S: New file.
4652 * sysdeps/ia64/fpu/s_atanf.S: New file.
4653 * sysdeps/ia64/fpu/s_atanl.S: New file.
4654 * sysdeps/ia64/fpu/s_cbrt.S: New file.
4655 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
4656 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
4657 * sysdeps/ia64/fpu/s_ceil.S: New file.
4658 * sysdeps/ia64/fpu/s_ceilf.S: New file.
4659 * sysdeps/ia64/fpu/s_ceill.S: New file.
4660 * sysdeps/ia64/fpu/s_cos.S: New file.
4661 * sysdeps/ia64/fpu/s_cosf.S: New file.
4662 * sysdeps/ia64/fpu/s_cosl.S: New file.
4663 * sysdeps/ia64/fpu/s_expm1.S: New file.
4664 * sysdeps/ia64/fpu/s_expm1f.S: New file.
4665 * sysdeps/ia64/fpu/s_expm1l.S: New file.
4666 * sysdeps/ia64/fpu/s_floor.S: New file.
4667 * sysdeps/ia64/fpu/s_floorf.S: New file.
4668 * sysdeps/ia64/fpu/s_floorl.S: New file.
4669 * sysdeps/ia64/fpu/s_frexp.c: New file.
4670 * sysdeps/ia64/fpu/s_frexpf.c: New file.
4671 * sysdeps/ia64/fpu/s_frexpl.c: New file.
4672 * sysdeps/ia64/fpu/s_ilogb.S: New file.
4673 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
4674 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
4675 * sysdeps/ia64/fpu/s_ldexp.S: New file.
4676 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
4677 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
4678 * sysdeps/ia64/fpu/s_log1p.S: New file.
4679 * sysdeps/ia64/fpu/s_log1pf.S: New file.
4680 * sysdeps/ia64/fpu/s_log1pl.S: New file.
4681 * sysdeps/ia64/fpu/s_logb.S: New file.
4682 * sysdeps/ia64/fpu/s_logbf.S: New file.
4683 * sysdeps/ia64/fpu/s_logbl.S: New file.
4684 * sysdeps/ia64/fpu/s_matherrf.c: New file.
4685 * sysdeps/ia64/fpu/s_matherrl.c: New file.
4686 * sysdeps/ia64/fpu/s_modf.S: New file.
4687 * sysdeps/ia64/fpu/s_modff.S: New file.
4688 * sysdeps/ia64/fpu/s_modfl.S: New file.
4689 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
4690 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
4691 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
4692 * sysdeps/ia64/fpu/s_rint.S: New file.
4693 * sysdeps/ia64/fpu/s_rintf.S: New file.
4694 * sysdeps/ia64/fpu/s_rintl.S: New file.
4695 * sysdeps/ia64/fpu/s_round.S: New file.
4696 * sysdeps/ia64/fpu/s_roundf.S: New file.
4697 * sysdeps/ia64/fpu/s_roundl.S: New file.
4698 * sysdeps/ia64/fpu/s_scalbn.S: New file.
4699 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
4700 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
4701 * sysdeps/ia64/fpu/s_significand.S: New file.
4702 * sysdeps/ia64/fpu/s_significandf.S: New file.
4703 * sysdeps/ia64/fpu/s_significandl.S: New file.
4704 * sysdeps/ia64/fpu/s_sin.c: New file.
4705 * sysdeps/ia64/fpu/s_sincos.c: New file.
4706 * sysdeps/ia64/fpu/s_sincosf.c: New file.
4707 * sysdeps/ia64/fpu/s_sincosl.c: New file.
4708 * sysdeps/ia64/fpu/s_sinf.c: New file.
4709 * sysdeps/ia64/fpu/s_sinl.c: New file.
4710 * sysdeps/ia64/fpu/s_tan.S: New file.
4711 * sysdeps/ia64/fpu/s_tanf.S: New file.
4712 * sysdeps/ia64/fpu/s_tanl.S: New file.
4713 * sysdeps/ia64/fpu/s_trunc.S: New file.
4714 * sysdeps/ia64/fpu/s_truncf.S: New file.
4715 * sysdeps/ia64/fpu/s_truncl.S: New file.
4716 * sysdeps/ia64/fpu/w_acos.c: New file.
4717 * sysdeps/ia64/fpu/w_acosf.c: New file.
4718 * sysdeps/ia64/fpu/w_acosl.c: New file.
4719 * sysdeps/ia64/fpu/w_asin.c: New file.
4720 * sysdeps/ia64/fpu/w_asinf.c: New file.
4721 * sysdeps/ia64/fpu/w_asinl.c: New file.
4722 * sysdeps/ia64/fpu/w_atan2.c: New file.
4723 * sysdeps/ia64/fpu/w_atan2f.c: New file.
4724 * sysdeps/ia64/fpu/w_atan2l.c: New file.
4725 * sysdeps/ia64/fpu/w_cosh.c: New file.
4726 * sysdeps/ia64/fpu/w_coshf.c: New file.
4727 * sysdeps/ia64/fpu/w_coshl.c: New file.
4728 * sysdeps/ia64/fpu/w_exp.c: New file.
4729 * sysdeps/ia64/fpu/w_expf.c: New file.
4730 * sysdeps/ia64/fpu/w_fmod.c: New file.
4731 * sysdeps/ia64/fpu/w_fmodf.c: New file.
4732 * sysdeps/ia64/fpu/w_fmodl.c: New file.
4733 * sysdeps/ia64/fpu/w_hypot.c: New file.
4734 * sysdeps/ia64/fpu/w_hypotf.c: New file.
4735 * sysdeps/ia64/fpu/w_hypotl.c: New file.
4736 * sysdeps/ia64/fpu/w_log.c: New file.
4737 * sysdeps/ia64/fpu/w_log10.c: New file.
4738 * sysdeps/ia64/fpu/w_log10f.c: New file.
4739 * sysdeps/ia64/fpu/w_log10l.c: New file.
4740 * sysdeps/ia64/fpu/w_logf.c: New file.
4741 * sysdeps/ia64/fpu/w_logl.c: New file.
4742 * sysdeps/ia64/fpu/w_pow.c: New file.
4743 * sysdeps/ia64/fpu/w_powf.c: New file.
4744 * sysdeps/ia64/fpu/w_powl.c: New file.
4745 * sysdeps/ia64/fpu/w_remainder.c: New file.
4746 * sysdeps/ia64/fpu/w_remainderf.c: New file.
4747 * sysdeps/ia64/fpu/w_remainderl.c: New file.
4748 * sysdeps/ia64/fpu/w_scalb.c: New file.
4749 * sysdeps/ia64/fpu/w_scalbf.c: New file.
4750 * sysdeps/ia64/fpu/w_scalbl.c: New file.
4751 * sysdeps/ia64/fpu/w_sqrt.c: New file.
4752 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
4753 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
4754 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
4755 implementation.
4756 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
4757 Change FP_ILOGBNAN for new implementation.
4758 * Verions.def: Add 2.2.3 versions.
4759
e208f556
UD
47602001-02-18 Ulrich Drepper <drepper@redhat.com>
4761
4762 * math/libm-test.inc (scalb_test): Require invalid exception being
4763 raised for invalid parameters.
4764 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
4765 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4766 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4767
c967ec3e
MK
47682001-02-18 Mark Kettenis <kettenis@gnu.org>
4769
4770 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
4771 value to long int.
4772 (__get_avphys_pages): Likewise.
4773
6571c570
UD
47742001-02-18 Ulrich Drepper <drepper@redhat.com>
4775
4776 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
4777 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
4778 * sysdeps/i386/fpu/e_powf.S: Likewise.
4779 * sysdeps/i386/fpu/e_powl.S: Likewise.
4780
4781 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
4782
63640cb7
UD
47832001-02-17 Ulrich Drepper <drepper@redhat.com>
4784
4ebacc5a
UD
4785 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
4786
63640cb7 4787 * sysdeps/generic/s_exp2l.c: Renamed to...
6571c570 4788 * sysdeps/generic/e_exp2l.c: ...this. New file.
63640cb7 4789 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
6571c570 4790 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
63640cb7 4791 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
6571c570 4792 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
63640cb7 4793 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
6571c570 4794 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
63640cb7 4795 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
6571c570 4796 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
63640cb7 4797 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
6571c570 4798 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
63640cb7 4799 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
6571c570 4800 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
63640cb7 4801 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
6571c570 4802 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
63640cb7 4803 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
6571c570 4804 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
63640cb7 4805
d60a7756
AJ
48062001-02-17 Andreas Jaeger <aj@suse.de>
4807
4808 * configure.in: Allow gcc 3.
4809
78b385b8
UD
48102001-02-16 Ulrich Drepper <drepper@redhat.com>
4811
e2750935
UD
4812 * math/w_acos.c: Move to ...
4813 * sysdeps/generic/w_acos.c: ...here. New file.
4814 * math/w_acosf.c: Move to ...
4815 * sysdeps/generic/w_acosf.c: ...here. New file.
4816 * math/w_acosh.c: Move to ...
4817 * sysdeps/generic/w_acosh.c: ...here. New file.
4818 * math/w_acoshf.c: Move to ...
4819 * sysdeps/generic/w_acoshf.c: ...here. New file.
4820 * math/w_acoshl.c: Move to ...
4821 * sysdeps/generic/w_acoshl.c: ...here. New file.
4822 * math/w_acosl.c: Move to ...
4823 * sysdeps/generic/w_acosl.c: ...here. New file.
4824 * math/w_asin.c: Move to ...
4825 * sysdeps/generic/w_asin.c: ...here. New file.
4826 * math/w_asinf.c: Move to ...
4827 * sysdeps/generic/w_asinf.c: ...here. New file.
4828 * math/w_asinl.c: Move to ...
4829 * sysdeps/generic/w_asinl.c: ...here. New file.
4830 * math/w_atan2.c: Move to ...
4831 * sysdeps/generic/w_atan2.c: ...here. New file.
4832 * math/w_atan2f.c: Move to ...
4833 * sysdeps/generic/w_atan2f.c: ...here. New file.
4834 * math/w_atan2l.c: Move to ...
4835 * sysdeps/generic/w_atan2l.c: ...here. New file.
4836 * math/w_atanh.c: Move to ...
4837 * sysdeps/generic/w_atanh.c: ...here. New file.
4838 * math/w_atanhf.c: Move to ...
4839 * sysdeps/generic/w_atanhf.c: ...here. New file.
4840 * math/w_atanhl.c: Move to ...
4841 * sysdeps/generic/w_atanhl.c: ...here. New file.
4842 * math/w_cosh.c: Move to ...
4843 * sysdeps/generic/w_cosh.c: ...here. New file.
4844 * math/w_coshf.c: Move to ...
4845 * sysdeps/generic/w_coshf.c: ...here. New file.
4846 * math/w_coshl.c: Move to ...
4847 * sysdeps/generic/w_coshl.c: ...here. New file.
4848 * math/w_drem.c: Move to ...
4849 * sysdeps/generic/w_drem.c: ...here. New file.
4850 * math/w_dremf.c: Move to ...
4851 * sysdeps/generic/w_dremf.c: ...here. New file.
4852 * math/w_dreml.c: Move to ...
4853 * sysdeps/generic/w_dreml.c: ...here. New file.
4854 * math/w_exp10.c: Move to ...
4855 * sysdeps/generic/w_exp10.c: ...here. New file.
4856 * math/w_exp10f.c: Move to ...
4857 * sysdeps/generic/w_exp10f.c: ...here. New file.
4858 * math/w_exp10l.c: Move to ...
4859 * sysdeps/generic/w_exp10l.c: ...here. New file.
4860 * math/w_exp2.c: Move to ...
4861 * sysdeps/generic/w_exp2.c: ...here. New file.
4862 * math/w_exp2f.c: Move to ...
4863 * sysdeps/generic/w_exp2f.c: ...here. New file.
4864 * math/w_exp2l.c: Move to ...
4865 * sysdeps/generic/w_exp2l.c: ...here. New file.
4866 * math/w_fmod.c: Move to ...
4867 * sysdeps/generic/w_fmod.c: ...here. New file.
4868 * math/w_fmodf.c: Move to ...
4869 * sysdeps/generic/w_fmodf.c: ...here. New file.
4870 * math/w_fmodl.c: Move to ...
4871 * sysdeps/generic/w_fmodl.c: ...here. New file.
4872 * math/w_hypot.c: Move to ...
4873 * sysdeps/generic/w_hypot.c: ...here. New file.
4874 * math/w_hypotf.c: Move to ...
4875 * sysdeps/generic/w_hypotf.c: ...here. New file.
4876 * math/w_hypotl.c: Move to ...
4877 * sysdeps/generic/w_hypotl.c: ...here. New file.
4878 * math/w_j0.c: Move to ...
4879 * sysdeps/generic/w_j0.c: ...here. New file.
4880 * math/w_j0f.c: Move to ...
4881 * sysdeps/generic/w_j0f.c: ...here. New file.
4882 * math/w_j0l.c: Move to ...
4883 * sysdeps/generic/w_j0l.c: ...here. New file.
4884 * math/w_j1.c: Move to ...
4885 * sysdeps/generic/w_j1.c: ...here. New file.
4886 * math/w_j1f.c: Move to ...
4887 * sysdeps/generic/w_j1f.c: ...here. New file.
4888 * math/w_j1l.c: Move to ...
4889 * sysdeps/generic/w_j1l.c: ...here. New file.
4890 * math/w_jn.c: Move to ...
4891 * sysdeps/generic/w_jn.c: ...here. New file.
4892 * math/w_jnf.c: Move to ...
4893 * sysdeps/generic/w_jnf.c: ...here. New file.
4894 * math/w_jnl.c: Move to ...
4895 * sysdeps/generic/w_jnl.c: ...here. New file.
4896 * math/w_lgamma.c: Move to ...
4897 * sysdeps/generic/w_lgamma.c: ...here. New file.
4898 * math/w_lgammaf.c: Move to ...
4899 * sysdeps/generic/w_lgammaf.c: ...here. New file.
4900 * math/w_lgammaf_r.c: Move to ...
4901 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
4902 * math/w_lgammal.c: Move to ...
4903 * sysdeps/generic/w_lgammal.c: ...here. New file.
4904 * math/w_lgammal_r.c: Move to ...
4905 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
4906 * math/w_lgamma_r.c: Move to ...
4907 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
4908 * math/w_log10.c: Move to ...
4909 * sysdeps/generic/w_log10.c: ...here. New file.
4910 * math/w_log10f.c: Move to ...
4911 * sysdeps/generic/w_log10f.c: ...here. New file.
4912 * math/w_log10l.c: Move to ...
4913 * sysdeps/generic/w_log10l.c: ...here. New file.
4914 * math/w_log.c: Move to ...
4915 * sysdeps/generic/w_log.c: ...here. New file.
4916 * math/w_logf.c: Move to ...
4917 * sysdeps/generic/w_logf.c: ...here. New file.
4918 * math/w_logl.c: Move to ...
4919 * sysdeps/generic/w_logl.c: ...here. New file.
4920 * math/w_pow.c: Move to ...
4921 * sysdeps/generic/w_pow.c: ...here. New file.
4922 * math/w_powf.c: Move to ...
4923 * sysdeps/generic/w_powf.c: ...here. New file.
4924 * math/w_powl.c: Move to ...
4925 * sysdeps/generic/w_powl.c: ...here. New file.
4926 * math/w_remainder.c: Move to ...
4927 * sysdeps/generic/w_remainder.c: ...here. New file.
4928 * math/w_remainderf.c: Move to ...
4929 * sysdeps/generic/w_remainderf.c: ...here. New file.
4930 * math/w_remainderl.c: Move to ...
4931 * sysdeps/generic/w_remainderl.c: ...here. New file.
4932 * math/w_scalb.c: Move to ...
4933 * sysdeps/generic/w_scalb.c: ...here. New file.
4934 * math/w_scalbf.c: Move to ...
4935 * sysdeps/generic/w_scalbf.c: ...here. New file.
4936 * math/w_scalbl.c: Move to ...
4937 * sysdeps/generic/w_scalbl.c: ...here. New file.
4938 * math/w_sinh.c: Move to ...
4939 * sysdeps/generic/w_sinh.c: ...here. New file.
4940 * math/w_sinhf.c: Move to ...
4941 * sysdeps/generic/w_sinhf.c: ...here. New file.
4942 * math/w_sinhl.c: Move to ...
4943 * sysdeps/generic/w_sinhl.c: ...here. New file.
4944 * math/w_sqrtl.c: Move to ...
4945 * sysdeps/generic/w_sqrtl.c: ...here. New file.
4946 * math/w_tgamma.c: Move to ...
4947 * sysdeps/generic/w_tgamma.c: ...here. New file.
4948 * math/w_tgammaf.c: Move to ...
4949 * sysdeps/generic/w_tgammaf.c: ...here. New file.
4950 * math/w_tgammal.c: Move to ...
4951 * sysdeps/generic/w_tgammal.c: ...here. New file.
4952
78b385b8
UD
4953 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
4954 formats for postal_fmt.
4955
49562001-02-16 Jakub Jelinek <jakub@redhat.com>
4957
4958 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
4959 __ftruncate64 alias.
4960 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
4961 Likewise.
4962
49632001-02-15 David Mosberger <davidm@hpl.hp.com>
4964
4965 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
4966 do "loadrs". Writing to bspstore already takes care of
4967 invalidating the "clean" partition.
4968
75a11ec0
AS
49692001-02-16 Andreas Schwab <schwab@suse.de>
4970
4971 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
4972 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
4973
2d0aea11
UD
49742001-02-15 Jakub Jelinek <jakub@redhat.com>
4975
4976 * posix/regex.c (init_syntax_once): Add prototype.
4977 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
4978 (re_search_2): Avoid warning.
4979 (count_mbs_length): Add prototype.
4980 * posix/tst-regex3.c: New file.
4981 * posix/Makefile (tests): Add bug-regex3.
4982
581cc571
UD
49832001-02-15 Ulrich Drepper <drepper@redhat.com>
4984
093b0a7d
UD
4985 * stdio-common/Makefile (tests): Add tst-gets.
4986 * stdio-common/tst-gets.c: New file.
4987 * stdio-common/tst-gets.input: New file.
4988
3f1866e3
UD
4989 * elf/elf.h (DT_CHECKSUM): Define.
4990
581cc571
UD
4991 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
4992 default symbol.
4993 * sysdeps/generic/strtoull.c: Likewise.
4994
8a216c1b
UD
49952001-02-14 Wolfram Gloger <wg@malloc.de>
4996
4997 * malloc/malloc.c (new_heap): When allocating large chunk aligned
4998 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
4999 between the heaps.
5000
3126bc1e
UD
50012001-02-14 Ulrich Drepper <drepper@redhat.com>
5002
cd53c157
UD
5003 * math/libm-test.inc (j0_test): Check whether sincos is available.
5004 (j1_test): Likewise.
5005 (jn_test): Likewise.
5006 (y0_test): Likewise.
5007 (y1_test): Likewise.
5008 (yn_test): Likewise.
5009
5010 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
5011 fake filesystem routines to handle this.
5012
36874b21
UD
5013 * time/sys/time.h: Make settimeofday and adjtime available if
5014 _BSD_SOURCE.
5015
5016 * time/sys/time.h: Make timer* macros available for BSD.
5017
a19cac65
UD
5018 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
5019 Patch by Yong Li <rigel863@yahoo.com>.
5020
3126bc1e
UD
5021 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5022 name.
5023
5024 * posix/Makefile (tests): Add tst-gnuglob.
5025 * posix/tst-gnuglob.c: New file.
5026
25bbbb54
UD
50272001-02-13 H.J. Lu <hjl@gnu.org>
5028
5029 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5030
cf6960d7
UD
50312001-02-13 Ulrich Drepper <drepper@redhat.com>
5032
be8c46fc
UD
5033 * locale/programs/ld-paper.c (paper_output): Pretty printing.
5034
cf6960d7
UD
5035 * iconvdata/Makefile (modules): Add GBBIG5.
5036 (distribute): Add gbbig5.c.
cf6960d7
UD
5037 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5038
9adc32d8
UD
5039 * iconvdata/gbbig5.c: New file.
5040 Contributed by Yong Li <rigel863@yahoo.com>.
5041
cf6960d7
UD
50422001-02-13 Philip Blundell <pb@futuretv.com>
5043
5044 * manual/crypt.texi: Remove outdated references to crypt add-on.
5045
5046 * manual/creature.texi: Improve wording slightly.
5047
f1a26a85
UD
50482001-02-13 Ulrich Drepper <drepper@redhat.com>
5049
2958e6cc
UD
5050 * io/ftw.c: Always use readdir64.
5051 * io/ftw64.c: Likewise.
5052 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5053 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
be8c46fc 5054 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
2958e6cc
UD
5055 callback to dirent. Still allow compiling outside glibc.
5056 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5057 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5058
5059 * malloc/mtrace.c: Use fopen64.
5060 * posix/spawni.c: Use __open64.
5061 * sysdeps/unix/opendir.c: Likewise.
5062 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5063
5064 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5065 name a weak alias.
5066 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5067 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5068 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5069 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5070
5071 * resolv/res_data.c: Add cast to avoid warning.
5072
5073 * include/unistd.h: Declare __ftruncate64.
5074
be8c46fc 5075 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
2958e6cc 5076
f1a26a85
UD
5077 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5078 instead of __lseek.
5079
e22a1a38
AJ
50802001-02-13 Andreas Jaeger <aj@suse.de>
5081
5082 * login/getutent_r.c: Include <stdlib.h> for NULL.
5083 * login/getutid_r.c: Likewise.
5084
8de5da94
UD
50852001-02-12 Ulrich Drepper <drepper@redhat.com>
5086
5087 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
f1a26a85
UD
5088 * sysdeps/dbl-64/e_j1.c: Likewise.
5089 * sysdeps/dbl-64/e_jn.c: Likewise.
8de5da94 5090 * sysdeps/flt-32/e_j0f.c: Likewise.
f1a26a85 5091 * sysdeps/flt-32/e_j1f.c: Likewise.
8de5da94
UD
5092 * sysdeps/ldbl-96/e_j0l.c: Likewise.
5093
0e3af135
UD
50942000-12-02 H.J. Lu <hjl@gnu.org>
5095
5096 * resolv/res_libc.c (res_init): Don't make it default.
5097
b3294a93
UD
50982001-02-12 Ulrich Drepper <drepper@redhat.com>
5099
5100 * manual/debug.texi: Improved the wording.
5101 Patch by Philip Blundell <pb@futuretv.com>.
5102
b647f210
AJ
51032001-02-12 Andreas Jaeger <aj@suse.de>
5104
5105 * posix/Makefile (tests): Don't run bug-regex2 when
5106 cross-compiling.
5107
5108 * libio/Makefile (tests): Don't run test-freopen when
5109 cross-compiling.
5110
5111 * manual/stdio.texi (Streams and I18N): Fix typos.
5112
0fc95b82
UD
51132001-02-12 Ulrich Drepper <drepper@redhat.com>
5114
adc37d79
UD
5115 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5116
5117 * math/libm-test.inc (j0_test): Make expected results long double
5118 constants.
5119 (y0_test): Likewise.
5120
0fc95b82
UD
5121 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5122 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5123
51242001-02-11 Jakub Jelinek <jakub@redhat.com>
5125
5126 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5127 which was exported from libc.
5128 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5129
9279500a
AJ
51302001-02-12 Andreas Jaeger <aj@suse.de>
5131
5132 * manual/arith.texi (Parsing of Integers): Fix some wordings.
5133
5b8d5ae1
UD
51342001-02-11 Ulrich Drepper <drepper@redhat.com>
5135
e4cf5229
UD
5136 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5137 and get_avphys_page to long int.
5138 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5139 * include/sys/sysinfo.h: Likewise.
5140 * sysdeps/generic/sys/sysinfo.h: Likewise.
5141 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5142
5b8d5ae1
UD
5143 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5144 cannot return as many values as the user asked for.
5145
27844eed
AJ
51462001-02-11 Andreas Jaeger <aj@suse.de>
5147
5148 * manual/resource.texi (Memory Resources): Fix typo.
5149
5150 * libio/Makefile ($(objpfx)test-freopen.out): Pass
5151 run-program-prefix.
5152
5153 * libio/test-freopen.sh: Use run_program_prefix.
5154
7e2e677e
AJ
51552001-02-10 Andreas Jaeger <aj@suse.de>
5156
e1e3ba54
AJ
5157 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5158 cross-compiling.
5159 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5160
5161 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5162 only builds.
5163
5164 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5165
d727629d
AJ
5166 * posix/Makefile: Fix typo, it's build-static-nss.
5167
7e2e677e
AJ
5168 * iconv/Makefile (extra-objs): New.
5169
157aa14d
MK
51702001-02-10 Mark Kettenis <kettenis@gnu.org>
5171
24ed578e
MK
5172 * sysdeps/unix/stime.c: Include <time.h>.
5173
157aa14d
MK
5174 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5175
227c0e22
AJ
51762001-02-10 Andreas Jaeger <aj@suse.de>
5177
5178 * manual/string.texi (Search Functions): Fix typo.
5179
87b56f36
UD
51802001-02-10 Mark Kettenis <kettenis@gnu.org>
5181
5182 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5183 (timeval_to_clock_t): Add clk_tck argument and use that instead of
5184 CLK_TCK.
5185 (__times): Use __getclktck to get the number of clock ticks per
5186 second and use its return value instead of CLK_TCK.
5187
51410f14
UD
51882001-02-10 Mark Kettenis <kettenis@gnu.org>
5189
5190 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5191
2fcc6286
MK
51922001-02-10 Mark Kettenis <kettenis@gnu.org>
5193
5194 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5195
3a705946
AJ
51962001-02-10 Andreas Jaeger <aj@suse.de>
5197
5198 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5199 warning.
5200
770d454d
UD
52012001-02-09 Ulrich Drepper <drepper@redhat.com>
5202
5203 * posix/Makefile: Add rules to build and run bug-regex2.
1068784c 5204 * posix/bug-regex2.c: New file.
770d454d
UD
5205
52062001-02-10 Jakub Jelinek <jakub@redhat.com>
5207
5208 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5209 (regex_compile): Likewise.
5210 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5211 (re_match_2_internal): Use just is_binary instead of two variables.
5212 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5213
257bdad0
UD
52142001-02-09 Ulrich Drepper <drepper@redhat.com>
5215
4ec29cb0
UD
5216 * version.h (VERSION): Bump to 2.2.2.
5217
e8ef6f28
UD
5218 * iconv/Makefile (distribute): Add iconv_charmap.c and
5219 dummy-repertoire.c.
5220 * elf/Makefile (distribute): Add firstobj.c.
5221 * Makefile (distribute): Add include/pthread.h.
5222
1468be21
UD
5223 * configure.in: Require makeinfo version 4.
5224
257bdad0
UD
5225 * libio/tst_wscanf.c (main): Add cast to avoid warning.
5226 * libio/tst_swscanf.c (main): Likewise..
5227
7c5bb945
UD
52282001-02-09 Jakub Jelinek <jakub@redhat.com>
5229
5230 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5231 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5232 __NO_MATH_INLINES.
5233 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5234 if not RTLD_BOOTSTRAP.
5235 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5236 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5237
f126ef67
UD
52382001-02-09 Ulrich Drepper <drepper@redhat.com>
5239
5240 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
5241 lr_ungetc to push back last read character.
5242 * locale/programs/linereader.h (lr_ungetc): Don't push back is
5243 character is EOF.
5244 (lr_ignore_rest): Don't warn about garbage if it is really the end
5245 of the file.
5246
5247 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5248 definition.
5249
6b58cbc0
UD
52502001-02-08 Ulrich Drepper <drepper@redhat.com>
5251
90feeaa2
UD
5252 * Makerules (build-shlib): Work around different order of
5253 processing of -B option in different gcc versions.
5254
441f7d1e
UD
5255 * posix/regex.c: Fix alignment problem.
5256 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5257
6b58cbc0
UD
5258 * sysdeps/alpha/strrchr.S: Little optimization.
5259 Patch by Richard Henderson <rth@redhat.com>.
5260
5261 * sysdeps/alpha/alphaev67/strrchr.S: New file.
441f7d1e 5262 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
6b58cbc0
UD
5263
52642001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
5265
5266 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5267 in the assembler end directive.
5268
f6af7428
AJ
52692001-02-08 Andreas Jaeger <aj@suse.de>
5270
5271 * manual/stdio.texi (Closing Streams): Fix typos.
5272
054d2bf7
UD
52732001-02-07 Ulrich Drepper <drepper@redhat.com>
5274
d97dfe5f
UD
5275 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5276 Patch by Richard Henderson <rth@redhat.com>.
5277 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5278
917e27b8 5279 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
6b58cbc0 5280 pointer in FILE structure before calling _IO_init.
917e27b8
UD
5281 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5282 strfmon_l if necessary.
5283 Reported by Jury Gerold <gjury@grips.com>.
5284
054d2bf7
UD
5285 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5286 Patch by Pekka.Pietikainen@cern.ch.
5287
5288 * posix/regex.c: Correct several problems with 64-bit architectures
5289 introduced in the MBS changes.
5290 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5291
52922001-02-07 Jakub Jelinek <jakub@redhat.com>
5293
5294 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5295 not defined.
5296 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5297
867aee06
AJ
52982001-02-07 Andreas Jaeger <aj@suse.de>
5299
5300 * manual/install.texi (Tools for Compilation): Fix typo.
5301 Reported by Pavel Machek <pavel@bug.ucw.cz>.
5302
5bfcc4d1
UD
53032001-02-07 Ulrich Drepper <drepper@redhat.com>
5304
5305 * stdlib/strtod.c: Never stop prematurely reading digits before the
5306 decimal point is found. Compute exponent limit for negative exponents
6b58cbc0 5307 correctly. For numbers ending in all zeros eat the zeros even before
5bfcc4d1
UD
5308 the decimal point if the exponent is negative [PR libc/2072].
5309 * stdlib/Makefile (tests): Add bug-strtod.
5310 * stdlib/bug-strtod.c: New file.
5311
18e532f1
AJ
53122001-02-07 Andreas Jaeger <aj@suse.de>
5313
5314 * posix/bug-regex1.c: Include <wchar.h> for fwide.
5315
d7fce7e0
UD
53162001-02-06 Ulrich Drepper <drepper@redhat.com>
5317
5bfcc4d1
UD
5318 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5319 Store index.
5320 (compile_range): Handle index being passed, not pointer.
5321 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5322
d7fce7e0
UD
5323 * posix/regex.c: Fix a cast in the code for bracket handling which
5324 caused 8-bit uncleanliness.
5325 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5326
5327 * posix/Makefile (tests): Add bug-regex1.
5328 * posix/bug-regex1.c: New file.
5329 Contributed by Jim Meyering <jim@meyering.net>.
5330
5331 * posix/regex.c: Many cleanups for incorrect format strings.
5332
cba7a888
AJ
53332001-02-06 Andreas Jaeger <aj@suse.de>
5334
5335 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5336
fdc6c28a
UD
53372001-02-06 Ulrich Drepper <drepper@redhat.com>
5338
5339 * locale/programs/locale.c (write_locales): Use scandir to read
5340 directory so that the entries are sorted.
5341
bd7f30a9
AJ
53422001-02-06 Andreas Jaeger <aj@suse.de>
5343
5344 * include/pthread.h: New file.
5345
5346 * wctype/wctype.h: Move internal interfaces from here to...
5347 * include/wctype.h: ...here.
5348
5349 * wcsmbs/wchar.h: Move __wcslen from here to...
5350 * include/wchar.h: ...here.
5351
5352 * posix/sys/wait.h: Move __wait from here to...
5353 * include/sys/wait.h: ...here.
5354
5355 * string/string.h: Move __ffs and __strerror_r from here to...
5356 * include/string.h: ...here.
5357
5358 * stdlib/stdlib.h: Move __on_exit from here to...
5359 * include/stdlib.h: ...here.
5360
5361 * libio/stdio.h: Move __vsnprintf from here to...
5362 * include/stdio.h: ...here.
5363
18bd8944
AS
53642001-02-06 Andreas Schwab <schwab@suse.de>
5365
5366 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
5367 headers.
5368
5369 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
5370 of $(inst_datadir).
5371
9a1b5e2c
UD
53722001-02-06 Ulrich Drepper <drepper@redhat.com>
5373
5374 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
5375
d4620e04
AJ
53762001-02-06 Andreas Jaeger <aj@suse.de>
5377
5378 * elf/firstobj.c: Add prototype.
5379
5380 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
5381 (truncate_wchar): Likewise.
5382
91cd8340
UD
53832001-02-06 Ulrich Drepper <drepper@redhat.com>
5384
5385 * locale/programs/locale.c: Implement --verbose option for -a
5386 which prints detailed information about the locales.
5387
216c1386
UD
53882001-02-05 Ulrich Drepper <drepper@redhat.com>
5389
5390 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
5391 variable to uint32_t.
5392 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
5393
02cd8aee
UD
53942001-02-04 Bruno Haible <haible@clisp.cons.org>
5395
5396 * locale/C-translit.h.in: Add transliterations for CJK units of
5397 measurement.
5398
403cb8a1
UD
53992001-02-05 Ulrich Drepper <drepper@redhat.com>
5400
68162753
UD
5401 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
5402 string. Include <inttypes.h> instead of <stdint.h>.
5403
403cb8a1
UD
5404 * localedata/Makefile (tests): Add bug-iconv-trans.
5405 Define bug-iconv-trans-ENV.
5406 * localedata/bug-iconv-trans.c: New file.
5407
54082001-02-04 Bruno Haible <haible@clisp.cons.org>
5409
5410 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
5411 pointer, to avoid accumulating output from incomplete (unsuccessful)
5412 transliteration attempts.
5413
ae113383
UD
54142001-02-05 Ulrich Drepper <drepper@redhat.com>
5415
5a35dfca
UD
5416 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
5417 string. Include <inttypes.h> instead of <stdint.h>.
5418
ae113383
UD
5419 * configure.in: Add check for bison.
5420 * config.make.in: Define BISON variable.
5421 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
5422 Rename YFLAGS to BISONFLAGS.
5423
414a6b0d
AJ
54242001-02-05 Andreas Jaeger <aj@suse.de>
5425
725c76a6
AJ
5426 * io/test-lfs.c (do_test): Test lseek64 return value, call
5427 test_ftello.
5428 (test_ftello): New function to test ftello64 and fseeko64.
5429
d9bfd1a5
AJ
5430 * signal/signal.h: Move __sigaction from here to...
5431 * include/signal.h: ...here.
5432
414a6b0d
AJ
5433 * io/fcntl.h: Move __fcntl and __open to...
5434 * include/fcntl.h: ...here.
5435
0c8b61e6
UD
54362001-02-04 Philip Blundell <philb@gnu.org>
5437
5438 * configure.in: Distinguish ARM from Thumb.
5439
54402001-02-04 Philip Blundell <philb@gnu.org>
5441
5442 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
5443 PC24 relocs with negative value.
5444
93693c4d
UD
54452001-02-04 Ulrich Drepper <drepper@redhat.com>
5446
5447 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
5448 files in locale/programs. Add CFLAGS definition to allow compiling
5449 localedef files.
5450 * iconv/dummy-repertoire.c: New file.
5451 * iconv/iconv_charmap.c: New file.
5452 * iconv/iconv_prog.h: New file.
5453 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
5454 (main): If parameter for -f and -t contain slashes try first to resolve
5455 the strings as filenames of charmap files. Use them for conversion
5456 in this case.
5457 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
5458 iconv getting charmap names as parameters.
5459 * locale/programs/linereader.c (lr_token): Take extra parameters
5460 verbose and pass it to get_string.
5461 (get_string): Take extra parameters verbose.
5462 * locale/programs/charmap.c (parse_charmap): Take extra parameters
5463 verbose and be_quiet. Change all callers of lr_token and
5464 parse_charmap.
5465 * locale/programs/charmap.h: Likewise.
5466 * locale/programs/ld-address.c: Likewise.
5467 * locale/programs/ld-collate.c: Likewise.
5468 * locale/programs/ld-ctype.c: Likewise.
5469 * locale/programs/ld-identification.c: Likewise.
5470 * locale/programs/ld-measurement.c: Likewise.
5471 * locale/programs/ld-messages.c: Likewise.
5472 * locale/programs/ld-monetary.c: Likewise.
5473 * locale/programs/ld-name.c: Likewise.
5474 * locale/programs/ld-numeric.c: Likewise.
5475 * locale/programs/ld-paper.c: Likewise.
5476 * locale/programs/ld-telephone.c: Likewise.
5477 * locale/programs/ld-time.c: Likewise.
5478 * locale/programs/linereader.c: Likewise.
5479 * locale/programs/linereader.h: Likewise.
5480 * locale/programs/localedef.c: Likewise.
5481 * locale/programs/locfile.c: Likewise.
5482 * locale/programs/locfile.h: Likewise.
5483 * locale/programs/repertoire.c: Likewise.
5484
b3c3fe42
UD
54852001-02-03 Ulrich Drepper <drepper@redhat.com>
5486
377c725f
UD
5487 * iconv/iconv_prog.c (main): If output file name is "-" write to
5488 stdout.
5489 (main): If -f or -t argument is missing use charset of the current
5490 locale.
b3c3fe42 5491
72a2ebb4
AJ
54922001-02-03 Andreas Jaeger <aj@suse.de>
5493
a4540639
AJ
5494 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
5495 boundary for SSE/SSE-2 alignment.
5496
72a2ebb4 5497 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
3c7bfc37 5498 annexc.
72a2ebb4 5499
3b46325b
UD
55002001-02-03 Ulrich Drepper <drepper@redhat.com>
5501
99b9b8ec 5502 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
a5f9233e 5503 Remove comma at end of enum.
99b9b8ec 5504
bd929413
UD
5505 * elf/dl-init.c: Add a few __builtin_expect.
5506
3b46325b
UD
5507 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
5508
4b1fef84
UD
55092001-02-02 Ulrich Drepper <drepper@redhat.com>
5510
3b46325b 5511 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
0c7dfa14
UD
5512 errno is ECONNREFUSED.
5513
5514 * posix/Makefile: Define MBS_SUPPORT for regex.c.
e4c785c8
UD
5515 * posix/regex.c: Implement multibyte character handling.
5516 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
5517
4b1fef84
UD
5518 * string/tst-svc.input: Add two more test cases.
5519 * string/tst-svc.expect: Modify to reflect new test cases.
5520
55212001-02-01 Jakub Jelinek <jakub@redhat.com>
5522
5523 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
5524 tp->name tests with tp->name[0] tests.
5525
55262001-01-29 Ben Collins <bcollins@debian.org>
5527
5528 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
5529 Fix check for name == NULL.
5530
5d916713
UD
55312001-02-01 Ulrich Drepper <drepper@redhat.com>
5532
b71e7ce8
UD
5533 * elf/Makefile: Add rules to build and run initfirst test.
5534 * elf/initfirst.c: New file.
5535 * elf/firstobj.c: New file.
5536
5d916713
UD
5537 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
5538 * configure.in: Test for -z initfirst linker option.
5539 * config.make.in: Add have-z-initfirst.
5540 * elf/dl-init.c (_dl_init): Split out actual initialization code in
5541 new function call_init. If _dl_initfirst is non-NULL initialize first.
5542 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
5543 remember object in _dl_initfirst.
5544 * elf/soinit.c: Remove special support for calling
5545 __pthread_initialize_minimal.
5546
5547 * conform/conformtest.pl: Add missing $prepend in type test.
5548
70dc5068
UD
55492001-01-31 Ulrich Drepper <drepper@redhat.com>
5550
5d916713
UD
5551 * elf/elf.h (SHT_CHECKSUM): New definition.
5552
70dc5068
UD
5553 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
5554 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5d916713 5555 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
70dc5068
UD
5556
55572001-01-31 Mark Kettenis <kettenis@gnu.org>
5558
5559 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
5560 to get definition of `struct timeval'.
5561
f798bf32
UD
55622001-01-31 Ulrich Drepper <drepper@redhat.com>
5563
5564 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
5565 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
5566
306eeae5
UD
55672001-01-30 Ulrich Drepper <drepper@redhat.com>
5568
5569 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
5570 seen, not flags.
5571
5572 * nis/nis_findserv.c: Include <time.h>.
5573
c7fb46a9
UD
55742001-01-30 Yong Li <yong.li@asu.edu>
5575
c7fb46a9
UD
5576 * iconv/iconv_prog.c (main): Correct error handling method name.
5577
7e118246
UD
55782001-01-29 Ben Collins <bcollins@debian.org>
5579
5580 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
5581 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
5582 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
5583 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
5584
3f66a0cf
UD
55852001-01-30 Ulrich Drepper <drepper@redhat.com>
5586
7e118246
UD
5587 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
5588 Patch by Marko Myllynen <myllynen@lut.fi>.
5589
5590 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
5591 (int instead of char).
5592 (__strpbrk_c3): Likewise.
5593 Reported by GOTO Masanori <gotom@debian.or.jp>.
5594
3f66a0cf
UD
5595 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
5596 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
5597 * include/sys/socket.h: Add SA_LEN here for internal use.
7e118246 5598 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
3f66a0cf 5599
9949bc63
UD
56002001-01-29 Ulrich Drepper <drepper@redhat.com>
5601
48d99185
UD
5602 * malloc/Makefile: Don't build memusagestat if cross-compiling.
5603
40576b87
UD
5604 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
5605
9949bc63
UD
5606 * math/libm-test.inc (rint_test): Add a few more tests for round
5607 to even rounding.
5608
4a2c9975
UD
56092001-01-28 Ulrich Drepper <drepper@redhat.com>
5610
38447cbe
UD
5611 * conform/data/pthread.h-data: Correct return type of pthread_exit.
5612
140ec510
UD
5613 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
5614
dfae0b7d
UD
5615 * conform/data/stdlib.h-data: Add _Exit.
5616
3584d5fb
UD
5617 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
5618 if not already happened.
5619 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
5620 Don't include <limits.h> and <bits/sockaddr.h>.
5621
59c8d6e1
UD
5622 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
5623
3c5912ee
UD
5624 * conform/data/spawn.h-data: Allow all of <sched.h>.
5625
c9a0e4ab
UD
5626 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
5627 unused variable.
5628
0e5d0c0a
UD
5629 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
5630 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
5631
1df66084
UD
5632 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
5633
48ba4bd2 5634 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
3bf3d361 5635 * libio/stdio.h: Define va_list correctly.
f9b9f291 5636
ddd1037e
UD
5637 * conform/data/pthread.h-data: Make priority protocol related
5638 functions optional. Fix typos.
5639
4a2c9975
UD
5640 * posix/sched.h: Define sched_priority as __sched_priority.
5641 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
5642 to __sched_priority.
5643 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5644
2ff458eb
UD
56452001-01-27 Ulrich Drepper <drepper@redhat.com>
5646
eb6c0470
UD
5647 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
5648 of <sys/time.h>.
5649
4fef60b3
UD
5650 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
5651 * sysdeps/unix/time.c: Likewise.
f8e25d3e 5652
73b6bffc
UD
5653 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
5654 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
5655 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
5656 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
5657 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
5658 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
5659 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
5660 * time/time.h: Likewise.
5661
5662 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
5663 * conform/data/complex.h-data: New file.
5664 * conform/data/tgmath.h-data: New file.
5665
5666 * conform/data/wchar.h-data: Add missing functions.
5667
5668 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
5669
5670 * conform/data/termios.h-data: Add missing const in tcsetattr()
5671 prototype.
5672
5673 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
5674 Don't define pid_t here.
5675
5676 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
5677
8be918b7
UD
5678 * conform/data/sys/time.h-data: Allow sys/select.h.
5679 * conform/data/sys/un.h-data: Fix typo.
5680 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
5681 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
5682 <sys/time.h>.
5683 * sysdeps/unix/clock_nanosleep.c: Likewise.
5684 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
5685 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5686 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
5687 * sysdeps/unix/clock_settime.c: Likewise.
5688
5689 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
5690 * login/getutent.c: Likewise.
5691 * login/getutid.c: Likewise.
5692 * login/getutline.c: Likewise.
5693
5694 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
5695
09a2231b
UD
5696 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
5697 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
5698 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
5699 f_fsid field after change in struct statvfs.
5700 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
5701 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
5702 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
5703
5704 * conform/data/sys/stat.h-data: Remove isfdtype. Use
5705 optional-macro.
5706
6f0ea379
UD
5707 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
5708 recvfrom, send, and socketpair prototypes. Add allow lines.
5709 * socket/sys/socket.h: Include <sys/uio.h>.
5710 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
5711 Fix type of second parameter of listen.
5712 Don't declare isfdtype unless __USE_MISC.
5713 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
5714 * sysdeps/mach/hurd/listen.c: Likewise.
5715 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
5716 ss_family and __ss_family.
5717 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5718 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5719 (struct msghdr): Change type of msg_iovlen to int and type of
5720 msg_controllen to socklen_t.
5721 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
5722 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
5723 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
d1ce5f2a
UD
5724 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
5725 (rresvport_af): Likewise.
6f0ea379 5726
257abbe2
UD
5727 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
5728 * conform/conformtest.pl: Implement handling of symbol.
5729
2ff458eb
UD
5730 * signal/signal.h: Fix handling of __need_* symbols.
5731 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
5732 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
5733 * include/sys/select.h: Use fd_set not __fd_set.
5734 * sysdeps/generic/bits/select.h: Likewise.
5735 * sysdeps/i386/bits/select.h: Likewise.
5736 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
5737 __FDELT, __FDMASK, and __fd_set here.
5738 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5739 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5740 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5741 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5742 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
5743 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5744 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5745 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5746 * time/sys/time.h: Define struct timeval before including <time.h>
5747 and <sys/select.h>.
5748
5749 * conform/data/sys/time.h-data: fd_set is a typedef.
5750 * conform/data/sys/select.h-data: New file.
5751 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
5752 * conform/conformtest.pl (@headers): Add sys/select.h.
5753 (type, optional-type): Unless testing a typedef instantiate object.
5754 Implement optional-function.
5755
5756 * math/test-misc.c: Include <float.h>.
5757
ded0a899
AJ
57582001-01-27 Andreas Jaeger <aj@suse.de>
5759
5760 * misc/efgcvt_r.c: Include <float.h>.
5761
5876389a
UD
57622001-01-26 Ulrich Drepper <drepper@redhat.com>
5763
61f9d0a3
UD
5764 * conform/data/stdlib.h-data: Account for XPG6 changes.
5765 * stdlib/stdlib.h (__random): Change return value type to long.
5766 (posix_memalign): Cleanup parameter names.
5767 (setenv, unsetenv): Make available for __USE_XOPEN2K.
5768 Change return type of unsetenv to int.
5769 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
842d709c 5770 * include/stdlib.h: Change return type of unsetenv to int.
344be96a 5771 Change return type of random to long int.
61f9d0a3
UD
5772 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
5773 Return -1 and set errno if parameter is invalid.
5774 * stdlib/random.c (__random): Change return value type to long.
5775
69bd45bd
UD
5776 * conform/data/stdio.h-data: Account for changes in XPG6.
5777
edf9cc89
UD
5778 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
5779 prototype.
5780
5a9339d5
UD
5781 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
5782 * conform/data/signal.h-data: Fix sigev_notify_function entry.
5783 Fix typo (SIGVALRM -> SIGVTALRM).
5784 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
5785 with real type.
5786 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5787 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5788 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5789 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5790 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5791
da238298
UD
5792 * conform/conformtest.pl: Implement optional-element. Define
5793 $mustprepend{"sched.h"}.
da238298
UD
5794 * conform/data/sched.h-data: Make sporadic scheduler definitions
5795 optional.
5796
5797 * pwd/pwd.h: Don't define getpwent_r for XPG.
5798
3eee1304
UD
5799 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
5800 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
5801 * sysdeps/mach/hurd/poll.c: Likewise.
5802 * sysdeps/unix/bsd/poll.c: Likewise.
5803 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5804 * sysdeps/unix/sysv/aix/poll.c: Likewise.
5805 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
5806 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
5807 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
5808 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
5809 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
5810 * conform/data/poll.h-data: Fix typo in poll prototype.
5811
feb4f759
UD
5812 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
5813 only if __USE_MISC.
5814 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
5815
84d7b1ea
UD
5816 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
5817
126f53e8
UD
5818 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
5819
ccd4b479
UD
5820 * conform/conformtest.pl: Implement optional-type.
5821
5822 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
5823 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
5824 defining uint32_t here. Define IPPORT_RESERVED.
5825 (struct hostent): Type of h_length element is int.
5826 (getnameinfo): Type of flags parameter is unsigned int.
5827 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
5828 * conform/data/netdb.h-data: Add many missing definitions.
5829
12b64309
UD
5830 * conform/conformtest.pl: Implement optional-macro.
5831 * conform/data/math.h-data: Update for XPG6.
5832
5833 * math/math.h (HUGE): Define as FLT_MAX value but don't use
5834 FLT_MAX. Don't include <float.h>.
5835 (MAXFLOAT): Likewise.
5836
5837 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
5838
a7927149
UD
5839 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
5840
ef7aba4c
UD
5841 * conform/data/limits.h-data: Mark constants as optional wherever
5842 appropriate.
5843
dbc3e61b
UD
5844 * posix/bits/posix2_lim.h: Set correct values for
5845 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
5846 EQUIV_CLASS_MAX.
5847
0c0b9451
UD
5848 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
5849 Required by POSIX.
5850
58593d2e
UD
5851 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
5852
5876389a
UD
5853 * conform/data/netinet/in.h-data: Add reserved prefixes.
5854
5855 * conform/data/arpa/inet.h-data: Fix a few typos.
5856
4422df02
AJ
58572001-01-26 Andreas Jaeger <aj@suse.de>
5858
f46a097c
AJ
5859 * sysdeps/generic/strtol.c: Include <locale.h>
5860 * stdlib/strtod.c: Likewise
5861 * stdlib/strfmon.c: Likewise.
6d6e4021
AJ
5862 * string/strcoll.c: Likewise.
5863 * string/strxfrm.c: Likewise.
5864 * wctype/wcfuncs_l.c: Likewise.
5865 * wctype/wctype_l.c: Likewise.
5866 * wctype/wctrans_l.c: Likewise.
f46a097c 5867
4422df02
AJ
5868 * include/bits/locale.h: New file.
5869
020275b5
UD
58702001-01-26 Ulrich Drepper <drepper@redhat.com>
5871
d0376ea7
UD
5872 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
5873 and NOSTR.
5874
3e154a6f
UD
5875 * locale/Makefile (headers): Add bits/locale.h.
5876 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
5877 and use __LC_ constants instead of LC_.
5878 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
5879 using __LC_ constants.
5880 * locale/bits/locale.h: New file.
5881 * locale/loadlocale.c: Include <locale.h>.
5882 * locale/nl_langinfo.h: Likewise.
5883
97ac0eaf
UD
5884 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
5885
1e4380f8
UD
5886 * io/sys/stat.h: Define S_IFSOCK for XPG6.
5887
5888 * conform/data/fcntl.h-data: posix_madvise is not expected here.
5889
7cc9fcf4
UD
5890 * conform/conformtest.pl: Fix handling of macro-str.
5891
aaca79eb
UD
5892 * conform/data/inttypes.h-data: Add missing definition and all of
5893 stdint.h-data.
5894
020275b5
UD
5895 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
5896
bec7805d
UD
58972001-01-25 Ulrich Drepper <drepper@redhat.com>
5898
020275b5
UD
5899 * conform/conformtest.pl (@headers): Add stdint.h.
5900 * conform/data/stdint.h-data: New file.
5901
ad4f2ebf
UD
5902 * conform/conformtest.pl: Recognize options --headers and
5903 --dialect. Add dialect-specific CFLAGS.
5904
9d48fef0
UD
5905 * conform/conformtest.pl: Implement handling of recursive
5906 allow-header.
5907
5908 * conform/data/locale.h-data: Add new struct lconv members.
5909
8a6c2217
UD
5910 * posix/wordexp.h: Correct definition of wordexp_t.
5911 * posix/wordexp.c: Moved to ...
5912 * sysdeps/generic/wordexp.c: ...here. New file.
5913 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
5914 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
5915 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
5916 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
5917 wordexp.
5918 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
5919 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
5920
deea1b29
UD
5921 * math/tgmath.h: Pretty printing.
5922
4f2689f4
UD
5923 * math/Makefile (tests): Add test-tgmath.
5924 (CFLAGS-test-tgmath.c): New variable.
5925 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
5926
bec7805d
UD
5927 * conform/conformtest.pl: Handle allow-header in secondary headers
5928 correctly.
5929
5930 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
5931 #ifdef.
5932
5933 * conform/data/netinet/in.h-data: Use correct comment character.
5934 * conform/data/sys/stat.h-data: Likewise.
5935
e7c3d12b
UD
59362001-01-25 Jakub Jelinek <jakub@redhat.com>
5937
5938 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
5939 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
5940 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
5941 __builtin_classify_type, add ##f suffixes where appropriate.
5942 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
5943 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
5944 __builtin_classify_type.
5945 (fma): Fix spelling of first argument.
5946
4de9dbfa
UD
59472001-01-25 Ulrich Drepper <drepper@redhat.com>
5948
773bd1e1
UD
5949 * conform/data/unistd.h-data: Mark functions removed in XPG6
5950 correctly.
5951
5952 * posix/unistd.h: Don't make functions removed in XPG6 available if
d921b304
UD
5953 __USE_XOPEN2K.
5954
2eba94b2
UD
5955 * conform/conformtest.pl: Implement optional-constant.
5956 * conform/data/unistd.h-data: Use optional-constant wherever
5957 appropriate.
5958
6b3e8333
UD
5959 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
5960 constants and add _SC_STREAMS.
5961 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5962
87d2f3f0
UD
5963 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
5964 make old name weak alias.
5965 * sysdeps/generic/statvfs64.c: Likewise.
5966 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
5967 make old name weak alias.
5968 * sysdeps/generic/fstatvfs64.c: Likewise.
c1fac803 5969 * include/sys/statvfs.h: New file.
87d2f3f0 5970
2da161d4
UD
5971 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
5972 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
5973 _PC_REC_XFER_ALIGN.
5974 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
5975 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5976 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
87d2f3f0 5977 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2da161d4 5978
7287c36d
UD
5979 * conform/conformtest.pl: Run Unix tests for XPG6.
5980 Implement handling of known namespace violations.
5981 Improve printing of results.
5982
5983 * posix/unistd.h (usleep): Correct return type.
5984 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
5985 * sysdeps/unix/bsd/usleep.c: Correct return type.
5986 * sysdeps/mach/usleep.c: Correct return type.
5987 * sysdeps/generic/usleep.c: Correct return type.
5988
5989 * posix/unistd.h (sync): Correct return type.
5990 * sysdeps/generic/sync.c: Likewise.
5991 * sysdeps/mach/hurd/sync.c: Likewise.
5992
5993 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
5994
49833554
UD
5995 * posix/unistd.h: Make seteuid and setegid available for XPG6.
5996
d9826675
UD
5997 * wcsmbs/wchar.h: Get FILE definition for XPG5.
5998
4de9dbfa
UD
5999 * conform/data/ctype.h-data: Use correct comment form.
6000 * conform/data/errno.h-data: Likewise.
6001 * conform/data/math.h-data: Likewise.
6002 * conform/data/mqueue.h-data: Likewise.
6003 * conform/data/netdb.h-data: Likewise.
6004 * conform/data/pthread.h-data: Likewise.
6005
dc5fd907
UD
60062001-01-24 Ulrich Drepper <drepper@redhat.com>
6007
c39fb5e4
UD
6008 * conform/data/wordexp.h-data: Fix typo.
6009
d753ffef
UD
6010 * conform/conformtest.pl: Handle allow-header correctly.
6011
6012 * conform/data/time.h-data: Use correct comment form.
6013
19533127
UD
6014 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
6015
45ef592d
UD
6016 * configure.in: Comment out binutils version test.
6017
dc5fd907
UD
6018 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
6019 separators.
6020 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6021
6022 * stdlib/tst-strtod.c (locale_test): New function.
6023 (main): Call locale_test.
98d3e993 6024 * stdlib/Makefile (tst-strtod-ENV): New variable.
dc5fd907 6025
99f1b15b
MK
60262001-01-24 Mark Kettenis <kettenis@gnu.org>
6027
6028 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6029 declaration of value such that we actually return the value of the
6030 environment variable.
6031
1f3109a5
AJ
60322001-01-24 Andreas Jaeger <aj@suse.de>
6033
6034 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6035 prototype.
6036 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6037
dc5fd907 6038 * include/sys/sysctl.h: New file.
1f3109a5 6039
ecf525cd
AJ
60402001-01-23 Andreas Jaeger <aj@suse.de>
6041
1f3109a5
AJ
6042 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6043 isomac.
7eff7a05 6044
b0ed91ae
AJ
6045 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6046 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6047 closes PR libc/2039.
6048
ecf525cd
AJ
6049 * manual/install.texi (Tools for Compilation): Change required
6050 binutils version.
6051
7d0673ae
AJ
60522001-01-22 Andreas Jaeger <aj@suse.de>
6053
ea9f119b
AJ
6054 * configure.in: Add test for new enough binutils version, move
6055 compiler/binutils test up.
6056
7d0673ae
AJ
6057 * Versions.def: Add version GLIBC_2.2.2.
6058
3132d11a
UD
60592001-01-21 Ulrich Drepper <drepper@redhat.com>
6060
6061 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6062 available.
6063 * iconvdata/testdata/IBM932: New file.
6064 * iconvdata/testdata/IBM932..UTF8: New file.
6065 * iconvdata/testdata/IBM943: New file.
6066 * iconvdata/testdata/IBM943..UTF8: New file.
6067 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6068
608d481e
UD
60692001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6070
6071 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6072
60732001-01-21 Ulrich Drepper <drepper@redhat.com>
6074
6075 * malloc/malloc.c: Remove a few unnecessary initializers of global
6076 variables.
6077
a5fdf99b
UD
60782000-12-09 H.J. Lu <hjl@gnu.org>
6079
6080 * nss/Makefile (routines): Add digits_dots.
6081 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6082 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6083 into a function.
6084 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6085 function.
6086 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6087 (TYPE_VAR_P): Likewise.
6088 (FLAGS_VAR): Likewise.
6089 (AF_VAR_P): Likewise.
6090 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6091 instead of including digits_dots.c.
6092 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6093 (TYPE_VAR_P): Likewise.
6094 (FLAGS_VAR): Likewise.
6095 (AF_VAR_P): Likewise.
6096 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6097 instead of including digits_dots.c.
6098
df18ec9a
UD
60992001-01-21 Ulrich Drepper <drepper@redhat.com>
6100
6101 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6102
01ed3747
AJ
61032001-01-21 Andreas Jaeger <aj@suse.de>
6104
6105 * elf/constload2.c: Add prototype for init.
6106
27cb6b28
UD
61072001-01-21 Ulrich Drepper <drepper@redhat.com>
6108
d17c01f9
UD
6109 * stdlib/stdlib.h (drand48_data): Make available only for
6110 __USE_MISC. Rename elements to protect namespace. Change type
6111 and position of a and init element.
6112 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6113 differently. Adjust for drand48_data change. Don't compute a here,
6114 it comes from drand48_data.
6115 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6116 differently. Adjust for drand48_data change. Compute a here.
6117 * stdlib/srand48_r.c: Likewise.
6118 * stdlib/drand48.c: Adjust for drand48_data change.
6119 * stdlib/lrand48.c: Likewise.
6120 * stdlib/mrand48.c: Likewise.
6121 * stdlib/seek48.c: Likewise.
6122 * stdlib/drand48_r.c: Likewise.
6123 * stdlib/lrand48_r.c: Likewise.
6124 * stdlib/mrand48_r.c: Likewise.
6125 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
6126 differently.
6127 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6128 * stdlib/jrand48_r.c: Likewise.
6129
27cb6b28
UD
6130 * po/sv.po: Update from translation team.
6131
d28c955e
AJ
61322001-01-21 Andreas Jaeger <aj@suse.de>
6133
6134 * stdio-common/vfprintf.c (vfprintf): Add casts.
6135
21a568e2
UD
61362001-01-20 Ulrich Drepper <drepper@redhat.com>
6137
3b7caeac
UD
6138 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6139 the ASCII test.
6140 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6141
6142 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6143 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6144 * iconvdata/ibm932.c: New file.
6145 * iconvdata/ibm932.h: New file.
6146 * iconvdata/ibm943.c: New file.
6147 * iconvdata/ibm943.h: New file.
6148 Patches by Masahide Washizawa <washi@jp.ibm.com>.
6149
b72f9d51
UD
6150 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6151 preventing optimization from being done. Set the correct type bit
6152 in seen. Don't define and use _dl_base_addr unless
1b6020c1
UD
6153 NEED_DL_BASE_ADDR is defined.
6154
21a568e2
UD
6155 * io/ftw.c (ftw_dir): Add slash after directory name if there
6156 wasn't any. Reported by loris <loris@iol.it>.
6157 * io/Makefile (tests): Add bug-ftw2.
6158 * io/bug-ftw2.c: New file.
6159
ec4ae3b8
UD
61602001-01-19 Ulrich Drepper <drepper@redhat.com>
6161
df152cc8
UD
6162 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6163 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
6164 * stdlib/tst-rand48.c: New file.
6165 * stdlib/Makefile (tests): Add tst-rand48.
6166
ec4ae3b8
UD
6167 * locale/newlocale.c (__newlocale): Fix test for setting all
6168 categories.
6169
db11c38c
MK
61702001-01-19 Mark Kettenis <kettenis@gnu.org>
6171
6172 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6173 but change looking up the initial directory port in a similar way
6174 as done by _hurd_change_directory_port_from_name.
6175 * hurd/fchroot.c (fchroot): Likewise.
6176
2e42b53c
UD
61772001-01-18 Ulrich Drepper <drepper@redhat.com>
6178
4e56fdbc
UD
6179 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6180 defined don't look whether the AT_*ID values were set.
6181 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6182 (_dl_show_auxv): Rewrite to avoid switch statement.
6183 * sysdeps/unix/sysv/linux/kernel-features.h: Define
6184 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6185 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6186 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6187
5287b1d8
UD
6188 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6189 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6190 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6191
1e71bd52
UD
6192 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6193 strtoul.
6194 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6195 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6196 anything.
6197 * dlfcn/eval.c (__strtol_internal): Define here.
6198 (eval): Use __strtol_internal instead of strtol.
6199
2e42b53c
UD
6200 * elf/elf.h: Add a few more EF_MIPS_* constants.
6201
2244ddf2
UD
62022001-01-17 Ulrich Drepper <drepper@redhat.com>
6203
6204 * manual/Makefile (chapters): Add debug.
6205 * manual/debug.texi: New file.
6206 * manual/examples/execinfo.c: New file.
6207 Patch by suckfish@ihug.co.nz.
6208
ee490531
AS
62092001-01-17 Andreas Schwab <schwab@suse.de>
6210
6211 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6212 invalid asm.
6213
d26253b4
AJ
62142001-01-17 Andreas Jaeger <aj@suse.de>
6215
6216 * nscd/connections.c (nscd_run): Use proper format specifier.
6217
f806546c
UD
62182001-01-16 Ulrich Drepper <drepper@redhat.com>
6219
629cd0b8
UD
6220 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6221 x86_platforms data into new file after prepending _dl_. Change
6222 users.
6223 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6224 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6225 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6226 dl-procinfo.c.
6227
eca90c85
UD
6228 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6229
376c348c
UD
6230 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6231 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6232 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
f806546c 6233 (_setjmp): Likewise.
376c348c
UD
6234 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6235 * sysdeps/i386/bsd-setjmp.S: Real implementation.
6236 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6237 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
6238 version.
f806546c 6239
17b32c74
AJ
62402001-01-16 Andreas Jaeger <aj@suse.de>
6241
6242 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6243 misapplied last patch.
6244
ad7069d7
UD
62452001-01-15 Ulrich Drepper <drepper@redhat.com>
6246
a9e4124c
UD
6247 * stdlib/random.c (__initstate): Clean up a cast.
6248 (__setstate): Likewise.
6249
ad7069d7
UD
6250 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6251 syscall handling. The generic Linux version should work.
6252
d5049d86
AJ
62532001-01-15 Andreas Jaeger <aj@suse.de>
6254
dab64536
AJ
6255 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6256
376c348c 6257 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
d5049d86 6258
232b4655
UD
62592001-01-14 Jakub Jelinek <jakub@redhat.com>
6260
6261 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6262 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6263 New functions.
6264 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6265 If number is 0, list all.
6266 (services_keys): Likewise. Lookup aliases as well.
6267 (databases): New table.
6268 (build_doc): Prepare argp doc text with list of supported databases.
6269 (main): Change to table driven processing.
6270
62712001-01-14 Thorsten Kukuk <kukuk@suse.de>
6272
5b6bed49 6273 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
232b4655
UD
6274 functions.
6275
62762001-01-03 Jakub Jelinek <jakub@redhat.com>
6277
6278 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6279 encode value which does not fit in the 32bit type.
6280
6589ba79
AJ
62812001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
6282
6283 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6284 Change type of CTX to (struct sigcontext *).
6285 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6286 (GET_FRAME): Likewise.
6287 (GET_STACK): Likewise.
da1375be 6288 (SIGCONTEXT): Likewise. Add 2nd arg _code.
6589ba79
AJ
6289 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6290
b82d4f72
UD
62912001-01-13 Ulrich Drepper <drepper@redhat.com>
6292
6293 * manual/texinfo.tex: Update from upstream version.
6294
3f738366
UD
62952001-01-13 Jakub Jelinek <jakub@redhat.com>
6296
6297 * inet/ether_ntoh.c (lookup_function): Change arguments to match
6298 _nss_*_getntohost_r prototype.
6299 (ether_ntohost): Pass errno pointer to NSS function.
6300
6589ba79 63012001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3f738366
UD
6302
6303 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6304 (MAP_LOCKED): New definition.
6305 (MAP_NORESERVE): New definition.
6306
234669e2
UD
63072001-01-12 Ulrich Drepper <drepper@redhat.com>
6308
6309 * assert/assert.h: Use static_cast instead of C-style cast for C++.
6310 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6311
6589ba79 63122001-01-12 Ben Collins <bcollins@debian.org>
ff0eee29
UD
6313
6314 * sysdeps/generic/segfault.c (install_handler): Use access, not
6315 __access.
6316
a7cdbcb8
AJ
63172001-01-12 Andreas Jaeger <aj@suse.de>
6318
6319 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6320 * posix/wordexp.c (do_parse_glob): Likewise.
6321 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6322 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6323 * elf/dl-open.c (_dl_open): Likewise.
6324 * elf/dl-close.c (_dl_close): Likewise.
6325 * elf/dl-load.c (_dl_map_object): Likewise.
6326 * iconv/iconv_prog.c (process_fd): Likewise.
03769626 6327 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
a7cdbcb8
AJ
6328
6329 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6330 of a zero-length array.
6331
5ef50d00
UD
63322001-01-11 Jakub Jelinek <jakub@redhat.com>
6333
6334 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6335 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6336 * stdlib/cxa_on_exit.c: Remove.
6337 * stdlib/Makefile: Revert last patch.
6338 * stdlib/Versions: Likewise.
6339 * include/stdlib.h: Likewise.
6340 * stdlib/exit.h: Revert last patch.
6341 (struct exit_function): Add second argument to cxa fn.
6342 * stdlib/exit.c: Revert last patch.
6343 (exit): Add hidden second argument.
6344
7e36861e
UD
63452001-01-11 H.J. Lu <hjl@gnu.org>
6346
6347 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6348 * elf/dl-open.c (_dl_open): Here.
6349 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6350 Make it static.
6351 (_dl_static_init): Initialize the variables every time when possible.
6352 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6353 Undefine it first.
6354
3bbddbe4
UD
63552001-01-11 Ulrich Drepper <drepper@redhat.com>
6356
6357 * stdlib/Makefile (routines): Add cxa_on_exit.
6358 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6359 * stdlib/cxa_on_exit.c: New file.
6360 * include/stdlib.h: Add prototype for __cxa_on_exit.
6361 * stdlib/exit.c: Handle ef_cxa2.
6362 * stdlib/exit.h (enum): Add ef_cxa2.
6363 (struct exit_function): Add cxa2.
6364
6365 * Versions.def [ld]: Add GLIBC_2.2.1.
6366
beb5387c
UD
63672001-01-10 H.J. Lu <hjl@gnu.org>
6368
6369 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
6370 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
6371 dl-static.
6372 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
6373 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
6374 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
6375 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
6376 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
6377
c926001f
UD
63782001-01-11 Ulrich Drepper <drepper@redhat.com>
6379
6380 * libio/stdio.h: Remove definition of off_t.
6381
64ed4533
AJ
63822001-01-11 Andreas Jaeger <aj@suse.de>
6383
6384 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
6385 <mkuhn@acm.org>.
6386
b9483044
UD
63872001-01-10 Ulrich Drepper <drepper@redhat.com>
6388
6389 * sunrpc/Makefile (distribute): Add errqueue.h.
6390
b1eab230
UD
63912001-01-10 H.J. Lu <hjl@gnu.org>
6392
6393 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
6394 r9, r10 and r11 for language specific registers.
6395
63962001-01-10 Jakub Jelinek <jakub@redhat.com>
6397
6398 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
6399 UDP socket.
6400 (clntudp_call): Handle MSG_ERRQUEUE.
6401 * sysdeps/generic/errqueue.h: New file.
6402 * sysdeps/unix/sysv/linux/errqueue.h: New file.
6403
963100c9
UD
64042001-01-10 H.J. Lu <hjl@gnu.org>
6405
6406 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
6407
e32f6125
UD
64082001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
6409
6410 * CONFORMANCE: Update.
6411
4dd98cad
UD
64122001-01-09 Ulrich Drepper <drepper@redhat.com>
6413
88d88a58
UD
6414 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
6415 Minimal cleanups. Add assert to ensure memory handling is correct.
6416
4ab5b7b5
UD
6417 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
6418 Reported by Ben Collins <bcollins@debian.org>.
6419
4dd98cad
UD
6420 * time/strftime.c (my_strftime): Mark previous GNU extensions
6421 which are now in C99 as such.
6422
0b795736
UD
64232001-01-08 Ulrich Drepper <drepper@redhat.com>
6424
92effacf
UD
6425 * elf/rtld.c (process_envvars): Place output files for profiling
6426 in SUID binaries in /var/profile.
6427
27f9ede1
UD
6428 * elf/dl-load.c (_dl_map_object): Don't look in cache for
6429 preloading in SUID binaries.
6430
f2a8d16b
UD
6431 * elf/dl-profile.c (_dl_start_profile): Open the output file with
6432 O_NOFOLLOW if possible.
6433
0101a56f
UD
6434 * include/stdlib.h: Add __posix_openpt declaration.
6435 * stdlib/stdlib.h: Add posix_openpt declaration.
6436 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
6437 * sysdeps/generic/getpt.c: Define posix_openpt.
6438 * sysdeps/unix/bsd/getpt.c: Likewise.
6439 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
6440
354e6102
UD
6441 * time/Makefile (tests): Add tst-mktime.
6442 * time/tst-mktime.c: New file.
6443
6444 * posix/tst-dir.c (main): One more mkdir() test.
6445
f93e323f
UD
6446 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
6447 Remove getpagesize syscall. We assume that the pagesize is always
6448 determined from the auxiliary vector.
6449
0b795736
UD
6450 * intl/dcigettext.c: Fix a few warnings.
6451 Patch by Bruno Haible <haible@ilog.fr>.
6452
64532001-01-08 Andreas Jaeger <aj@suse.de>
6454
6455 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
6456 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
6457
9b2c7523
UD
64582001-01-08 Ulrich Drepper <drepper@redhat.com>
6459
2090dd73
UD
6460 * sysdeps/generic/segfault.c (install_handler): Check output file
6461 name with access().
6462
52ee6223
UD
6463 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
6464 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
6465
0eb8a89b
UD
6466 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
6467
cf1bb6d5
UD
6468 * malloc/memusage.c (me): Use access() to determine whether we
6469 should write the output file or not.
6470
9b2c7523
UD
6471 * libio/bits/stdio.h (printf): Define macro to map printf call to
6472 fprintf which gcc can optimize.
1950ebc6 6473 * stdio-common/printf.c: Undefine printf.
9b2c7523 6474
af58d8a2
UD
64752001-01-07 Ulrich Drepper <drepper@redhat.com>
6476
bf2c10de 6477 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6589ba79 6478 patch. We must use unsigned int for l member of union.
bf2c10de 6479
51ac41a7
UD
6480 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
6481 _dl_aux_init for shared libraries.
6482
af58d8a2
UD
6483 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
6484 * sysdeps/gnu/glob64.c: ...here. New file.
6485
6589ba79 64862001-01-07 Ben Collins <bcollins@debian.org>
9495793d
UD
6487
6488 * manual/examples/longopt.c: Make the "struct option" a little
6489 more like it should be, adding usage of required_argument,
6490 noargument and such, and also setting the options string right.
6491
6492 * manual/sysinfo.texi (Load Average): New section, documents
6493 getloadavg().
6494
531950ce
UD
64952001-01-06 Ulrich Drepper <drepper@redhat.com>
6496
22f02123
UD
6497 * version.h (VERSION): Bump to 2.2.1.
6498
b41486e9 6499 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
dabb1db4
UD
6500 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
6501 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
6502 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
6503 * Makefile (distribute): Add include/libc-internal.h.
6504 * libio/Makefile (distribute): Avoid overwriting.
b41486e9 6505
531950ce
UD
6506 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
6507 buffer and table handling.
6508
e4a5f77d
UD
65092001-01-05 H.J. Lu <hjl@gnu.org>
6510
6511 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
6512 vector checking to ...
da1375be 6513 (_dl_aux_init): Here. New function. Defined only if
e4a5f77d
UD
6514 HAVE_AUX_VECTOR is defined.
6515
6516 * sysdeps/generic/libc-start.c (__libc_start_main): Call
6517 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
6518
6519 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
6520 _dl_aux_init.
6521
6522 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
6523 (HAVE_AUX_VECTOR): Defined.
6524 (_dl_aux_init): Declared.
6525
6589ba79 65262001-01-05 Ben Collins <bcollins@debian.org>
bf798a95
UD
6527
6528 * manual/string.texi (Finding Tokens in a String): Document XPG
6529 basename() and dirname(), as well as GNU basename().
6530
65312001-01-05 Jakub Jelinek <jakub@redhat.com>
6532
6533 * Makeconfig (preprocess-version): Replace -traditional with
6534 -x assembler-with-cpp.
6535
65362001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
6537
6538 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
6539 for GCC 2.97 or later.
6540
6589ba79 65412001-01-05 Ben Collins <bcollins@debian.org>
bf798a95
UD
6542
6543 * manual/stdio.texi (getline): Clarify the return value in the
6544 case of EOF being reached before a newline.
6545
65462001-01-04 Jakub Jelinek <jakub@redhat.com>
6547
6548 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
6549 FALSE otherwise.
6550 (pmap_set, pmap_unset): Check __get_myaddress return value.
6551
65522001-01-05 Mark Kettenis <kettenis@gnu.org>
6553
6554 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
6555 (struct ether_addr): Declare ether_addr_octet member as
6556 `u_int8_t'. Add __attribute__ ((__packed__)).
6557
4c587216
MK
65582001-01-06 Mark Kettenis <kettenis@gnu.org>
6559
6560 * sysdeps/mach/hurd/readdir64.c: New file.
6561 * sysdeps/mach/hurd/readdir64_r.c: New file.
6562
ce08cce9
MK
65632001-01-07 Mark Kettenis <kettenis@gnu.org>
6564
6565 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
6566 `struct statfs' and `struct statvfs' being identical.
6567 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
6568
7b3d21b2
MK
65692001-01-06 Mark Kettenis <kettenis@gnu.org>
6570
6571 * sysdeps/mach/hurd/fstatfs64.c: New file.
6572 * sysdeps/mach/hurd/fstatvfs64.c: New file.
6573 * sysdeps/mach/hurd/statfs64.c: New file.
6574 * sysdeps/mach/hurd/statvfs64.c: New file.
6575 * sysdeps/mach/hurd/statfsconv.c: New file.
6576 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
6577
f1813b56
UD
65782001-01-06 Ulrich Drepper <drepper@redhat.com>
6579
6580 * iconv/skeleton.c: Reset outbuf for next round of the loop.
6581 Reported by Owen Taylor <otaylor@redhat.com>.
6582 * iconv/Makefile (tests): Add tst-iconv3.
6583 * iconv/tst-iconv3.c: New file.
6584
6585 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
6586 * iconvdata/ibm933.c: Likewise.
6587 * iconvdata/ibm935.c: Likewise.
6588 * iconvdata/ibm937.c: Likewise.
6589 * iconvdata/ibm939.c: Likewise.
6590 * iconvdata/ibm930.h: Adjust single byte table for optimization.
6591 * iconvdata/ibm933.h: Likewise.
6592 * iconvdata/ibm935.h: Likewise.
6593 * iconvdata/ibm939.h: Likewise.
6594
6595 * iconvdata/testdata/IBM930: Add misssing SI.
6596 * iconvdata/testdata/IBM933: Likewise.
6597 * iconvdata/testdata/IBM935: Likewise.
6598 * iconvdata/testdata/IBM937: Likewise.
6599 * iconvdata/testdata/IBM939: Likewise.
6600
aa44a9de
AJ
66012001-01-06 Andreas Jaeger <aj@suse.de>
6602
f1813b56
UD
6603 * configure.in: Check for old add-ons that shouldn't be used with
6604 current glibc anymore.
aa44a9de 6605
655bfb8b
MK
66062001-01-06 Mark Kettenis <kettenis@gnu.org>
6607
6608 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
6609 instead of -1 on failure. Don't forget to copy file name into
6610 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
6611 of the directory.
6612
74ec0232
MK
66132001-01-06 Mark Kettenis <kettenis@gnu.org>
6614
6615 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
6616 copy st_atime member.
6617
c4f66413
UD
66182001-01-05 Ulrich Drepper <drepper@redhat.com>
6619
25f227b9
UD
6620 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
6621 for searches from the root directory.
6622 Reported by loris <loris@iol.it> [PR libc/1991].
6623 * io/Makefile (tests): Add bug-ftw1.
6624 * io/bug-ftw1.c: New file.
6625
155fd00c 6626 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6589ba79 6627 if it is not available. Instead use it only if it is available.
155fd00c
UD
6628 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
6629
c4f66413
UD
6630 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
6631 overflowing output buffer.
6632 (internal_ucs4_loop_unaligned): Likewise.
6633 (ucs4_internal_loop): Likewise.
6634 (ucs4_internal_loop_unaligned): Likewise.
6635 (internal_ucs4le_loop): Likewise.
6636 (internal_ucs4le_loop_unaligned): Likewise.
6637 (ucs4le_internal_loop): Likewise.
6638 (ucs4le_internal_loop_unaligned): Likewise.
6639 Reported by Owen Taylor <otaylor@redhat.com>.
6640 * iconv/Makefile (tests): Add tst-iconv2.
6641 * iconv/tst-iconv2.c: New file.
6642
f8f900ec
UD
66432001-01-04 H.J. Lu <hjl@gnu.org>
6644
6589ba79 6645 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
f8f900ec
UD
6646 (_dl_clktck): Declared.
6647 (non_dynamic_init): Take 3 arguments.
6648 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
6649
66502001-01-01 Bruno Haible <haible@clisp.cons.org>
6651
6652 Finish implementation of plural form handling.
6653 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
da1375be 6654 'domainname'. Remove 'plindex' field. Add 'domain' and
f8f900ec
UD
6655 'translation_length' fields.
6656 (transcmp): Don't compare 'plindex' fields.
6657 (plural_lookup): New function.
6589ba79 6658 (DCIGETTEXT): Change cache handing in the plural case. Don't call
f8f900ec 6659 plural_eval before the translation and its catalog file have been
da1375be 6660 found. Remove plindex from cache key. Add 'translation_length' and
f8f900ec
UD
6661 'domain' to cache result.
6662 (_nl_find_msg): Remove index argument, return length of translation
6589ba79 6663 to the caller instead. Weaken comparison of string lengths, to account
f8f900ec
UD
6664 for plural entries. Call iconv() on the entire result string, not
6665 only on the portion needed so far.
6666 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
6667 argument.
6668 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
6669
eda6c725
UD
66702001-01-04 Ulrich Drepper <drepper@redhat.com>
6671
6672 * intl/plural.y (yylex): Minimal improvement in number scanner.
6673
61402fd6
UD
66742000-07-31 Bruno Haible <haible@clisp.cons.org>
6675
da1375be 6676 * intl/plural.y: Include config.h. Needed to define 'inline' away for
61402fd6
UD
6677 C compilers that don't support it.
6678 (yylex): Don't use gcc specific case range syntax.
6679 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
6680 compilers.
6681
66822000-10-12 Bruno Haible <haible@clisp.cons.org>
6683
6684 * intl/finddomain.c: Remove unneeded includes.
6685
66862000-10-12 Bruno Haible <haible@clisp.cons.org>
6687
6688 * intl/localealias.c (memcpy): Return first argument, just like the
6689 real memcpy function does.
6690 * intl/bindtextdom.c (memcpy): Likewise.
6691 * intl/finddomain.c (memcpy): Likewise.
6692 * intl/l10nflist.c (memcpy): Likewise.
6693 * intl/textdomain.c (memcpy): Likewise.
6694 From Paul Eggert <eggert@twinsun.com>.
6695
03fbfeb5
UD
66962001-01-03 Jakub Jelinek <jakub@redhat.com>
6697
6698 * resolv/resolv.h (struct __res_state): Add nsinit field.
6699 * resolv/res_send.c (res_nsend): Use it instead of nscount.
6700 * resolv/res_init.c (__res_vinit): Initialize it.
6701 (res_nclose): Clear it instead of nscount.
6702
06a60d9c
UD
67032001-01-04 Ulrich Drepper <drepper@redhat.com>
6704
03fbfeb5
UD
6705 * malloc/mtrace.pl: Fix matching of addresses.
6706 Patch by Aharon Robbins <arnold@skeeve.com>.
6707
06a60d9c
UD
6708 * Versions.def (ld): Add GLIBC_2.2.
6709
6710 * catgets/gencat.c: Copyright 2001.
6711 * csu/version.c: Likewise.
6712 * debug/catchsegv.sh: Likewise.
6713 * debug/xtrace.sh: Likewise.
6714 * elf/ldconfig.c: Likewise.
6715 * elf/sprof.c: Likewise.
6716 * iconv/iconv_prog.c: Likewise.
6717 * locale/locale.c: Likewise.
6718 * locale/localedef.c: Likewise.
6719 * malloc/memusage.sh: Likewise.
6720 * malloc/mtrace.pl: Likewise.
6721 * nscd/nscd.c: Likewise.
6722 * posix/getconf.c: Likewise.
6723
67242001-01-04 Mark Kettenis <kettenis@gnu.org>
6725
6726 * include/stdio.h: Only provide __getwc_unlocked prototype if
6727 USE_IN_LIBIO is defined.
6728
6589ba79 67292001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
06a60d9c
UD
6730
6731 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
6732 handling.
6733
67342001-01-03 Andreas Schwab <schwab@suse.de>
6735
6736 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
6737 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
6738
6739 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
6740 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
6741 strtoull alias.
6742 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
6743 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
6744 wcstoull alias.
6745
6746 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
6747 directory.
6748 * sysdeps/generic/strtol_l.c: Likewise.
6749 * sysdeps/generic/strtoul_l.c: Likewise.
6750 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
6751
6752 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
6753 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
6754 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
6755 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
6756
7f28638c
AJ
67572001-01-04 Andreas Jaeger <aj@suse.de>
6758
6759 * nss/nsswitch.c: Include files for missing prototypes, remove
6760 buggy declaration of prototypes.
6761
6589ba79 67622001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6ea8a113
AJ
6763
6764 * resolv/Versions: Fix bracing.
6765 * sysdeps/powerpc/soft-fp/Versions: Likewise.
dc0722b2 6766 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
6ea8a113 6767
6589ba79 67682001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
f49b52b6
UD
6769
6770 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
6771
fb0dd050
UD
67722001-01-02 Ulrich Drepper <drepper@redhat.com>
6773
6774 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
6775 Suggested by Minko Markov <mmarkov@home.com>.
6776
6589ba79 67772001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
fb0dd050
UD
6778
6779 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
6780 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
6781 the failing symbol.
6782 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
6783
6589ba79 67842001-01-02 Ben Collins <bcollins@debian.org>
fb0dd050
UD
6785
6786 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
6787 if TZ is not set and TZDEFAULT is not present.
6788
6589ba79 67892001-01-01 Ben Collins <bcollins@debian.org>
fb0dd050
UD
6790
6791 * string/strings.h: Make sure we declare our functions even if
6792 string.h is already included, based on whether or not __USE_BSD is
6793 defined.
6794
67952001-01-02 Ulrich Drepper <drepper@redhat.com>
6796
6797 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
6798 other dlopen() and dlsym().
6799 Based on a patch by Ben Collins <bcollins@debian.org>.
6800
68012001-01-02 Andreas Jaeger <aj@suse.de>
6802
6803 * dlfcn/errmsg1.c (main): Call dlerror initially.
6804 Reported by Ben Collins <bcollins@debian.org>.
6805
3470b826
UD
68062001-01-02 Ulrich Drepper <drepper@redhat.com>
6807
6808 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
6809 value is ignored if the selected locale is the C locale.
6810 * intl/tst-gettext.c: Set locale for above change.
6811 * intl/tst-translit.c: Likewise.
6812
78db6513
AJ
68132001-01-02 Andreas Jaeger <aj@suse.de>
6814
1dc72e4f
AJ
6815 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
6816 (_IO_switch_to_wget_mode): Likewise.
6817 (_IO_sputbackwc): Likewise.
6818 (_IO_sungetwc): Use wint_t for result.
6819
6820 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
6821
6822 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
6823 signedness.
6824
6825 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
6826 to (int) to avoid warnings.
6827 * stdio-common/printf_fp.c (putc): Likewise.
6828 * stdio-common/printf_size.c (putc): Likewise.
6829
78db6513
AJ
6830 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
6831 constant unsigned.
6832
8261c754
AJ
68332001-01-01 Andreas Jaeger <aj@suse.de>
6834
6835 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
6836
a2e48a25
AJ
68372000-12-31 Andreas Jaeger <aj@suse.de>
6838
66539a73
AJ
6839 * include/libc-internal.h: Add prototype for __libc_freeres.
6840
72f70279
AJ
6841 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
6842 for prototypes, remove redundant prototypes.
6843 * gmon/gmon.c: Likewise.
6844 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6845 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
66539a73 6846 * malloc/mtrace.c: Likewise.
72f70279
AJ
6847
6848 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
6849 prototypes.
6850 * elf/soinit.c: Likewise.
6851 * sysdeps/generic/prof-freq.c: Likewise.
6852 * sysdeps/mach/hurd/profil.c: Likewise.
6853 * debug/noophooks.c: Likewise.
6854 * debug/pcprofile.c: Likewise.
6855 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
6856 * sysdeps/generic/get_clockfreq.c: Likewise.
66539a73 6857 * malloc/set-freeres.c: Likewise.
72f70279
AJ
6858
6859 * locale/localeinfo.h: Add internal prototypes.
6860
6861 * elf/rtld.c (dl_main): Fix prototype.
6862
9346aad7
AJ
6863 * iconvdata/tst-table-to.c (main): Use return instead of exit to
6864 avoid warning.
6865
6866 * nis/rpcsvc/yp_prot.h: Remove __P.
6867 * nis/rpcsvc/ypupd.h: Likewise.
6868 * nis/rpcsvc/yp.h: Likewise.
6869
fa39f7f7
AJ
6870 * sunrpc/rpc_main.c: Add noreturn attributes.
6871 * sunrpc/rpc_scan.h: Likewise.
6872
6873 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
6874
6875 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
6876
6877 * sunrpc/proto.h: Add noreturn attributes to error and crash.
6878
e4aced47
AJ
6879 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
6880
6881 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
6882
6883 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
6884
6885 * include/rpc/rpc_msg.h: Add prototypes for some functions.
6886 * include/rpc/auth.h: Likewise.
6887 * include/rpc/auth_des.h: Likewise.
6888 * include/rpc/clnt.h: Likewise.
6889 * include/rpc/rpc.h: Likewise.
6890 * include/rpc/svc.h: Likewise.
6891 * include/rpc/svc_auth.h: Likewise.
6892
6893 * include/rpc/des_crypt.h: New file.
6894
a2e48a25
AJ
6895 * malloc/memusagestat.c (main): Use return instead of exit to
6896 avoid warning.
6897 * io/pwd.c (main): Likewise.
6898 * iconvdata/tst-table-from.c (main): Likewise.
6899 * ctype/test_ctype.c (main): Likewise.
6900 * setjmp/tst-setjmp.c (main): Likewise.
6901 * signal/tst-signal.c (main): Likewise.
6902 * stdlib/tst-strtol.c (main): Likewise.
6903 * stdlib/tst-strtod.c (main): Likewise.
6904 * stdlib/tst-strtoll.c (main): Likewise.
6905 * stdlib/tst-xpg-basename.c (main): Likewise.
6906 * dirent/tst-seekdir.c (main): Likewise.
6907 * grp/testgrp.c (main): Likewise.
6908 * inet/test_ifindex.c (main): Likewise.
6909 * io/test-utime.c (main): Likewise.
6910 * posix/test-vfork.c (main): Likewise.
6911 * posix/testfnm.c (main): Likewise.
6912 * stdio-common/temptest.c (main): Likewise.
6913 * stdio-common/test_rdwr.c (main): Likewise.
6914 * stdio-common/tst-fileno.c (main): Likewise.
6915 * stdio-common/tst-sscanf.c (main): Likewise.
6916 * stdio-common/tstscanf.c (main): Likewise.
6917 * string/bug-strncat1.c (main): Likewise.
6918 * string/bug-strpbrk1.c (main): Likewise.
6919 * string/bug-strspn1.c (main): Likewise.
6920 * string/test-ffs.c (main): Likewise.
6921 * string/tst-inlcall.c (main): Likewise.
6922 * string/tst-svc.c (main): Likewise.
6923 * timezone/test-tz.c (main): Likewise.
6924 * wctype/test_wcfuncs.c (main): Likewise.
6925 * wctype/test_wctype.c (main): Likewise.
6926
6927 * stdlib/tst-random.c: Add attribute noreturn to fail.
6928
09f5e163
UD
69292000-12-28 Wolfram Gloger <wg@malloc.de>
6930
6931 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
6932 destination overlap. Assume dest is always below source if
6933 overlapping.
6934
c77a4478
UD
69352000-12-30 Ulrich Drepper <drepper@redhat.com>
6936
6937 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
6938 object was not yet initialized.
6939
69402000-12-28 H.J. Lu <hjl@gnu.org>
6941
6942 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
6943 is always consistent even if its dependency is failed.
6944
6945 * elf/dl-open.c (_dl_open): Increment the open count before
6946 calling _dl_close () in case of failure.
6947
6948 * elf/neededtest4.c: New file.
6949 * elf/neededobj5.c: New file.
6950 * elf/neededobj6.c: New file.
6951
6952 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
6953 (tests): Add neededtest4.
6954 (modules-names): Add neededobj5 and neededobj6.
6955 ($(objpfx)neededobj6.so): New target.
6956 ($(objpfx)neededtest4): New target.
6957 ($(objpfx)neededtest4.out): New target.
6958
d9af8867
UD
69592000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
6960
6961 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
6962 * stdlib/monetary.h: Add strfmon format attributes.
6963
547d4019
RM
69642000-12-28 Roland McGrath <roland@frob.com>
6965
6966 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
6967 __mempcpy does it for us.
6968
11e0f1cf
AJ
69692000-12-28 Andreas Jaeger <aj@suse.de>
6970
dde52fca
AJ
6971 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
6972
6973 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
6974 __new_setrlimit.
6975
6976 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
6977 __old_getrlimit64.
6978
6979 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
6980 __new_getrlimit.
6981
6982 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
6983 __chown_is_lchown and __real_chown.
6984
8da8e2db
AJ
6985 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
6986 _dl_reloc_bad_type.
6987
11e0f1cf
AJ
6988 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
6989 up GCC's warning about "deprecated use of label at end of compound
6990 statement."
6991 * sunrpc/rpc_cout.c (emit_inline): Likewise.
6992
11e0f1cf
AJ
6993 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
6994 prototypes.
6995 Remove struct bb and __bb_head since those are declared by
6996 sys/gmon.h.
6997
6589ba79 69982000-12-22 Ben Collins <bcollins@debian.org>
01f8c9f2
AJ
6999
7000 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
7001
7002 * manual/argp.texi: Document argp_domain as part of struct argp.
7003
a7cfa341
AJ
70042000-12-28 Andreas Jaeger <aj@suse.de>
7005
a2820ec4
AJ
7006 * catgets/Makefile (generated): Add sample.SJIS.cat.
7007
12f942cd
AJ
7008 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
7009
728c24ff
AJ
7010 * elf/dl-minimal.c: Add prototypes.
7011
7012 * include/locale.h: Add internal prototypes.
7013 * include/sys/gmon.h: Likewise.
7014
a7cfa341
AJ
7015 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
7016
6589ba79 70172000-12-27 Ben Collins <bcollins@debian.org>
7231f6f9
UD
7018
7019 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
7020 when reallocating the error strings.
7021 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7022
bb548f63
UD
70232000-12-27 Ulrich Drepper <drepper@redhat.com>
7024
f116c77f
UD
7025 * dlfcn/Makefile (tests): Add errmsg1.
7026 (modules-names): Add errmsg1mod.
7027 Add rules to run errmsg1.
7028 * dlfcn/errmsg1.c: New file.
7029 * dlfcn/errmsg1mod.c: New file.
7030
9c99fa3d
UD
7031 * dlfcn/dlerror.c (dlerror): Always create output string which
7032 includes object file name.
7033
bb548f63
UD
7034 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7035 if we would go through it only once.
7036 Patch by Rick Gorton <rick.gorton@api-networks.com>.
7037
7038 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7039 Patch by Richard Henderson <rth@redhat.com>.
7040
70412000-12-27 Jakub Jelinek <jakub@redhat.com>
7042
7043 * malloc/malloc.c (memmove): Add prototypes.
7044 (MALLOC_MEMMOVE): Define.
7045 (chunk_realloc): Use it instead of MALLOC_COPY if source and
7046 destination might overlap.
7047
ce351e07
AJ
70482000-12-27 Andreas Jaeger <aj@suse.de>
7049
7050 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7051 function.
7052 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7053 * locale/programs/locale.c (show_locale_vars): Likewise.
7054 (show_info): Likewise.
7055 * locale/programs/ld-collate.c (collate_output): Likewise.
7056 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7057 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7058 * stdlib/rpmatch.c (rpmatch): Likewise.
7059
7060 * setjmp/tst-setjmp.c: Make local functions static.
7061 * setjmp/jmpbug.c: Likewise.
7062 * signal/tst-signal.c: Likewise.
7063 * stdio-common/tfformat.c: Likewise.
7064 * string/tst-svc.c: Likewise.
7065 * time/clocktest.c: Likewise.
7066 * time/tst-getdate.c: Likewise.
7067 * dirent/list.c: Likewise.
7068 * dirent/opendir-tst1.c: Likewise.
7069 * posix/runtests.c: Likewise.
7070 * posix/tst-getaddrinfo.c: Likewise.
7071 * posix/tst-chmod.c: Likewise.
7072 * posix/wordexp-test.c: Likewise.
7073 * misc/tst-efgcvt.c: Likewise.
7074 * timezone/tst-timezone.c: Likewise.
7075 * rt/tst-clock.c: Likewise.
7076 * rt/tst-shm.c: Likewise.
7077 * rt/tst-aio2.c: Likewise.
7078 * rt/tst-aio3.c: Likewise.
7079 * rt/tst-aio4.c: Likewise.
7080 * rt/tst-aio5.c: Likewise.
7081
7082 * dlfcn/failtest.c: Add prototype for foo.
7083
7084 * dlfcn/glrefmain.c: Add prototype for do_test.
7085
7086 * dlfcn/tst-dladdr.c: Add prototype for do_test.
7087
7088 * string/test-ffs.c (main): Add prototype for nested function.
7089
7090 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7091
7092 * nss/XXX-lookup.c: Add prototype to shut up GCC.
7093
7094 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7095 setetherent prototype.
7096 Add internal interfaces.
7097
7098 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7099 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7100
7101 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7102
7103 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7104
7105 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7106 prototypes, remove struct etherent since it's declared in ether.h.
7107 Fix ntohost declaration.
7108
7109 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7110
7111 * include/getopt.h: Add internal interfaces.
7112 * include/termios.h: Likewise.
7113 * include/resolv.h: Likewise.
7114 * include/netdb.h: Likewise.
7115 * include/grp.h: Likewise.
7116 * include/pwd.h: Likewise.
7117 * include/shadow.h: Likewise.
7118 * include/rpc/netdb.h: Likewise.
784d802e 7119 * include/setjmp.h: Likewise.
ce351e07
AJ
7120
7121 * include/stdio.h: Add prototypes for compatibility functions.
7122 * include/grp.h: Likewise.
7123 * include/pwd.h: Likewise.
7124 * include/shadow.h: Likewise.
7125
7126 * include/fenv.h: Define internal interfaces.
7127
96749bc2
UD
71282000-12-27 Ulrich Drepper <drepper@redhat.com>
7129
7130 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7131 argument case separately.
7132 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7133
27ee0a55
AJ
71342000-12-27 Andreas Jaeger <aj@suse.de>
7135
7136 * include/sys/wait.h: Add some prototypes.
7137 * Rules (dummy.c): Create also prototype to shut up GCC.
7138
38eb40ea
AJ
71392000-12-27 Andreas Jaeger <aj@suse.de>
7140
7141 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7142 it's not needed at the moment.
7143 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7144 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7145
03bac9ac
AJ
71462000-12-26 Andreas Jaeger <aj@suse.de>
7147
7148 * libio/getc_u.c: Include stdio.h via system path to get internal
7149 prototypes.
7150 * libio/getwc_u.c: Likewise.
7151
7152 * stdlib/strfmon.c: Fix prototype of __printf_fp.
7153
7154 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7155 __printf_fp prototypes to ...
7156 * include/printf.h: ...here.
7157
7158 * include/stdio.h: Add some internal prototypes to shut up GCC.
7159 * include/stdlib.h: Likewise.
7160
7161 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7162 declaration.
7163
7164 * include/signal.h: Add prototypes for internal sigpause
7165 interfaces.
7166
945c975d
UD
71672000-12-26 Ulrich Drepper <drepper@redhat.com>
7168
7169 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7170 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
7171
fc1fb585
UD
7172 * string/Makefile (tests): Add tst-bswap.
7173 * string/tst-bswap.c: New file.
7174
be76803a
UD
71752000-12-11 Bruno Haible <haible@clisp.cons.org>
7176
7177 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7178
71792000-12-26 Ulrich Drepper <drepper@redhat.com>
7180
7181 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7182 Patch by Ed Connell <Ed.Connell@sas.com>.
7183
214414c8
UD
71842000-12-24 Ulrich Drepper <drepper@redhat.com>
7185
7186 * locale/iso-639.def: Correct one entry. Add two missing entries.
7187
7188 * locale/iso-4217.def: Change entry for Eritrea.
7189 Reported by Daniel Yacob <yacob@geez.org>.
7190
6589ba79 71912000-12-23 Ben Collins <bcollins@debian.org>
640a3be1
UD
7192
7193 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7194 description.
7195
7196 * manual/stdio.texi (Dynamic Output): Document the return value of
7197 asprintf. Also make the asprintf/snprintf examples a little
7198 better (check for some error returns).
7199
b708b1ca
AJ
72002000-12-22 Andreas Jaeger <aj@suse.de>
7201
7202 * include/stdio.h: Add __ftrylockfile prototype.
7203
912f97da
UD
72042000-12-21 H.J. Lu <hjl@gnu.org>
7205
7206 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7207 Make sign_exponent element signed.
7208
7209 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7210 Fix a typo.
7211
7212 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7213
cc657ce5
AJ
72142000-12-21 Andreas Jaeger <aj@suse.de>
7215
7216 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7217 * inet/ether_hton.c: Likewise
7218 * inet/ether_ntoh.c: Likewise.
7219
7220 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7221 declaration to match prototype.
7222
7223 * include/netinet/ether.h (struct etherent): Declare here so that
7224 all implementations use the same struct.
7225
7226 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7227 prototypes.
7228 (struct ether): Removed.
7229 Use struct etherent instead of ether everywhere.
7230
7231 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7232
7233 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7234
7235 * sunrpc/publickey.c: Include auth_des.h for prototypes.
7236
ddc3ed9d
UD
72372000-12-20 Ulrich Drepper <drepper@redhat.com>
7238
7239 * math/test-misc.c: Add more tests for nextafter functions.
7240
7241 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7242 normal correctly. Correct test for sign.
7243 Based on a patch by HJ Lu.
7244
0a4c7b18
UD
72452000-12-19 Ulrich Drepper <drepper@redhat.com>
7246
7247 * Makeconfig (preprocess-version): Add -traditional to gcc call.
7248 Cleanup sed calls.
7249
6c9914d8
AJ
72502000-12-19 Andreas Jaeger <aj@suse.de>
7251
7252 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7253
7254 * nis/nis_intern.h: Add prototype for __do_niscall3.
7255
7256 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7257 match prototype.
7258
7259 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7260
7261 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7262
7263 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7264
9b4b880b
UD
72652000-12-18 Ulrich Drepper <drepper@redhat.com>
7266
cc46d0cf
UD
7267 * math/test-misc.c: Add more tests for nextafter.
7268 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7269 * sysdeps/ieee754/ldbl-96/math_ldbl.h
7270 (ieee_long_double_shape_type): Make sign_exponent element signed.
7271
aa9e3c39
UD
7272 * manual/message.texi: Add Estonian to plural overview list.
7273 Correct rule for Slavic languages.
7274 Patch by Stanislav Brabec <utx@penguin.cz>.
7275
9b4b880b
UD
7276 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7277
51eecc4a
AJ
72782000-12-18 Andreas Jaeger <aj@suse.de>
7279
cc657ce5 7280 * test-skeleton.c: Use temp_name_list instead of name_list to
51eecc4a
AJ
7281 avoid collision with name_list from inet/netgroup.h.
7282
7283 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7284
7285 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7286 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7287 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7288 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7289
7290 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7291 declaration to match prototype.
7292 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7293 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7294 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7295 Likewise.
7296 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7297 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7298 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7299 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7300 (_nss_nis_getservbyport_r): Likewise.
7301 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7302 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7303 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7304 (_nss_nis_setnetent): Likewise
7305 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7306 (_nss_nis_endnetgrent): Likewise.
7307 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7308 Likewise.
7309 (_nss_nisplus_setnetgrent): Likewise.
7310 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7311 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7312 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7313 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7314 Likewise.
7315 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7316 Likewise.
7317 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7318 Likewise.
7319 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7320 Likewise.
7321 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7322 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7323 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7324 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7325 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7326 (_nss_dns_getnetbyaddr_r): Likewise.
7327
715ed1e9
AJ
73282000-12-17 Andreas Jaeger <aj@suse.de>
7329
b6e20712
AJ
7330 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7331 parameter.
7332
7333 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7334 unused attribute to shut up gcc warnings.
7335
7336 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7337 * sysdeps/generic/k_tanl.c: Likewise.
7338 * sysdeps/generic/k_cosl.c: Likewise.
7339 * sysdeps/generic/e_j0l.c: Likewise.
7340 * sysdeps/generic/e_j1l.c: Likewise.
7341 * sysdeps/generic/e_jnl.c: Likewise.
7342 * sysdeps/generic/e_lgammal_r.c: Likewise.
7343
715ed1e9
AJ
7344 * elf/vismain.c: Move prototypes for functions in vismod*.c to
7345 vismod.h.
7346 * elf/vismod.h: New file.
7347 * elf/Makefile (distribute): Add vismod.h.
7348 * elf/vismod1.c: Include vismod.h.
7349 * elf/vismod2.c: Likewise.
7350 * elf/vismod3.c: Likewise.
7351
7352 * elf/constload3.c: Add prototype declarations to shut up gcc.
7353 * elf/failobj.c: Likewise.
7354 * elf/nodelmod3.c: Likewise.
7355 * elf/filtmod1.c: Likewise.
7356 * elf/filtmod2.c: Likewise.
7357 * elf/reldepmod1.c: Likewise.
7358 * elf/reldepmod2.c: Likewise.
7359 * elf/reldepmod3.c: Likewise.
7360 * elf/reldepmod4.c: Likewise.
7361 * elf/unload2dep.c: Likewise.
7362 * elf/unload2mod.c: Likewise.
7363 * elf/ltglobmod1.c: Likewise.
7364 * elf/pathoptobj.c: Likewise.
5c80f57c
AJ
7365 * elf/neededobj1.c: Likewise.
7366 * elf/neededobj2.c: Likewise.
7367 * elf/neededobj3.c: Likewise.
7368 * elf/neededobj4.c: Likewise.
7369 * elf/nextmod1.c: Likewise.
7370 * elf/nextmod2.c: Likewise.
715ed1e9
AJ
7371
7372 * locale/programs/ld-collate.c (collate_finish): Don't use labels
7373 at end of compound statement.
7374 * locale/programs/locale.c (show_info): Likewise.
7375 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7376
0a70515e
UD
73772000-12-16 Jakub Jelinek <jakub@redhat.com>
7378
7379 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
7380 with a pointer not returned by obstack_ functions.
7381
3d73829c
UD
73822000-12-16 Ulrich Drepper <drepper@redhat.com>
7383
0a70515e
UD
7384 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
7385 version.
7386 (struct stat64): Likewise.
7387 Reported by Michael Keezer <mkeezer@redhat.com>.
7388
3d73829c
UD
7389 * timezone/asia: Update from tzdata2000h.
7390 * timezone/australasia: Likewise.
7391 * timezone/backward: Likewise.
7392 * timezone/europe: Likewise.
7393 * timezone/northamerica: Likewise.
7394 * timezone/southamerica: Likewise.
7395 * timezone/zone.tab: Likewise.
7396
73972000-12-14 Jakub Jelinek <jakub@redhat.com>
7398
7399 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
7400 and dir.stream is NULL, only free dir.content.
7401 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
7402 * io/ftwtest-sh: Test with --early-exit.
7403
887e7ab6
UD
74042000-12-13 Jakub Jelinek <jakub@redhat.com>
7405
7406 * misc/efgcvt.c (FCVT_MAXDIG): Define.
7407 (FCVT_BUFPTR): New variable.
7408 (fcvt): If fcvt_r returns -1 on the static short buffer,
7409 try to malloc a sufficiently large one and retry.
7410 (free_mem): New function.
7411 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
7412 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
7413
74142000-12-15 Ulrich Drepper <drepper@redhat.com>
7415
7416 * misc/dirname.c (dirname): Fix search for second to last slash.
7417
74182000-12-13 Andreas Jaeger <aj@suse.de>
7419
7420 * misc/tst-dirname.c (main): Fix typo in test to really use
7421 the examples from Unix98.
7422 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7423
bafd1567
UD
74242000-12-09 H.J. Lu <hjl@gnu.org>
7425
7426 * sysdeps/ia64/fpu/s_fabs.S: New file.
7427 * sysdeps/ia64/fpu/s_fabsf.S: New file.
7428 * sysdeps/ia64/fpu/s_fabsl.S: New file.
7429
1a511d31
AJ
74302000-12-15 Andreas Jaeger <aj@suse.de>
7431
7432 * stdio-common/scanf9.c (main): Reformat and change to avoid
7433 warnings.
7434
7435 * stdio-common/tstdiomisc.c: Make local functions static.
7436 * stdio-common/tst-printf.c: Likewise.
7437
7438 * elf/constload2.c: Add prototype declarations to shut up gcc.
7439 * elf/dep1.c: Likewise.
7440 * elf/dep2.c: Likewise.
7441 * elf/dep3.c: Likewise.
7442 * elf/dep4.c: Likewise.
7443 * elf/ltglobmod2.c: Likewise.
7444
7445 * libio/fmemopen.c: Make local functions static.
7446
7447 * elf/Makefile (distribute): Added testobj.h.
7448
7449 * elf/testobj.h: New file.
7450
7451 * elf/testobj1.c: Include testobj.h and move prototype
7452 declarations to testobj.h.
7453 * elf/testobj2.c: Likewise.
7454 * elf/testobj3.c: Likewise.
7455 * elf/testobj4.c: Likewise.
7456 * elf/testobj5.c: Likewise.
7457 * elf/testobj6.c: Likewise.
7458 * elf/testobj1_1.c: Likewise.
7459 * elf/preloadtest.c: Likewise.
7460
6589ba79 74612000-12-15 Ben Collins <bcollins@debian.org>
8ab5926a
AJ
7462
7463 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
7464 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
7465
940f0754
AJ
74662000-12-14 H.J. Lu <hjl@gnu.org>
7467
7468 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
7469 field in a float is 8 bits, not 11 bits.
7470
7b84d129
AJ
74712000-12-13 Jakub Jelinek <jakub@redhat.com>
7472
7473 * math/test-misc.c (main): Adjust m for IEEE quad long double.
7474
13193a38
AJ
74752000-12-13 Andreas Jaeger <aj@suse.de>
7476
b71f84a0
AJ
7477 * manual/message.texi (Using gettextized software): Fix typo.
7478
7479 * manual/charset.texi (Converting a Character): Fix mbstouwcs
7480 program to compile.
7481 Patch by Martin Buchholz <martin@xemacs.org>.
7482
13193a38
AJ
7483 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
7484 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
7485
1e3869d8
AJ
74862000-12-11 Andreas Jaeger <aj@suse.de>
7487
7488 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
7489 kernel_sigset_t and use it.
7490 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
7491
bafd1567 74922000-12-10 Richard Henderson <rth@redhat.com>
874b4dd5
UD
7493
7494 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
7495 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
7496 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
7497
a31530e3
UD
74982000-12-10 Jakub Jelinek <jakub@redhat.com>
7499
7500 * sysdeps/alpha/htonl.S: Fix a typo.
7501
adc85e2f
UD
75022000-12-10 Jakub Jelinek <jakub@redhat.com>
7503
7504 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
7505
9068de33
AJ
75062000-12-10 Andreas Jaeger <aj@suse.de>
7507
7508 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
4e8d52c9
AJ
7509 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
7510 Drepper <drepper@redhat.com>.
9068de33 7511
0a12bf88
AJ
75122000-12-09 Andreas Jaeger <aj@suse.de>
7513
7514 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
7515
7516 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
7517 generic version.
7518 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
7519
7520 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
7521 string.
7522
7523 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
7524 format string.
7525
7526 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
7527 * nscd/connections.c (handle_request): Likewise.
7528 * nscd/pwdcache.c (addpwbyname): Likewise.
7529 * nscd/grpcache.c (addgrbyname): Likewise.
7530
7531 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
7532
1d5c2feb
UD
75332000-12-09 Ulrich Drepper <drepper@redhat.com>
7534
c13f651e
UD
7535 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
7536
1d5c2feb
UD
7537 * Makeconfig (default_cflags): Make -O2 the default for stable
7538 releases.
7539
75402000-12-08 H.J. Lu <hjl@gnu.org>
7541
7542 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
7543 * sysdeps/ia64/fpu/s_isinf.S: This.
7544 Add a .pred.rel.mutex note to avoid false report.
7545
7546 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
7547 * sysdeps/ia64/fpu/s_isnan.S: This.
7548
7549 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
7550 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
7551 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
7552 * sysdeps/ia64/fpu/s_isinff.S: New file.
7553 * sysdeps/ia64/fpu/s_isinfl.S: New file.
7554 * sysdeps/ia64/fpu/s_isnanf.S: New file.
7555 * sysdeps/ia64/fpu/s_isnanl.S: New file.
7556 * sysdeps/ia64/fpu/s_finite.S: New file.
7557 * sysdeps/ia64/fpu/s_finitef.S: New file.
7558 * sysdeps/ia64/fpu/s_finitel.S: New file.
7559 * sysdeps/ia64/fpu/s_signbit.S: New file.
7560 * sysdeps/ia64/fpu/s_signbitf.S: New file.
7561 * sysdeps/ia64/fpu/s_signbitl.S: New file.
7562 * sysdeps/ia64/fpu/s_copysign.S: New file.
7563 * sysdeps/ia64/fpu/s_copysignf.S: New file.
7564 * sysdeps/ia64/fpu/s_copysignl.S: New file.
7565
d9163744
UD
75662000-12-08 Ulrich Drepper <drepper@redhat.com>
7567
a9a56960
UD
7568 * math/libm-test.inc (main): Fix typos in messages.
7569
d9163744
UD
7570 * string/stratcliff.c: Add test for rawmemchr.
7571
7b70fef6
UD
75722000-12-08 Jakub Jelinek <jakub@redhat.com>
7573
7574 * elf/dl-open.c (_dl_open): If objname points right after errstring,
7575 allocate it together with errstring using alloca.
7576 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
7577 to "", because it might point to local stack.
7578
8b801829
UD
75792000-12-05 H.J. Lu <hjl@gnu.org>
7580
7581 * nss/Makefile (routines): Add getnssent and getnssent_r.
7582 * nss/nsswitch.h (__nss_setent): New internal NSS function.
7583 (__nss_endent): Likewise.
7584 (__nss_getent_r): Likewise.
7585 (__nss_getent): Likewise.
7586 * nss/getnssent_r.c: New file.
7587 * nss/getnssent.c: New file.
7588 * nss/getXXent.c (H_ERRNO_VAR): Updated.
7589 (GETFUNC_NAME): Updated to call __nss_getent ().
7590 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
7591 (STAYOPEN_TMPVAR): Updated.
7592 (STAYOPEN_VAR): Updated.
7593 (SETFUNC_NAME): Updated to call __nss_setent ().
7594 (ENDFUNC_NAME): Updated to call __nss_endent ().
7595 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
7596
b8fefd49
AJ
75972000-12-08 Andreas Jaeger <aj@suse.de>
7598
7599 * nscd/dbg_log.h (dbg_log): Correct attribute.
7600
104d0bd3
UD
76012000-12-08 Jakub Jelinek <jakub@redhat.com>
7602
7603 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
7604 cp + len. Compute where from dirname.
7605 Reported by <jreiser@BitWagon.com>.
7606
76072000-12-08 Richard Henderson <rth@twiddle.net>
7608
7609 * sysdeps/alpha/_mcount.S: Fix typo.
7610 * sysdeps/alpha/strncpy.S: Likewise.
7611
7612 * sysdeps/alpha/alphaev6/Implies: New file.
7613 * sysdeps/alpha/alphaev67/Implies: New file.
7614 * sysdeps/alpha/alphaev67/ffs.S: New file.
7615 * sysdeps/alpha/alphaev67/ffsll.S: New file.
7616 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
7617 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
7618 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
7619 * sysdeps/alpha/rawmemchr.S: New file.
7620 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
7621 * sysdeps/alpha/strcpy.S: Likewise.
7622
7623 From GMP 3.1.1:
7624 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
7625
7626 From rick.gorton@alpha-processor.com:
7627 * sysdeps/alpha/alphaev6/memchr.S: New file.
7628 * sysdeps/alpha/alphaev6/memcpy.S: New file.
7629 * sysdeps/alpha/alphaev6/memset.S: New file.
7630 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
7631 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
7632 * sysdeps/alpha/alphaev67/strcat.S: New file.
7633 * sysdeps/alpha/alphaev67/strchr.S: New file.
7634 * sysdeps/alpha/alphaev67/strlen.S: New file.
7635 * sysdeps/alpha/alphaev67/strncat.S: New file.
7636 * sysdeps/alpha/htonl.S: Use a shorter sequence.
7637
76382000-12-08 Jakub Jelinek <jakub@redhat.com>
7639
7640 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
7641 Reported by <pspencer@fields.utoronto.ca>.
7642
76432000-12-07 Jes Sorensen <jes@linuxcare.com>
7644
7645 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
7646 Pointed out by Hans Boehm.
7647
76482000-12-07 H.J. Lu <hjl@gnu.org>
7649
7650 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
7651
76522000-12-07 Andreas Jaeger <aj@suse.de>
7653
7654 * misc/error.c: Add format attributes for __error and __error_at_line.
7655
7656 * nscd/dbg_log.h: Add format attribute.
7657
76582000-12-08 Ulrich Drepper <drepper@redhat.com>
7659
7660 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
7661 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
7662
4e9b4067
UD
76632000-12-07 Dan Pop <Dan.Pop@cern.ch>
7664
7665 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
7666
e3690263
UD
76672000-12-06 Ulrich Drepper <drepper@redhat.com>
7668
7669 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7670 (sysdep_routines): Add uitrunc.
7671 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
7672 Patches by Michael Keezer <mkeezer@redhat.com>.
7673
1ca315fc
RM
76742000-12-06 Roland McGrath <roland@frob.com>
7675
7676 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
7677 argument data, since it will be used to copy out too (for INOUT).
7678 Reported by Marcus Brinkmann <marcus@gnu.org>.
7679
7680 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
7681 (__ioctl): Use uintptr_t instead of unsigned long int.
7682
9068de33 76832000-12-06 Jim Wilson <wilson@redhat.com>
9cf90923 7684
1ca315fc 7685 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
9cf90923 7686
23a5c823
UD
76872000-12-06 Ulrich Drepper <drepper@redhat.com>
7688
7689 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
7690 x.5 rounding correctly.
7691
d36c3615
UD
76922000-12-06 Mark Kettenis <kettenis@gnu.org>
7693
7694 * stdio-common/perror.c (perror): Conditionalize code dealing with
7695 wide-oriented streams on USE_IN_LIBIO.
7696
f4abea70
MK
76972000-12-06 Mark Kettenis <kettenis@gnu.org>
7698
7699 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
7700 as internal_function.
7701
298c70f4
UD
77022000-12-05 Ulrich Drepper <drepper@redhat.com>
7703
7704 * sysdeps/alpha/elf/start.S (__data_start): Define.
7705
0e96315a
UD
77062000-12-05 H.J. Lu <hjl@gnu.org>
7707
7708 * nss/getXXent_r.c (setup): Change the return type to int.
7709
256ba888
UD
77102000-12-05 Ulrich Drepper <drepper@redhat.com>
7711
7712 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
7713 (sysdep_routines): Add restf and savef.
7714 * sysdeps/unix/sysv/aix/restf.c: New file.
7715 * sysdeps/unix/sysv/aix/savef.c: New file.
7716 Patches by Michael Keezer <mkeezer@redhat.com>.
7717
7718 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
7719 if O_DIRECTORY is not defined.
7720 Patch by Michael Keezer <mkeezer@redhat.com>.
7721
7722 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
7723 Patch by Michael Keezer <mkeezer@redhat.com>.
7724
7725 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
7726 than 4 bytes in escape sequence.
7727 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7728
48896b9d
AJ
77292000-12-05 Andreas Jaeger <aj@suse.de>
7730
2e3b9976
AJ
7731 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
7732 set mips2.
7733
9fbbbe69
AJ
7734 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
7735
7736 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
7737
7738 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
d32ffbec 7739 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
9fbbbe69 7740
48896b9d
AJ
7741 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
7742 internal_function.
7743 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
7744 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
7745
7746 * sysdeps/generic/dl-cache.c: Remove declaration of
7747 _dl_sysdep_read_whole_file.
7748
7749 * elf/dl-load.c (_dl_map_object): Remove declaration of
7750 _dl_load_cache_lookup.
7751
7752 * sysdeps/generic/ldsodefs.h: Add declarations of
7753 _dl_load_cache_lookup, _dl_unload_cache,
7754 _dl_sysdep_read_whole_file, _dl_sysdep_start and
7755 _dl_sysdep_start_cleanup.
7756
7757 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
7758 now.
7759
7760 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
7761 * sysdeps/generic/dl-environ.c: Likewise.
7762
7763 * stdio-common/printf_fp.c: Include <gmp.h> instead of
7764 <stdlib/gmp.h>.
7765 * math/atest-exp.c: Likewise.
7766 * math/atest-exp2.c: Likewise.
7767 * math/atest-sincos.c: Likewise.
7768 * stdio-common/_itoa.c: Likewise.
7769 * stdio-common/_itowa.c: Likewise.
7770
7771 * include/gmp.h: New file with internal prototypes.
7772
7773 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
7774 here to...
7775 * include/setjmp.h: ...here.
7776
7777 * locale/Makefile (routines): Remove codeset_name since it's not
7778 needed anywhere.
7779
7780 * locale/codeset_name.c: Removed.
7781
2e98651f
UD
77822000-12-05 Ulrich Drepper <drepper@redhat.com>
7783
7784 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
7785
36c12d87
AJ
77862000-12-05 Andreas Jaeger <aj@suse.de>
7787
7788 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
7789
9068de33 77902000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
e22669a3 7791
2e98651f 7792 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
e22669a3
AJ
7793 available.
7794
cf3141a5
AJ
77952000-12-05 Andreas Jaeger <aj@suse.de>
7796
7797 * nss/test-netdb.c: Mark local functions as static to avoid
7798 warnings.
7799 (main): Use return to silence warning.
7800
7801 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
7802
7803 * stdio-common/test-popen.c: Mark local functions as static to
7804 avoid warnings.
7805 (main): Use return to silence warning.
7806
7807 * stdlib/testsort.c (compare): Mark as static to avoid warning.
7808
7809 * assert/test-assert.c: Mark local functions as static to avoid
7810 warnings.
7811 * assert/test-assert-perr.c: Likewise.
7812
7813 * math/libm-test.inc (main): Use return to silence warnings.
7814
6d0c4914
UD
78152000-12-04 Ulrich Drepper <drepper@redhat.com>
7816
8267e47b
UD
7817 * math/fenv.h: Fix typo in comment.
7818
b210e4cc
UD
7819 * math/test-misc.c (main): Add a few more over and underflow tests
7820 for scalb.
7821
6d0c4914
UD
7822 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
7823 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7824 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7825 * math/w_scalb.c: Don't use matherr except in SVID mode.
7826 * math/w_scalbf.c: Likewise.
7827 * math/w_scalbl.c: Likewise.
7828 * math/test-misc.c: Add test for NaN and scalbl.
7829 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7830
2aa15430
UD
78312000-12-04 Ulrich Drepper <drepper@redhat.com>
7832
7833 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
7834 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
7835 * include/libc-symbols.h (strong_alias): Define special version
7836 for HAVE_ASM_GLOBAL_DOT_NAME.
7837 (weak_alias): Likewise.
7838 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
7839 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
7840 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
7841 getutxline, pututxline, and utmpxname.
7842 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
7843 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
7844 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
7845 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
7846 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
7847 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
7848 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
7849 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
7850 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
7851 Patches by Michael Keezer <mkeezer@redhat.com>.
7852
62ab42d6
UD
78532000-12-04 H.J. Lu <hjl@gnu.org>
7854
7855 * configure.in: Change --with-oldest-abi=ABI to
7856 --enable-oldest-abi=ABI.
7857
78582000-12-02 Bruno Haible <haible@clisp.cons.org>
7859
7860 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
7861 fwprintf instead of fprintf.
7862
767b6275
UD
78632000-12-04 Ulrich Drepper <drepper@redhat.com>
7864
7865 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
7866 DECIMAL_DIG definitions.
7867 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
7868 * sysdeps/generic/bits/mathdef.h: Likewise
7869 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
7870 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
7871 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
7872 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
7873 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
7874 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
7875
79569444
UD
78762000-12-03 Ulrich Drepper <drepper@redhat.com>
7877
767b6275
UD
7878 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
7879
7880 * math/atest-exp.c: Mark local functions as static to avoid warnings.
7881 * math/atest-exp2.c: Likewise.
7882 * math/atest-sincos.c: Likewise.
7883
09881ccc
UD
7884 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
7885 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7886
f8da88b0
UD
7887 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
7888 the handling of denormalized numbers.
7889
7890 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
7891 numbers on x86.
7892 * sysdeps/i386/fpu/fpclassifyl.c: New file.
3d165855 7893
8cd806cf
UD
7894 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
7895 pseudo denormal representation of LDBL_MIN.
7896
76aecea1
UD
7897 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
7898 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
7899
7900 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
7901 * iconvdata/jis0208.c: Likewise.
7902 * iconvdata/jis0212.c: Likewise.
7903 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7904
0df757b1
UD
7905 * math/test-misc.c (main): More tests for frexp and some for
7906 fpclassify and isnormal.
7907
be2925fc
UD
7908 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
7909 test for subnormal.
7910 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7911
79569444
UD
7912 * math/test-misc.c (main): Add tests for frexp.
7913 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7914 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
7915
06f55c0c
UD
79162000-12-02 H.J. Lu <hjl@gnu.org>
7917
7918 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
7919 '\0' to wcschr.
7920
ec6f8477
UD
79212000-12-02 Ulrich Drepper <drepper@redhat.com>
7922
00f5fcbb
UD
7923 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
7924 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7925 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7926
ec6f8477
UD
7927 * sysdeps/generic/glob.c: Adjust types of several variables to
7928 avoid warnings.
7929
68f672c9
UD
79302000-12-01 Ulrich Drepper <drepper@redhat.com>
7931
7932 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
7933
2082d3c6
RM
79342000-11-30 Roland McGrath <roland@frob.com>
7935
7936 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
7937 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
7938 allow multiple instances using the same function name in one file.
7939
6b3f2b3d
UD
79402000-12-01 Ulrich Drepper <drepper@redhat.com>
7941
8cd806cf 7942 * configure.in: Correct test for pserver CVS access.
6b3f2b3d 7943
38d7adc4
UD
79442000-11-28 H.J. Lu <hjl@gnu.org>
7945
7946 * libio/libio.h: Remove extra "#if ... #endif".
7947
411adb10
UD
79482000-11-29 H.J. Lu <hjl@gnu.org>
7949
7950 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
7951
62ab42d6
UD
79522000-12-01 H.J. Lu <hjl@gnu.org>
7953
7954 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
7955 * nss/getXXent_r.c: Likewise.
7956 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7957
79582000-11-30 H.J. Lu <hjl@gnu.org>
7959
7960 * scripts/abi-versions.awk (oldest_abi): New variable.
7961 Handle the oldest ABI supported.
7962
7963 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
7964 for scripts/abi-versions.awk.
7965
7966 * configure.in: Add --with-oldest-abi=ABI.
7967 * configure: Rebuild.
7968
7969 * config.make.in (oldest-abi): New.
7970
7971 * config.h.in (GLIBC_OLDEST_ABI): New.
7972
7973 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
7974
411adb10
UD
79752000-11-30 Jakub Jelinek <jakub@redhat.com>
7976
7977 * locale/setlocale.c (setname): Free for all categories, not just
7978 LC_ALL.
7979 (setlocale): Store a copy of string passed by user, not the string
7980 itself.
7981
62e82a34
RM
79822000-11-30 Roland McGrath <roland@frob.com>
7983
7984 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
7985 rather than _hurd_fd_subinit, so it happens after it's safe to use
7986 libc facilities like malloc.
7987
559dce19
AJ
79882000-11-28 Andreas Jaeger <aj@suse.de>
7989
7990 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
7991 declaration, adjust declaration of __syscall_getdents to match
7992 kernel.
7993
a0f5c800
AJ
79942000-11-29 H.J. Lu <hjl@gnu.org>
7995
7996 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
7997
ecefc9b5
AJ
79982000-11-29 Andreas Jaeger <aj@suse.de>
7999
411adb10 8000 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
ecefc9b5 8001
5eefad82
UD
80022000-11-28 Ulrich Drepper <drepper@redhat.com>
8003
20bb2883
UD
8004 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
8005 * dlfcn/defaultmod2.c: Likewise.
8006 * dlfcn/dlopen.c: Likewise.
8007 * dlfcn/dlopenold.c: Likewise.
8008 * dlfcn/failtestmod.c: Likewise.
8009 * dlfcn/glreflib1.c: Likewise.
8010 * dlfcn/glreflib2.c: Likewise.
8011 * dlfcn/eval.c: Likewise. Add attributes.
8012
8013 * ctype/ctype-extn.c: Define isblank and not __isblank.
8014
5eefad82
UD
8015 * time/strftime.c: Add const where necessary to avoid warnings.
8016 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8017
9068de33 80182000-11-22 Paul Eggert <eggert@twinsun.com>
bffef76e
UD
8019
8020 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8021 size of (size_t) -1; it's not portable.
8022
aea6353a
UD
80232000-11-28 Ulrich Drepper <drepper@redhat.com>
8024
8025 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8026 crappy i486 FPU.
8027 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8028
6f9ebf8a
UD
80292000-11-14 Jes Sorensen <jes@linuxcare.com>
8030
8031 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8032
8033 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8034 _mcount is required by profiled binaries.
8035
8036 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8037 * sysdeps/ia64/machine-gmon.h: ...here.
8038
9068de33 80392000-11-28 Masahide Washizawa <washi@jp.ibm.com>
271469ae
UD
8040
8041 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8042 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8043 and ibm1129.h.
8044 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8045 IBM1129.
8046 * iconvdata/ibm922.c: New file.
8047 * iconvdata/ibm922.h: New file.
8048 * iconvdata/ibm1124.c: New file.
8049 * iconvdata/ibm1124.h: New file.
8050 * iconvdata/ibm1129.c: New file.
8051 * iconvdata/ibm1129.h: New file.
8052 * iconvdata/testdata/IBM922: New file.
8053 * iconvdata/testdata/IBM922..UTF8: New file.
8054 * iconvdata/testdata/IBM1124: New file.
8055 * iconvdata/testdata/IBM1124..UTF8: New file.
8056 * iconvdata/testdata/IBM1129: New file.
8057 * iconvdata/testdata/IBM1129..UTF8: New file.
8058
14d5391f
UD
80592000-11-28 Ulrich Drepper <drepper@redhat.com>
8060
8061 * catgets/gencat.c (normalize_line): Take extra parameter with escape
8062 character. Change callers.
8063 (open_conversion): Determine mapping of 0x5c as wchar_t value.
8064 * catgets/Makefile: Add rules to build and run test-gencat.
8065 * catgets/sample.SJIS: New file.
8066 * catgets/test-gencat.c: New file.
8067 * catgets/test-gencat.sh: New file.
8068 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8069
d83c8d14
AJ
80702000-11-28 Andreas Jaeger <aj@suse.de>
8071
8072 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8073 Linux version.
8074
69f2f477
UD
80752000-11-28 Ulrich Drepper <drepper@redhat.com>
8076
8077 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8078
2f0c68f5
AJ
80792000-11-28 Andreas Jaeger <aj@suse.de>
8080
8081 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8082 __flexarr.
8083 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8084 Likewise.
8085
a1620a4c
UD
80862000-11-27 Ulrich Drepper <drepper@redhat.com>
8087
49f3a758
UD
8088 * misc/getusershell.c: Make strings in okshells array const.
8089 * misc/regexp.c: Add const to cast to avoid warnings.
8090 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8091 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8092 __setresuid.
8093 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8094 setresgid.
8095 * misc/error.c: Add prototypes for __error and __error_at_line.
8096 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8097 statement to avoid warning.
8c0b7170
UD
8098 * test-skeleton.c: Mark timeout_handler with noreturn.
8099 * iconv/skeleton.c (get16u): Add const to cast.
8100 (get32u): Likewise.
8101 * iconvdata/gb18030.c: Likewise.
8102 * iconvdata/iso-2022-cn-ext.c: Likewise.
8103 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8104 * iconvdata/big5.c: Likewise.
8105 * iconvdata/big5hkscs.c: Likewise.
8106 * iconvdata/iso_6937.c: Likewise.
8107 * iconvdata/iso_6937-2.c: Likewise.
8108 * iconvdata/t.61.c: Likewise.
8109 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8110 * iconvdata/unicode.c: Likewise.
8111 * iconvdata/utf-16.c: Likewise.
8112 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8113 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8114 with little code shuffling.
8115
d6b544fe
UD
8116 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8117 the problems introduced when the user selects -O3.
8118
a1620a4c
UD
8119 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8120 * misc/sys/cdefs.h: Define __flexarr.
8121 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8122
8123 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8124 * iconv/skeleton.c: Likewise.
8125 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8126 * iconv/loop.c (get16): Add const to cast.
8127 (get32): Likewise.
8128
d54fb3b6
AJ
81292000-11-27 Andreas Jaeger <aj@suse.de>
8130
8131 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8132 to avoid warning.
8133 * login/programs/utmpdump.c (print_entry): Likewise.
8134
f8028a97
AJ
81352000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8136
8137 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8138 in a single asm as they may be used to access other stored
8139 registers.
8140 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8141
1435536e
AJ
81422000-11-27 Andreas Jaeger <aj@suse.de>
8143
8144 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8145 * rt/tst-aio64.c: Likewise.
8146
d2defdc4
UD
81472000-11-27 Ulrich Drepper <drepper@redhat.com>
8148
8149 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8150 for gencat run.
8151 (libc.cat): Likewise.
8152 * catgets/gencat.c: Implement handling of message catalogs encoded
8153 with stateful character sets.
8154 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8155
c3301189
UD
81562000-11-26 Ulrich Drepper <drepper@redhat.com>
8157
ff8becee
UD
8158 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8159
c3301189
UD
8160 * inet/getnameinfo.c: Adjust casts to avoid warnings.
8161 * inet/rcmd.c: Likewise.
8162 * inet/ruserpass.c: Likewise.
8163 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8164 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8165 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8166 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8167 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8168 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8169 * include/aliases.h: Add prototypes for internal __getalias* functions.
8170 * include/netdb.h: Add prototypes for __old_gethostent_r,
8171 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8172 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8173 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8174 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8175 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8176 __old_getrpcbynumber_r, __old_getrpcent_r.
8177
8178 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8179 __getrpcent_r prototypes.
8180
03fb20b5
UD
81812000-11-25 Ulrich Drepper <drepper@redhat.com>
8182
8b6e6767
UD
8183 * string/strcoll.c: Add casts to avoid warnings.
8184 * string/strnlen.c: Likewise.
8185 * string/strxfrm.c: Likewise.
8186 * sysdeps/generic/_strerror.c: Likewise.
8187 * sysdeps/generic/memrchr.c: Likewise.
8188 * sysdeps/generic/strcasestr.c: Likewise.
8189 * sysdeps/generic/strstr.c: Likewise.
8190
8191 * locale/weight.h (findidx): Add const to cast to avoid warning.
8192
a850e77f
UD
8193 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8194 * elf/loadtest.c: Likewise.
8195 * elf/multiload.c: Likewise.
8196 * elf/next.c: Likewise.
8197 * elf/nodelete.c: Likewise.
8198 * elf/noload.c: Likewise.
8199 * elf/order.c: Likewise.
8200 * elf/origtest.c: Likewise.
8201 * elf/preloadtest.c: Likewise.
8202 * elf/restest1.c: Likewise.
8203
68784f80
UD
8204 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8205 parameter of asm must be in %ecx.
8206
c3560dfd
UD
8207 * string/tester.c: Mark test functions as static to avoid warnings.
8208
03fb20b5
UD
8209 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8210 preserve value over different gconv-modules files.
8211
9c0592ab
UD
82122000-11-24 Ulrich Drepper <drepper@redhat.com>
8213
2a068d20
UD
8214 * locale/findlocale.c: Add casts to avoid warnings.
8215 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8216 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8217 to avoid warnings.
8218 * misc/tsearch.c (const_node): New type.
8219 (trecurse): Correct casts to avoid warnings.
8220 (__twalk): Likewise.
8221 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8222 LONG_BIT.
8223
8224 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8225
9c0592ab
UD
8226 * test-skeleton.c: Mark local functions as static to avoid warnings.
8227
82282000-11-23 H.J. Lu <hjl@gnu.org>
8229
8230 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8231 support the background job.
8232 Fix a typo.
8233
2debc8c5
UD
82342000-11-24 Ulrich Drepper <drepper@redhat.com>
8235
8236 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
9c0592ab 8237 has same names but lower cost.
2debc8c5
UD
8238
82392000-11-23 Jakub Jelinek <jakub@redhat.com>
8240
8241 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8242 which never occur during bootstrap.
8243 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8244
bde15123
AJ
82452000-11-23 Andreas Jaeger <aj@suse.de>
8246
ba4cf0e9
AJ
8247 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8248
8249 * nss/Versions: Remove _nss_files_getipnodebyname_r.
8250
bde15123
AJ
8251 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8252
de71a46a
UD
82532000-11-18 Martin Buchholz <martin@xemacs.org>
8254
8255 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8256 (called++) return;'
8257
9068de33 82582000-11-21 Alan Modra <alan@linuxcare.com.au>
de71a46a
UD
8259
8260 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8261
8262 * csu/abi-note.S: Correct comment for operating system number.
8263
1eaa106e
UD
82642000-11-22 Ulrich Drepper <drepper@redhat.com>
8265
8266 * Versions.def: Add GLIBC_2.2.1 for glibc.
8267
82682000-11-22 Andreas Schwab <schwab@suse.de>
8269
8270 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8271 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8272
f14811c7
UD
82732000-11-22 Ulrich Drepper <drepper@redhat.com>
8274
8275 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8276 absolute time for pthread_cond_timedwait call.
8277 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8278
8279 * rt/Makefile (tests): Add tst-aio6.
8280 * rt/tst-aio6.c: New file.
8281
7d494a09
AJ
82822000-11-23 Andreas Jaeger <aj@suse.de>
8283
8284 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8285
d4859cfd
AJ
82862000-11-22 Andreas Jaeger <aj@suse.de>
8287
de71a46a 8288 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
d4859cfd 8289
9068de33 82902000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
e747394b
AJ
8291
8292 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8293
53f78fbd
AS
82942000-11-21 Andreas Schwab <schwab@suse.de>
8295
8296 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8297 * sysdeps/arm/setjmp.S: Likewise.
8298 * sysdeps/arm/fpu/setjmp.S: Likewise.
8299 * sysdeps/i386/setjmp.S: Likewise.
8300 * sysdeps/i386/elf/setjmp.S: Likewise.
8301 * sysdeps/s390/setjmp.S: Likewise.
8302 * sysdeps/s390/elf/setjmp.S: Likewise.
8303 * sysdeps/sh/sh3/setjmp.S: Likewise.
8304 * sysdeps/sh/sh4/setjmp.S: Likewise.
8305 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8306 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8307 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8308 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8309
3ba1da94
AJ
83102000-11-21 Andreas Jaeger <aj@suse.de>
8311
0ab14408 8312 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
307ea00a 8313 NORETURN, fix parameter list.
0ab14408 8314
3ba1da94
AJ
8315 * string/bug-strncat1.c (main): Fix typo.
8316 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8317
6cc7d725
UD
83182000-11-20 Ulrich Drepper <drepper@redhat.com>
8319
8320 * configure.in: Add --enable-all-warnings.
8321 * config.make.in (all-warnings): New variable.
8322 * Makeconfig (+gccwarn): Define with many more warnings if
8323 all-warnings is yes.
8324
59553897
UD
83252000-11-20 Jakub Jelinek <jakub@redhat.com>
8326
8327 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8328 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8329 * malloc/tst-valloc.c (main): Cast valloc return value to long.
8330 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8331 * math/test-fpucw.c (main): Use %lx in format string, cast
8332 control words to long.
8333 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8334 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8335 large that it is unsigned warning.
8336
8337 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8338 it to long on sparc64.
8339
83402000-11-20 Andreas Jaeger <aj@suse.de>
8341
8342 * nscd/nscd.h (termination_handler): Add noreturn attribute.
8343 (receiv_print_stats): Likewise.
8344
8345 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8346
17427edd
UD
83472000-11-20 Ulrich Drepper <drepper@redhat.com>
8348
ce3019cc
UD
8349 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8350
17427edd
UD
8351 * csu/gmon-start.c: Always have prototype for __gmon_start.
8352 * csu/version.c: Add prototypes for __libc_print_version and
8353 __libc_main.
8354 * iconv/gconv.c: Include gconv_int.h and gconv.h.
8355 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8356 and __to_name.
8357 * iconv/gconv_builtin.h: Add ASCII module definitions.
8358 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8359 (add_module): Add cast to avoid warning. Rework construction of
8360 strings for new module.
8361 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8362 (derivation_compare): Likewise.
8363 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
8364 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
8365 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
8366 (struct gconv_alias): Remove const from fromname and toname.
8367 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
8368 for loop functions.
8369 (internal_ucs4_loop): Use correct const-ness.
8370 (ucs4_internal_loop): Likewise.
8371 (internal_ucs4le_loop): Likewise.
8372 (ucs4le_internal_loop_single): Likewise.
8373 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
8374 to_idx, to_tbl, winbuf, winbufend const. Change casts in
8375 assignments appropriately.
8376 (struct known_trans): Remove const from fname.
8377 (trans_compare): Make s1 and s2 const.
8378 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
8379 avoid warning.
8380 * iconv/skeleton.c: Remove cast in calls of loop functions.
8381 * iconvdata/gconv-modules: Remove US-ASCII definitions.
8382 * iconvdata/iso646.c: Remove US_ASCII support.
8383 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
8384 * include/unistd.h: Add __libc_check_standard_fds prototype.
8385 * string/bits/string2.h (__mempcpy_args): Add const to casts.
8386 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
8387 _fini.
8388 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
8389 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
8390 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
8391 warning.
8392 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
8393 __libc_init_first and _dl_start.
ad5b53b1
UD
8394 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
8395 (DCIGETTEXT): Make domaindata variable const.
8396 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
8397 to avoid warning.
17427edd 8398
73ea3b1b
AJ
83992000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
8400
17427edd 8401 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
73ea3b1b
AJ
8402
8403 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
8404 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
8405 __unused? members.
8406
8407 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
8408 value defined in /usr/include/asm-mips/fcntl.h.
8409
bb2fc850
UD
84102000-11-18 Ulrich Drepper <drepper@redhat.com>
8411
fd3e6373
UD
8412 * stdio-common/Makefile (tests): Add test-vfprintf.
8413 (test-vfprintf-ENV): New variable.
8414 * stdio-common/test-vfprintf.c: New file.
8415
bb2fc850
UD
8416 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
8417
8418 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
8419 (tst-mbrtowc-ENV): New variable.
8420 (tst-wcrtomb-ENV): New variable.
8421 * wcsmbs/tst-mbrtowc.c: New file.
8422 * wcsmbs/tst-wcrtomb.c: New file.
8423
7b32d065
UD
84242000-11-16 Andreas Jaeger <aj@suse.de>
8425
8426 * manual/install.texi (Tools for Compilation): Update
8427 documentation for GCC 2.95.2.
8428
7813b61a
UD
84292000-11-18 Ulrich Drepper <drepper@redhat.com>
8430
8431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
8432 if IPv4 and IPv6 requests timed out.
8433
565bc88a
UD
84342000-11-18 Akim Demaille <akim@epita.fr>
8435
8436 * malloc/obstack.h: Formatting changes.
8437 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
8438 prevents type checking.
8439 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
8440 cast the value to (void *): assigning a `foo *' to a `void *'
8441 variable is valid.
8442 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
8443
bda5433d
UD
84442000-11-17 Ulrich Drepper <drepper@redhat.com>
8445
8446 * scripts/config.guess: Update from upstream maintainer.
8447 * scripts/config.sub: Likewise.
8448
3b1de3ba
UD
84492000-11-16 Ulrich Drepper <drepper@redhat.com>
8450
7b32d065 8451 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
3b1de3ba 8452 * libio/freopen64.c (freopen64): Likewise.
0bdfed74 8453 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3b1de3ba 8454
897d4284
UD
8455 * libio/Makefile: Add rules to build and run test-freopen.
8456 * libio/test-freopen.c: New file.
8457 * libio/test-freopen.sh: New file.
8458
40306912
UD
84592000-11-15 H.J. Lu <hjl@gnu.org>
8460
8461 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
8462 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
8463 (DL_DT_FINI_ADDRESS): Likewise.
8464
8465 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
8466 return type to ElfW(Addr).
8467 (_dl_function_address): New prototype.
8468 (DL_FUNCTION_ADDRESS): Defined.
8469 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
8470 (DL_DT_FINI_ADDRESS): Likewise.
8471
8472 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
8473
8474 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
8475 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
8476
8477 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
8478 (_dl_function_address): This.
8479
8480 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
8481 function pointer for DT_FINI.
8482 * elf/dl-close.c (_dl_close): Likewise.
8483
8484 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
8485 function pointer for DT_INIT.
8486
84872000-11-16 Jakub Jelinek <jakub@redhat.com>
8488
8489 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
8490 end of wexpbuf buffer.
8491
96ea2a11
AJ
84922000-11-16 Andreas Jaeger <aj@suse.de>
8493
8494 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
8495 definition of F_GETLK, F_SETLK, F_SETLKW.
8496
8a70a03e
AJ
84972000-11-16 Andreas Jaeger <aj@suse.de>
8498
8499 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
8500 it's not defined.
8501
85857f93
UD
85022000-11-15 Jakub Jelinek <jakub@redhat.com>
8503
8504 * dlfcn/default.c (main): Add test for dladdr of main returning
8505 argv[0] in dli_fname field.
8506
85072000-11-15 Jakub Jelinek <jakub@redhat.com>
8508
8509 * Makeconfig (run-program-prefix): Move test-static test into the
8510 variable.
8511
8512 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
8513 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
8514 schedule instructions.
8515 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
8516 schedule instructions, fix a bug in copying auxiliary data.
8517
821dcbcc
UD
85182000-11-15 Ulrich Drepper <drepper@redhat.com>
8519
85857f93
UD
8520 * manual/startup.texi (Program Arguments): Fix type of main's envp
8521 parameter.
8522