[BZ #116]
[platform/upstream/glibc.git] / ChangeLog
1 2004-08-08  Ulrich Drepper  <drepper@redhat.com>
2
3         * elf/dl-load.c (_dl_map_object): If __RTLD_CALLMAP flag is set,
4         reset loader before the actual loading.
5         * elf/dl-open.c (dl_open_worker): If file name contains no path
6         element determine map of caller.  Pass caller map in this case to
7         _dl_map_object.  Set __RTLD_CALLMAP in mode.
8         * include/dlfcn.h (__RTLD_CALLMAP): Define.  [BZ #116]
9         Patch by Greg Wolodkin <greg@mathworks.com>.
10
11         * misc/syslog.c (openlog_internal): Always try both UDP and TCP.
12         [BZ #108]  Patch mainly by Bjorn Andersson <bjorn@iki.fi>.
13
14         * configure.in: Also recognize i786. [BZ #106]
15         Patch by <pluto@pld-linux.org>.
16
17         * resolv/res_query.c (__libc_res_nsearch): Correctly test whether
18         name contains any dots. [BZ #95]
19
20         * resolv/res_send.c: Compiling with DEBUG defined works again.
21         * resolv/gethnamaddr.c (dprintf): Renamed to Dprintf.  Adjust all
22         callers.
23
24         * resolv/tst-leaks.c (TIMEOUT): Define so that if no server is
25         available the process is not killed. [BZ #41]
26
27         * intl/tst-gettext.c (main): Improve some messages. [BZ #33]
28
29         * time/strptime_l.c (__strptime_internal): Fix handling of %Ey.
30         [BZ #28]
31
32         * po/sv.po: Update from translation team.
33
34 2004-08-07  Ulrich Drepper  <drepper@redhat.com>
35
36         * inet/netinet/in.h: Add more const to the setipv4soucefilter,
37         getsourcefilter, and setsourcefilter parameter list.
38         * sysdeps/generic/setipv4sourcefilter.c: Likewise.
39         * sysdeps/generic/getsourcefilter.c: Likewise.
40         * sysdeps/generic/setsourcefilter.c: Likewise.
41         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
42         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
43         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
44
45         * po/tr.po: Update from translation team.
46
47 2004-08-06  Ulrich Drepper  <drepper@redhat.com>
48
49         * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): Fix typo.
50         Reported by Paolo Bonzini.
51
52 2004-08-06  Jakub Jelinek  <jakub@redhat.com>
53
54         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add
55         always_inline.
56         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_runtime_setup,
57         elf_machine_fixup_plt, elf_machine_plt_conflict): Likewise.
58
59         * sysdeps/unix/sysv/linux/netatalk/at.h: Include bits/sockaddr.h
60         before including linux/atalk.h.
61
62         * resolv/res_libc.c: Include atomic.h.
63
64         * intl/finddomain.c (free_mem): Rename to...
65         (_nl_finddomain_subfreeres): ... this.  Add
66         __libc_freeres_fn_section.
67         * intl/loadmsgcat.c (_nl_unload_domain): Add
68         __libc_freeres_fn_section.
69         * intl/gettextP.h (_nl_unload_domain): Move into #ifdef _LIBC.
70         Add attribute_hidden.
71         (_nl_findomain_subfreeres): New prototype.
72         * iconv/gconv_db.c (free_mem): Call _nl_findomain_subfreeres.
73
74 2004-07-30  Guido Guenther  <agx@sigxcpu.org>
75
76         * nss/getent.c (passwd_keys): Use strtoul instead of isdigit to
77         test if the key is numeric or not.
78         (group_keys): Likewise.
79
80 2004-08-05  Ulrich Drepper  <drepper@redhat.com>
81
82         * inet/netinet/in.h: Define struct ip_msfilter, IP_MSFILTER_SIZE,
83         struct group_filter, and GROUP_FILTER_SIZE.
84         * include/sys/socket.h: Declare __getsockopt.
85         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: New file.
86         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: New file.
87         * sysdeps/unix/sysv/linux/setsourcefilter.c: New file.
88         * sysdeps/unix/sysv/linux/getsourcefilter.c: New file. [BZ #211]
89
90         * po/ko.po: Update from translation team.
91
92 2004-08-04  Jakub Jelinek  <jakub@redhat.com>
93
94         * hesiod/hesiod.c (__hesiod_res_get): Use calloc instead of malloc +
95         memset.
96         (__hesiod_res_set): Free nsaddrs.
97
98         * include/resolv.h (__res_maybe_init): Add prototype.
99         * resolv/resolv.h (struct __res_state): Add _u._ext.initstamp field.
100         * resolv/Versions (libc): Add __res_maybe_init@@GLIBC_PRIVATE.
101         * resolv/res_libc.c (__res_initstamp, lock): New variables.
102         (res_init): Increase __res_initstamp.
103         (__res_maybe_init): New function.
104         * resolv/res_init.c (__res_vinit): Initialize _u._ext.initstamp.
105         * hesiod/hesiod.c (__hesiod_res_get): Use __res_maybe_init instead
106         of RES_INIT check and {res_ninit,__res_ninit,res_init} call.
107         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
108         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r,
109         _nss_dns_gethostbyaddr_r): Likewise.
110         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r,
111         _nss_dns_getnetbyaddr_r): Likewise.
112         * resolv/gethnamaddr.c (gethostbyname, gethostbyname2,
113         gethostbyaddr): Likewise.
114         * resolv/res_data.c (fp_nquery, res_mkquery, res_mkupdate,
115         res_isourserver, res_sendsigned, res_update, res_search,
116         res_querydomain): Likewise.
117         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Likewise.
118         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
119         * nss/getnssent_r.c (__nss_setent, __nss_endent, __nss_getent_r):
120         Likewise.
121
122 2004-08-05  Ulrich Drepper  <drepper@redhat.com>
123
124         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set ai_family for
125         V4-mapped IPv6 addresses and req->ai_family==AF_INET.
126         Reported by A. Guru <a.guru@sympatico.ca>.
127
128         * po/sv.po: Update from translation team.
129         * po/sk.po: Likewise.
130         * po/pl.po: Likewise.
131
132 2004-08-04  Jakub Jelinek  <jakub@redhat.com>
133             Ulrich Drepper  <drepper@redhat.com>
134
135         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Don't read more input
136         characters than necessary.
137
138 2004-08-05  Ulrich Drepper  <drepper@redhat.com>
139
140         * wcsmbs/Makefile (tests): Add tst-mbsrtowcs.
141         * wcsmbs/tst-mbsrtowcs.c: New file.
142
143         * po/fr.po: Update from translation team.
144
145 2004-08-04  Jakub Jelinek  <jakub@redhat.com>
146
147         * resolv/inet_pton.c (inet_pton4): Disallow octal numbers.  Reported
148         by A. Guru <a.guru@sympatico.ca>.  [BZ #295]
149
150 2004-08-05  Ulrich Drepper  <drepper@redhat.com>
151
152         * po/nl.po: Update from translation team.
153
154         * sysdeps/posix/getaddrinfo.c (gaih_inet): Recognize all the IPv4
155         numeric address formats inet_addr knows.
156         (getaddrinfo): Allow AI_NUMERICSERV flag.
157         If neither IPv4 nor IPv6 interface is present we cannot make any
158         decision for AI_ADDRCONFIG.  Fail if AI_NUMERICSERV is set and the
159         string is not just a number.  Remove useless freeaddrinfo call.
160         * resolv/netdb.h (AI_NUMERICSERV): Define.
161         Based on a patch by a.guru@sympatico.ca.
162
163 2004-08-04  Jakub Jelinek  <jakub@redhat.com>
164
165         * stdlib/strfmon_l.c (__vstrfmon_l): Memset whole info structure
166         instead of trying to initialize some, but not all, fields one by
167         one.
168         * stdio-common/printf_size.c (printf_size): Initialize fb_info
169         structure with *info instead of trying to initialize some, but not
170         all, fields from it.
171
172         * nscd/connections.c (handle_request): Check if req->type is in
173         LASTDBREQ .. LASTREQ range instead of req.
174
175         * locale/programs/linereader.c (lr_create): Initialize
176         lr->return_widestr to 0.
177
178         * elf/dl-close.c (free_slotinfo): Add __libc_freeres_fn_section.
179         (free_mem): Call free_slotinfo just once.
180
181         * stdio-common/tst-fmemopen.c (main): Check for MAP_FAILED instead
182         of NULL.
183
184         * locale/localeinfo.h (_nl_locale_subfreeres): New prototype.
185         * locale/setlocale.c (free_category): Add __libc_freeres_fn_section.
186         (free_mem): Rename to _nl_locale_subfreeres.
187         * iconv/gconv_db.c: Include locale/localeinfo.h.
188         (free_derivation, free_modules_db): Add __libc_freeres_fn_section.
189         (free_mem): Call _nl_locale_subfreeres.
190         * iconv/gconv_dl.c (do_release_all): Add __libc_freeres_fn_section.
191
192 2004-08-04  Roland McGrath  <roland@frob.com>
193
194         * Makeconfig ($(common-objpfx)config.status):
195         Fix typo: $(add_ons) -> $(add-ons).
196         (Makeconfig-add-on): New variable.  When doing $(sysdep-makeconfigs)
197         include, use black magic to get it set to an add-on's name during the
198         include of the add-on's Makeconfig.
199
200         * configure.in: Use variable name `libc_add_on' when sourcing add-on
201         configure fragments, so they can refer to this.
202         * configure: Regenerated.
203
204 2004-08-04  Roland McGrath  <roland@redhat.com>
205
206         * posix/tst-waitid.c (test_child): Sleep a second before stopping.
207         (do_test): Bump sleep to three seconds.
208         (sigchld, check_sigchld): New functions.
209         (do_test): Handle SIGCHLD and check for getting the right details.
210
211         * posix/tst-waitid.c (do_test): Kill the child process when bailing
212         out early on some failure.
213         [WCONTINUED]: Test WCONTINUED functionality.
214
215 2004-08-03  Ulrich Drepper  <drepper@redhat.com>
216
217         * nscd/connections.c (handle_request): Print more descriptive
218         message for invalid request types.
219
220 2004-08-02  Jakub Jelinek  <jakub@redhat.com>
221
222         * iconvdata/ibm932.c (BODY): Avoid binary search for ch >= 0xffff.
223         Always treat high as highest number in range + 1.
224         * iconvdata/ibm943.c (BODY): Likewise.
225
226 2004-07-31  Bruno Haible  <bruno@clisp.org>
227
228         * iconvdata/JISX0213.TXT: Updated to JISX0213 plane 1 version 2004.
229         * iconvdata/jisx0213.c (__jisx0213_to_ucs_main,
230         __jisx0213_to_ucs_pagestart, __jisx0213_from_ucs_level1,
231         __jisx0213_from_ucs_level2): Regenerated.
232         * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): New function.
233         * iconvdata/iso-2022-jp-3.c (JISX0213_1_2000_set): Renamed from
234         JISX0213_1_set.
235         (JISX0213_1_2004_set): New enum value.
236         (BODY for FROM_LOOP): Treat ESC $ ( Q like ESC $ ( O.
237         (BODY for TO_LOOP): For JISX 0213 plane 1 characters, emit ESC $ ( O
238         when possible, ESC $ ( Q when needed.
239         * iconvdata/testdata/EUC-JISX0213: Add the 10 new characters.
240         * iconvdata/testdata/EUC-JISX0213..UTF8: Update.
241         * iconvdata/testdata/SHIFT_JISX0213: Add the 10 new characters.
242         * iconvdata/testdata/SHIFT_JISX0213..UTF8: Update.
243         * iconvdata/testdata/ISO-2022-JP-3: Add the 10 new JISX0213 characters.
244         * iconvdata/testdata/ISO-2022-JP-3..UTF8: Update.
245
246 2004-07-22  Bruno Haible  <bruno@clisp.org>
247
248         * iconvdata/gconv-modules (ISO-8859-7): Add alias ISO_8859-7:2003.
249
250 2004-07-29  David S. Miller  <davem@redhat.com>
251
252         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy): Optimize
253         better for smaller than 256 byte copies.  Also, use only one
254         unrolled loop instead of two for the large copy case.
255
256 2004-07-30  Richard Henderson  <rth@redhat.com>
257
258         * sysdeps/alpha/divq.S: Save t3 before it gets clobbered.
259         * sysdeps/alpha/remq.S: Likewise.
260         * sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the
261         new division algorithms in divl.S and divq.S respectively.
262
263 2004-07-28  GOTO Masanori  <gotom@debian.or.jp>
264
265         * timezone/asia: Update from tzdata2004b.
266         * timezone/backward: Likewise.
267         * timezone/europe: Likewise.
268         * timezone/iso3166.tab: Likewise.
269         * timezone/leapseconds: Likewise.
270         * timezone/northamerica: Likewise.
271         * timezone/southamerica: Likewise.
272         * timezone/zone.tab: Likewise.
273
274         * timezone/private.h: Update from tzcode2004b.
275         * timezone/zic.c: Likewise.
276
277 2004-07-27  Ulrich Drepper  <drepper@redhat.com>
278
279         * nscd/grpcache.c (cache_addgr): If necessary, add entry also
280         under the name the user provided.
281         * nscd/pwdcache.c (cache_addpw): Likewise.
282
283 2004-07-26  Roland McGrath  <roland@redhat.com>
284
285         * sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS for
286         call to __waitpid.
287
288 2004-07-26  Ulrich Drepper  <drepper@redhat.com>
289
290         * nscd/hstcache.c (cache_addhst): Fix two scenarios which lead to
291         memory leaks.
292
293         * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Assign pointer for
294         new buffer at the right time.
295         Reported by Jakub Bogusz <qboosh@pld-linux.org>.
296
297 2004-07-25  Ulrich Drepper  <drepper@redhat.com>
298
299         * inet/Versions [libc, GLIBC_2.3.4]: Add getipv4sourcefilter,
300         getsourcefilter, setipv4sourcefilter, and setsourcefilter.
301         * inet/Makefile (routines): Likewise.
302         * inet/netinet/in.h: Add prototypes for getipv4sourcefilter,
303         getsourcefilter, setipv4sourcefilter, and setsourcefilter.
304         * sysdeps/generic/getipv4sourcefilter.c: New file.
305         * sysdeps/generic/setipv4sourcefilter.c: New file.
306         * sysdeps/generic/getsourcefilter.c: New file.
307         * sysdeps/generic/setsourcefilter.c: New file.
308
309 2004-07-17  Steven Munroe  <sjmunroe@us.ibm.com>
310
311         * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
312         for POWER4 machines.
313
314 2004-07-21  Jakub Jelinek  <jakub@redhat.com>
315
316         [BZ #274]
317         * stdlib/strtod_l.c (INTERNAL (__STRTOF)): Fix used >=
318         BITS_PER_MP_LIMB shifting up.
319         * stdlib/tst-strtod.c (main): Add new tests.
320
321 2004-07-23  Jakub Jelinek  <jakub@redhat.com>
322
323         [BZ #282]
324         * libio/iopopen.c (_IO_new_popen): Use _IO_init instead of
325         _IO_no_init.  Remove wd from struct locked_FILE.
326         (_IO_wproc_jumps): Remove.
327         Reported by Andrew Josey <a.josey@opengroup.org>.
328         * stdio-common/Makefile (tests): Add tst-popen.
329         * stdio-common/tst-popen.c: New test.
330
331 2004-07-23  Ulrich Drepper  <drepper@redhat.com>
332
333         * posix/bits/posix1_lim.h: Fix values for _POSIX_CHILD_MAX and
334         _POSIX_OPEN_MAX.  Add _POSIX_HOST_NAME_MAX, _POSIX_SYMLINK_MAX,
335         _POSIX_SYMLOOP_MAX, and _POSIX_RE_DUP_MAX.
336         Reported by Andrew Josey.
337
338         * include/features.h: Document _POSIX_C_SOURCE == 200112L.
339
340         * grp/grp.h: Define gid_t if __USE_XOPEN2K is defined.
341         * pwd/pwd.h: Define uid_t and gid_t if __USE_XOPEN2K is defined.
342         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t,
343         off_t, time_t, and uid_t if __USE_XOPEN2K is defined.
344         * signal/signal.h: Define pid_t if __USE_XOPEN2K is defined.
345         * posix/unistd.h: Define gid_t, off_t, pid_t, uid_t, and
346         useconds_t if __USE_XOPEN2K is defined.
347         * io/utime.h: Define time_t if __USE_XOPEN2K is defined.
348         * libio/stdio.h: Declare fseeko and ftello if __USE_XOPEN2K is defined.
349
350 2004-07-19  Thorsten Kukuk  <kukuk@suse.de>
351
352         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't
353         allocate memory for large temporary variables with alloca.
354
355 2004-07-22  Ulrich Drepper  <drepper@redhat.com>
356
357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Compatibility
358         code must have version GLIBC_2.0.  Patch by Dwayne McConnell.
359
360         * nscd/nscd_getgr_r.c (nscd_getgr_r): Avoid read call with NULL
361         pointer and zero length.
362
363 2004-07-21  Ulrich Drepper  <drepper@redhat.com>
364
365         * nscd/cache.c (prune_cache): Print correct list when debugging.
366
367 2004-07-21  Jakub Jelinek  <jakub@redhat.com>
368
369         * resolv/res_libc.c (res_init): If RES_INIT is set and
370         _res.nscount > 0, call __res_nclose and free nsaddrs.
371         * resolv/Makefile: Add rules to build and run tst-leaks2.
372         * resolv/tst-leaks2.c: New test.
373
374 2004-07-21  Ulrich Drepper  <drepper@redhat.com>
375
376         * intl/libintl.h: Don't define macros for C++.
377         Patch by Goto Masanori.
378
379 2004-07-22  GOTO Masanori  <gotom@debian.or.jp>
380
381         [BZ #276]
382         * include/arpa/inet.h: Change inet_aton type from in_addr_t to int.
383         * inet/arpa/inet.h: Likewise.
384         * resolv/inet_addr.c: Likewise.
385
386 2004-07-21  Alexandre Oliva  <aoliva@redhat.com>
387
388         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add semtimedop.
389
390 2004-07-20  Roland McGrath  <roland@redhat.com>
391
392         * configure.in (add_ons): Substitute this.  Move $add_ons handling
393         after AC_CANONICAL_HOST and default setting of $machine et al.
394         Don't set $subdirs from $add_ons.
395         Instead, source add-on/configure fragments early on.
396         (base_machine): If it's already set, don't set it based on $machine.
397         (libc_config_ok): New variable, set to no.  If an add-on fragment sets
398         it to yes, skip the  tuple sanity check as if --enable-hacker-mode.
399         (sysnames): Try appending add-on names after machine as well.
400         * config.make.in (add-ons): Set from @add_ons@ instead of @subdirs@.
401         * Makeconfig ($(common-objpfx)config.status): Also depend on configure
402         files in $(add_ons) dirs.
403
404         * sysdeps/unix/sysv/linux/bits/in.h (struct ip_mreq): Remove
405         definition, now in netinet/in.h proper.
406
407 2004-07-20  Alexandre Oliva  <aoliva@redhat.com>
408
409         * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
410         Sort by syscalls.  Make sure we get headers such as sgidefs.h from
411         the build tree before just-installed ones.
412
413         * sysdeps/mips/atomicity.h: Use standard names for ABI macros,
414         include sgidefs.h where appropriate.
415         * sysdeps/mips/dl-machine.h: Likewise.
416         * sysdeps/mips/machine-gmon.h: Likewise.
417         * sysdeps/mips/bits/setjmp.h: Likewise.
418         * sysdeps/mips/fpu/bits/mathdef.h: Likewise.
419         * sysdeps/mips/mips64/__longjmp.c: Likewise.
420         * sysdeps/mips/mips64/setjmp_aux.c: Likewise.
421         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
422         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
423         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
424         * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise.
425         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
426         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
427         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
428         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
429         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
430         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise.
431         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
432         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
433         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise.
434         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
435         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
436         * sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise.
437         * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
438         Likewise.
439         * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h):
440         Likewise.
441
442         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Update to use
443         _dl_lookup_symbol_x.
444         (elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.
445
446 2004-07-20  Ulrich Drepper  <drepper@redhat.com>
447
448         * inet/netinet/in.h: Define struct ip_mreq and struct
449         ip_mreq_source.
450         Define struct group_req and struct group_source_req.
451         * sysdeps/unix/sysv/linux/bits/in.h: Define IP_UNBLOCK_SOURCE,
452         IP_BLOCK_SOURCE, IP_ADD_SOURCE_MEMBERSHIP,
453         IP_DROP_SOURCE_MEMBERSHIP, IP_MSFILTER, MCAST_JOIN_GROUP,
454         MCAST_BLOCK_SOURCE, MCAST_UNBLOCK_SOURCE, MCAST_LEAVE_GROUP,
455         MCAST_JOIN_SOURCE_GROUP, MCAST_LEAVE_SOURCE_GROUP, and
456         MCAST_MSFILTER.
457         Define MCAST_INCLUDE and MCAST_EXCLUDE.
458
459         * iconvdata/gconv-modules: Add alias for IBM874 [BZ #244].
460
461 2004-07-19  Jakub Jelinek  <jakub@redhat.com>
462
463         [BZ #258]
464         * math/libm-test.inc (max_value, min_value): New variables.
465         (initialize): Initialize them.
466         (pow_test): Add a couple of new tests.
467         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Don't generate invalid
468         exception if |y| >= 1U<<31.
469         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Don't generate invalid
470         exception if |y| >= 1L<<63.
471         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
472         If y*log2(x) overflows to +-inf, return still +inf/+0 instead of NaN.
473         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
474
475 2004-07-18  Ulrich Drepper  <drepper@redhat.com>
476
477         * nscd/pwdcache.c (cache_addpw): Optimize case of unsuccessful
478         lookup a bit.
479         * nscd/grpcache.c (cache_addgr): Likewise.
480         * nscd/hstcache.c (cache_addhst): Likewise.
481
482 2004-07-10  GOTO Masanori  <gotom@debian.or.jp>
483
484         * sysdeps/s390/s390-32/elf/start.S: Remove symbol _fp_hw.
485         * sysdeps/s390/s390-64/elf/start.S: Likewise.
486
487 2004-04-16  Andreas Schwab  <schwab@suse.de>
488
489         * sysdeps/ia64/bits/atomic.h: Cast first argument of
490         __sync_bool_compare_and_swap_si correct to void*.
491
492 2004-07-17  Ulrich Drepper  <drepper@redhat.com>
493
494         * iconv/iconv_prog.c (print_known_names): Make machine-readable
495         output even less cluttered.
496
497 2004-07-16  Steven Munroe  <sjmunroe@us.ibm.com>
498
499         [BZ #269]
500         * setjmp/Makefile (tests): Add  bug269-setjmp.
501         * setjmp/bug269-setjmp.c: New file.
502         * sysdeps/powerpc/powerpc64/__longjmp-common.S [SHARED && !IS_IN_rtld]:
503         Store R2 from jmpbuf in callers TOC save area.
504         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S [SHARED && !IS_IN_rtld]:
505         Store R2 in TOC save area.
506         * sysdeps/powerpc/powerpc64/setjmp-common.S [SHARED && !IS_IN_rtld]:
507         Copy TOC save area from previous frame as R2 (TOC) in jmpbuf.
508
509 2004-07-16  Jakub Jelinek  <jakub@redhat.com>
510
511         * locale/newlocale.c: Include bits/libc-lock.h.
512         (__libc_setlocale_lock): Extern decl.
513         (__newlocale): Use it.
514         Reported by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
515
516 2004-07-15  Jakub Jelinek  <jakub@redhat.com>
517
518         * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Remove
519         static inline __attribute ((always_inline)).  Don't define if
520         NO_CANCELLATION.
521         (__libc_fcntl): Use INLINE_SYSCALL directly instead of
522         __fcntl_nocancel.
523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__fcntl_nocancel):
524         Remove static inline __attribute ((always_inline)).  Don't define
525         if NO_CANCELLATION.
526         (__libc_fcntl): Use INLINE_SYSCALL directly instead of
527         __fcntl_nocancel.
528         * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Define to
529         __libc_fcntl if NO_CANCELLATION and __ASSUME_FCNTL64 == 0.
530         Don't define at all if NO_CANCELLATION and __ASSUME_FCNTL64 > 0.
531         (__libc_fcntl): Don't define if __fcntl_nocancel is a macro.
532
533         [BZ #262]
534         * sysdeps/i386/elf/start.S (_start): Use @GOT instead of @GOTOFF
535         for main.
536         * elf/Makefile: Add rules to build and run tst-pie1.
537         * elf/tst-pie1.c: New test.
538         * elf/tst-piemod1.c: New file.
539
540 2004-07-14  Jakub Jelinek  <jakub@redhat.com>
541
542         [BZ #266]
543         * manual/string.texi (l64a): Note that the static buffer is 7 bytes
544         long.  Rewrite example code so that it takes into account l64a output
545         shorter than 6 characters.
546         Reported by Julian Graham <julian.graham@aya.yale.edu>.
547
548 2004-07-14  Kaz  Kojima  <kkojima@rr.iij4u.or.jp>
549
550         * sysdeps/sh/dl-machine.h: Don't reset _dl_starting_up here.
551         (elf_machine_rela_relative): Remove unused valiable.
552
553 2004-07-12  Paul Eggert  <eggert@cs.ucla.edu>
554
555         [BZ #263]
556         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Don't store
557         outside the buffer if the read returns 0.  __strtod_l can't set
558         endp to NULL, so remove a test for that case.
559
560 2004-07-12  Roland McGrath  <roland@redhat.com>
561
562         * manual/signal.texi (Interrupted Primitives): Make clear that
563         TEMP_FAILURE_RETRY evaluates its expression as long int and compares
564         it to -1 to define "failure".
565
566 2004-07-10  Ulrich Drepper  <drepper@redhat.com>
567
568         * elf/ldconfig.c: Define PROCINFO_CLASS as static before including
569         ldsodefs.h.
570         * sysdeps/generic/ldsodefs.h: Only define PROCINFO_CLASS if it is not
571         already defined.
572         * sysdeps/i386/dl-procinfo.c: Define PROCINFO_CALLS only if not
573         already defined.
574
575         * elf/rtld.c (print_statistics): Mark with noinline attribute.
576         * sysdeps/i386/dl-machine.h (elf_machine_rel): Mark with always_inline
577         attribute.
578         (elf_machine_rel_relative): Likewise.
579
580         * include/string.h: Add libc_hidden_proto for __strtok_r and
581         __strsep_g.
582         * sysdeps/generic/strsep.c: Add libc_hidden_def.
583         * sysdeps/generic/strtok_r.c: Likewise.
584         * sysdeps/i386/strtok_r.S: Add alias for internal symbol.
585         * sysdeps/i386/i686/strtok_r.S: Likewise.
586         * sysdeps/x86_64/strtok_r.S: Likewise.
587
588 2004-07-09  Alexandre Oliva  <aoliva@redhat.com>
589
590         * inet/getnetgrent_r.c (internal_setnetgrent): Make it hidden
591         instead of internal-linkage, such that we can alias to it.
592         (internal_endnetgrent, internal_getnetgrent_r): Likewise.
593
594 2004-07-09  Ulrich Drepper  <drepper@redhat.com>
595
596         * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Move attribute
597         to the front for gcc 3.5+.
598         * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
600         * include/fcntl.h: Don't declare __fcntl_nocancel here if
601         NO_CANCELLATION is defined.
602
603 2004-07-07  Jakub Jelinek  <jakub@redhat.com>
604
605         * elf/dl-fini.c (_dl_fini): Add nloaded variable, load
606         GL(dl_nloaded) into it while still in critical section.
607
608 2004-07-06  Thorsten Kukuk  <kukuk@suse.de>
609
610         * nss/getent.c (print_group, print_passwd): Use %lu format for
611         `unsigned long int' values.
612
613         * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Fix syntax
614         error typos in goto statements.
615
616 2004-07-07  Roland McGrath  <roland@frob.com>
617
618         * Makefile (dist-separate): New variable.
619         (glibc-%.tar rule): Make separate tar files for add-ons listed there.
620         Depend on their configure files.
621         (dist-do-separate-dirs): New canned sequence to do that.
622         (dist-separate-libidn, dist-separate-linuxthreads): New variables.
623         (dist): Depend on add-on tar files based on $(dist-separate).
624         (dist-version): New variable, default to $(version).
625         (tag-for-dist, dist): Use that in place of $(version) in deps.
626
627 2004-07-07  Ulrich Drepper  <drepper@redhat.com>
628
629         * elf/dl-fini.c (_dl_fini): Move the unlock of the ld.so lock
630         before the loop running the destructors.
631
632 2004-05-18  Andreas Schwab  <schwab@suse.de>
633
634         * elf/dl-load.c (_dl_map_object_from_fd): Use the end address of
635         the first segment for mprotect, not l_text_end.
636
637 2004-07-05  Ulrich Drepper  <drepper@redhat.com>
638
639         * elf/dl-profile.c (_dl_start_profile): Compact error handling.
640         Remove hashfraction variable.  Make kcount and kcountsize local
641         variables.
642
643         * elf/dl-init.c: Don't define and use _dl_starting_up if
644         HAVE_INLINED_SYSCALLS is defined and the variable is not used.
645         * elf/dl-support.c: Likewise.
646         * elf/rtld.c: Likewise.
647         * elf/dl-misc.c (_dl_debug_vdprintf): Use writev syscall directly
648         if HAVE_INLINED_SYSCALLS is defined.
649         * sysdeps/powerpc/powerpc64/dl-machine.h: Don't reset _dl_starting_up
650         here.
651         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
652         * sysdeps/unix/sysv/linux/configure.in: Define HAVE_INLINED_SYSCALLS.
653         * config.h.in: Add entry for HAVE_INLINED_SYSCALLS.
654
655         * sysdeps/posix/profil.c: If compiled for ld.so, omit code which
656         is needed to stop profiling.
657         * elf/dl-open.c (dl_open_worker): If a newly opened object is to be
658         profile make sure it cannot be unloaded.
659
660         * sysdeps/unix/sysv/linux/dl-origin.c: Inline readlink syscall.
661
662         * sysdeps/unix/sysv/linux/fcntl.c: If compiled without cancellation
663         support, make sure the helper function is inlined.
664         * sysdeps/unix/sysv/linux/pread.c: Likewise.
665         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
666         * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
668
669 2004-07-05  Jakub Jelinek  <jakub@redhat.com>
670
671         * include/string.h (ffs): Add libc_hidden_builtin_proto.
672         * sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def.
673         * sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise.
674         * sysdeps/alpha/ffs.S (ffs): Likewise.
675         * sysdeps/s390/ffs.c (ffs): Likewise.
676         * sysdeps/powerpc/ffs.c (ffs): Likewise.
677         * sysdeps/i386/ffs.c (ffs): Likewise.
678         * sysdeps/i386/i686/ffs.c (ffs): Likewise.
679         * sysdeps/m68k/ffs.c (ffs): Likewise.
680         * sysdeps/generic/ffs.c (ffs): Likewise.
681         * sysdeps/m88k/ffs.c (ffs): Likewise.
682         * sysdeps/am29k/ffs.c (ffs): Likewise.
683         * sysdeps/i960/ffs.c (ffs): Likewise.
684         * sysdeps/x86_64/ffs.c (ffs): Likewise.
685
686         * Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0.
687
688         * sysdeps/powerpc/novmx-longjmp.c (__libc_longjmp,
689         __libc_siglongjmp): Remove symbol_version.
690         * sysdeps/powerpc/longjmp.c (__libc_longjmp, __libc_siglongjmp):
691         Export @@GLIBC_PRIVATE, not @@GLIBC_2.3.4.
692         * sysdeps/powerpc/sigjmp.c (__sigjmp_save): Use strong_alias
693         unconditionally.
694         * sysdeps/powerpc/novmx-sigjmp.c (__sigjmp_save): Remove.
695         * sysdeps/powerpc/powerpc32/__longjmp.S (__longjmp): Use
696         strong_alias instead of default_symbol_version, remove
697         symbol_version.
698         * sysdeps/powerpc/powerpc64/__longjmp.S (__longjmp): Likewise.
699         * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__novmx__setjmp): Change
700         into strong_alias to __novmxsetjmp.
701         (__vmx__setjmp): Similarly with __vmxsetjmp.
702         (__setjmp): Make it strong_alias to __vmx__setjmp, remove
703         default_symbol_version and symbol_version.
704         * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__novmx__setjmp): Change
705         into strong_alias to __novmxsetjmp.
706         (__vmx__setjmp): Similarly with __vmxsetjmp.
707         (__setjmp): Make it strong_alias to __vmx__setjmp, remove
708         default_symbol_version and symbol_version.
709
710         * nscd/nscd_getgr_r.c: Include stdio-common/_itoa.h.
711
712 2004-07-05  Ulrich Drepper  <drepper@redhat.com>
713
714         * elf/rtld.c (dl_main): Mark dyn_temp with attribute_relro.
715
716 2004-07-04  Matthew Reppert  <arashi@kai.vm.bytemark.co.uk>
717
718         * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver
719         instead of libc_hidden_def.
720
721 2004-07-01  Roland McGrath  <roland@redhat.com>
722
723         * aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT.
724
725         * Makeconfig ($(common-objpfx)shlib-versions.v.i): Move top-level
726         $(..)shlib-versions file to last in deps list.  This lets add-ons give
727         more-specific matches that override defaults in the top-level file.
728
729         * sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was
730         already set, don't set it or libc_cv_gcc_unwind_find_fde.
731         * sysdeps/unix/sysv/linux/configure: Regenerated.
732
733 2004-07-01  Martin Schwidefsky  <schwidefsky@de.ibm.com>
734
735         * sysdeps/s390/fpu/bits/mathinline.h [__LIBC_INTERNAL_MATH_INLINES]
736         (__ieee754_sqrt): Define as __MATH_INLINE using sqdbr instruction.
737         (__ieee754_sqrtf): Define as __MATH_INLINE using sqebr instruction.
738         * sysdeps/s390/fpu/e_sqrt.c: New file.
739         * sysdeps/s390/fpu/e_sqrtf.c: New file.
740         * sysdeps/s390/Implies: New file.
741         * sysdeps/s390/s390-32/Implies: Remove ieee754, move
742         ieee754/dbl-64 and ieee754/flt-32 to s390/Implies.
743         * sysdeps/s390/s390-64/Implies: Likewise.
744
745 2004-06-30  Jakub Jelinek  <jakub@redhat.com>
746
747         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Include tls.h.
748         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
749
750         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (thread_start):
751         DO_CALL (exit, 1) instead of branching to _exit.
752         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (thread_start):
753         Likewise.
754
755         * sysdeps/s390/fpu/bits/mathinline.h: New file.
756
757         * include/glob.h (glob64): Add libc_hidden_proto.
758         * sysdeps/generic/glob64.c (glob64): Add libc_hidden_def.
759         * sysdeps/gnu/glob64.c (glob64): Likewise.
760         * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Likewise.
761
762 2004-06-11  Jakub Jelinek  <jakub@redhat.com>
763
764         * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 3.4.
765         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
766
767 2004-06-11  Dwayne Grant McConnell  <dgm69@us.ibm.com>
768
769         * sysdeps/powerpc/fpu/s_lround.c: Removed.
770         * sysdeps/powerpc/fpu/s_lroundf.c: Removed.
771         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: New file.
772         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: New file.
773         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: New file.
774         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: New file.
775         * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: Removed.
776         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: New file.
777         * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: New file.
778         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: New file.
779         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: New file.
780         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: New file.
781         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: New file.
782         * sysdeps/powerpc/powerpc32/fpu/s_round.S: New file.
783         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: New file.
784         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: New file.
785
786 2004-06-30  Ulrich Drepper  <drepper@redhat.com>
787
788         * include/net/if.h: Handle if_nameindex and if_freenameindex with
789         libc_proto_hidden.
790         * sysdeps/unix/sysv/linux/netlinkaccess.h: New file.
791         * sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions.
792         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using
793         netlink if possible.  Fall back on ioctl method if necessary.
794         * sysdeps/unix/sysv/linux/Dist: Add netlinkaccess.h.
795
796         * include/unistd.h: Declare __truncate.
797         * sysdeps/generic/truncate.c: Also define __truncate.
798         * sysdeps/mach/hurd/truncate.c: Likewise.
799         * sysdeps/unix/common/syscalls.list: Likewise.
800         * sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate.
801
802 2004-06-29  Ulrich Drepper  <drepper@redhat.com>
803
804         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
805         info.extra.  Patch by Marcus Meissner.
806
807 2004-06-29  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
808
809         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
810         Fix branch offset for a PLT entry.
811
812 2004-06-20  Jim Meyering  <jim@meyering.net>
813
814         * malloc/obstack.h (obstack_base): Cast to `void *', to align with
815         documentation.
816
817 2004-06-28  Ulrich Drepper  <drepper@redhat.com>
818
819         * inet/bug-if1.c (do_test): Simply use 0 as invalid index.
820         Workaround for [BZ #232].
821
822         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Use extend_alloca.
823
824 2004-06-28  GOTO Masanori  <gotom@debian.or.jp>
825
826         * iconv/gconv_simple.c: Use get16/put16 for user given buffer
827         in ucs2/ucs2reverse when unaligned memory access is attempted.
828         * iconv/tst-iconv5.c: New file.
829         * iconv/Makefile (tests): Add tst-iconv5.
830
831 2004-06-28  Jakub Jelinek  <jakub@redhat.com>
832
833         * inet/bug-if1.c: Include <string.h>.
834
835 2004-06-19  Roland McGrath  <roland@redhat.com>
836
837         * sysdeps/posix/waitid.c (do_waitid) [DO_WAITID]: Define function
838         under this macro name instead.
839         [NO_DO_WAITID]: Don't define it at all.
840         (do_waitid) [WNOWAIT, WEXITED]: If these POSIX.1 waitid flag bits are
841         defined, then return ENOTSUP for combinations of selection bits other
842         than WEXITED and WEXITED|WSTOPPED, which this version cannot support.
843
844         * posix/tst-waitid.c: New file.
845         * posix/Makefile (tests): Add it.
846
847 2004-06-28  Jakub Jelinek  <jakub@redhat.com>
848
849         * sysdeps/unix/alpha/sysdep.h (inline_syscall6): Fix a typo.
850
851         [BZ #231]
852         * sysdeps/unix/alpha/sysdep.S (__syscall_error): Avoid !samegp
853         relocation in librt.so.
854
855         [BZ #230]
856         * sysdeps/alpha/dl-machine.h (_dl_start_user): Use ldah/ldl to load
857         _dl_skip_args.  Patch by Jakub Bogusz <qboosh@pld-linux.org>.
858
859 2004-06-27  Ulrich Drepper  <drepper@redhat.com>
860
861         * elf/ldconfig.c (add_dir): Take chroot into account.
862         Based on changes by HJ Lu and Hideki Iwamoto.
863
864         * nscd/connections.c (invalidate_cache): If the host cache has to
865         be invalidated, re-read resolv.conf.
866
867         * resolv/resolv.h (RES_NOIP6DOTINT): Define.
868         * resolv/res_init.c (res_setoptions): Handle no-ip6-dotint option.
869         * resolv/gethnamaddr.c (gethostbyaddr): Don't lookup with .ip6.int
870         if RES_NOIP6DOTINT flag is set.
871         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
872
873 2004-06-25  Jakub Jelinek  <jakub@redhat.com>
874
875         * sysdeps/unix/sysv/linux/powerpc/fcntl.c: Move to...
876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: ... here.
877         * sysdeps/unix/sysv/linux/powerpc/lockf64.c: Move to...
878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: ... here.
879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: New file.
880
881         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_GETLK, F_SETLK,
882         F_SETLKW): Fix values for -m32 -D_FILE_OFFSET_BITS=64.
883
884 2004-06-21  Jakub Jelinek  <jakub@redhat.com>
885
886         [BZ #231]
887         * sysdeps/unix/alpha/Makefile: New file.
888         * sysdeps/unix/alpha/rt-sysdep.S: New file.
889         Reported by Jakub Bogusz <qboosh@pld-linux.org>.
890
891 2004-06-18  Ulrich Drepper  <drepper@redhat.com>
892
893         * sysdeps/posix/getaddrinfo.c (gaih_inet): For AI_CANONNAME,
894         determine the canonical name only for the first returned entry.
895
896         * inet/bug-if1.c: New file.
897         * inet/Makefile (tests): Add bug-if1.
898
899 2004-06-18  Roland McGrath  <roland@frob.com>
900
901         * Makerules (compile-mkdep-flags): Add -MT $@.
902
903         * Makefile (dist, tag-for-dist): New targets.
904         (files-for-dist, tag-of-stem): New variables.
905         (glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule.
906         Make tar files using cvs export.
907         (%.bz2, %.gz, tag-%): New pattern rules.
908         (distribute): Variable removed.
909         (+subdir_targets): Remove distinfo targets.
910         (echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed.
911         (rpm/%): Pattern rule removed.
912         * rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed.
913         * Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist):
914         Targets removed.
915         * Makerules (dist, subdir_distinfo): Targets removed.
916         ($(objpfx)distinfo): Depend on $(distribute).
917         * Make-dist: File removed.
918
919         * NEWS: Fix a typo.  Update bug-reporting instructions.
920
921 2004-06-17  Thorsten Kukuk  <kukuk@suse.de>
922
923         * sysdeps/unix/sysv/linux/sched_setaffinity.c
924         (__sched_setaffinity_new): Set errno to EINVAL and return -1 if
925         cpuset is wrongly set.
926
927 2004-06-15  Steven Munroe  <sjmunroe@us.ibm.com>
928
929         * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
930         for POWER4 machines.
931
932 2004-06-14  Jakub Jelinek  <jakub@redhat.com>
933
934         [BZ #218]
935         * sunrpc/pmap_prot2.c (xdr_pmaplist): When freeing, remember pml_next
936         in a local variable, point rp to that local variable afterwards.
937
938 2004-06-11  Jakub Jelinek  <jakub@redhat.com>
939
940         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Handle special
941         cases properly.
942
943 2004-06-17  Ulrich Drepper  <drepper@redhat.com>
944
945         * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
946         error value for unknown interface. [BZ #198]
947
948 2004-06-13  Jakub Jelinek  <jakub@redhat.com>
949
950         * sysdeps/i386/bits/string.h (memcpy): Add () around arguments.
951         (memchr, __memrchr, strlen, strcmp, strncmp, __strchr_g, __strchr_c,
952         __strchrnul_g, __strchrnul_c, strspn, strcspn, strpbrk): Add memory
953         the asm uses as its input, either of size __n where __n is known or
954         0xfffffff.
955         (strstr): Add "memory" clobber.
956
957 2004-06-14  Jakub Jelinek  <jakub@redhat.com>
958
959         [BZ #219]
960         * nss/nsswitch.c (free_mem): Don't try to close a library handle
961         if the handle is invalid.  Patch by David Kimdon <kimdon@esrf.fr>.
962
963 2004-06-11  Dmitry V. Levin  <ldv@altlinux.org>
964
965         [BZ #217]
966         * debug/xtrace.sh: Fix typo in error diagnostics.
967
968 2004-06-14  Andreas Schwab  <schwab@suse.de>
969
970         * stdio-common/psignal.c (psignal): Don't use BUF when asprintf
971         failed.
972
973 2004-06-15  Steven Munroe  <sjmunroe@us.ibm.com>
974
975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto
976         that clobbers r19.  Fix pasto that overflowed sigcontext.v_reserve.
977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Fix pasto
978         that clobbers r19.
979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Fix pasto
980         that clobbers r19.  Fix pasto that overflowed sigcontext.v_reserve.
981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S:
982         Fix setting of sigcontext.v_regs.  Fix pasto that clobbers r19.
983         Fix pasto that overflowed sigcontext.v_reserve.
984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S:
985         Fix pasto that clobbers r19.
986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Fix setting
987         of sigcontext.v_regs.  Fix pasto that clobbers r19.  Fix pasto that
988         overflowed sigcontext.v_reserve.
989
990 2004-05-04  H.J. Lu  <hongjiu.lu@intel.com>
991
992         [BZ #150]
993         * sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."
994         instead of ".gnu.linkonce.ro." as the prefix for linkonce
995         read-only section name.
996
997 2004-06-14  Richard Henderson  <rth@redhat.com>
998
999         * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
1000         (_ITOFT, _FTOIT, _ITOFT2): Likewise.
1001
1002 2004-06-08  Jakub Jelinek  <jakub@redhat.com>
1003
1004         * sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.
1005         (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
1006         (__backtrace): Don't call init #ifndef SHARED.
1007         * sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED.
1008         (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
1009         (__backtrace): Don't call init #ifndef SHARED.
1010         * sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED.
1011         (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
1012         (__backtrace): Don't call init #ifndef SHARED.
1013
1014 2004-06-11  Roland McGrath  <roland@redhat.com>
1015
1016         * sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.
1017         From Krzysztof Halasa <khc@pm.waw.pl>.
1018
1019 2004-06-10  Jakub Jelinek  <jakub@redhat.com>
1020
1021         * elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.
1022
1023 2004-06-08  Jakub Jelinek  <jakub@redhat.com>
1024
1025         [BZ #199]
1026         * crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc
1027         succeeds.  Reported by Miles Ohlrich <miles@cray.com>.
1028
1029         * elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc
1030         fails.  Avoid memory leak if realloc fails.
1031
1032 2004-06-09  Jakub Jelinek  <jakub@redhat.com>
1033
1034         * sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is
1035         NULL, "" or contains '=' character in it.  Reported by
1036         Michael T Kerrisk <mtk-lists@gmx.net>.
1037         * stdlib/tst-environ.c: Include errno.h.
1038         (main): Add tests for these arguments to setenv/unsetenv.
1039
1040 2004-06-07  Roland McGrath  <roland@frob.com>
1041
1042         * NEWS: Update bug reporting instructions.  Fix some typos.
1043
1044 2004-06-05  Ulrich Drepper  <drepper@redhat.com>
1045
1046         * stdio-common/_itoa.h: Don't expand _itoa inline for libc.
1047         * stdio-common/_itoa.c: Add _itoa implementation.
1048
1049         * nscd/nscd_gethst_r.c (__nscd_open_socket): Change implementation
1050         to also send request.  Add parameter to allow this.
1051         Change callers.
1052         * nscd/nscd_getgr_r.c: Change __nscd_open_socket caller.
1053         * nscd/nscd_getpw_r.c: Likewise.
1054         * nscd/nscd-client.h: Change __nscd_open_socket prototype.
1055
1056 2004-06-05  Andreas Jaeger  <aj@suse.de>
1057
1058         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1059         Handle more than 6 args correctly.  Based on a patch by Masahide
1060         Washizawa <washi@jp.ibm.com>.
1061
1062 2004-06-04  Ulrich Drepper  <drepper@redhat.com>
1063
1064         * nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts
1065         in all places, not __nss_not_use_nscd_group.
1066         Reported by Philippe Gregoire.
1067
1068 2004-06-03  Ulrich Drepper  <drepper@redhat.com>
1069
1070         * sysdeps/i386/i486/bits/atomic.h: Optimize a bit.
1071
1072 2004-05-07  Dmitry V. Levin  <ldv@altlinux.org>
1073
1074         * argp/argp-help.c (__argp_error, __argp_failure): Check result
1075         of __asprintf call and don't use string if it failed.
1076         * stdio-common/psignal.c (psignal): Likewise.
1077         * locale/programs/localedef.c (more_help): Likewise.
1078         * resolv/res_hconf.c (arg_service_list, arg_trimdomain_list,
1079         arg_bool, parse_line): Check result of __asprintf calls and
1080         don't use string if they failed.
1081         * sunrpc/svc_simple.c (registerrpc, universal): Likewise.
1082         * elf/ldconfig.c (parse_conf_include): Check result of __asprintf
1083         call and exit if it failed.
1084
1085 2004-05-10  Jakub Jelinek  <jakub@redhat.com>
1086
1087         * sysdeps/posix/sysconf.c (__sysconf) <cases _SC_REALTIME_SIGNALS,
1088         _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
1089         _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES,
1090         _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION,
1091         _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS,
1092         _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_THREAD_ATTR_STACKADDR,
1093         _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING,
1094         _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT,
1095         _SC_THREAD_PROCESS_SHARED>: Return _POSIX_* value instead of 1.
1096         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1097         <case _SC_MONOTONIC_CLOCK>: Return _POSIX_VERSION instead of 1.
1098
1099 2004-05-07  Jeroen Dekkers  <jeroen@dekkers.cx>
1100
1101         * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add
1102         -momit-leaf-frame-pointer.
1103
1104         * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with
1105         #ifdef AF_PACKET.
1106
1107         * sysdeps/mach/hurd/getcwd.c
1108         (_hurd_canonicalize_directory_name_intern): Only realloc when
1109         size is <= 0.
1110
1111         * sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset
1112         isn't page aligned.
1113
1114         * sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to
1115         new size.
1116
1117         * sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read,
1118         __libc_write and __libc_lseek64.
1119
1120 2004-05-29  Roland McGrath  <roland@redhat.com>
1121
1122         * elf/Makefile (shared-only-routines): Add dl-caller.
1123
1124 2004-05-28  Ulrich Drepper  <drepper@redhat.com>
1125
1126         * sysdeps/powerpc/configure.in: New file.
1127
1128 2004-05-28  Steven Munroe  <sjmunroe@us.ibm.com>
1129
1130         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add .machine
1131         "altivec" to enable VMX instructions.
1132         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1133         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1134         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1141
1142 2004-05-27  Jakub Jelinek  <jakub@redhat.com>
1143
1144         * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Define using
1145         __builtin_expm1l for GCC 3.5+.
1146         (__expl): Define using __builtin_expl for GCC 3.4+.
1147         (exp, expf, expl): Don't define for GCC 3.4+.
1148         (tan, tanf, tanl): Don't define for GCC 3.5+.
1149         (__atan2l): Define using __builtin_atan2l for GCC 3.4+.
1150         (atan2, atan2f, atan2l): Don't define for GCC 3.4+ or !__FAST_MATH__.
1151         (fmod, fmodf, fmodl): Don't define for GCC 3.5+ or !__FAST_MATH__.
1152         (fabsf, fabsl): Only provide if __USE_MISC or __USE_ISOC99.
1153         (sin, sinf, sinl, cos, cosf, cosl, log, logf, logl): Don't define
1154         for GCC 3.4+.
1155         (log10, log10f, log10l, asin, asinf, asinl, acos, acosf, acosl):
1156         Don't define for GCC 3.5+.
1157         (atan, atanf, atanl): Don't define for GCC 3.4+ or !__FAST_MATH__.
1158         (log1p, log1pf, log1pl, logb, logbf, logbl, log2, log2f, log2l): Don't
1159         define for GCC 3.5+.
1160         (drem, dremf, dreml): Don't define for GCC 3.5+ or !__FAST_MATH__.
1161         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, sqrtf, sqrtl): Don't
1162         define for GCC 3.2+.
1163
1164 2004-05-27  Jakub Jelinek  <jakub@redhat.com>
1165
1166         * string/bits/string2.h (__bzero): Define even for GCC 3.0+.
1167         * sysdeps/alpha/stpcpy.S (stpcpy): Add libc_hidden_builtin_def.
1168         * sysdeps/alpha/alphaev67/stpcpy.S (stpcpy): Likewise.
1169         * sysdeps/powerpc/powerpc32/stpcpy.S (stpcpy): Likewise.
1170         * sysdeps/powerpc/powerpc64/stpcpy.S (stpcpy): Likewise.
1171         * sysdeps/sparc/sparc32/stpcpy.S (stpcpy): Likewise.
1172         * sysdeps/sparc/sparc64/stpcpy.S (stpcpy): Likewise.
1173         * sysdeps/i386/stpcpy.S (stpcpy): Likewise.
1174         * sysdeps/i386/i586/stpcpy.S (stpcpy): Likewise.
1175         * sysdeps/generic/stpcpy.c (stpcpy): Likewise.
1176         * sysdeps/x86_64/stpcpy.S (stpcpy): Likewise.
1177         * sysdeps/i386/i586/memcpy.S (memcpy): Remove
1178         libc_hidden_builtin_def if MEMPCPY_P.
1179         * sysdeps/x86_64/memcpy.S (memcpy): Likewise.
1180         * sysdeps/i386/i686/mempcpy.S (mempcpy): Add libc_hidden_builtin_def.
1181         * sysdeps/i386/i586/mempcpy.S (mempcpy): Likewise.
1182         * sysdeps/generic/mempcpy.c (mempcpy): Likewise.
1183         * sysdeps/x86_64/mempcpy.S (mempcpy): Likewise.
1184
1185 2004-05-26  Roland McGrath  <roland@frob.com>
1186
1187         * sysdeps/generic/bits/in.h
1188         (IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed.
1189         These are long obsolete in BSD systems where they originated.
1190         * conform/data/netinet/in.h-data: Remove `allow IMPLINK_*'
1191
1192 2004-05-26  Jakub Jelinek  <jakub@redhat.com>
1193
1194         * include/string.h (mempcpy, stpcpy): Add libc_hidden_builtin_proto.
1195         * string/bits/string2.h (memset): Disable macro for GCC 3.0+.
1196         (__mempcpy): Use __builtin_mempcpy for GCC 3.4+.
1197         (strchr): For GCC 3.2+, only use __rawmemchr if second argument is
1198         constant '\0' and first argument is not constant.
1199         (__stpcpy): Use __builtin_stpcpy for GCC 3.4+.
1200         (strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant.
1201         For GCC 3.2+ use __builtin_strncpy.
1202         (strncat): For GCC 3.2+ use __builtin_strncat.
1203         (strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are
1204         constant.
1205         (strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function
1206         if both arguments are constant.
1207
1208 2004-05-26  Ulrich Drepper  <drepper@redhat.com>
1209
1210         * nss/nss_files/files-hosts.c: Fix condition for looking up IPv4
1211         mapped addresses in gethostbyaddr.
1212
1213 2004-05-25  Ulrich Drepper  <drepper@redhat.com>
1214
1215         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove typep and
1216         flags parameter, convert afp to simple int parameter.  Adjust code.
1217         typep was never != NULL and flags therefore also unused.  *afp is
1218         never modified.
1219         * nss/nsswitch.h: Adjust __nss_hostname_digits_dots prototype.
1220         * nss/getXXbyYY.c: Remove HAVE_TYPE handling.  Adjust af parameter
1221         handling for __nss_hostname_digits_dots calls.
1222         * nss/getXXbyYY_r.c: Likewise.
1223
1224         * elf/dl-load.c (_dl_map_object_from_fd): Map DSOs with MAP_DENYWRITE.
1225
1226 2004-05-25  Steven Munroe  <sjmunroe@us.ibm.com>
1227
1228         * sysdeps/powerpc/fpu/Makefile: Make ld.so a dependency of libm.so.
1229         * sysdeps/powerpc/fpu/bits/mathinline.h [__LIBC_INERNAL_MATH_INLINES]
1230         (__ieee754_sqrt): Define as __MATH_INLINE using fsqrt instruction.
1231         (__ieee754_sqrtf): Define as __MATH_INLINE using fsqrts instruction.
1232         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Moved
1233         implementation from w_sqrt.c.
1234         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Moved
1235         implementation from w_sqrtf.c.
1236         * sysdeps/powerpc/fpu/w_sqrt.c (__sqrt): Wrapper implementation
1237         using inline __ieee754_sqrt().
1238         * sysdeps/powerpc/fpu/w_sqrtf.c (__sqrtf): Wrapper implementation
1239         using inline __ieee754_sqrtf().
1240         * sysdeps/powerpc/powerpc32/sysdep.h [__ASSEMBLER__]: Include
1241         <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
1242         * sysdeps/powerpc/sysdep.h [__ASSEMBLER__] (PPC_FEATURE_*): Define
1243         PPC_FEATURE_*  independent of __ASSEMBLER__.
1244
1245 2004-05-25  Jakub Jelinek  <jakub@redhat.com>
1246
1247         * sysdeps/pthread/aio_notify.c: Use <> instead of "" for aio_misc.h
1248         include.
1249         (aio_start_notify_thread): Define if not defined.
1250         (notify_func_wrapper): Use it.
1251         * sysdeps/pthread/aio_misc.c: Use <> instead of "" for aio_misc.h
1252         include.
1253         (aio_create_helper_thread): Define if not defined.
1254         (__aio_create_helper_thread): New function.
1255         (__aio_enqueue_request): Use aio_create_helper_thread.
1256
1257         * nis/ypclnt.c (ypall_data, ypall_foreach): Remove.
1258         (struct ypresp_all_data): New type.
1259         (__xdr_ypresp_all): Change second argument to
1260         struct ypresp_all_data *.  Replace ypall_foreach and
1261         ypall_data with objp->foreach and objp->data.
1262         (yp_all): Remove status variable, add data.  Replace
1263         all uses of status with data.status.  Initialize data.foreach
1264         and data.data instead of ypall_foreach and ypall_data.
1265
1266 2004-05-24  Jakub Jelinek  <jakub@redhat.com>
1267
1268         * elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit
1269         in l_flags_1, not in l_flags.
1270
1271 2004-04-10  Robert Millan  <robertmh@gnu.org>
1272
1273         * sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in sync
1274         with sysdeps/generic/bits/in.h.
1275
1276 2004-05-25  Roland McGrath  <roland@frob.com>
1277
1278         * sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from
1279         GCC GPL to standard glibc LGPL.
1280
1281 2004-05-24  Ulrich Drepper  <drepper@redhat.com>
1282
1283         * manual/string.texi (Copying and Concatenation): Fixed second
1284         concat example.
1285         Reported by Fabian Pietsch <fabian@zzznowman.dyndns.org>.
1286
1287 2004-05-23  Ulrich Drepper  <drepper@redhat.com>
1288
1289         * malloc/obstack.c: Don't allow linking with _obstack.
1290
1291 2004-05-23  Andreas Schwab  <schwab@suse.de>
1292
1293         * sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint instead
1294         of separate "m" constraints.
1295
1296 2004-05-15  Chris Demetriou  <cgd@broadcom.com>
1297
1298         * sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE)
1299         (ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32
1300         and 64 ABIs, save and restore regs $10 and $11 (a6 and a7).
1301
1302 2004-05-20  Paul Eggert  <eggert@cs.ucla.edu>
1303
1304         * malloc/obstack.c (_obstack) [!defined _LIBC]: Remove; not used.
1305         Add comment explaining why libc still defines it.
1306
1307 2004-05-19  Paul Eggert  <eggert@cs.ucla.edu>
1308
1309         * malloc/obstack.h (_obstack_free, obstack_1grow, obstack_1grow_fast,
1310         obstack_alignment_mask, obstack_alloc, obstack_base,
1311         obstack_blank, obstack_blank_fast, obstack_chunk_size,
1312         obstack_copy, obstack_copy0, obstack_finish, obstack_grow,
1313         obstack_grow0, obstack_init, obstack_int_grow,
1314         obstack_int_grow_fast, obstack_make_room, obstack_memory_used,
1315         obstack_next_free, obstack_object_size, obstack_ptr_grow,
1316         obstack_ptr_grow_fast, obstack_room): Remove declarations of
1317         nonexistent functions.
1318
1319 2004-05-18  Steven Munroe  <sjmunroe@us.ibm.com>
1320
1321         * sysdeps/powerpc/powerpc64/sysdep.h [__ASSEMBLER__]: Include
1322         <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
1323         [PIC]: Redundent for powerpc64, removed.
1324         (ENTRY): Generate size and alignment for opd entry.
1325         (EALIGN): Generate size and alignment for opd entry.
1326         (END): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
1327         (END_GEN_TB): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
1328
1329 2004-05-19  Ulrich Drepper  <drepper@redhat.com>
1330
1331         * misc/regexp.h: Say the functions have been withdrawn.
1332
1333         * wcsmbs/tst-wcpncpy.c: Add more tests.
1334
1335 2004-05-18  Roland McGrath  <roland@frob.com>
1336
1337         * sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to
1338         standard glibc LGPL.
1339         * sysdeps/generic/unwind-dw2.c: Likewise.
1340         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1341         * sysdeps/generic/unwind-dw2-fde.h: Likewise.
1342         * sysdeps/generic/unwind-pe.h: Likewise.
1343
1344 2004-05-15  Petter Reinholdtsen  <pere@hungry.com>
1345
1346         * locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND
1347         MONTENEGRO" which have taken over the code 819.  Patch from
1348         Danilo Segan. [BZ #40]
1349
1350 2004-05-15  Jakub Jelinek  <jakub@redhat.com>
1351
1352         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1353         (SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to
1354         __sparc_get_pic_l7.
1355
1356 2004-05-15  Joseph S. Myers  <jsm@polyomino.org.uk>
1357
1358         * catgets/gencat.c: Update bug reporting instructions.
1359         * csu/version.c: Likewise.
1360         * debug/catchsegv.sh: Likewise.
1361         * debug/pcprofiledump.c: Likewise.
1362         * debug/xtrace.sh: Likewise.
1363         * elf/ldd.bash.in: Likewise.
1364         * iconv/iconv_prog.c: Likewise.
1365         * iconv/iconvconfig.c: Likewise.
1366         * locale/programs/locale.c: Likewise.
1367         * locale/programs/localedef.c: Likewise.
1368         * login/programs/pt_chown.c: Likewise.
1369         * malloc/memusage.sh: Likewise.
1370         * malloc/memusagestat.c: Likewise.
1371         * malloc/mtrace.pl: Likewise.
1372         * manual/crypt.texi: Likewise.
1373         * manual/install.texi: Likewise.
1374         * nss/makedb.c: Likewise.
1375
1376 2004-05-14  Jakub Jelinek  <jakub@redhat.com>
1377
1378         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only
1379         CHECK_STATIC_TLS if sym != NULL.
1380         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1381         * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.
1382
1383 2004-05-12  Andreas Schwab  <schwab@suse.de>
1384
1385         * posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs
1386         when translating.
1387
1388 2004-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1389
1390         * Rules (xtests): Depend on tests.
1391
1392 2004-05-13  Jakub Jelinek  <jakub@redhat.com>
1393
1394         * libio/genops.c (_IO_default_xsputn): Avoid one overflow per char if
1395         count is negative, yet write_ptr < write_end.
1396         (_IO_default_xsgetn): Avoid one underflow per char if count is
1397         negative, yet read_ptr < read_end.
1398
1399 2004-05-12  Steven Munroe  <sjmunroe@us.ibm.com>
1400
1401         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XTABS): Define XTABS
1402         equal to TAB3.
1403
1404 2004-05-12  Ulrich Drepper  <drepper@redhat.com>
1405
1406         * elf/dl-lookup.c (_dl_lookup_symbol_x): Correct _dl_signal_cerror
1407         call.
1408
1409 2004-05-10  Roland McGrath  <roland@frob.com>
1410
1411         * hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "".
1412         (__hurd_directory_name_split): Likewise.
1413
1414 2004-05-10  Ulrich Drepper  <drepper@redhat.com>
1415
1416         * po/fr.po: Update from translation team.
1417
1418 2004-05-10  Andreas Jaeger  <aj@suse.de>
1419
1420         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1421         Correctly compute alignment.
1422         Patch by Michael Matz <matz@suse.de>.
1423
1424 2004-05-09  Ulrich Drepper  <drepper@redhat.com>
1425
1426         * sysdeps/generic/sigpause.c: Prevent sigpause prototype.
1427         * sysdeps/posix/sigpause.c: Likewise.
1428         * signal/signal.h: Don't define sigpause macro unless needed.
1429
1430 2004-05-08  Jakub Jelinek  <jakub@redhat.com>
1431
1432         * configure.in (libc_cv_libgcc_s_suffix): New check.
1433         (libc_cv_as_needed): Use -lgcc_s$libc_cv_libgcc_s_suffix.
1434         * config.make.in (libgcc_s_suffix): Set.
1435         * Makeconfig (libgcc_eh): Use -lgcc_s$(libgcc_s_suffix).
1436
1437 2004-05-08  Ulrich Drepper  <drepper@redhat.com>
1438
1439         * signal/signal.h: Use BSD sigpause only if BSD behavior is preferred.
1440
1441 2004-04-29  Steven Munroe  <sjmunroe@us.ibm.com>
1442
1443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_1,
1444         LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
1445         Load argument values into temporary variables.
1446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_1,
1447         LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
1448         Likewise.
1449
1450 2004-05-07  Ulrich Drepper  <drepper@redhat.com>
1451
1452         * sysdeps/unix/sysv/linux/Makefile: mq_send.c and mq_receive.c
1453         need to be compiled with exceptions.
1454
1455 2004-05-06  Ulrich Drepper  <drepper@redhat.com>
1456
1457         * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Fix memory handling.
1458         * sysdeps/generic/ifreq.c (__ifreq): Fix memory handling.
1459
1460         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Make clear that
1461         realloc cannot fail.
1462
1463         * nss/nss_files/files-netgrp.c (EXPAND): Free buffer which cannot
1464         be expanded.
1465
1466         * nis/nis_table.c: Clean up memory handling.
1467         * nis/nis_subr.c (nis_getnames): Clean up memory handling.
1468         * nis/nis_removemember.c (nis_removemember): Add comment
1469         explaining use of realloc.
1470
1471         * math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL.
1472         (carg): Likewise.
1473         Patch by Lev S Bishop <lev.bishop@yale.edu>.
1474
1475         * math/bug-tgmath1.c (main): Test fabs and carg as well.
1476
1477 2004-05-06  Richard Henderson  <rth@redhat.com>
1478
1479         * elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
1480         AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.
1481         * sysdeps/unix/sysv/linux/alpha/Versions: Export
1482         __libc_alpha_cache_shape as a private symbol.
1483         * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file.
1484         * sysdeps/unix/sysv/linux/alpha/sysconf.c: New file.
1485
1486 2004-05-06  Richard Henderson  <rth@redhat.com>
1487
1488         * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New.
1489         * sysdeps/alpha/divl.S: Use them.
1490         * sysdeps/alpha/divq.S: Likewise.
1491         * sysdeps/alpha/divqu.S: Likewise.
1492         * sysdeps/alpha/reml.S: Likewise.
1493         * sysdeps/alpha/remq.S: Likewise.
1494         * sysdeps/alpha/remqu.S: Likewise.
1495
1496 2004-05-06  Ulrich Drepper  <drepper@redhat.com>
1497
1498         * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG_RET_REAL):Define.
1499         (cimag): Use it.
1500         (creal): Likewise.
1501         * math/Makefile (tests): Add bug-tgmath1.
1502         * math/bug-tgmath1.c: New file.
1503
1504 2004-05-05  Jakub Jelinek  <jakub@redhat.com>
1505
1506         * sysdeps/alpha/atomicity.h: Remove.
1507         * sysdeps/generic/atomicity.h: Remove.
1508
1509 2004-05-05  H.J. Lu  <hongjiu.lu@intel.com>
1510
1511         * sysdeps/i386/i486/bits/string.h (strpbrk): Cast return to
1512         char *.
1513
1514 2004-04-22  David Mosberger  <davidm@hpl.hp.com>
1515
1516         * sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention
1517           rt-sysdep.
1518         * sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file.
1519
1520         * sysdeps/ia64/strcat.c: New file.
1521         * sysdeps/ia64/strcat.S: Delete.
1522
1523 2004-05-04  Jakub Jelinek  <jakub@redhat.com>
1524
1525         * sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove
1526         defined.
1527
1528 2004-04-23  Jakub Jelinek  <jakub@redhat.com>
1529
1530         * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add
1531         libc_hidden_proto.  Define to __GI___libm_error_support for
1532         assembly going into libc.so.
1533         * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add
1534         libc_hidden_def.
1535
1536         * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define.
1537         * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove.
1538
1539         * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access
1540         gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno
1541         if USE___THREAD.
1542
1543 2004-05-03  Jakub Jelinek  <jakub@redhat.com>
1544
1545         * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if
1546         __USE_BSD or __USE_UNIX98.
1547         * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1548         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1549         * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN):
1550         Likewise.
1551         * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1552         * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1553         * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1554         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN):
1555         Likewise.
1556         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN):
1557         Likewise.
1558         * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN):
1559         Likewise.
1560         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN):
1561         Likewise.
1562         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN):
1563         Likewise.
1564         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN):
1565         Likewise.
1566         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN):
1567         Likewise.
1568         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN):
1569         Likewise.
1570         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN):
1571         Likewise.
1572         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN):
1573         Likewise.
1574         * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN):
1575         Likewise.
1576         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN):
1577         Likewise.
1578         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN):
1579         Likewise.
1580         * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1581         * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1582         * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise.
1583
1584 2004-05-01  Jakub Jelinek  <jakub@redhat.com>
1585
1586         * posix/Versions (libc): Remove __libc_wait, __libc_waitpid,
1587         __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64,
1588         __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE.
1589         * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE.
1590         * sysdeps/unix/sysv/linux/Versions (libc): Remove
1591         __libc_sigaction@@GLIBC_PRIVATE.
1592         * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove
1593         __modify_ldt@@GLIBC_PRIVATE.
1594         * socket/Versions (libc): Remove __libc_accept, __libc_send,
1595         __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv,
1596         __libc_sendto and __libc_connect @@GLIBC_PRIVATE.
1597         * stdio-common/Versions (libc): Remove
1598         _itoa_upper_digits@@GLIBC_PRIVATE.
1599         * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE.
1600         * misc/Versions (libc): Remove __libc_fsync, __libc_msync,
1601         __libc_readv and __libc_writev @@GLIBC_PRIVATE.
1602         * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE.
1603         * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read,
1604         __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and
1605         __libc_lseek64 @@GLIBC_PRIVATE.
1606
1607 2004-04-30  Jakub Jelinek  <jakub@redhat.com>
1608
1609         * elf/dl-load.c (open_verify): Move e_phentsize check after e_type
1610         check.
1611
1612 2004-04-29  Steven Munroe  <sjmunroe@us.ibm.com>
1613
1614         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file.
1615         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file.
1616         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file.
1617         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file.
1618         * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed.
1619         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file.
1620         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed.
1621         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file.
1622         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file.
1623         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file.
1624         * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file.
1625         * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file.
1626         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file.
1627         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file.
1628         * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file.
1629         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file.
1630         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file.
1631         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file.
1632
1633         * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX
1634         mantissa for AIX long double format.
1635         * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX
1636         long double format.
1637         * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise.
1638         * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
1639         (_fpioconst_pow10): AIX long double format has same exponent range as
1640         double.
1641         * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
1642         (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range
1643         as double.
1644
1645 2004-04-23  Art Haas  <ahaas@airmail.net>
1646
1647         * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'.
1648
1649 2004-04-28  Carlos O'Donell  <carlos@baldric.uwo.ca>
1650
1651         * sysdeps/unix/sysv/linux/mq_getattr.c: Include <stddef.h>.
1652         * sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
1653         * sysdeps/unix/sysv/linux/mq_open.c: Likewise.
1654         * sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
1655         * sysdeps/unix/sysv/linux/mq_send.c: Likewise.
1656
1657 2004-04-29  Philip Blundell  <pb@nexus.co.uk>
1658
1659         * sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT
1660         entries.
1661
1662 2004-04-29  Jakub Jelinek  <jakub@redhat.com>
1663
1664         * manual/resource.texi (sched_setaffinity, sched_getaffinity): Fix
1665         prototypes and description [BZ #131].
1666
1667         * string/bits/string2.h (strpbrk): Cast NULL to char * [BZ #130].
1668         Patch by Ed Catmur <ed@catmur.co.uk>.
1669         * string/tst-inlcall.c (main): Add test for strpbrk.
1670
1671         [BZ #140]
1672         * sysdeps/unix/sysv/linux/sys/sysctl.h: Remove linux/compiler.h
1673         include.
1674         (_LINUX_KERNEL_H, _LINUX_TYPES_H, _LINUX_LIST_H): Only define if not
1675         yet defined, #undef back after including linux/sysctl.h if defined
1676         here.
1677         (__LINUX_COMPILER_H, __user): Define if not yet defined, #undef
1678         back after including linux/sysctl.h if defined here.
1679
1680         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (_Qp_qtoi): Use %f31
1681         for single precision register, add it to __asm clobbers [BZ #139].
1682         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (_Qp_qtoui): Use %f31
1683         for single precision register, add it to __asm clobbers.
1684         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c (_Qp_qtoux): Use fqtox
1685         instead of fqtoi in QP_HANDLE_EXCEPTIONS.
1686         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c (_Qp_qtox): Likewise.
1687         Reported by M. H. VanLeeuwen <vanl@megsinet.net>.
1688
1689 2004-04-23  Andreas Schwab  <schwab@suse.de>
1690
1691         * sysdeps/unix/sysv/linux/m68k/register-dump.h: Use
1692         __attribute_used__.
1693
1694 2004-04-22  Philip Blundell  <philb@gnu.org>
1695
1696         * sysdeps/arm/dl-machine.h (elf_machine_rela): Don't use INTUSE
1697         when calling _dl_signal_error.
1698         (elf_machine_rel): Likewise.
1699
1700 2004-04-21  Ulrich Drepper  <drepper@redhat.com>
1701
1702         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Define _GI___sigsetjmp
1703         and use it internally instead of __sigsetjmp.
1704         * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Use _GI___libm_frexp_4f.
1705         * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Use _GI___libm_frexp_4l.
1706         * sysdeps/ia64/fpu/libm_frexp4.S: Define _GI___libm_frexp_4.
1707         * sysdeps/ia64/fpu/libm_frexp4f.S: Define _GI___libm_frexp_4f.
1708         * sysdeps/ia64/fpu/libm_frexp4l.S: Define _GI___libm_frexp_4l.
1709         * sysdeps/ia64/fpu/s_frexp.c (frexp): Use _GI___libm_frexp_4.
1710         * sysdeps/ia64/fpu/libm_support.h: Declare _GI___libm_frexp_4,
1711         _GI___libm_frexp_4f, _GI___libm_frexp_4l.
1712         * sysdeps/ia64/fpu/bits/mathinline.h: New file.
1713         * sysdeps/unix/sysv/linux/ia64/__start_context.S: Use
1714         HIDDEN_JUMPTARGET for exit call.
1715         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use HIDDEN_JUMPTARGET for
1716         _exit call.
1717         * sysdeps/ia64/bcopy.S: Use HIDDEN_JUMPTARGET for memmove call.
1718         * sysdeps/ia64/strcat.S: Use HIDDEN_JUMPTARGET for strlen and
1719         strcpy calls.
1720
1721 2004-04-21  Jakub Jelinek  <jakub@redhat.com>
1722
1723         * posix/tst-chmod.c (do_test): Fix a typo.
1724
1725         * elf/lateglobal.c (main): Fix error checks.
1726         Patch by Stephen Clarke <stephen.clarke@st.com>.
1727
1728         * manual/ctype.texi (isblank, iswblank): Mark as ISO functions,
1729         mention they have been added in ISO C99.
1730         Reported by Ben Pfaff <blp@cs.stanford.edu>.
1731
1732 2004-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1733
1734         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo.
1735
1736 2004-04-20  Jakub Jelinek  <jakub@redhat.com>
1737
1738         * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into
1739         EACCES.
1740
1741 2004-04-20  Jakub Jelinek  <jakub@redhat.com>
1742
1743         * stdio-common/vfscanf.c (_IO_vfscanf): Revert last %% whitespace
1744         handling change.
1745         * stdio-common/tst-sscanf.c (int_tests): Adjust.
1746
1747         * nis/nss-nis.c: Include stdlib.h.
1748
1749         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Shut up a
1750         warning.
1751         * sysdeps/sparc/sparc64/memcmp.S (memcmp): Remove BP_SYM () from
1752         libc_hidden_builtin_def.
1753
1754 2004-04-20  Jim Meyering  <jim@meyering.net>
1755
1756         * misc/error.c (error_tail): Don't leak upon realloc failure.
1757
1758 2004-04-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1759
1760         * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):
1761         Use RETURN_ADDRESS instead of __builtin_return_address.
1762
1763 2004-04-19  Ulrich Drepper  <drepper@redhat.com>
1764
1765         * sysdeps/unix/sysv/linux/mq_unlink.c: Rewrite to produce more
1766         compact code.
1767
1768 2004-04-20  Jakub Jelinek  <jakub@redhat.com>
1769
1770         * stdio-common/vfscanf.c (_IO_vfscanf): When skipping whitespace,
1771         do input_error () instead of conv_error () and don't look at errno.
1772         Don't eat any whitespace before %% if skip_space == 0.
1773         * stdio-common/tst-sscanf.c (int_tests): New array.
1774         (main): Run int_tests.
1775
1776
1777 See ChangeLog.14 for earlier changes.