]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
* Makefile ($(objpfx)c++-types-check.out): Use $<, not $^, in command.
[thirdparty/glibc.git] / ChangeLog
1 2005-09-22 Roland McGrath <roland@redhat.com>
2
3 * Makefile ($(objpfx)c++-types-check.out): Use $<, not $^, in command.
4 Reported by Alexandre Oliva <aoliva@redhat.com>.
5
6 2005-09-20 Jakub Jelinek <jakub@redhat.com>
7
8 * nscd/dbg_log.c (init_logfile): Use fopen64 rather than fopen.
9
10 2005-09-20 Roland McGrath <roland@redhat.com>
11
12 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use execv, not execl.
13
14 [BZ #1346]
15 * elf/dl-load.c (_dl_map_object_from_fd) [HAVE_Z_RELRO]: Do relro
16 magic on __stack_prot only if [SHARED]. Skip mprotect if __stack_prot
17 lies outside the page-rounded-down relro region.
18
19 2005-09-19 Richard Henderson <rth@redhat.com>
20
21 [BZ #1358]
22 * sysdeps/unix/alpha/sysdep.h (inline_syscall1): Copy argument(s)
23 to a temporary first.
24 (inline_syscall2, inline_syscall3, inline_syscall4): Likewise.
25 (inline_syscall5, inline_syscall6): Likewise.
26
27 * sysdeps/alpha/ldiv.S (lldiv): Add alias.
28
29 2005-09-17 Ulrich Drepper <drepper@redhat.com>
30
31 [BZ #1010]
32 * sysdeps/unix/sockatmark.c (sockatmark): Use SIOCATMARK correctly.
33
34 [BZ #1053]
35 * debug/xtrace.sh: Add missing escape character in -? match.
36 Patch by Peter Breitenlohner <peb@mppmu.mpg.de>.
37
38 [BZ #1051]
39 * wctype/wctype.h: Remove stray __END_NAMESPACE_C99.
40 * stdlib/stdlib.h: Use __END_NAMESPACE_STD instead of
41 __END_NAMESPACE_C99 in one place.
42 * scripts/begin-end-check.pl: New file.
43 Patch by Ralph Loader <suckfish@ihug.co.nz>.
44 * Makefile: Add rules to run scripts/begin-end-check.pl.
45
46 2005-09-17 Andreas Jaeger <aj@suse.de>
47
48 * timezone/zdump.c: Include ctype.h.
49
50 2005-09-16 Andreas Jaeger <aj@suse.de>
51
52 [BZ #1047]
53 * sysdeps/unix/sysv/linux/mips/getpagesize.c: New file.
54
55 2005-09-16 Maciej W. Rozycki <macro@linux-mips.org>
56
57 [BZ #933]
58 * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Load the number of
59 the syscall immediately before invocation.
60 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Likewise.
61 * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise.
62
63 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use
64 macros to handle GP.
65 * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall):
66 Likewise. Update inaccurate comments.
67
68 2005-09-13 Ulrich Drepper <drepper@redhat.com>
69
70 * sysdeps/posix/spawni.c (__spawni): Automatically recognize some
71 more cases when we can use vfork.
72
73 2005-08-29 Thomas Schwinge <schwinge@nic-nac-project.de>
74
75 [BZ #1261]
76 * manual/memory.texi (Hooks for Malloc): Correct prototype of
77 my_init_hook and definition of my_free_hook.
78
79 2005-09-12 Roland McGrath <roland@redhat.com>
80
81 [BZ #1331]
82 * malloc/obstack.h [!__STDC__] (obstack_int_grow_fast): Fix misnamed
83 macro argument.
84 Reported by Matej Vela <vela@debian.org>.
85
86 2005-09-12 Jakub Jelinek <jakub@redhat.com>
87
88 * malloc/malloc.c (struct malloc_chunk): Fix comment typo.
89 (public_cALLOc): For mmapped chunks and perturb_byte != 0,
90 don't clear SIZE_SZ bytes more than should be cleared.
91
92 2005-09-09 Jakub Jelinek <jakub@redhat.com>
93
94 * inet/getnetgrent_r.c: Include assert.
95 (setup): Remove FUNC_NAME and ALL arguments, assume they are always
96 "setnetgrent" and 1.
97 (endnetgrent_hook): New function.
98 (internal_endnetgrent): Use it.
99 (__internal_setnetgrent_reuse): Use it. Adjust setup caller.
100 If status is NSS_STATUS_SUCCESS, yet action is continue, call
101 endnetgrent hook.
102 (internal_getnetgrent_r): Use __nss_lookup_function rather than
103 setup. Recompute getfct pointer after successful
104 __internal_setnetgrent_reuse. Don't use __nss_next.
105 (innetgr): Use __nss_lookup_function instead of __nss_lookup.
106 Adjust setup caller.
107 * nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Always clear
108 data_size and cursor. Add libnss_files_hidden_proto and
109 libnss_files_hidden_def.
110 (_nss_files_setnetgrent): Call _nss_files_endnetgrent on failure.
111 * nis/nss_nis/nis-netgrp.c (internal_endnetgrent): Always clear
112 data_size and cursor.
113 (_nss_nis_setnetgrent): Don't call internal_endnetgrent.
114 (_nss_nis_getnetgrent_r): Remove result->cursor == NULL handling.
115 * nis/nss_nisplus/nisplus-netgrp.c (internal_endnetgrent): Always clear
116 data_size and position.
117 (_nss_nisplus_setnetgrent): Don't call internal_endnetgrent.
118
119 2005-09-09 Ulrich Drepper <drepper@redhat.com>
120
121 * nss/getent.c (netgroup_keys): Call endnetgrent.
122 (main): Call mtrace.
123
124 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): We don't
125 need locking for the stream. Use feof_unlocked.
126
127 2005-09-09 Jakub Jelinek <jakub@redhat.com>
128
129 [BZ #1318]
130 * locale/loadarchive.c (_nl_load_locale_from_archive): Free
131 normalized_codeset even if p was already normalized.
132 Reported by Jaroslav Snajdr <jsnajdr@kerio.com>.
133
134 2005-09-08 Roland McGrath <roland@redhat.com>
135
136 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Decode DSOCAPS
137 properly, first byte is bit number in mask. Skip disabled caps.
138
139 2005-07-11 Derek R. Price <derek@ximbiot.com>
140
141 [BZ #1061]
142 * sysdeps/generic/glob.c (glob): Only a 0 return from
143 getlogin_r means success, according to POSIX 1003.2.
144
145 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
146
147 [BZ #1033]
148 * time/mktime.c: Import from gnulib.
149 The following macros are now consistent with other gnulib code.
150 This does not change mktime's behavior.
151 (TYPE_IS_INTEGER): New macro.
152 (time_t_is_integer): Use it.
153 (TYPE_TWOS_COMPLEMENT): New macro.
154 (twos_complement_arithmetic): Use it.
155 (TYPE_ONES_COMPLEMENT): New macro.
156 (TYPE_MINIMUM, TYPE_MAXIMUM): Now supports signed-magnitude.
157 mktime doesn't use this, but the code now matches other gnulib code.
158 (ranged_convert): Pacify GCC 4.0 in a different way, which
159 generates a few bytes less code.
160 (ranged_convert, __mktime_internal): When calling a function via a
161 pointer P, use P () rather than (*P) (), as we now assume C89 or
162 better.
163
164 2005-09-07 Alexandre Oliva <aoliva@redhat.com>
165
166 * timezone/test-tz.c: Update to match tzdata2005m.
167 * timezone/tst-timezone.c: Likewise.
168
169 2005-09-07 Ulrich Drepper <drepper@redhat.com>
170
171 * posix/regexec.c (find_recover_state): Remove unnecessary
172 initialization.
173 (transit_state_bkref): Make DFA a const pointer.
174 (get_subexp): Likewise.
175 (check_arrival): Likewise.
176 (update_cur_sifted_state): Likewise.
177 (re_search_internal): Likewise.
178 (prune_impossible_nodes): Likewise.
179 (acquire_init_state_context): Likewise.
180 (proceed_next_node): Likewise.
181 (set_regs): Likewise.
182 (free_fail_stack_return): Likewise.
183 (check_arrival_expand_ecl): Mark DFA parameter as const.
184 (check_arrival_expand_ecl_sub): Likewise.
185 (check_subexp_limits): Likewise.
186 (sub_epsilon_src_nodes): Likewise.
187 (add_epsilon_src_nodes): Likewise.
188 (merge_state_array): Likewise.
189 (update_regs): Likewise.
190 (build_trtable): Likewise.
191 (sift_states_backward): Mark MCTX parameter as const.
192 (build_sifted_states): Likewise.
193 (update_cur_sifted_state): Likewise.
194 (sift_states_mkref): Likewise.
195 (check_arrival_expand_ecl): Mark eclosure as const.
196 (check_dst_limits_calc_pos_1): Likewise.
197 * posix/regex_internal.h (re_match_context_t): Make dfa a const
198 pointer.
199
200 2005-09-06 Ulrich Drepper <drepper@redhat.com>
201
202 * timezone/africa: Update from tzdata2005m.
203 * timezone/asia: Likewise.
204 * timezone/australasia: Likewise.
205 * timezone/backward: Likewise.
206 * timezone/europe: Likewise.
207 * timezone/northamerica: Likewise.
208 * timezone/southamerica: Likewise.
209 * timezone/zone.tab: Likewise.
210 * timezone/zdump.c: Update from tzcode2005m.
211
212 * posix/regexec.c (merge_state_with_log): Define dfa as const pointer.
213 (transit_state_sb): Likewise.
214 (transit_state_mb): Likewise.
215 (sift_states_iter_mb): Likewise.
216 (check_arrival_add_next_nodes): Likewise.
217 (check_node_accept_bytes): Change first parameter to pointer-to-const.
218 [_LIBC] (re_search_2_stub): Use mempcpy.
219
220 * posix/regex_internal.c (re_string_reconstruct): Avoid calling
221 mbrtowc for very simple UTF-8 case.
222
223 2005-09-01 Paul Eggert <eggert@cs.ucla.edu>
224
225 * posix/regex_internal.c (build_wcs_upper_buffer): Fix portability
226 bugs in int versus size_t comparisons.
227
228 2005-09-06 Ulrich Drepper <drepper@redhat.com>
229
230 * posix/regex_internal.c (re_acquire_state): Make DFA pointer arg
231 a pointer-to-const.
232 (re_acquire_state_context): Likewise.
233 * posix/regex_internal.h: Adjust prototypes.
234
235 2005-08-31 Jim Meyering <jim@meyering.net>
236
237 * posix/regcomp.c (search_duplicated_node): Make first pointer arg
238 a pointer-to-const.
239 * posix/regex_internal.c (create_ci_newstate, create_cd_newstate,
240 register_state): Likewise.
241 * posix/regexec.c (search_cur_bkref_entry, check_dst_limits):
242 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos):
243 (group_nodes_into_DFAstates): Likewise.
244
245 2005-08-31 Paul Eggert <eggert@cs.ucla.edu>
246
247 * posix/regexec.c (re_search_internal): Simplify update of
248 rm_so and rm_eo by replacing "if (A == B) A += C - B;"
249 with the equivalent of "if (A == B) A = C;".
250
251 2005-09-06 Ulrich Drepper <drepper@redhat.com>
252
253 * posix/regcomp.c (re_compile_internal): Change third parameter type
254 to size_t.
255 (init_dfa): Likewise. Make sure that arithmetic on pat_len doesn't
256 overflow.
257 * posix/regex_internal.h (struct re_dfa_t): Change type of nodes_alloc
258 and nodes_len to size_t.
259 * posix/regex_internal.c (re_dfa_add_node): Use size_t as type for
260 new_nodes_alloc. Check for overflow.
261
262 2005-08-31 Paul Eggert <eggert@cs.ucla.edu>
263
264 * posix/regcomp.c (re_compile_fastmap_iter, init_dfa, init_word_char):
265 (optimize_subexps, lower_subexp):
266 Don't assume 1<<31 has defined behavior on hosts with 32-bit int,
267 since the signed shift might overflow. Use 1u<<31 instead.
268 * posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain):
269 Likewise.
270 * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise.
271 (check_subexp_matching_top): Likewise.
272 * posix/regcomp.c (optimize_subexps, lower_subexp):
273 Use CHAR_BIT rather than 8, for clarity.
274 * posix/regexec.c (check_dst_limits_calc_pos_1):
275 (check_subexp_matching_top): Likewise.
276 * posix/regcomp.c (init_dfa): Make table_size unsigned, so that we
277 don't have to worry about portability issues when shifting it left.
278 Remove no-longer-needed test for table_size > 0.
279 * posix/regcomp.c (parse_sub_exp): Do not shift more bits than there
280 are in a word, as the resulting behavior is undefined.
281 * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise;
282 in one case, a <= should have been an <, and in another case the
283 whole test was missing.
284 * posix/regex_internal.h (BYTE_BITS): Remove. All uses changed to
285 the standard name CHAR_BIT.
286
287 * posix/regex_internal.h (re_sub_match_top_t): Remove unused member
288 next_last_offset.
289 (struct re_dfa_t): Remove unused member states_alloc.
290 * posix/regcomp.c (init_dfa): Don't initialize unused members.
291
292 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
293
294 * posix/regexec.c (set_regs): Don't alloca with an unbounded size.
295
296 alloca modernization/simplification for regex.
297 * posix/regex.c: Remove portability cruft for alloca. This no longer
298 needs to be at the start of the file, and can be moved into
299 regex_internal.h and simplified.
300 * posix/regex_internal.h: Include <alloca.h>.
301 (__libc_use_alloca) [!defined _LIBC]: New macro.
302 * posix/regexec.c (build_trtable): Remove "#ifdef _LIBC",
303 since the code now works outside glibc.
304
305 2005-09-06 Ulrich Drepper <drepper@redhat.com>
306
307 * include/regex.h: Remove use of _RE_ARGS.
308
309 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
310
311 * posix/regexec.c (find_recover_state): Change "err" to "*err".
312
313 2005-08-24 Paul Eggert <eggert@cs.ucla.edu>
314
315 * posix/regcomp.c (regerror): Pointer args are 'restrict',
316 as per POSIX.
317 * posix/regex.h (regerror): Likewise.
318 * manual/pattern.texi (POSIX Regexp Compilation): Likewise.
319 Similarly for regcomp and regexec. Also, first 2 args of regexec
320 and 2nd arg of regerror are const.
321
322 * posix/regex.c: Do not include <sys/types.h>, as POSIX no longer
323 requires this. (The code never needed it.)
324
325 2005-08-20 Paul Eggert <eggert@cs.ucla.edu>
326
327 * posix/regexec.c (sift_states_bkref): re_node_set_insert returns
328 int, not reg_errcode_t.
329
330 * posix/regex_internal.c (calc_state_hash): Put 'inline' before type,
331 since some broken compilers warn about it otherwise.
332
333 * posix/regcomp.c (create_initial_state): Remove duplicate decl.
334
335 2005-08-20 Paul Eggert <eggert@cs.ucla.edu>
336
337 * posix/regex.h (_RE_ARGS): Remove. No longer needed, since we assume
338 C89 or better. All uses removed.
339
340 2005-09-06 Ulrich Drepper <drepper@redhat.com>
341
342 * posix/regex.c: Prevent using C++ compilers.
343
344 2005-08-19 Paul Eggert <eggert@cs.ucla.edu>
345
346 * posix/regcomp.c (duplicate_node): Return new index, not an error
347 code, and let the caller return REG_ESPACE if out of space. This
348 removes an uninitialied-variable warning with GCC 4.0.1, and also
349 avoids taking the address of a local variable. All callers
350 changed.
351
352 2005-09-06 Ulrich Drepper <drepper@redhat.com>
353
354 * include/time.h (__strptime_internal): Rename parameter to avoid
355 bogus compiler warning.
356
357 2005-08-19 Jim Meyering <jim@meyering.net>
358
359 * posix/regexec.c (proceed_next_node): Redo local variables to
360 avoid GCC shadowing warnings.
361
362 2005-09-06 Ulrich Drepper <drepper@redhat.com>
363
364 * posix/regex_internal.c (re_acquire_state): Minor code rearrangement.
365 (re_acquire_state_context): Likewise.
366
367 2005-08-19 Paul Eggert <eggert@cs.ucla.edu>
368
369 * posix/regex_internal.c (re_string_realloc_buffers):
370 (re_node_set_insert, re_node_set_insert_last, re_dfa_add_node):
371 Rename local variables to avoid GCC shadowing warnings.
372
373 2005-07-08 Eric Blake <ebb9@byu.net>
374 Paul Eggert <eggert@cs.ucla.edu>
375
376 * posix/regcomp.c (init_dfa): Store __btowc value in wint_t, not
377 wchar_t. Remove now-unnecessary cast.
378 (build_range_exp): Likewise.
379
380 2005-08-31 Bob Wilson <bob.wilson@acm.org>
381
382 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Remove the
383 exponent bias from the increment value for scaling by 2^60.
384
385 2005-09-05 Alexandre Oliva <aoliva@redhat.com>
386
387 * configure.in: Compile source test file with -fPIC for -shared.
388
389 2005-09-04 Ulrich Drepper <drepper@redhat.com>
390
391 * iconv/skeleton.c: Eliminate DEFINE_DIRECTION_OBJECTS macro use,
392 it wasn't used. Remove use of from_object and to_object variable,
393 replace with some constants. Adjust users.
394
395 * sysdeps/i386/bits/string.h: Removed.
396
397 * stdio-common/Makefile (tests): Add tst-put-error.
398 * stdio-common/tst-put-error.c: New file.
399 * libio/fileops.c (_IO_new_file_xsputn): If overflow fails and no more
400 data would have to be written signal error.
401 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
402
403 * libio/fileops.c (_IO_new_file_overflow): Use NULL not 0.
404
405 2005-09-02 Ulrich Drepper <drepper@redhat.com>
406
407 * elf/dl-load.c (_dl_map_object_from_fd): No need to change
408 protection of memory used for the last segment.
409
410 2005-08-22 Robert Millan <robertmh@gnu.org>
411
412 * sysdeps/mach/hurd/nfs/nfs.h: Move to ...
413 * sysdeps/generic/nfs/nfs.h: ... here.
414
415 2005-09-01 Ulrich Drepper <drepper@redhat.com>
416
417 * libio/stdio.h: Remove __wur from ungetc, sscanf, and vsscanf.
418 Add __wur to feof{,_unlocked}, ferror{,_unlocked},
419 fileno{,_unlocked}, and popen.
420
421 2005-08-30 Ulrich Drepper <drepper@redhat.com>
422
423 * sysdeps/ieee754/flt-32/e_hypotf.c [!__STDC__]: Fix function name.
424
425 2005-08-01 Bob Wilson <bob.wilson@acm.org>
426 Richard Sandiford <richard@codesourcery.com>
427
428 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Add missing
429 exponent bias to the value for 2^126.
430
431 2005-08-30 Jakub Jelinek <jakub@redhat.com>
432 Alan Modra <amodra@bigpond.net.au>
433
434 * elf/dl-addr.c (_dl_addr): Use DL_ADDR_SYM_MATCH macro.
435 * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): Define.
436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h: New file.
437
438 2005-08-23 Ulrich Drepper <drepper@redhat.com>
439
440 * nscd/nscd.c (main): Use error while process isn't running in the
441 background, not dbg_log.
442 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
443 Mark messages with _(). Unify testing for database name.
444
445 * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h.
446 (dbs): Initialize max_db_size fields.
447 (nscd_init): When mapping the database, use max_db_size as the
448 mapping size even if it is bigger than the file size.
449 * nscd/mem.c (mempool_alloc): When resizing the file make sure the
450 limit in max_db_size is not exceeded. Don't use mremap, just
451 posix_fallocate is enough (according to Linus). Use posix_fallocate
452 correctly.
453 * nscd/nscd.conf: Add max-db-size parameters.
454 * nscd/nscd.h (struct database_dyn): Add max_db_size field.
455 Define DEFAULT_MAX_DB_SIZE and DEFAULT_DATASIZE_PER_BUCKET.
456 Temporarily define TEMP_FAILURE_RETRY_VAL here.
457 * nscd/nscd_conf.c (nscd_parse_file): Parse max-db-size parameter
458 and add sanity checks for it.
459
460 * nscd/aicache.c (addhstaiX): Use send with MSG_NOSIGNAL not write to
461 send reply.
462 * nscd/connection.c (writeall): Likewise.
463 (handle_request): Likewise.
464 * nscd/grpcache.c (cache_addgr): Likewise.
465 * nscd/hstcache.c (cache_addhst): Likewise.
466 * nscd/initgrcache.c (addinitgroupsX): Likewise.
467 * nscd/nscd.c (parse_opt): Likewise.
468 * nscd/nscd_stat.c (send_stats): Likewise.
469 (receive_print_stats): Likewise.
470 * nscd/pwdcache.c (cache_addpw): Likewise.
471
472 * sysdeps/unix/sysv/linux/Versions: Export inotify_* syscalls.
473
474 2005-08-22 Jakub Jelinek <jakub@redhat.com>
475
476 * stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) by
477 sizeof (wchar_t) rather than multiplying __len by sizeof (wchar_t).
478 Pass __bos (__dst) / sizeof (wchar_t) to the *_chk routine.
479 * wcsmbs/bits/wchar2.h (mbsrtowcs, mbsnrtowcs): Likewise.
480 * debug/mbsnrtowcs_chk.c (__mbsnrtowcs_chk): Don't multiply
481 len by sizeof (wchar_t).
482 * debug/mbsrtowcs_chk.c (__mbsrtowcs_chk): Likewise.
483 * debug/mbstowcs_chk.c (__mbstowcs_chk): Likewise.
484 Fix type of SRC argument. Pass &SRC rather than SRC to
485 __mbsrtowcs.
486 * debug/wcstombs_chk.c (__wcstombs_chk): Pass &SRC rather than SRC
487 to __wcsrtombs.
488 * debug/tst-chk1.c: Include assert.h.
489 (do_test): Change enough array from VLA into a fixed size array.
490 Assert that MB_CUR_MAX is <= sizeof (enough). Use FAIL () macro
491 instead of print error details. Add several new tests.
492 Kill some unused variable warnings.
493
494 2005-08-21 Ulrich Drepper <drepper@redhat.com>
495
496 * resolv/res_send.c (Aerror): Fix printing IP address.
497
498 * resolv/res_send.c (send_vc): Pass correct sockaddr size to connect.
499
500 2005-08-19 H.J. Lu <hongjiu.lu@intel.com>
501
502 * sysdeps/ia64/fpu/libm_error.c (__libm_error_support): Don't abort.
503
504 2005-08-17 Robert Love <rml@novell.com>
505
506 * sysdeps/unix/sysv/linux/sys/inotify.h: Add IN_MOVE_SELF event.
507
508 2005-08-19 Bruno Haible <bruno@clisp.org>
509
510 * intl/localealias.c (read_alias_file): In case of failure, close the
511 file descriptor and sort the array before returning.
512
513 2005-08-19 Ulrich Drepper <drepper@redhat.com>
514
515 * malloc/Makefile: Link libmemusage.so with ld.so.
516 * malloc/memusage.c: Use atomic operations for all counter and size
517 computations. Handle thread stacks.
518 * sysdeps/generic/memusage.h: Define memusage_cntr_t and
519 memusage_size_t.
520 * sysdeps/i386/i686/memusage.h: New file.
521 * include/atomic.h: Define atomic_max and atomic_min.
522
523 * debug/tst-chk1.c: Add tests for mbstowcs and wcstombs.
524
525 2005-08-17 Paul Eggert <eggert@cs.ucla.edu>
526
527 [BZ #1207]
528 * posix/regex.h: Remove spurious space-before-tab. From gnulib.
529
530 2005-08-16 Ulrich Drepper <drepper@redhat.com>
531
532 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
533 sys/inotify.h.
534 * sysdeps/unix/sysv/linux/sys/inotify.h: New file.
535 * sysdeps/unix/sysv/linux/syscalls.list: Add inotify syscalls.
536
537 * nscd/cache.c (prune_cache): Add more debug output. Only for
538 debug level 3 and higher and very verbose.
539
540 * nscd/cache.c (prune_cache): Use stat64 not stat.
541 * nscd/connections.c (nscd_init): Likewise.
542
543 2005-08-10 Sergio Gelato <Sergio.Gelato@astro.su.se>
544
545 [BZ #1188]
546 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Change assert check
547 from (len > 0) to (len >= 0).
548
549 2005-08-16 Ulrich Drepper <drepper@redhat.com>
550
551 * nis/nis_xdr.c (_xdr_nis_result): Fix type of res variable.
552 Reported by Thomas Schwinge.
553
554 2005-08-15 Jakub Jelinek <jakub@redhat.com>
555
556 * nis/nis_subr.c (nis_leaf_of_r): Handle buflen == 0 correctly.
557
558 2005-08-16 Ulrich Drepper <drepper@redhat.com>
559
560 * nss/getent.c (more_help): Use open_memstream instead of handling
561 memory allocation ourselves.
562
563 2005-08-16 Jay Fenlason <fenlason@redhat.com>
564
565 * nss/getent.c (parse_options): change the -s option to support
566 {database}:{search} to override /etc/resolv.conf for only the
567 specified database.
568
569 2005-08-08 Ulrich Drepper <drepper@redhat.com>
570
571 * nscd/connections.c (main_loop_epoll): Pass NULL as event
572 argument for epoll_ctl(EPOLL_CTL_DEL) calls.
573
574 * nscd/nscd_stat.c (receive_print_stats): Really print values of
575 thread number, paranoia, and restart interval the server is using.
576
577 * argp/argp-help.c: Use _IO_vasprintf instead of vasprintf.
578 * include/stdio.h: Add libc_hidden_proto for __vfprintf_chk.
579 * debug/vfprintf_chk.c: Add libc_hidden_def.
580
581 2005-08-08 Roland McGrath <roland@redhat.com>
582
583 * argp/argp-help.c (__argp_error): __asprintf -> vasprintf.
584 (__argp_failure): Likewise.
585
586 2005-08-08 Ulrich Drepper <drepper@redhat.com>
587
588 * nscd/cache.c (cache_add): Commit hash table and header to disk.
589
590 * nscd/mem.c (mempool_alloc): Use posix_fallocate instead of ftruncate.
591 * nscd/connections.c (nscd_init): Likewise.
592
593 2005-08-08 Jakub Jelinek <jakub@redhat.com>
594
595 * stdio-common/fxprintf.c: Include libioP.h.
596
597 * posix/bits/unistd.h (confstr, getgroups, ttyname_r, gethostname,
598 getdomainname): Add __NTH.
599 * stdlib/bits/stdlib.h (ptsname_r, wctomb, mbstowcs, wcstombs):
600 Likewise.
601 (realpath): Likewise. Use __const instead of const. Add __restrict
602 keywords.
603 * socket/bits/socket2.h (recvfrom): Add __restrict keyword to __buf.
604 * wcsmbs/bits/wchar2.h (wmemcpy, wmemmove, wmempcpy, wmemset,
605 wcscpy, wcpcpy, wcsncpy, wcpncpy, wcscat, wcsncat, vswprintf, wcrtomb,
606 mbsrtowcs, wcsrtombs, mbsnrtowcs, wcsnrtombs): Add __NTH.
607 * string/bits/string3.h (__memset_ichk): Likewise.
608 (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk, __strcpy_ichk,
609 __stpcpy_ichk, __strncpy_ichk, stpncpy, __strcat_ichk,
610 __strncat_ichk): Likewise. Use __const instead of const.
611 (__stpncpy_chk): Use __const instead of const.
612 (__stpncpy_alias): Use __REDIRECT_NTH instead of __REDIRECT.
613
614 2005-08-08 Ulrich Drepper <drepper@redhat.com>
615 Jakub Jelinek <jakub@redhat.com>
616
617 * nscd/mem.c (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): Move
618 definitions to...
619 * nscd/nscd.h (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): ...here.
620 * nscd/connections.c (usekey): New enum.
621 (check_use, verify_persistent_db): New functions.
622 (nscd_init): If persistent database is corrupted, unlink it and
623 recreate rather than falling back to non-persistent database.
624 Call verify_persistent_db. Avoid overflows in total computation.
625
626 2005-08-08 Ulrich Drepper <drepper@redhat.com>
627
628 * iconvdata/utf-16.c (PREPARE_LOOP): Minor cleanups to make code
629 better readable. Avoid passing var to loop function, it's not
630 necessary at all.
631
632 2005-08-07 Ulrich Drepper <drepper@redhat.com>
633
634 * elf/elf.h (DT_ALPHA_PLTRO): Use symbolic name in DT_ALPHA_PLTRO
635 definition.
636
637 2005-08-05 Ulrich Drepper <drepper@redhat.com>
638
639 * timezone/checktab.awk: Update from tzcode2005k.
640 * timezone/private.h: Likewise.
641 * timezone/scheck.c: Likewise.
642 * timezone/tzselect.ksh: Likewise.
643 * timezone/zdump.c: Likewise.
644 * timezone/zic.c: Likewise.
645 * timezone/africa: Update from tzdata2005k.
646 * timezone/antarctica: Likewise.
647 * timezone/asia: Likewise.
648 * timezone/australasia: Likewise.
649 * timezone/europe: Likewise.
650 * timezone/iso3166.tab: Likewise.
651 * timezone/leapseconds: Likewise.
652 * timezone/northamerica: Likewise.
653 * timezone/solar87: Likewise.
654 * timezone/solar88: Likewise.
655 * timezone/solar89: Likewise.
656 * timezone/southamerica: Likewise.
657 * timezone/zone.tab: Likewise.
658
659 2005-08-05 Roland McGrath <roland@redhat.com>
660
661 * mach/shortcut.awk: Ignore `weak_alias' lines.
662 Reported by Alfred M. Szmidt <ams@gnu.org>.
663
664 * sysdeps/mach/hurd/mig-reply.c (reply_port): Don't use ?: as lvalue.
665 Reported by Alfred M. Szmidt <ams@gnu.org>.
666
667 2005-08-03 Dwayne Grant McConnell <dgm69@us.ibm.com>
668
669 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s):
670 Use +=, not =, to append. Remove duplicate flags.
671 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
672 Likewise. Fix comments.
673
674 2005-08-01 Ulrich Drepper <drepper@redhat.com>
675
676 * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Restart system
677 call if it returned EINTR.
678
679 2005-07-31 Ulrich Drepper <drepper@redhat.com>
680
681 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Move
682 helper variable into .data.rel.ro. Simplify the code. Extend
683 comment to explain prelinking.
684
685 2005-07-31 Andreas Jaeger <aj@suse.de>
686
687 * include/bits/syslog.h: New file.
688
689 2005-07-30 Ulrich Drepper <drepper@redhat.com>
690
691 * elf/dl-load.c [__WORDSIZE==64] (FILEBUF_SIZE): Adjust the value
692 up. We have more program header entries now and the note section
693 was normally not loaded.
694
695 * nis/nis_subr.c: Some minor code cleanups.
696
697 2005-07-29 Ulrich Drepper <drepper@redhat.com>
698
699 * misc/bits/syslog.h: New file.
700 * misc/sys/syslog.h: Include <bits/syslog.h> for fortification.
701 * misc/Makefile (headers): Add bits/syslog.h.
702 * include/sys/syslog.h: Add __vsyslog_chk prototype and hidden_proto.
703 * sysdeps/generic/syslog.c: Change vsyslog function to __vsyslog_chk.
704 Call __vfprintf_chk if necessary. Make vsyslog a wrapper. Add
705 __syslog_chk.
706 * misc/Versions: Export __syslog_chk and __vsyslog_chk.
707
708 2005-07-28 Thomas Schwinge <schwinge@nic-nac-project.de>
709
710 [BZ #1137]
711 * misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>.
712
713 2005-07-28 Ulrich Drepper <drepper@redhat.com>
714
715 * nis/nis_xdr.c: Help gcc to avoid generating unnecessary wrapper
716 functions.
717
718 2005-07-28 Jakub Jelinek <jakub@redhat.com>
719
720 * stdio-common/fxprintf.c (__fxprintf): Add INTUSE to _IO_vfprintf
721 call.
722 * gmon/gmon.c (write_gmon): Use __snprintf rather than snprintf.
723
724 2005-07-28 Ulrich Drepper <drepper@redhat.com>
725
726 * nis/nis_file.c: Rewrite the two pairs of functions into wrappers
727 around a pair of new, generalized functions. 22% size reduction.
728
729 2005-07-27 Ulrich Drepper <drepper@redhat.com>
730
731 * nis/nis_xdr.c: Remove unnecessary cast which might hide bugs.
732 Rearrange code. This reduces the code size 10%.
733
734 2005-07-26 Jakub Jelinek <jakub@redhat.com>
735
736 * misc/error.c (error_tail): Fix a comment typo.
737
738 2005-07-25 Ulrich Drepper <drepper@redhat.com>
739
740 * po/zh_TW.po: Update from translation team.
741
742 * debug/mbstowcs_chk.c: New file.
743 * debug/wcstombs_chk.c: New file.
744 * debug/Makefile (routines): Add mbstowcs_chk and wcstombs_chk.
745 * debug/Versions: Add __mbstowcs_chk and __wcstombs_chk.
746 * stdlib/bits/stdlib.h: Add definitions for mbstowcs and wcstombs.
747
748 * wcsmbs/bits/wchar2.h (mbsrtowcs): Pretty printing.
749
750 2005-07-24 Ulrich Drepper <drepper@redhat.com>
751
752 * string/test-memset.c (test_main): Use negative byte value in
753 test.
754
755 * string/test-memset.c (do_one_test): Compare effect of call, not
756 only return value.
757 Add a few casts to avoid warnings.
758
759 2005-07-24 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
760
761 * sysdeps/sh/memset.S (memset): Correct 2nd argument handling.
762
763 2005-07-24 Ulrich Drepper <drepper@redhat.com>
764
765 [BZ #1125]
766 * posix/Makefile (tests): Add tst-execvp4.
767 * posix/tst-execvp4.c: New file.
768
769 2005-07-24 Jakub Jelinek <jakub@redhat.com>
770
771 [BZ #1125]
772 * posix/execvp.c (execvp): Change path_malloc to
773 char *, free that pointer on failure.
774
775 2005-07-24 Ulrich Drepper <drepper@redhat.com>
776
777 * wcsmbs/bits/wchar2.h: Use __FILE not FILE.
778 * wcsmbs/Makefile: Add rules to build and run tst-wchar-h.
779 * wcsmbs/tst-wchar-h.c: New file.
780
781 2005-07-22 Ulrich Drepper <drepper@redhat.com>
782
783 * stdio-common/fxprintf.c (__fxprintf): Define variable more local.
784
785 2005-07-22 Jakub Jelinek <jakub@redhat.com>
786
787 * wcsmbs/bits/wchar2.h (__vfwprintf_chk, __vwprintf_chk): Use
788 __gnuc_va_list rather than _G_va_list.
789
790 2005-07-22 Roland McGrath <roland@redhat.com>
791
792 [BZ #869]
793 * Makerules ($(objpfx)stubs): Fix last change.
794
795 2005-07-21 Roland McGrath <roland@redhat.com>
796
797 * nscd/Makefile ($(objpfx)nscd): Pass $(nscd-cflags) to $(LINK.o).
798
799 * stdlib/Makefile (headers): Move bits/wchar.h to ...
800 * wcsmbs/Makefile (headers): ... here. Add bits/wchar2.h too.
801
802 2005-07-21 Jakub Jelinek <jakub@redhat.com>
803
804 * wcsmbs/bits/wchar2.h (swprintf): Remove format argument.
805 * debug/tst-chk1.c (do_test): Add test for swprintf with format
806 being the last argument.
807
808 2005-07-21 Thorsten Kukuk <kukuk@suse.de>
809
810 * debug/getgroups_chk.c (__getgroups_chk): Fix return value.
811
812 * stdio-common/fxprintf.c: Include string.h.
813
814 2005-07-20 Ulrich Drepper <drepper@redhat.com>
815
816 [BZ #1138]
817 * sysdeps/x86_64/fpu/libm-test-ulps: Adjust expected atan2f results.
818 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
819 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
820
821 2005-07-20 Bob Wilson <bob.wilson@acm.org>
822 Darin Petkov <darin@tensilica.com>
823
824 [BZ #1138]
825 * sysdeps/ieee754/flt-32/e_atan2f.c (pi_lo): Correct exponent value.
826
827 2005-07-20 Jakub Jelinek <jakub@redhat.com>
828
829 * include/stdio.h (__fxprintf): Remove wfmt argument.
830 * stdio-common/fxprintf.c: Include assert.h, ctype.h and wchar.h.
831 (__fxprintf): Remove wfmt argument, create wfmt format string on
832 the fly from fmt.
833 * argp/argp-fmtstream.c: Adjust all __fxprintf callers.
834 * argp/argp-help.c: Likewise.
835 * assert/assert-perr.c: Likewise.
836 * assert/assert.c: Likewise.
837 * gmon/gmon.c: Likewise.
838 * inet/rcmd.c: Likewise.
839 * malloc/obstack.c: Likewise.
840 * misc/error.c: Likewise.
841 * misc/getpass.c: Likewise.
842 * posix/getopt.c: Likewise.
843 * resolv/res_hconf.c: Likewise.
844 * stdio-common/perror.c: Likewise.
845 * stdio-common/psignal.c: Likewise.
846 * stdlib/fmtmsg.c: Likewise.
847 * sunrpc/auth_unix.c: Likewise.
848 * sunrpc/clnt_perr.c: Likewise.
849 * sunrpc/clnt_tcp.c: Likewise.
850 * sunrpc/clnt_udp.c: Likewise.
851 * sunrpc/clnt_unix.c: Likewise.
852 * sunrpc/svc_simple.c: Likewise.
853 * sunrpc/svc_tcp.c: Likewise.
854 * sunrpc/svc_udp.c: Likewise.
855 * sunrpc/svc_unix.c: Likewise.
856 * sunrpc/xdr.c: Likewise.
857 * sunrpc/xdr_array.c: Likewise.
858 * sunrpc/xdr_rec.c: Likewise.
859 * sunrpc/xdr_ref.c: Likewise.
860 * sysdeps/generic/wordexp.c: Likewise.
861
862 2005-07-20 Ulrich Drepper <drepper@redhat.com>
863
864 * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs,
865 wcsrtombs, mbsnrtowcs, and wcsnrtombs.
866 * debug/Makefile (routines): Add wcrtomb_chk, mbsrtowcs_chk,
867 wcsrtombs_chk, mbsnrtowcs_chk, and wcsnrtombs_chk.
868 * debug/Versions: Add __wcrtomb_chk, __mbsrtowcs_chk,
869 __wcsrtombs_chk, __mbsnrtowcs_chk, and __wcsnrtombs_chk.
870 * debug/tst-chk1.c: Add tests for new functions.
871 * debug/mbsnrtowcs_chk.c: New file.
872 * debug/mbsrtowcs_chk.c: New file.
873 * debug/wcrtomb_chk.c: New file.
874 * debug/wcsnrtombs_chk.c: New file.
875 * debug/wcsrtombs_chk.c: New file.
876
877 2005-07-19 Ulrich Drepper <drepper@redhat.com>
878
879 * stdio-common/Makefile (aux): Add fxprintf.
880 * stdio-common/fxprintf.c: New file.
881 * include/stdio.h: Add declaration for __fxprintf.
882 * argp/argp-fmtstream.c: Use __fxprintf instead of inline stream
883 orientation test and two separate function calls.
884 * argp/argp-help.c: Likewise.
885 * assert/assert-perr.c: Likewise.
886 * assert/assert.c: Likewise.
887 * gmon/gmon.c: Likewise.
888 * inet/rcmd.c: Likewise.
889 * malloc/obstack.c: Likewise.
890 * misc/error.c: Likewise.
891 * misc/getpass.c: Likewise.
892 * posix/getopt.c: Likewise.
893 * resolv/res_hconf.c: Likewise.
894 * stdio-common/perror.c: Likewise.
895 * stdio-common/psignal.c: Likewise.
896 * stdlib/fmtmsg.c: Likewise.
897 * sunrpc/auth_unix.c: Likewise.
898 * sunrpc/clnt_perr.c: Likewise.
899 * sunrpc/clnt_tcp.c: Likewise.
900 * sunrpc/clnt_udp.c: Likewise.
901 * sunrpc/clnt_unix.c: Likewise.
902 * sunrpc/svc_simple.c: Likewise.
903 * sunrpc/svc_tcp.c: Likewise.
904 * sunrpc/svc_udp.c: Likewise.
905 * sunrpc/svc_unix.c: Likewise.
906 * sunrpc/xdr.c: Likewise.
907 * sunrpc/xdr_array.c: Likewise.
908 * sunrpc/xdr_rec.c: Likewise.
909 * sunrpc/xdr_ref.c: Likewise.
910 * sysdeps/generic/wordexp.c: Likewise.
911
912 [BZ #1137]
913 * misc/Makefile: Add rules to build and run tst-error1.
914 * misc/tst-error1.c: New file.
915 * misc/error.c: Fix memory leak and possibly endless loop.
916
917 * configure.in: Check for -fstack-protector gcc option.
918 * config.make.in (have-ssp): Add template.
919 * nscd/Makefile (nscd-cflags): Add -fstack-protector if supported.
920
921 * nscd/nscd.c (main): Don't ignore result of chdir call.
922
923 2005-07-18 Roland McGrath <roland@redhat.com>
924
925 [BZ #869]
926 * Makerules ($(objpfx)stubs): Do cd into $(objdir) to reduce size of
927 objdump command line.
928
929 2005-07-18 Ulrich Drepper <drepper@redhat.com>
930
931 * nscd/Makefile (nscd-cflags): Add _FORTIFY_SOURCE.
932
933 * nscd/connections.c: Fix a few wur warnings.
934
935 [BZ #1113]
936 * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID
937 length. Patch by Ivan Gyurdiev <ivg2@cornell.edu>.
938
939 * debug/confstr_chk.c: New file.
940 * debug/getdomainname_chk.c: New file.
941 * debug/getgroups_chk.c: New file.
942 * debug/gethostname_chk.c: New file.
943 * debug/getlogin_r_chk.c: New file.
944 * debug/ttyname_r_chk.c: New file.
945 * posix/bits/unistd.h: Add definitions for new debug versions.
946 * debug/tst-chk1.c: Add tests for new functions.
947 * debug/Versions: Export new functions.
948 * debug/Makefile (routines): Add new files.
949
950 * stdlib/bits/stdlib.h: Fix typo.
951
952 2005-07-13 Thorsten Kukuk <kukuk@suse.de>
953
954 * manual/Makefile (libc/index.html): Depend on dir-add.texi.
955
956 2005-07-15 Ulrich Drepper <drepper@redhat.com>
957
958 * stdlib/bits/stdlib.h: Use __REDIRECT_NTH instead of __REDIRECT
959 where necessary.
960 * wcsmbs/bits/wchar2.h: Likewise.
961
962 2005-07-15 Andreas Jaeger <aj@suse.de>
963
964 * debug/Makefile (tst-lfschk3-ENV): New, set locale.
965 (tst-lfschk2-ENV): New.
966 (tst-lfschk1-ENV): New.
967 (tst-chk3-ENV): New.
968 (tst-chk2-ENV): New.
969 (tst-chk1-ENV): New.
970
971 [BZ #1079]
972 * include/stdlib.h: Remove malloc attribute from __posix_memalign.
973 * stdlib/stdlib.h: Likewise.
974
975 2005-07-15 Ulrich Drepper <drepper@redhat.com>
976
977 * wcsmbs/bits/wchar2.h: New file.
978 * include/bits/wchar2.h: New file.
979 * wcsmbs/wchar.h: Include <bits/wchar2.h> if fortification is
980 requested.
981 * wcsmbs/wcsncpy.c: Add __wcsncpy alias.
982 * string/bits/string3.h: Add fortified stpncpy definitions.
983 * sysdeps/generic/stpncpy_chk.c: New file.
984 * libio/vswprintf.c: Move _IO_wstrnfile definition to strfile.h.
985 Export _IO_wstrn_jumps.
986 * libio/strfile.h: Define _IO_wstrnfile and declare _IO_wstrn_jumps.
987 * include/wchar.h: Declare __wcsncpy and __vswprintf_chk.
988 * debug/fgetws_chk.c: New file.
989 * debug/fgetws_u_chk.c: New file.
990 * debug/fwprintf_chk.c: New file.
991 * debug/swprintf_chk.c: New file.
992 * debug/vfwprintf_chk.c: New file.
993 * debug/vswprintf_chk.c: New file.
994 * debug/vwprintf_chk.c: New file.
995 * debug/wcpcpy_chk.c: New file.
996 * debug/wcpncpy_chk.c: New file.
997 * debug/wcscat_chk.c: New file.
998 * debug/wcscpy_chk.c: New file.
999 * debug/wcsncat_chk.c: New file.
1000 * debug/wcsncpy_chk.c: New file.
1001 * debug/wmemcpy_chk.c: New file.
1002 * debug/wmemmove_chk.c: New file.
1003 * debug/wmempcpy_chk.c: New file.
1004 * debug/wmemset_chk.c: New file.
1005 * debug/wprintf_chk.c: New file.
1006 * debug/tst-chk1.c: Add tests for new functions.
1007 * debug/Versions: Export new functions.
1008 * debug/Makefile (routines): Add new functions.
1009
1010 2005-07-13 Ulrich Drepper <drepper@redhat.com>
1011
1012 * nscd/nscd_helper.c: Add a few __builtin_expect.
1013
1014 [BZ #1080]
1015 * nscd/connections.c (send_ro_fd): Make sure BUF is aligned correctly.
1016 * nscd/nscd_helper.c (wait_on_socket): New function.
1017 (get_mapping): Use wait_on_socket instead of poll. The former handles
1018 EINTR of poll correctly.
1019 (__nscd_open_socket): Likewise.
1020 (get_mapping): Make sure BUF is aligned correctly.
1021 (get_mapping): Use munmap on correct pointer.
1022
1023 2005-07-12 Ulrich Drepper <drepper@redhat.com>
1024
1025 * include/libc-symbols.h: Define macros for librt hidden symbols.
1026 * include/time.h: Add librt_hidden_proto definition for clock_gettime.
1027 * sysdeps/generic/clock_gettime.c: Add librt_hidden_def.
1028 * sysdeps/unix/clock_gettime.c: Likewise.
1029
1030 * stdlib/bits/stdlib.h: New file.
1031 * stdlib/stdlib.h: Include <bits/stdlib.h> if fortification is
1032 requested.
1033 * Makefile (headers): Add bits/stdlib.h.
1034 * include/bits/stdlib.h: New file.
1035 * debug/Depend: New file.
1036 * debug/ptsname_r_chk.c: New file.
1037 * debug/realpath_chk.c: New file.
1038 * debug/wctomb_chk.c: New file.
1039 * debug/Makefile (routines): Add ptsname_r_chk, realpath_chk, and
1040 wctomb_chk.
1041 * debug/Versions: Export __ptsname_r_chk, __realpath_chk, and
1042 __wctomb_chk.
1043 * debug/tst-chk1.c: Add tests for __ptsname_r_chk, __realpath_chk, and
1044 __wctomb_chk.
1045
1046 2005-07-12 Jakub Jelinek <jakub@redhat.com>
1047
1048 [BZ #1106]
1049 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Include not-cancel.h.
1050 (has_cpuclock): Use open_not_cancel_2 instead of open, read_not_cancel
1051 instead of read and close_not_cancel_no_status instead of close.
1052
1053 [BZ #1106]
1054 * sysdeps/s390/s390-64/bcopy.S (__bcopy): Use
1055 HIDDEN_BUILTIN_JUMPTARGET to jump to memmove.
1056
1057 2005-06-27 Carlos O'Donell <carlos@systemhalted.org>
1058
1059 * posix/regcomp.c (re_compile_internal): Call __libc_lock_init
1060 after init_dfa.
1061
1062 2005-07-08 Ulrich Drepper <drepper@redhat.com>
1063
1064 * sysdeps/x86_64/fpu/s_sincosl.S: Use retq not ret. Remove
1065 alignment.
1066 * sysdeps/x86_64/fpu/s_sincos.S: New file.
1067
1068 * include/fenv.h: Add libm_hidden_proto for fesetround and
1069 feholdexcept.
1070 * sysdeps/alpha/fpu/feholdexcpt.c: Add libm_hidden_def.
1071 * sysdeps/alpha/fpu/fesetround.c: Likewise.
1072 * sysdeps/generic/feholdexcpt.c: Likewise.
1073 * sysdeps/generic/fesetround.c: Likewise.
1074 * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
1075 * sysdeps/i386/fpu/fesetround.c: Likewise.
1076 * sysdeps/ia64/fpu/feholdexcpt.c: Likewise.
1077 * sysdeps/ia64/fpu/fesetround.c: Likewise.
1078 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1079 * sysdeps/powerpc/fpu/fesetround.c: Likewise.
1080 * sysdeps/s390/fpu/feholdexcpt.c: Likewise.
1081 * sysdeps/s390/fpu/fesetround.c: Likewise.
1082 * sysdeps/sh/sh4/fpu/feholdexcpt.c: Likewise.
1083 * sysdeps/sh/sh4/fpu/fesetround.c: Likewise.
1084 * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
1085 * sysdeps/sparc/fpu/fesetround.c: Likewise.
1086 * sysdeps/x86_64/fpu/feholdexcpt.c: Likewise.
1087 * sysdeps/x86_64/fpu/fesetround.c: Likewise.
1088 * sysdeps/generic/s_significand.c (__significand): Use __ilogb not
1089 ilogb.
1090 * sysdeps/generic/s_significandf.c (__significandf): Use __ilogbf
1091 not ilogbf.
1092 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use __sin and
1093 __cos, not sin and cos.
1094
1095 2005-07-07 Ulrich Drepper <drepper@redhat.com>
1096
1097 * resolv/res_send.c (send_dg): Recognize referral results and
1098 treat them as server errors.
1099 Based on a patch by Jason Vas Dias <jvdias@redhat.com>.
1100
1101 2005-07-08 Carlos O'Donell <carlos@systemhalted.org>
1102
1103 * sysdeps/hppa/setjmp.S (__sigsetjmp): Use %r1 not %r19.
1104
1105 * sysdeps/hppa/add_n.s (__mpn_add_n): Use sr0 or r0, not 0.
1106 * sysdeps/hppa/lshift.s (__mpn_lshift): Likewise.
1107 * sysdeps/hppa/rshift.s (__mpn_rshift): Likewise.
1108 * sysdeps/hppa/sub_n.s (__mpn_sub_n): Likewise.
1109 * sysdeps/hppa/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
1110 * sysdeps/hppa/hppa1.1/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
1111
1112 2005-07-07 Ulrich Drepper <drepper@redhat.com>
1113
1114 * sysdeps/generic/s_ctanh.c (__ctanh): Handle case of zero den better.
1115 * sysdeps/generic/s_ctanhf.c (__ctanhf): Likewise.
1116 * sysdeps/generic/s_ctanhl.c (__ctanhl): Likewise.
1117 * sysdeps/generic/s_ctan.c (__ctan): Likewise.
1118 * sysdeps/generic/s_ctanf.c (__ctanf): Likewise.
1119 * sysdeps/generic/s_ctanl.c (__ctanl): Likewise.
1120
1121 2005-04-13 H.J. Lu <hongjiu.lu@intel.com>
1122
1123 [BZ #974]
1124 * csu/elf-init.c (__preinit_array_start): Take int, char **, char **.
1125 (__preinit_array_end): Likewise.
1126 (__init_array_start): Likewise.
1127 (__init_array_end): Likewise.
1128 (__libc_csu_init): Take int argc, char **argv, char **envp.
1129 Call preinit_array and init_array with argc, argv, envp.
1130 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Remove
1131 INIT_MAIN_ARGS.
1132 * sysdeps/powerpc/elf/libc-start.c (INIT_MAIN_ARGS): Removed.
1133 * elf/Makefile (distribute): Add tst-array5.c, tst-array5-static.c,
1134 tst-array5dep.c, and tst-array5.exp.
1135 (tests): Add tst-array5.
1136 (tests-static): Add tst-array5-static.
1137 ($(objpfx)tst-array5): New target.
1138 ($(objpfx)tst-array5.out): Likewise.
1139 ($(objpfx)tst-array5-static.out): Likewise.
1140 * elf/tst-array5-static.c: New file.
1141 * elf/tst-array5-static.exp: Likewise.
1142 * elf/tst-array5.c: Likewise.
1143 * elf/tst-array5.exp: Likewise.
1144 * elf/tst-array5dep.c: Likewise.
1145
1146 2005-07-07 Ulrich Drepper <drepper@redhat.com>
1147
1148 * sysdeps/unix/sysv/linux/bits/sched.h: Adjust clone prototype.
1149
1150 2005-07-05 Jakub Jelinek <jakub@redhat.com>
1151
1152 * elf/stackguard-macros.h (STACK_CHK_GUARD): Fix s390/s390x definition.
1153 Reported by Ulrich Weigand <uweigand@de.ibm.com>.
1154
1155 * elf/stackguard-macros.h (STACK_CHK_GUARD): Add ia64 definition.
1156
1157 2005-07-06 Ulrich Drepper <drepper@redhat.com>
1158
1159 * elf/dl-error.c (_dl_signal_error): When testing for executable
1160 being relocated, take into account that nothing might even be loaded.
1161
1162 * elf/dl-reloc.c [PROF] (_dl_relocate_object): Define
1163 consider_profiling always to zero. Don't count of compiler to
1164 remove unreached if block.
1165 * sysdeps/x86_64/dl-trampoline.S [PROF] (_dl_runtime_profile):
1166 Don't compile.
1167 * sysdeps/i386/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise.
1168 * sysdeps/ia64/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise.
1169 * sysdeps/s390/s390-64/dl-trampoline.S [PROF] (_dl_runtime_profile):
1170 Likewise.
1171 * sysdeps/s390/s390-32/dl-trampoline.S [PROF] (_dl_runtime_profile):
1172 Likewise.
1173 * sysdeps/powerpc/powerpc64/dl-trampoline.S [PROF]
1174 (_dl_profile_resolve): Likewise.
1175 * sysdeps/powerpc/powerpc32/dl-trampoline.S [PROF]
1176 (_dl_profile_resolve): Likewise.
1177 * gmon/Makefile: Add rules to build and run tst-profile-static.
1178 * gmon/tst-profile-static.c: New file.
1179 * Makeconfig (+link-static): Allow passing program-specific flags.
1180
1181 2005-07-05 Thorsten Kukuk <kukuk@suse.de>
1182
1183 [BZ #1111]
1184 * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Check if NSS
1185 module provides getgrgid_r.
1186 (getgrnam_plusgroup): Preserve original return value.
1187 * nis/nss_compat/compat-pwd.c (getpwnam_plususer): Preserve
1188 original return value.
1189 * nis/nss_compat/compat-spwd.c (getspnam_plususer): Likewise.
1190
1191 2005-07-05 Ulrich Drepper <drepper@redhat.com>
1192
1193 [BZ #1101]
1194 * posix/regex_internal.c (build_wcs_buffer): Use MB_LEN_MAX not
1195 MB_CUR_MAX.
1196 (build_wcs_upper_buffer): Likewise.
1197
1198 * csu/elf-init.c (__libc_csu_fini): Pretty printing.
1199
1200 2005-07-02 Roland McGrath <roland@redhat.com>
1201
1202 * NEWS: Note LinuxThreads removal.
1203 * manual/install.texi (Installation): Don't mention linuxthreads.
1204 (Configuring and compiling): Don't use linuxthreads as example.
1205
1206 * sysdeps/unix/sysv/linux/configure.in: Check for nptl add-on only,
1207 not linuxthreads.
1208 * sysdeps/unix/sysv/linux/configure: Regenerated.
1209 * resolv/Depend: Add nptl.
1210 * rt/Depend: Likewise.
1211
1212 * linuxthreads, linuxthreads_db: Directories removed (preserved in
1213 ports repository).
1214
1215 2005-06-27 Jakub Jelinek <jj@ultra.linux.cz>
1216
1217 [BZ #1037]
1218 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: -mv8 is deprecated,
1219 use -mcpu=v8.
1220
1221 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1222
1223 [BZ #1016]
1224 * sysdeps/ia64/strlen.S (strlen): Change l2 into a local label.
1225
1226 2005-06-23 Thorsten Kukuk <kukuk@suse.de>
1227
1228 [BZ #1109]
1229 * nscd/nscd_stat.c (receive_print_stats): Replace YESSTR/NOSTR
1230 with own translation.
1231
1232 2005-06-25 Jakub Jelinek <jakub@redhat.com>
1233
1234 [BZ #1097]
1235 * sunrpc/xdr.c (xdr_hyper, xdr_u_hyper): When decoding, cast
1236 t2 to uint32_t instead of ulong.
1237 * sunrpc/Makefile (tests): Add tst-xdrmem.
1238 * sunrpc/tst-xdrmem.c: New test.
1239
1240 * Versions.def (ld): Add GLIBC_2.4.
1241 * configure.in: Add --enable-stackguard-randomization option.
1242 (ENABLE_STACKGUARD_RANDOMIZE): New define.
1243 * config.h.in (ENABLE_STACKGUARD_RANDOMIZE): Add.
1244 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include stdint.h.
1245 (_dl_setup_stack_chk_guard): New inline function.
1246 * sysdeps/generic/dl-osinfo.h: Include stdint.h.
1247 (_dl_setup_stack_chk_guard): New inline function.
1248 * elf/rtld.c (__stack_chk_guard): New variable.
1249 (dl_main): Remove all traces of TLS_INIT_TP_EXPENSIVE.
1250 Set __stack_chk_guard to _dl_setup_stack_chk_guard (),
1251 use THREAD_SET_STACK_GUARD if defined.
1252 * elf/Versions (ld): Export __stack_chk_guard@@GLIBC_2.4.
1253 * sysdeps/generic/libc-start.c (__stack_chk_guard): New variable.
1254 (__libc_start_main): Set __stack_chk_guard to
1255 _dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined.
1256 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Remove all
1257 traces of TLS_INIT_TP_EXPENSIVE.
1258 * debug/Versions (libc): Export __stack_chk_fail@@GLIBC_2.4.
1259 * debug/Makefile (routines): Add stack_chk_fail.
1260 (static-only-routines): Add stack_chk_fail_local.
1261 * debug/stack_chk_fail_local.c: New file.
1262 * debug/stack_chk_fail.c: New file.
1263 * elf/Makefile: Add rules to build and run tst-stackguard1{,-static}
1264 tests.
1265 * elf/tst-stackguard1.c: New file.
1266 * elf/tst-stackguard1-static.c: New file.
1267 * elf/stackguard-macros.h: New file.
1268
1269 2005-06-21 Ulrich Drepper <drepper@redhat.com>
1270
1271 * resource/Makefile (tests): Add tst-getrlimit.
1272 * resource/tst-getrlimit.c: New file.
1273
1274 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTPRIO): Fix typo.
1275 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
1276 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
1277
1278 2005-06-20 Ulrich Drepper <drepper@redhat.com>
1279
1280 * nscd/nscd.init: Get more in line with lsb3.
1281 * nscd/nscd.c: Adjust some error codes to fit in better with lsb3.
1282 * nscd/connections.c: Likewise.
1283
1284 2005-06-20 Jakub Jelinek <jakub@redhat.com>
1285
1286 [BZ #653]
1287 * sysdeps/unix/sysv/linux/sys/quota.h: Add definitions and types for
1288 _LINUX_QUOTA_VERSION >= 2.
1289 (_LINUX_QUOTA_VERSION): Define if not yet defined.
1290
1291 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_NICE,
1292 RLIMIT_RTPRIO): Add.
1293 (RLIMIT_NLIMITS): Adjust.
1294 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_NICE,
1295 RLIMIT_RTPRIO): Add.
1296 (RLIMIT_NLIMITS): Adjust.
1297 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_NICE,
1298 RLIMIT_RTPRIO): Add.
1299 (RLIMIT_NLIMITS): Adjust.
1300 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_NICE,
1301 RLIMIT_RTPRIO): Add.
1302 (RLIMIT_NLIMITS): Adjust.
1303
1304 2005-06-17 Ulrich Drepper <drepper@redhat.com>
1305
1306 [BZ #1106]
1307 * time/mktime.c: Always include <string.h> for prototype of
1308 implicitly used memcpy.
1309
1310 [BZ #1104]
1311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
1312 (truncate64): Use __truncate, not truncate.
1313 (__have_no_truncate64): Renamed from have_no_truncate64.
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
1315 (__have_no_truncate64): Renamed from have_no_truncate64.
1316
1317 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ulps for complex
1318 float functions for gcc 4.
1319
1320 2005-06-10 Jakub Jelinek <jakub@redhat.com>
1321
1322 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup):
1323 Handle prelinked libraries and binaries with new style PLT.
1324
1325 2005-06-07 Jakub Jelinek <jakub@redhat.com>
1326
1327 * elf/elf.h (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI,
1328 R_PPC_REL16_HA): Define.
1329
1330 2005-06-14 Alan Modra <amodra@bigpond.net.au>
1331
1332 * config.h.in (HAVE_ASM_PPC_REL16): Add.
1333 * elf/elf.h (DT_PPC_GOT, DT_PPC_NUM): Define.
1334 * elf/tls-macros.h (PowerPC32): Include config.h. Add variants of
1335 TLS_IE, TLS_LD and TLS_GD for new PLT/GOT layout.
1336 * sysdeps/powerpc/powerpc32/configure.in: New file,
1337 * sysdeps/powerpc/powerpc32/dl-dtprocnum.h: New file.
1338 * sysdeps/powerpc/powerpc32/dl-machine.h (DT_PPC): Define.
1339 (ppc_got): New inline function.
1340 (elf_machine_dynamic): Use ppc_got. Add attribute const.
1341 (elf_machine_load_address): Add attribute const. Don't use int vars.
1342 Use bcl rather than bl to save trashing branch target stack. Use
1343 elf_machine_dynamic rather than duplicating code here.
1344 (elf_machine_runtime_setup): New inline function replacing define.
1345 Handle new PLT.
1346 (elf_machine_fixup_plt): Handle new PLT.
1347 (elf_machine_rela): Likewise.
1348 * sysdeps/powerpc/powerpc32/sysdep.h: Include config.h.
1349 (CALL_MCOUNT): Don't set up counter vars.
1350 * sysdeps/powerpc/powerpc32/ppc-mcount.S: Correct comment.
1351 * sysdeps/powerpc/powerpc32/elf/start.S (start_addressesp): Don't
1352 define when HAVE_ASM_PPC_REL16.
1353 (_start): Add HAVE_ASM_PPC_REL16 code.
1354 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Don't bl
1355 into the GOT when HAVE_ASM_PPC_REL16.
1356 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
1357 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Ditto.
1358 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Likewise.
1359 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1360 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1361 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1362 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Likewise.
1363 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
1364 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
1365 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
1366 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1367 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1368 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1369 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp):
1370 Likewise.
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S (__brk): Likewise.
1372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1373 (__getcontext): Likewise.
1374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1375 (__setcontext): Likewise.
1376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1377 (__swapcontext): Likewise.
1378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (stackblock):
1379 Comment.
1380 (__socket): Bomb if NARGS >= 7. Invoke CGOTSETUP and CGOTRESTORE.
1381
1382 2005-06-17 Ulrich Drepper <drepper@redhat.com>
1383
1384 [BZ #1106]
1385 * sysdeps/posix/sigignore.c: Include <string.h> to tell the compiler
1386 to use __GI_memset.
1387 * sysdeps/posix/signal.c: Likewise.
1388 * sysdeps/posix/sigset.c: Likewise.
1389 * sysdeps/posix/sysv_signal.c: Likewise.
1390 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1391 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1392 * sysdeps/unix/sysv/linux/system.c: Likewise.
1393
1394 2005-06-15 Jakub Jelinek <jakub@redhat.com>
1395
1396 [BZ #1088]
1397 * hesiod/hesiod.c (hesiod_init): Don't check for ctx->classes[0] == 0
1398 or both classes equal here.
1399 (parse_config_file): If both classes are equal, clear the second one.
1400
1401 2005-06-08 Karl Kelley <kekelley@iastate.edu>
1402
1403 [BZ #1088]
1404 * hesiod/hesiod_p.h (struct hesiod_p): Add classes array.
1405 * hesiod/hesiod.c (hesiod_init): Initialize classes. Fail if no
1406 valid classes were given or if both are equal.
1407 (hesiod_resolve): Use ctx->classes instead of hardcoded C_IN
1408 and C_HS order.
1409 (parse_config_file): Handle classes keyword.
1410 * hesiod/README.hesiod: Mention addition of the classes keyword.
1411
1412 2005-06-14 Ulrich Drepper <drepper@redhat.com>
1413
1414 [BZ #1085]
1415 * configure.in: Add test for availability of libaudit.
1416 * config.h.in: Define HAVE_LIBAUDIT.
1417 * config.make.in: Define have-libaudit.
1418 * nscd/Makefile: If libaudit is available, link nscd with it.
1419 * nscd/selinux.c: If HAVE_LIBAUDIT is defined, log using libaudit.
1420 Patch by Steve Grubb <sgrubb@redhat.com>.
1421
1422 * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64.
1423 * sysdeps/posix/posix_fallocate64.c: Likewise.
1424 * include/string.h: Use libc_hidden_proto for strnlen.
1425 * sysdeps/generic/strnlen.c: Add libc_hidden_def.
1426 * include/libintl.h: Use libc_hidden_proto for __dcgettext.
1427 * intl/dcgettext.c: Add libc_hidden_def.
1428 * include/execinfo.h: Add libc_hidden_proto for __backtrace and
1429 __backtrace_symbols_fd.
1430 * sysdeps/generic/backtrace.c: Add libc_hidden_def.
1431 * sysdeps/generic/backtracesymsfd.c: Likewise.
1432 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1433 * sysdeps/i386/backtrace.c: Likewise.
1434 * sysdeps/ia64/backtrace.c: Likewise.
1435 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
1436 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
1437 * sysdeps/s390/s390-32/backtrace.c: Likewise.
1438 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1439
1440 2005-06-13 Ulrich Drepper <drepper@redhat.com>
1441
1442 * sysdeps/unix/clock_gettime.c (clock_gettime): Implement case
1443 where HANDLED_REALTIME is not defined. [BZ #966]
1444
1445 2005-06-13 Jakub Jelinek <jakub@redhat.com>
1446
1447 [BZ #1096]
1448 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_sendreq,
1449 __netlink_receive): Remove prototypes.
1450 (__netlink_request): New prototype.
1451 * sysdeps/unix/sysv/linux/ifaddrs.c: Include <alloca.h> and
1452 <stdint.h>.
1453 (__netlink_sendreq): Make static.
1454 (__netlink_receive): Rename to...
1455 (__netlink_request): ... this. Add type argument, call
1456 __netlink_sendreq. If MSG_TRUNC is set after recvmsg, retry
1457 with a bigger buffer. Don't record buffers that contain no
1458 messages we are expecting.
1459 (getifaddrs): Use __netlink_request instead of __netlink_sendreq
1460 and __netlink_receive pairs. Formatting.
1461 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex_netlink): Use
1462 __netlink_request instead of __netlink_sendreq and __netlink_receive
1463 pair.
1464
1465 2005-06-13 Thorsten Kukuk <kukuk@suse.de>
1466
1467 * sysdeps/unix/sysv/linux/netinet/if_tr.h: Don't include kernel
1468 headers, instead copy important structs/defines.
1469
1470 2005-06-13 Jakub Jelinek <jakub@redhat.com>
1471
1472 * elf/rtld.c (dl_main): Move DT_DEBUG setup before first
1473 _dl_debug_state call.
1474
1475 2005-06-12 Ulrich Drepper <drepper@redhat.com>
1476
1477 * elf/dl-error.c (_dl_signal_error): Store information about use of
1478 real malloc in the catch object.
1479 (_dl_catch_error): Forward information about malloc use to caller
1480 in new parameter.
1481 (_dl_out_of_memory): Make static.
1482 * elf/dl-deps.c: Adjust callers of _dl_catch_error.
1483 * elf/dl-libc.c: Likewise.
1484 * elf/dl-open.c: Likewise.
1485 * elf/rtld.c: Likewise.
1486 Add new --audit option.
1487 * sysdeps/generic/ldsodefs.h: Remove _dl_out_of_memory declaration.
1488 (rtld_global_ro._dl_signal_error): Add new parameter.
1489 * include/dlfcn.h (_dl_catch_error): Add new parameter.
1490 * dlfcn/dlfcn.c (_dlerror_run): Pass additional parameter to
1491 _dl_catch_error. Only free if the returned newly value says so.
1492
1493 2005-06-01 Roland McGrath <roland@redhat.com>
1494
1495 [BZ #959]
1496 * posix/tst-mmap.c (main): Fill the test file with enough data for the
1497 page size.
1498
1499 2005-05-30 Jakub Jelinek <jakub@redhat.com>
1500
1501 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): If
1502 GLRO(dl_osversion) has been already set to a value smaller than
1503 _dl_discover_osversion (), don't overwrite it here.
1504
1505 2005-05-24 Thomas Schwinge <schwinge@nic-nac-project.de>
1506
1507 * sysdeps/mach/i386/syscall.S (syscall): Call END.
1508
1509 2005-05-28 Richard Henderson <rth@redhat.com>
1510
1511 * elf/elf.h (DT_ALPHA_PLTRO, DT_ALPHA_NUM): New.
1512 * sysdeps/alpha/dl-dtprocnum.h: New file.
1513 * sysdeps/alpha/dl-machine.h (DT_ALPHA): New.
1514 (elf_machine_load_address): Simplify to rely on gprel relocations.
1515 (elf_machine_runtime_setup): Handle DT_ALPHA_PLTRO plt format.
1516 Remove thread safety workaround for binutils 2.6.
1517 (elf_machine_fixup_plt): Handle DT_ALPHA_PLTRO plt format.
1518 * sysdeps/alpha/dl-trampoline.S (_dl_runtime_resolve_new): New.
1519 (_dl_runtime_profile_new): New.
1520 (_dl_runtime_resolve_old): Rename from _dl_runtime_resolve.
1521 (_dl_runtime_profile_old): Rename from _dl_runtime_profile. Fix
1522 typo in _dl_call_pltexit argument loading.
1523
1524 * sysdeps/alpha/div_libc.h (funcnoplt): New.
1525 * sysdeps/alpha/divl.S: Use it.
1526 * sysdeps/alpha/divq.S: Likewise
1527 * sysdeps/alpha/divqu.S: Likewise.
1528 * sysdeps/alpha/reml.S: Likewise.
1529 * sysdeps/alpha/remq.S: Likewise.
1530 * sysdeps/alpha/remqu.S: Likewise.
1531
1532 2005-05-26 Andreas Schwab <schwab@suse.de>
1533
1534 * locale/Makefile (CFLAGS-loadlocale.c): Don't define.
1535
1536 2005-05-26 Ulrich Drepper <drepper@redhat.com>
1537
1538 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_DIRECT): Fix value.
1539 Reported by Colin Gibbs <colin@gibbsonline.net>. [BZ #954]
1540
1541 2005-05-17 Alan Modra <amodra@bigpond.net.au>
1542
1543 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Corrent
1544 _dl_hwcap access in PIC && !SHARED case.
1545 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1546
1547 2005-05-25 Dwayne Grant McConnell <dgm69@us.ibm.com>
1548
1549 * gmon/gmon.c: Add space in weak_alias use.
1550 * linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
1551 * sysdeps/alpha/htonl.S: Likewise.
1552 * sysdeps/alpha/htons.S: Likewise.
1553 * sysdeps/alpha/elf/start.S: Likewise.
1554 * sysdeps/i386/i386-mcount.S: Likewise.
1555 * sysdeps/ia64/strchr.S: Likewise.
1556 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
1557 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
1558 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
1559 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
1560 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
1561 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
1562 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
1563 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
1564 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
1565 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
1566 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
1567 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
1568 * sysdeps/mach/hurd/readdir64_r.c: Likewise.
1569 * sysdeps/mach/hurd/sigaltstack.c: Likewise.
1570 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
1571 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
1572 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
1573 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
1574 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1575 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1576 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1577 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1578 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1579 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1580 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1581 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1582 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1583 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1584 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1585 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1586 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1587 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1588 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1589 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1590 * sysdeps/sparc/sparc32/memset.S: Likewise.
1591 * sysdeps/sparc/sparc32/stpcpy.S: Likewise.
1592 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1593 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1594 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1595 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1596 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1597 * sysdeps/sparc/sparc64/memset.S: Likewise.
1598 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
1599 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
1600 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
1601 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
1602 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
1603 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1604 * sysdeps/unix/sysv/linux/alpha/getcontext.S: Likewise.
1605 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1606 * sysdeps/unix/sysv/linux/alpha/setcontext.S: Likewise.
1607 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
1608 * sysdeps/unix/sysv/linux/alpha/swapcontext.S: Likewise.
1609 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
1610 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1611 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1612 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
1613 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1614 * sysdeps/unix/sysv/linux/i386/makecontext.S: Likewise.
1615 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1616 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1617 * sysdeps/unix/sysv/linux/ia64/getcontext.S: Likewise.
1618 * sysdeps/unix/sysv/linux/ia64/setcontext.S: Likewise.
1619 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
1620 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
1621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1622 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1623 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1624 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1625 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1626 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1627 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1628 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
1629 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1630 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S: Likewise.
1631 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
1632 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
1633 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
1634 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
1635 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1636 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Likewise.
1637 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1638 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1639 * sysdeps/x86_64/_mcount.S: Likewise.
1640
1641 2005-05-24 Roland McGrath <roland@redhat.com>
1642
1643 * sysdeps/unix/sysv/linux/i386/sysdep.h
1644 (SETUP_PIC_REG, LOAD_PIC_REG): Move these macros ...
1645 * sysdeps/i386/sysdep.h [PIC]: ... to here.
1646
1647 2005-05-23 Roland McGrath <roland@redhat.com>
1648
1649 * sysdeps/arm, sysdeps/unix/arm, sysdeps/unix/sysv/linux/arm:
1650 Subdirectories moved to ports repository.
1651 * configure.in (base_machine): Remove arm* and thumb* patterns.
1652 * shlib-versions (arm.*-.*-linux.*): Remove this pattern.
1653
1654 2005-05-23 Ulrich Drepper <drepper@redhat.com>
1655
1656 [BZ #1086]
1657 * sunrpc/bindrsvprt.c (LOWPORT): Apparently some mountd
1658 implementations are broken and don't accept ports < 512.
1659
1660 2005-05-22 Dmitry V. Levin <ldv@altlinux.org>
1661
1662 [BZ #961]
1663 * io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64
1664 declarations.
1665
1666 2005-05-23 Ulrich Drepper <drepper@redhat.com>
1667
1668 [BZ #1086]
1669 * sunrpc/pm_getport.c (__get_socket): New function.
1670 (pmap_getport): Use it to open a non-reserved socket to the portmapper
1671 for TCP.
1672 * include/rpc/pmap_clnt.h (__get_socket): Declare.
1673 * sunrpc/pm_getmaps.c (pmap_getmaps): Use __get_socket to get an
1674 non-reserved socket for the portmapper.
1675 Based on a patch by Steve Dickson <steved@redhat.com>.
1676
1677 [BZ #1086]
1678 * sunrpc/bindrsvprt.c (bindresvport): Try harder to find a port.
1679 If we tried looking at the usual range without success extend the
1680 range to even lower ports.
1681
1682 * sysdeps/unix/clock_gettime.c (clock_gettime): Revert last patch.
1683
1684 2005-05-22 Andreas Schwab <schwab@suse.de>
1685
1686 * elf/rtld.c: Include <dl-osinfo.h>.
1687
1688 2005-05-17 Alan Modra <amodra@bigpond.net.au>
1689
1690 * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Don't use
1691 JUMPTARGET. Instead append @local to __syscall_error.
1692 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Delete all occurrences
1693 of JUMPTARGET. Instead append @local to labels.
1694 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1695 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1696 * sysdeps/powerpc/powerpc32/ppc-mcount.S: Likewise.
1697 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
1699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise.
1702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1705
1706 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Use float constants.
1707 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1708 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
1709 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1710 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. Use one GOT
1711 slot to access both constants.
1712 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1713 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1714
1715 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (TWO52.0): Delete.
1716 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (TWO23.0): Delete.
1717 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (TWO52.0): Delete.
1718 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (TWO23.0): Delete.
1719 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Comment typo.
1720 (NEGZERO.0, POINTFIVE.0): Delete.
1721 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (TWO52.0): Delete.
1722 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (TWO23.0): Delete.
1723 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Code in .text.
1724 (TWO52.0, POINTFIVE.0): Delete.
1725 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Code in .text.
1726 (TWO23.0, POINTFIVE.0): Delete.
1727 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Code in .text.
1728 (TWO52.0): Delete.
1729 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Code in .text.
1730 (TWO23.0): Delete.
1731 * sysdeps/powerpc/powerpc32/memset.S (memset): Formatting.
1732
1733 2005-05-19 Richard Henderson <rth@redhat.com>
1734
1735 * sysdeps/unix/clock_gettime.c (clock_gettime): Fix typo around
1736 CLOCK_REALTIME.
1737
1738 * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_bool_32_acq,
1739 __arch_compare_and_exchange_bool_64_acq,
1740 __arch_compare_and_exchange_val_32_acq,
1741 __arch_compare_and_exchange_val_64_acq, atomic_exchange_and_add):
1742 Use __sync builtin without _si or _di suffix.
1743
1744 2005-05-19 Jakub Jelinek <jakub@redhat.com>
1745
1746 [BZ #955]
1747 * iconvdata/ibm939.c (BODY): Avoid segfaults with input characters
1748 <UFFFF> and above.
1749
1750 2005-05-17 Andreas Schwab <schwab@suse.de>
1751
1752 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1753 (clock_getcpuclockid): Always return a defined value.
1754
1755 2005-05-17 Neal H. Walfield <neal@gnu.org>
1756
1757 * sysdeps/posix/getaddrinfo.c (gaih_local): Check [_HAVE_SA_LEN]
1758 instead of [SALEN].
1759 (gaih_inet): Likewise.
1760
1761 2005-05-11 Ulrich Drepper <drepper@redhat.com>
1762
1763 * elf/elf.h (Elf32_auxv_t): Make cross-compile safe.
1764 (Elf64_auxv_t): Likewise.
1765 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for
1766 removal of a_ptr element in ElfXX_auxv_t.
1767 * elf/dl-support.c (_dl_aux_init): Likewise.
1768
1769 2005-05-09 Daniel Jacobowitz <dan@codesourcery.com>
1770
1771 * sysdeps/unix/sysv/linux/clock_getres.c: Include <time.h>.
1772 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1773
1774 2005-05-09 Alan Modra <amodra@bigpond.net.au>
1775
1776 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1777 .pushsection/.popsection in place of .section/.previous.
1778
1779 2005-05-08 Ulrich Drepper <drepper@redhat.com>
1780
1781 * MakeTAGS: Make xgettext not look into test cases.
1782
1783 * MakeTAGS: Make sure translations in error calls are marked with
1784 c-format by xgettext.
1785
1786 2005-05-07 Ulrich Drepper <drepper@redhat.com>
1787
1788 * intl/libintl.h: Always use __attribute_format_arg__ for gettext
1789 functions since gcc sometimes forgets the attribute for the
1790 standard functions.
1791
1792 2005-05-06 Jakub Jelinek <jakub@redhat.com>
1793
1794 [BZ #934]
1795 * posix/regex_internal.h: Include bits/libc-lock.h or define dummy
1796 __libc_lock_* macros if not _LIBC.
1797 (struct re_dfa_t): Add lock.
1798 * posix/regcomp.c (re_compile_internal): Add __libc_lock_init.
1799 * posix/regexec.c (regexec, re_search_stub): Add locking.
1800
1801 2005-05-04 Jakub Jelinek <jakub@redhat.com>
1802
1803 * intl/Makefile (tst-gettext[45].out): Pass also $(run-program-prefix)
1804 as argument to the scripts.
1805 * intl/tst-gettext2.sh: Use mkdir -p instead of test -d + mkdir.
1806 * intl/tst-gettext4.sh: Likewise. Use run_program_prefix argument.
1807 * intl/tst-gettext5.sh: Likewise.
1808
1809 * intl/tst-translit.sh: Add mkdir -p.
1810
1811 * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Use
1812 .ifndef/.endif to allow use of this macro more than once per .S
1813 file.
1814 (LOAD_PIC_REG): New macro.
1815 * sysdeps/unix/sysv/linux/i386/makecontext.S: Add call frame
1816 information.
1817 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1818 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1819 * sysdeps/i386/fpu/s_asinh.S: Use LOAD_PIC_REG macro. Add call frame
1820 information.
1821 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1822 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1823 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1824 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1825 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1826 * sysdeps/i386/fpu/s_lrint.S: Likewise.
1827 * sysdeps/i386/fpu/s_llrint.S: Likewise.
1828 * sysdeps/i386/fpu/s_ilogbf.S: Likewise.
1829 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1830 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1831 * sysdeps/i386/fpu/e_log.S: Likewise.
1832 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1833 * sysdeps/i386/fpu/s_lrintl.S: Likewise.
1834 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1835 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1836 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1837 * sysdeps/i386/fpu/s_nearbyintl.S: Likewise.
1838 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1839 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1840 * sysdeps/i386/fpu/s_nearbyintf.S: Likewise.
1841 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1842 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1843 * sysdeps/i386/fpu/s_lrintf.S: Likewise.
1844 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1845 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1846 * sysdeps/i386/fpu/s_ilogbl.S: Likewise.
1847 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1848 * sysdeps/i386/fpu/e_powl.S: Likewise.
1849 * sysdeps/i386/fpu/e_powf.S: Likewise.
1850 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1851 * sysdeps/i386/fpu/e_logl.S: Likewise.
1852 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1853 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1854 * sysdeps/i386/fpu/e_pow.S: Likewise.
1855 * sysdeps/i386/fpu/e_logf.S: Likewise.
1856 * sysdeps/i386/fpu/e_log2.S: Likewise.
1857 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1858 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1859 * sysdeps/i386/fpu/s_llrintf.S: Likewise.
1860 * sysdeps/i386/fpu/s_ilogb.S: Likewise.
1861 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1862 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1863 * sysdeps/i386/fpu/e_log10.S: Likewise.
1864 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1865 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1866 * sysdeps/i386/fpu/s_llrintl.S: Likewise.
1867 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1868 * sysdeps/i386/fpu/s_nearbyint.S: Likewise.
1869 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1870 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1871 * sysdeps/i386/addmul_1.S: Various fixes to cfi handling.
1872 * sysdeps/i386/mul_1.S: Likewise.
1873 * sysdeps/i386/strtok.S: Likewise.
1874 * sysdeps/i386/sub_n.S: Likewise.
1875 * sysdeps/i386/submul_1.S: Likewise.
1876 * sysdeps/i386/i586/addmul_1.S: Likewise.
1877 * sysdeps/i386/i586/memcpy.S: Likewise.
1878 * sysdeps/i386/i586/mul_1.S: Likewise.
1879 * sysdeps/i386/i586/rshift.S: Likewise.
1880 * sysdeps/i386/i586/sub_n.S: Likewise.
1881 * sysdeps/i386/i586/submul_1.S: Likewise.
1882 * sysdeps/i386/i686/memcmp.S: Likewise.
1883 * sysdeps/i386/i686/memmove.S: Likewise.
1884 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1885 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1886 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1887 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1888
1889 2005-05-03 Ulrich Drepper <drepper@redhat.com>
1890
1891 * sysdeps/i386/add_n.S: Add call frame information.
1892 * sysdeps/i386/addmul_1.S: Likewise.
1893 * sysdeps/i386/bsd-setjmp.S: Likewise.
1894 * sysdeps/i386/lshift.S: Likewise.
1895 * sysdeps/i386/memchr.S: Likewise.
1896 * sysdeps/i386/memcmp.S: Likewise.
1897 * sysdeps/i386/mul_1.S: Likewise.
1898 * sysdeps/i386/rawmemchr.S: Likewise.
1899 * sysdeps/i386/rshift.S: Likewise.
1900 * sysdeps/i386/stpncpy.S: Likewise.
1901 * sysdeps/i386/strchr.S: Likewise.
1902 * sysdeps/i386/strchrnul.S: Likewise.
1903 * sysdeps/i386/strcspn.S: Likewise.
1904 * sysdeps/i386/strpbrk.S: Likewise.
1905 * sysdeps/i386/strrchr.S: Likewise.
1906 * sysdeps/i386/strspn.S: Likewise.
1907 * sysdeps/i386/strtok.S: Likewise.
1908 * sysdeps/i386/sub_n.S: Likewise.
1909 * sysdeps/i386/submul_1.S: Likewise.
1910 * sysdeps/i386/elf/bsd-setjmp.S: Likewise.
1911 * sysdeps/i386/i486/strcat.S: Likewise.
1912 * sysdeps/i386/i586/add_n.S: Likewise.
1913 * sysdeps/i386/i586/addmul_1.S: Likewise.
1914 * sysdeps/i386/i586/lshift.S: Likewise.
1915 * sysdeps/i386/i586/memcpy.S: Likewise.
1916 * sysdeps/i386/i586/memset.S: Likewise.
1917 * sysdeps/i386/i586/mul_1.S: Likewise.
1918 * sysdeps/i386/i586/rshift.S: Likewise.
1919 * sysdeps/i386/i586/strchr.S: Likewise.
1920 * sysdeps/i386/i586/strcpy.S: Likewise.
1921 * sysdeps/i386/i586/sub_n.S: Likewise.
1922 * sysdeps/i386/i586/submul_1.S: Likewise.
1923 * sysdeps/i386/i686/add_n.S: Likewise.
1924 * sysdeps/i386/i686/memcmp.S: Likewise.
1925 * sysdeps/i386/i686/memmove.S: Likewise.
1926 * sysdeps/i386/i686/mempcpy.S: Likewise.
1927 * sysdeps/i386/i686/memset.S: Likewise.
1928 * sysdeps/i386/i686/strtok.S: Likewise.
1929 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1930 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1931 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1932 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
1933 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1934 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1935
1936 * sysdeps/i386/fpu/libm-test-ulps: Adjust for gcc 4.
1937
1938 * sysdeps/unix/sysv/linux/kernel-features.h: waitid is available
1939 on ppc in 2.6.12.
1940
1941 2005-04-29 Jakub Jelinek <jakub@redhat.com>
1942
1943 [BZ #1083]
1944 * sysdeps/posix/posix_fallocate.c (posix_fallocate): If len == 0,
1945 call ftruncate if offset is bigger than current size. Make sure
1946 the file is offset + len bytes long if that is more than current size.
1947 Don't overwrite previous content of the file.
1948 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1949 Likewise.
1950
1951 2005-05-02 Roland McGrath <roland@redhat.com>
1952
1953 [BZ #924]
1954 * crypt/md5.c [! HAVE_MEMCPY] (memcpy): Yield proper expression value.
1955
1956 2005-04-29 Roland McGrath <roland@redhat.com>
1957
1958 * timezone/africa: Update from tzdata2005i.
1959 * timezone/asia: Likewise.
1960 * timezone/northamerica: Likewise.
1961 * timezone/yearistype: Likewise.
1962
1963 * sysdeps/i386/sysdep.h (CALL_MCOUNT): Fix typo in last change.
1964
1965 2005-04-29 Ulrich Drepper <drepper@redhat.com>
1966
1967 [BZ #1093]
1968 * nis/nis_table.c: Fix realloc handling.
1969 * nis/nis_removemember.c: Likewise.
1970
1971 2005-04-28 Ulrich Drepper <drepper@redhat.com>
1972
1973 [BZ #798]
1974 * nscd/Makefile: Help losers who use --with-headers.
1975
1976 2005-04-28 Roland McGrath <roland@redhat.com>
1977
1978 [BZ #796]
1979 * sysdeps/unix/sysv/linux/dl-sysdep.h: New file.
1980 Define NEED_DL_SYSINFO_DSO for all platforms.
1981
1982 * sysdeps/generic/dl-sysdep.h: Remove multiple inclusion protection.
1983 * sysdeps/alpha/dl-sysdep.h: Likewise.
1984 Use #include_next instead of duplicating generic file's contents.
1985 * sysdeps/ia64/dl-sysdep.h: Likewise.
1986 * sysdeps/sparc/dl-sysdep.h: Likewise.
1987
1988 2005-03-22 Steven Munroe <sjmunroe@us.ibm.com>
1989
1990 * sysdeps/powerpc/powerpc64/memset.S (memset): Make ___memset local.
1991
1992 2005-03-07 Steven Munroe <sjmunroe@us.ibm.com>
1993
1994 [BZ #781]
1995 * sysdeps/unix/sysv/linux/kernel-features.h
1996 (__ASSUME_TGKILL): Define for powerpc32/64 starting with 2.6.1.
1997 (__ASSUME_UTIMES): Define for powerpc32/64 starting with 2.6.1.
1998 (__ASSUME_FADVISE64_64_SYSCALL): Define for powerpc32 only starting
1999 with 2.6.1.
2000 (__ASSUME_WAITID_SYSCALL): Don't define for powerpc32/64.
2001
2002 2005-04-28 Ulrich Drepper <drepper@redhat.com>
2003
2004 * sysdeps/i386/sysdep.h: Add cfi instrumentation to asm fragments.
2005 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2006 * sysdeps/unix/sysv/linux/i386/socket.S: Remove now duplicate
2007 cfi_startproc and cfi_endproc.
2008
2009 * configure.in: Remove ultrasparc names.
2010
2011 * sysdeps/i386/i686/memcmp.S: Move misplaced END.
2012
2013 2005-03-27 Bruno Haible <bruno@clisp.org>
2014
2015 Make it possible for multiple threads to use gettext() in different
2016 locales.
2017 * intl/dcigettext.c (HAVE_PER_THREAD_LOCALE): New macro.
2018 (struct known_translation_t): If HAVE_PER_THREAD_LOCALE, add localename
2019 field.
2020 (transcmp): If HAVE_PER_THREAD_LOCALE, compare localename fields.
2021 (DCIGETTEXT): If HAVE_PER_THREAD_LOCALE, fill the localename field in
2022 search and newp.
2023
2024 * intl/tst-gettext4.c: New file.
2025 * intl/tst-gettext4.sh: New file.
2026 * intl/tst-gettext4-de.po: New file.
2027 * intl/tst-gettext4-fr.po: New file.
2028 * intl/tst-gettext5.c: New file.
2029 * intl/tst-gettext5.sh: New file.
2030 * intl/Makefile (distribute): Add tst-gettext4.sh, tst-gettext4-de.po,
2031 tst-gettext4-fr.po, tst-gettext5.sh.
2032 (multithread-test-srcs): New variable.
2033 (test-srcs): Add its contents.
2034 (tests): Depend on tst-gettext4.out, tst-gettext5.out.
2035 (tst-gettext4.out, tst-gettext5.out): New rules.
2036 (CFLAGS-tst-gettext4.c, CFLAGS-tst-gettext5.c): New variables.
2037 Add rule for linking the multithread-test-srcs with the appropriate
2038 thread-library.
2039
2040 2005-04-28 Ulrich Drepper <drepper@redhat.com>
2041
2042 * po/rw.po: New file. From translation team.
2043
2044 * scripts/config.guess: Update from upstream.
2045 * scripts/config.sub: Likewise.
2046
2047 2005-04-27 Ulrich Drepper <drepper@redhat.com>
2048
2049 [BZ #1094]
2050 * nscd/connections.c (nscd_run): Use time() value in prune_cache
2051 call, not timeout value, since the latter might be from another clock.
2052
2053 2005-04-27 Roland McGrath <roland@redhat.com>
2054
2055 [BZ #877]
2056 * posix/unistd.h: Remove __nonnull from acct decl.
2057
2058 * rt/tst-cpuclock1.c: New file.
2059 * rt/tst-cpuclock2.c: New file.
2060 * rt/tst-cputimer1.c: New file.
2061 * rt/tst-cputimer2.c: New file.
2062 * rt/tst-cputimer3.c: New file.
2063 * rt/Makefile (tests): Add them.
2064
2065 * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file.
2066 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file.
2067 * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c
2068 (HAS_CPUCLOCK): New macro.
2069 (clock_getcpuclockid): Function removed.
2070 #include the new linux file to define it instead.
2071 * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime):
2072 New function, broken out of ...
2073 (clock_gettime) [HP_TIMING_AVAIL]: ... here. Call it.
2074 (realtime_gettime): New function, broken out of ...
2075 (clock_gettime) [! HANDLED_REALTIME]: ... here. Call it.
2076 (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case.
2077 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro.
2078 (SYSDEP_GETTIME_CPUTIME): New macro.
2079 (SYSDEP_GETTIME): Use both.
2080 [! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken
2081 out of ...
2082 (SYSDEP_GETTIME): ... here. Use it.
2083 [__NR_clock_gettime] (HANDLED_CPUTIME): Define it.
2084 (SYSDEP_GETTIME_CPUTIME): New macro. Handle CPU timers by trying
2085 kernel support and falling back to hp-timing code.
2086 * sysdeps/posix/clock_getres.c
2087 [HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ...
2088 (clock_getres) [HP_TIMING_AVAIL]: ... here. Call it.
2089 (realtime_getres): New function, broken out of ...
2090 (clock_getres) [! HANDLED_REALTIME]: ... here. Call it.
2091 (clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case.
2092 * sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro.
2093 (SYSDEP_GETRES_CPUTIME): New macro.
2094 (SYSDEP_GETRES): Use both.
2095 [! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken
2096 out of ...
2097 (SYSDEP_GETRES): ... here. Use it.
2098 [__NR_clock_getres] (HANDLED_CPUTIME): Define it.
2099 (SYSDEP_GETRES_CPUTIME): New macro. Handle CPU timers by trying
2100 kernel support and falling back to hp-timing code.
2101 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle
2102 CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially,
2103 translating to the kernel clockid_t for our own process/thread clock.
2104
2105 2005-04-27 Ulrich Drepper <drepper@redhat.com>
2106
2107 * stdlib/test-canon.c: Make doesExist a directory and add more tests
2108 for the new error case.
2109
2110 2004-06-02 Dmitry V. Levin <ldv@altlinux.org>
2111 Ranjani Murthy <ranmur@gmail.com>
2112
2113 * stdlib/canonicalize.c (__realpath): Change realpath(3) to
2114 return NULL and set errno to ENOTDIR for such pathnames like
2115 "/path/to/existing-non-directory/".
2116
2117 2005-04-26 Ulrich Drepper <drepper@redhat.com>
2118
2119 [BZ #1105]
2120 * time/strptime_l.c (__strptime_internal): Handle 'z' to set
2121 tm_gmtoff.
2122 * time/Makefile (tests): Add tst-strptime2.
2123 * time/tst-strptime2.c: New file.
2124
2125 2005-04-26 Jakub Jelinek <jakub@redhat.com>
2126
2127 [BZ #1081]
2128 * elf/dl-close.c: Include stddef.h.
2129 (_dl_close): If called recursively, just remember GC needs to be rerun
2130 and decrease l_direct_opencount. Avoid GC if l_direct_opencount
2131 decreased to 1. Rerun GC at the end if any destructor unloaded some
2132 additional libraries.
2133 * elf/Makefile: Add rules to build and run unload6 test.
2134 * elf/unload6.c: New test.
2135 * elf/unload6mod1.c: New file.
2136 * elf/unload6mod2.c: New file.
2137 * elf/unload6mod3.c: New file.
2138
2139 * malloc/hooks.c (mem2chunk_check): Add magic_p argument, set *magic_p
2140 if magic_p is not NULL.
2141 (top_check): Invoke MALLOC_FAILURE_ACTION if MORECORE failed.
2142 (malloc_check): Fail if sz == -1.
2143 (free_check): Adjust mem2chunk_check caller.
2144 (realloc_check): Likewise. Fail if bytes == -1. If bytes == 0 and
2145 oldmem != NULL, call free_check and return NULL. If reallocating
2146 and returning NULL, invert magic byte again to make oldmem valid
2147 region for further checking.
2148 (memalign_check): Fail if bytes == -1.
2149 * malloc/Makefile: Add rules to build and run tst-mcheck.
2150 * malloc/tst-mcheck.c: New test.
2151
2152 2005-04-26 Ulrich Drepper <drepper@redhat.com>
2153
2154 [BZ #1110]
2155 * stdio-common/vfscanf.c: Correctly account for characters of
2156 decimal points right after +-.
2157
2158 2005-04-26 Roland McGrath <roland@redhat.com>
2159
2160 * elf/rtld-Rules (rtld-all): Test ifndef rtld-modules instead of
2161 ifeq ($(subdir),elf) to distinguish main driver from subdir runs.
2162
2163 2005-04-25 Roland McGrath <roland@redhat.com>
2164
2165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2166 (INTERNAL_SYSCALL_ERROR_P): Fix typo in last change.
2167
2168 * sunrpc/xdr.c (xdr_u_int): Use `long' for L and cast where needed.
2169
2170 * elf/dl-load.c: Revert last change.
2171
2172 2005-04-24 Ulrich Drepper <drepper@redhat.com>
2173
2174 [BZ #1110]
2175 * stdio-common/vfscanf.c: Fix parsing of decimal point after +-.
2176 Patch by Hamed Malek <hamed@bamdad.org>.
2177
2178 2005-04-21 Roland McGrath <roland@redhat.com>
2179
2180 * elf/dl-load.c (_dl_map_object_from_fd): Don't use MAP_DENYWRITE,
2181 since Linux ignores it in user mmap calls.
2182
2183 2005-04-17 David S. Miller <davem@davemloft.net>
2184
2185 * sysdeps/sparc/sparc32/elf/start.S: Define __data_start.
2186 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2187
2188 2005-04-15 Roland McGrath <roland@redhat.com>
2189
2190 * timezone/Makefile (zic-deps): New variable.
2191 ($(testdata)/America/New_York): Use it instead of explicit deps.
2192 ($(testdata)/Etc/UTC, $(testdata)/Australia/Melbourne): Likewise.
2193 ($(testdata)/America/Sao_Paulo, $(testdata)/Asia/Tokyo): Likewise.
2194 (%/UTC %/Universal): New pattern rule, replaces ...
2195 ($(testdata)/UTC, $(testdata)/Universal): ... these removed targets.
2196 ($(testdata)/%/Berlin $(testdata)/%/London): New pattern rule.
2197 ($(testdata)/Europe/London, $(testdata)/Europe/Berlin): Removed.
2198
2199 2005-04-14 Roland McGrath <roland@redhat.com>
2200
2201 * MakeTAGS ($P/$(domain).pot): Depend on distinfo file as well.
2202 (extract): Filter-out distinfo file name.
2203
2204 [BZ #253]
2205 * MakeTAGS (text-srcs): Match %.bash.in files too.
2206
2207 [BZ #253]
2208 * nscd/Makefile (all-nscd-modules): New variable, include selinux
2209 module regardless of configuration.
2210 (distribute): Use that instead of $(nscd-modules).
2211
2212 2005-04-13 David S. Miller <davem@davemloft.net>
2213
2214 Add sparc64 TLS and NPTL support.
2215 * elf/tls-macros.h: Add Sparc64 defines.
2216 * sysdeps/sparc/sparc64/dl-machine.h (sparc64_fixup_plt): Mark as
2217 always_inline.
2218 (elf_machine_fixup_plt): Likewise.
2219 (elf_machine_rela): Handle TLS relocations.
2220 (elf_machine_type_cleaa): Likewise.
2221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2222 (SYSCALL_ERROR_HANDLER_ENTRY): Use sethi/or for GOT reloc.
2223 It does not always fit in R_SPARC_GOT13 when building -fPIC.
2224 Also, add TLS handling.
2225 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2226 Increase it to 2.4.21 for sparc64.
2227 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: NULL terminate
2228 backtrace by zero'ing out %fp. Store away flags, func_ptr,
2229 and func_arg in global registers not local registers.
2230 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Handle PTID, TLS,
2231 and CTID arguments properly. Add RESET_PID handling.
2232 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Rework so that we
2233 do not invoke __sigprocmask(). We can always assume rt signals
2234 are present on sparc64, so just do an inline syscall.
2235
2236 2005-04-13 Jakub Jelinek <jakub@redhat.com>
2237
2238 * sysdeps/sparc/sparc64/dl-machine.h: Add dl_machine_h multiple
2239 inclusion guard for the first half of the header.
2240 (elf_machine_type_class, ELF_MACHINE_JMP_SLOT, ELF_MACHINE_NO_REL,
2241 ELF_MACHINE_PLTREL_OVERLAP, elf_machine_runtime_setup,
2242 elf_machine_relplt, DL_STACK_END, RTLD_START): Move into the
2243 #ifndef dl_machine_h guarded part of the header.
2244
2245 2005-04-14 Ulrich Drepper <drepper@redhat.com>
2246
2247 [BZ #851]
2248 * posix/execvp.c (execvp): Use file name including path when
2249 trying to run it with shell.
2250 * posix/Makefile: Add rules to build and run tst-execvp3.
2251 * posix/tst-execvp3.c: New file.
2252
2253 2005-04-12 Ulrich Drepper <drepper@redhat.com>
2254
2255 [BZ #1090]
2256 * stdlib/random_r.c (__initstate_r): Don't use non-existing state.
2257 * string/tst-strfry.c: New file.
2258 * string/Makefile (tests): Add tst-strfry.
2259
2260 2005-04-11 James A. Morrison <ja2morri@uwaterloo.ca>
2261
2262 * manual/string.texi: Fix typo in wmemcpy decl.
2263
2264 2005-04-10 David S. Miller <davem@davemloft.net>
2265
2266 * sysdeps/sparc/sparc32/dl-trampoline.S: Use std not stx.
2267
2268 2005-04-08 Carlos O'Donell <carlos@baldric.uwo.ca>
2269
2270 * FAQ.in: Explain why `make' might fail running rpcgen.
2271 * FAQ: Regenerated.
2272
2273 2005-04-07 Roland McGrath <roland@redhat.com>
2274
2275 * po/libc.pot: Regenerated.
2276
2277 2005-04-07 Roland McGrath <roland@redhat.com>
2278
2279 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion)
2280 [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
2281 GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version,
2282 we can skip the uname call if it's there.
2283 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use
2284 DL_SYSDEP_OSCHECK here.
2285 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead.
2286
2287 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro):
2288 Add _dl_sysinfo_map.
2289 * elf/rtld.c (dl_main): Don't call _dl_init_paths early in the
2290 rtld_is_main case. Call it unconditionally later.
2291 Move GLRO(dl_sysinfo_dso) handling earlier, before _dl_init_paths call.
2292 Initialize GLRO(dl_sysinfo_map).
2293 * elf/dl-load.c (open_path): Bail out if _dl_init_paths wasn't called.
2294 * sysdeps/generic/dl-sysdep.c (_DL_FIRST_EXTRA): New macro.
2295 (_dl_important_hwcaps)
2296 [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
2297 GLRO(dl_sysinfo_map) for PT_NOTE giving synthetic hwcap names
2298 and bit values.
2299 * elf/ldconfig.c (_DL_FIRST_EXTRA): New macro.
2300 (hwcap_extra): New static variable.
2301 (is_hwcap_platform): Check hwcap_extra for a matching name.
2302 Remove tls special case.
2303 (path_hwcap): Likewise.
2304 (parse_conf): Parse "hwcap" directive to define synthetic hwcap bits
2305 and their names, stored in hwcap_extra.
2306 (main) [USE_TLS]: Initialize final synthetic hwcap bit as "tls".
2307
2308 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Use uint64_t for
2309 _dl_hwcap and _dl_hwcap_mask.
2310 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Cast a_val for
2311 AT_HWCAP to unsigned long int.
2312 * elf/dl-support.c (_dl_aux_init): Likewise.
2313 (_dl_hwcap): Update defn.
2314
2315 * elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic.
2316 * elf/ldconfig.c (search_dir): Likewise.
2317
2318 2005-04-05 Roland McGrath <roland@redhat.com>
2319
2320 * NEWS: Copy 2.3.5 section from 2.3 branch.
2321
2322 * intl/tst-codeset.sh: Use mkdir -p. Put msgfmt output in temporary
2323 file and mv it into place.
2324 * intl/tst-gettext3.sh: Likewise.
2325
2326 * Makefile (glibc-%.tar rule): Use make -q to ensure configure scripts
2327 are up to date in srcdir. Touch all configure scripts after export.
2328
2329 * iconv/gconv_int.h: Include <ctype.h> and <string.h>.
2330
2331 2005-04-05 H.J. Lu <hongjiu.lu@intel.com>
2332
2333 [BZ #592]
2334 * sysdeps/ia64/fpu/e_acosh.S: Update from Intel libm 2005-04-05
2335 (comment changes only).
2336 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
2337 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
2338 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
2339 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
2340 * sysdeps/ia64/fpu/e_exp.S: Likewise.
2341 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
2342 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
2343 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
2344 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
2345 * sysdeps/ia64/fpu/e_expf.S: Likewise.
2346 * sysdeps/ia64/fpu/e_log.S: Likewise.
2347 * sysdeps/ia64/fpu/e_logf.S: Likewise.
2348 * sysdeps/ia64/fpu/e_pow.S: Likewise.
2349 * sysdeps/ia64/fpu/e_powf.S: Likewise.
2350 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
2351 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
2352 * sysdeps/ia64/fpu/libm_error.c: Likewise.
2353 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
2354 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
2355 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
2356 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
2357 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
2358 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
2359 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
2360 * sysdeps/ia64/fpu/s_cos.S: Likewise.
2361 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
2362 * sysdeps/ia64/fpu/s_erf.S: Likewise.
2363 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
2364 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
2365 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
2366 * sysdeps/ia64/fpu/s_erff.S: Likewise.
2367 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
2368 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
2369 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
2370 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
2371 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
2372 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
2373 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
2374 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
2375 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2376
2377 2005-04-05 Roland McGrath <roland@redhat.com>
2378
2379 * scripts/config.guess: Update from master, timestamp='2005-03-24'.
2380 * scripts/config.sub: Update from master, timestamp='2005-02-10'.
2381
2382 2005-04-04 David S. Miller <davem@davemloft.net>
2383
2384 * sysdeps/sparc/sparc32/dl-trampoline.S: New file.
2385 * sysdeps/sparc/sparc32/dl-machine.h: Move PLT trampolines there.
2386 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
2387 (elf_machine_runtime_setup): Test for dl_profile non-null.
2388 * sysdeps/sparc/sparc64/dl-trampoline.S: New file.
2389 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
2390 * sysdeps/sparc/sparc64/dl-machine.h: Move PLT trampolines there.
2391 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
2392 (elf_machine_runtime_setup): Test for dl_profile non-null.
2393 * sysdeps/sparc/bits/link.h: New file.
2394 * sysdeps/generic/ldsodefs.h (La_sparc32_regs, La_sparc32_retval,
2395 La_sparc64_regs, La_sparc64_retval): New.
2396 (struct audit_ifaces): Add sparc entries.
2397 * elf/tst-auditmod1.c: Add sparc entries.
2398
2399 2005-03-27 Bruno Haible <bruno@clisp.org>
2400
2401 * intl/tst-gettext3.c: New file.
2402 * intl/tst-gettext3.sh: New file.
2403 * intl/Makefile (distribute): Add tst-gettext3.sh.
2404 (test-srcs): Add tst-gettext3.
2405 (tests): Depend on tst-gettext3.out.
2406 (tst-gettext3.out): New rule.
2407 (CFLAGS-tst-gettext3.c): New variable.
2408
2409 Fix bug exposed by tst-gettext3.
2410 * intl/gettextP.h (struct converted_domain): New type.
2411 (struct loaded_domain): Remove the conv, conv_tab fields. Add
2412 conversions, nconversions fields.
2413 (_nl_init_domain_conv): Remove declaration.
2414 (_nl_free_domain_conv): Remove declaration.
2415 (_nl_find_msg): Add convert argument.
2416 * intl/dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1.
2417 (_nl_find_msg): Add convert argument. When a conversion to a different
2418 charset is needed, create a new converted_domain element, instead of
2419 throwing away the old converted translations.
2420 (get_output_charset): New function.
2421 * intl/loadmsgcat.c (_nl_init_domain_conv): Remove function.
2422 (_nl_free_domain_conv): Remove function.
2423 (_nl_load_domain): Initialize the conversions array to empty. Use
2424 _nl_find_msg instead of _nl_init_domain_conv to retrieve the header
2425 entry.
2426 (_nl_unload_domain): Free the conversions array and its contents.
2427
2428 * intl/gettextP.h (struct loaded_domain): Remove codeset_cntr field.
2429 (struct binding): Likewise.
2430 * intl/bindtextdom.c (set_binding_values): Drop codeset_cntr
2431 modifications.
2432
2433 2005-04-04 Jakub Jelinek <jakub@redhat.com>
2434
2435 [BZ #1082]
2436 * sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
2437 of trying to encode uninitialized arglen.
2438
2439 2005-04-04 Ulrich Drepper <drepper@redhat.com>
2440
2441 [BZ #825]
2442 * timezone/scheck.c: Update from tzcode2005h.
2443 * timezone/tzfile.h: Likewise.
2444 * timezone/zdump.c: Likewise.
2445 * timezone/zic.c: Likewise.
2446
2447 [BZ #825]
2448 * timezone/antarctica: Update from tzdata2005h.
2449 * timezone/asia: Likewise.
2450 * timezone/australasia: Likewise.
2451 * timezone/etcetera: Likewise.
2452 * timezone/europe: Likewise.
2453 * timezone/northamerica: Likewise.
2454 * timezone/southamerica: Likewise.
2455 * timezone/leapseconds: Likewise.
2456 * timezone/iso3166.tab: Likewise.
2457
2458 2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
2459
2460 [BZ #592]
2461 * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright.
2462
2463 2005-04-01 Ulrich Drepper <drepper@redhat.com>
2464
2465 * wcsmbs/btowc.c (__btowc): Optimize parameters in ASCII range.
2466 * wcsmbs/wctob.c (wctob): Likewise.
2467 * wcsmbs/wchar.h (btowc): Add optimized inline function.
2468 (wctob): Likewise.
2469
2470 2005-03-31 Jakub Jelinek <jakub@redhat.com>
2471
2472 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally
2473 equivalent, but shorter instructions.
2474 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2475 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2476 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2477 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2478 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2479 * sysdeps/x86_64/strchr.S: Likewise.
2480 * sysdeps/x86_64/memset.S: Likewise.
2481 * sysdeps/x86_64/strcspn.S: Likewise.
2482 * sysdeps/x86_64/strcmp.S: Likewise.
2483 * sysdeps/x86_64/elf/start.S: Likewise.
2484 * sysdeps/x86_64/strspn.S: Likewise.
2485 * sysdeps/x86_64/dl-machine.h: Likewise.
2486 * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
2487 * sysdeps/x86_64/bsd-setjmp.S: Likewise.
2488 * sysdeps/x86_64/strtok.S: Likewise.
2489
2490 2005-03-30 H.J. Lu <hongjiu.lu@intel.com>
2491
2492 [BZ #592]
2493 * sysdeps/ia64/fpu/e_acosf.S: Update from Intel libm 2005-03-21.
2494 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
2495 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
2496 * sysdeps/ia64/fpu/e_acosh.S: Likewise.
2497 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
2498 * sysdeps/ia64/fpu/e_acos.S: Likewise.
2499 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
2500 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
2501 * sysdeps/ia64/fpu/e_asin.S: Likewise.
2502 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
2503 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
2504 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
2505 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
2506 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
2507 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
2508 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
2509 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
2510 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
2511 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
2512 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
2513 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
2514 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
2515 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
2516 * sysdeps/ia64/fpu/e_expf.S: Likewise.
2517 * sysdeps/ia64/fpu/e_exp.S: Likewise.
2518 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
2519 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
2520 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
2521 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
2522 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
2523 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
2524 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
2525 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
2526 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
2527 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
2528 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
2529 * sysdeps/ia64/fpu/e_log2.S: Likewise.
2530 * sysdeps/ia64/fpu/e_logf.S: Likewise.
2531 * sysdeps/ia64/fpu/e_logl.S: Likewise.
2532 * sysdeps/ia64/fpu/e_log.S: Likewise.
2533 * sysdeps/ia64/fpu/e_powf.S: Likewise.
2534 * sysdeps/ia64/fpu/e_powl.S: Likewise.
2535 * sysdeps/ia64/fpu/e_pow.S: Likewise.
2536 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
2537 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
2538 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
2539 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
2540 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
2541 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
2542 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
2543 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
2544 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
2545 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
2546 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
2547 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
2548 * sysdeps/ia64/fpu/libm_error.c: Likewise.
2549 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
2550 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
2551 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
2552 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
2553 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
2554 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2555 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2556 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
2557 * sysdeps/ia64/fpu/libm_support.h: Likewise.
2558 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
2559 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
2560 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
2561 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
2562 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
2563 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
2564 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
2565 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2566 * sysdeps/ia64/fpu/s_cos.S: Likewise.
2567 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
2568 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
2569 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
2570 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
2571 * sysdeps/ia64/fpu/s_erf.S: Likewise.
2572 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
2573 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
2574 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
2575 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
2576 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
2577 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
2578 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
2579 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
2580 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
2581 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
2582 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
2583 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
2584 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
2585 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
2586 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
2587 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
2588 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
2589 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
2590 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
2591 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
2592 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
2593 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
2594 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
2595 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
2596 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
2597 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
2598 * sysdeps/ia64/fpu/s_logb.S: Likewise.
2599 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
2600 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
2601 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
2602 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
2603 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
2604 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
2605 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
2606 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
2607 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
2608 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
2609 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
2610 * sysdeps/ia64/fpu/s_round.S: Likewise.
2611 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
2612 * sysdeps/ia64/fpu/s_scalbn.c: Likewise.
2613 * sysdeps/ia64/fpu/s_scalbnf.c: Likewise.
2614 * sysdeps/ia64/fpu/s_scalbnl.c: Likewise.
2615 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
2616 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
2617 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
2618 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
2619 * sysdeps/ia64/fpu/s_tan.S: Likewise.
2620 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
2621 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
2622 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
2623 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
2624 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2625 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
2626
2627 [BZ #592]
2628 * sysdeps/ia64/fpu/libm_cpu_defs.h: New file.
2629 * sysdeps/ia64/fpu/libm_error_codes.h: New file.
2630
2631 [BZ #592]
2632 * sysdeps/ia64/fpu/gen_import_file_list: Updated for Intel libm
2633 2005-03-21.
2634 * sysdeps/ia64/fpu/import_file.awk: Likewise.
2635 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
2636 * sysdeps/ia64/fpu/Makefile: Likewise.
2637
2638 2005-03-29 Jakub Jelinek <jakub@redhat.com>
2639
2640 [BZ #1087]
2641 * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to
2642 avoid calling mbsrtowcs twice.
2643
2644 2005-03-29 Roland McGrath <roland@redhat.com>
2645
2646 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New
2647 function, inline broken out of ...
2648 (DL_SYSDEP_OSCHECK): ... here. Use that.
2649 Do the discovery and set GLRO(dl_osversion) if successful,
2650 if __LINUX_KERNEL_VERSION <= 0.
2651 * elf/dl-load.c: Don't include dl-osinfo.h here.
2652
2653 2005-03-29 Alfred M. Szmidt <ams@gnu.org>
2654
2655 * manual/install.texi (Tools for Compilation): GNU binutils 2.15
2656 is now needed.
2657
2658 2005-03-19 Bruno Haible <bruno@clisp.org>
2659
2660 * intl/dcigettext.c (struct known_translation_t): Change type of
2661 domainname field to 'const char *'.
2662 (DCIGETTEXT): Remove const-cast.
2663
2664 2005-03-29 Thorsten Kukuk <kukuk@suse.de>
2665
2666 [BZ #661]
2667 * grp/initgroups.c (internal_getgrouplist): Check if we have
2668 enough space before adding the primary group to the list.
2669
2670 * posix/tst-execle1.c (do_test): Fix execle arguments.
2671 * posix/tst-execle2.c (do_test): Likewise.
2672
2673 2005-03-28 Roland McGrath <roland@redhat.com>
2674
2675 * sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names.
2676 Reported by Mark Mitchell <mark@codesourcery.com>.
2677 * Versions.def (libm): Define GLIBC_2.4 set.
2678 * math/Versions (libm: GLIBC_2.4): Add this set, with exp2l.
2679 * sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l.
2680 * sysdeps/ia64/Versions: Likewise.
2681 * sysdeps/m68k/Versions: Likewise.
2682 * sysdeps/sparc/sparc64/Versions: Likewise.
2683 * sysdeps/x86_64/Versions: New file.
2684 * sysdeps/mips/mips64/Versions: New file.
2685
2686 * locale/langinfo.h (_NL_LOCALE_NAME): New macro.
2687 [__USE_GNU] (NL_LOCALE_NAME): New macro.
2688 * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME,
2689 return locale name string for the category.
2690
2691 2005-03-25 Jakub Jelinek <jakub@redhat.com>
2692
2693 * sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than
2694 <wcstol_l.c>.
2695
2696 2005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
2697
2698 * sysdeps/mips/atomicity.h: Remove unused file.
2699 * sysdeps/mips/dl-machine.h (elf_machine_rel): Add TLS relocations.
2700 * sysdeps/mips/dl-tls.h: New file.
2701 * sysdeps/mips/libc-tls.c: New file.
2702 * sysdeps/mips/tls-macros.h: New file.
2703 * sysdeps/mips/bits/atomic.h: New file.
2704 * sysdeps/mips/bits/setjmp.h: Protect against multiple inclusion.
2705 * sysdeps/mips/elf/configure.in: New file.
2706 * sysdeps/mips/elf/configure: Generated.
2707 * sysdeps/mips/sys/asm.h: New file.
2708 * sysdeps/unix/sysv/linux/mips/vfork.S: New file.
2709 * sysdeps/unix/sysv/linux/mips/clone.S: Add NPTL and five-argument
2710 clone support.
2711 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
2712 (INTERNAL_SYSCALL_NCS): New.
2713 (INTERNAL_SYSCALL): Update for non-constant support.
2714 (internal_syscall0): Likewise.
2715 (internal_syscall1): Likewise.
2716 (internal_syscall2): Likewise.
2717 (internal_syscall3): Likewise.
2718 (internal_syscall4): Likewise.
2719 (internal_syscall5): Likewise.
2720 (internal_syscall6): Likewise.
2721 (internal_syscall7): Likewise.
2722 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SIGEV_THREAD):
2723 Update to match the kernel.
2724 (SIGEV_CALLBACK): Likewise.
2725 (SIGEV_THREAD_ID): Likewise.
2726
2727 2005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
2728
2729 [BZ #783]
2730 * elf/tst-auditmod1.c: Add MIPS support.
2731 * sysdeps/generic/ldsodefs.h (La_mips_32_regs): New.
2732 (La_mips_32_retval): New.
2733 (La_mips_64_regs): New.
2734 (La_mips_64_retval): New.
2735 (struct audit_ifaces): Add MIPS entries.
2736 * sysdeps/mips/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE.
2737 (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
2738 ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS,
2739 ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c.
2740 (RTLD_START): Align the stack before calling _dl_init_internal.
2741 Use .ent for _dl_start_user.
2742 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define.
2743 (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
2744 (elf_machine_runtime_setup): Use "auto inline".
2745 (elf_machine_rela, elf_machine_rela_relative): Provide empty versions.
2746 (elf_machine_got_rel): Likewise. Use RESOLVE_MAP.
2747 * sysdeps/mips/dl-trampoline.c: New file.
2748 * sysdeps/mips/bits/link.h: New file.
2749 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
2750 (internal_syscall5): Use register operands instead of non-lvalue
2751 memory operands.
2752 (internal_syscall6): Likewise.
2753 (internal_syscall7): Likewise.
2754
2755 2005-03-27 Andreas Jaeger <aj@suse.de>
2756
2757 * debug/warning-nop.c (__builtin___memcpy_chk): Define away to
2758 avoid warnings with older compiler.
2759 (__builtin___memcpy_chk): Likewise.
2760 (__builtin___memmove_chk: Likewise.
2761 (__builtin___mempcpy_chk): Likewise.
2762 (__builtin___memset_chk): Likewise.
2763 (__builtin___stpcpy_chk): Likewise.
2764 (__builtin___strcat_chk): Likewise.
2765 (__builtin___strcpy_chk): Likewise.
2766 (__builtin___strncat_chk): Likewise.
2767 (__builtin___strncpy_chk): Likewise.
2768 (__builtin_object_size): Likewise.
2769
2770 2005-03-27 Daniel Jacobowitz <dan@codesourcery.com>
2771
2772 * elf/tls-macros.h: Correct typo.
2773
2774 2005-03-23 Jakub Jelinek <jakub@redhat.com>
2775
2776 [BZ #822]
2777 * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch.
2778 (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE.
2779
2780 2005-03-22 Roland McGrath <roland@redhat.com>
2781
2782 * locale/setlocale.c: Comment typo.
2783
2784 * scripts/versions.awk: No errors for GLIBC_PRIVATE.
2785
2786 * Versions.def (libdl, librt): Add GLIBC_2.3.4 version.
2787
2788 * scripts/versions.awk: Print all errors and die at the end.
2789 Use library name in versions array keys.
2790
2791 2005-03-22 Daniel Jacobowitz <dan@codesourcery.com>
2792
2793 * elf/elf.h (PT_ARM_EXIDX): New macro.
2794
2795 2005-03-21 Thorsten Kukuk <kukuk@suse.de>
2796
2797 [BZ #1098]
2798 * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
2799 Convert correctly between long/int on 64bit big-endian.
2800
2801 2005-03-21 David Mosberger <davidm@hpl.hp.com>
2802
2803 * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames
2804 with more than 8 output registers. Fix this by passing original
2805 ar.pfs to _mcount_ret_helper via r3.
2806
2807 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2808
2809 [BZ #786]
2810 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle
2811 GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx).
2812 * elf/Makefile: Add rules to build and run tst-tls15.
2813 * elf/tst-tls15.c: New test.
2814 * elf/tst-tlsmod15a.c: New file.
2815 * elf/tst-tlsmod15b.c: New file.
2816
2817 2005-03-20 Ulrich Drepper <drepper@redhat.com>
2818
2819 * elf/rtld.c (dl_main): Always call init_tls if we have audit modules.
2820
2821 2005-03-20 Alfred M. Szmidt <ams@gnu.org>
2822
2823 * elf/dl-open.c (dl_open_worker): Fix typo.
2824
2825 2005-03-20 Ulrich Drepper <drepper@redhat.com>
2826
2827 * malloc/malloc.c (public_cALLOc): We cannot skip the memory
2828 clearing if perturb_byte != 0.
2829
2830 2005-03-20 Jakub Jelinek <jakub@redhat.com>
2831
2832 * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
2833 instead of __off_t for last argument.
2834 * debug/Makefile (tests): Add tst-lfschk{1,2,3}.
2835 * debug/tst-lfschk1.c: New test.
2836 * debug/tst-lfschk2.c: New test.
2837 * debug/tst-lfschk3.c: New test.
2838
2839 2005-02-09 Jakub Jelinek <jakub@redhat.com>
2840
2841 * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
2842 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
2843 and __USE_XOPEN guards to match linux/bits/termios.h.
2844 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2845 (CMSPAR): Define.
2846 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2847
2848 2005-02-10 H.J. Lu <hongjiu.lu@intel.com>
2849
2850 * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels.
2851
2852 2005-02-27 Denis Barbier <barbier@debian.org>
2853
2854 [BZ #549]
2855 * locale/iso-4217.def: Add CSD currency.
2856
2857 2005-03-19 Ulrich Drepper <drepper@redhat.com>
2858
2859 * inet/test-ifaddrs.c: Use test-skeleton.
2860 * inet/test_ifindex.c: Likewise.
2861
2862 [BZ #821]
2863 * elf/dl-lookup.c (add_dependency): Always search l_initfini if
2864 the list exists.
2865
2866 [BZ #821]
2867 * elf/Makefile: Add rules to build and run order2.
2868 * elf/order2.c: New file.
2869 * elf/order2mod1.c: New file.
2870 * elf/order2mod2.c: New file.
2871 * elf/order2mod3.c: New file.
2872 * elf/order2mod4.c: New file.
2873
2874 2005-03-19 Jakub Jelinek <jakub@redhat.com>
2875
2876 [BZ #821]
2877 * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
2878 it has been incremented before.
2879
2880 2005-03-18 Ulrich Drepper <drepper@redhat.com>
2881
2882 [BZ #821]
2883 * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate
2884 function _dl_sort_fini.
2885 (_dl_sort_fini): New function.
2886 * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini.
2887 * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running
2888 destructors to call them in the right order.
2889
2890 2005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
2891
2892 * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave.
2893 (La_ppc64_retval): Correct size of lrc_fp.
2894 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve):
2895 Fix up ABI problems and complete function.
2896
2897 2005-03-10 Jakub Jelinek <jakub@redhat.com>
2898
2899 * math/test-misc.c (main): Add some more tests.
2900
2901 2005-03-17 Jakub Jelinek <jakub@redhat.com>
2902
2903 * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed
2904 __wcrtomb. Check return values of other __wcrtomb calls.
2905 * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars):
2906 Change mbclen type to size_t.
2907 (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t.
2908 Handle mb chars whose upper case doesn't have multibyte representation
2909 in locale's charset.
2910
2911 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2912
2913 * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc,
2914 public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with
2915 #ifndef _LIBC.
2916
2917 [BZ #779]
2918 * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet
2919 initialized.
2920
2921 2005-03-10 Jakub Jelinek <jakub@redhat.com>
2922
2923 * misc/sys/cdefs.h (__always_inline): Define.
2924 * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd):
2925 Use __always_inline instead of __inline.
2926 * socket/bits/socket2.h (recv, recvfrom): Likewise.
2927 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise.
2928 * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk,
2929 __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk,
2930 __strcat_ichk, __strncat_ichk): Use __always_inline instead of
2931 __inline__ __attribute__ ((__always_inline__)).
2932
2933 2005-03-09 Jakub Jelinek <jakub@redhat.com>
2934
2935 * debug/tst-chk1.c: Include sys/socket.h and sys/un.h.
2936 (do_test): Add new tests for recv, recvfrom, getcwd, getwd and
2937 readlink. Add some more tests for read, pread, pread64, fgets and
2938 fgets_unlocked.
2939
2940 * posix/bits/unistd.h (read, pread, pread64, readlink,
2941 getcwd, getwd): Change macros into extern inline functions.
2942 (__read_alias, __pread_alias, __pread64_alias, __readlink_alias,
2943 __getcwd_alias, __getwd_alias): New prototypes.
2944 * socket/bits/socket2.h (recv, recvfrom): Change macros into
2945 extern inline functions.
2946 (__recv_alias, __recvfrom_alias): New prototypes.
2947 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros
2948 into extern inline functions.
2949 (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes.
2950
2951 * debug/pread_chk.c (__pread_chk): Fix order of arguments passed
2952 to __pread.
2953 * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed
2954 to __pread64.
2955
2956 2005-03-18 Daniel Jacobowitz <dan@codesourcery.com>
2957
2958 * configure.in: Use %function instead of @function.
2959
2960 2005-03-18 Ulrich Drepper <drepper@redhat.com>
2961
2962 [BZ #821]
2963 * include/link.h (struct link_map): Remove l_opencount. Add l_removed.
2964 Change type of l_idx to int.
2965 * elf/dl-close.c: Basically rewrite. Do not use l_opencount to
2966 determine whether a DSO has to be unloaded. Instead compute this
2967 in this function.
2968 * elf/dl-deps.c: No need to manipulate l_opencount anymore.
2969 * elf/dl-lookup.c: Likewise.
2970 * elf/rtld.c: Likewise
2971 * elf/dl-open.c: Likewise. Use l_init_called to determine whether
2972 object was just loaded.
2973 * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
2974 * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
2975 is about to be unloaded as a match.
2976 (_dl_map_object): Likewise.
2977 * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
2978 to be unloaded.
2979 * elf/circleload1.c: Don't use l_opencount anymore.
2980 * elf/neededtest.c: Likewise.
2981 * elf/neededtest2.c: Likewise.
2982 * elf/neededtest3.c: Likewise.
2983 * elf/neededtest4.c: Likewise.
2984 * elf/unload.c: Likewise.
2985 * elf/unload2.c: Likewise.
2986 * elf/loadtest.c: Likewise.
2987
2988 [BZ #821]
2989 * elf/rtld.c: Preloading errors are now never fatal.
2990
2991 2005-03-08 Jakub Jelinek <jakub@redhat.com>
2992
2993 [BZ #821]
2994 * elf/Makefile: Add rules to build and run unload5 test.
2995 * elf/unload5.c: New file.
2996
2997 [BZ #821]
2998 * elf/Makefile: Add rules to build and run unload4 test.
2999 * elf/unload4.c: New file.
3000 * elf/unload4mod1.c: New file.
3001 * elf/unload4mod2.c: New file.
3002 * elf/unload4mod3.c: New file.
3003 * elf/unload4mod4.c: New file.
3004
3005 2005-03-17 Roland McGrath <roland@redhat.com>
3006
3007 * nscd/aicache.c (addhstaiX): Tweak type to avoid warning.
3008
3009 2005-03-16 Richard Henderson <rth@redhat.com>
3010
3011 * include/libc-symbols.h (__hidden_proto): Remove bogus declaration
3012 of internal.
3013 (__hidden_def1, __hidden_dot_def1): Remove.
3014 (__hidden_def2, __hidden_def3): Remove.
3015 (__hidden_ver1): New.
3016 (hidden_ver, hidden_def, hidden_weak): Use it.
3017 (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data
3018 version of the macro.
3019
3020 * include/wchar.h (__wcscoll): Remove.
3021 * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll.
3022 * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined.
3023
3024 2005-03-16 Daniel Jacobowitz <dan@codesourcery.com>
3025
3026 * elf/elf.h: Define MIPS TLS relocations.
3027
3028 2005-03-16 Ulrich Drepper <drepper@redhat.com>
3029
3030 * elf/circleload1.c (main): Pretty printing.
3031
3032 2005-03-15 Jakub Jelinek <jakub@redhat.com>
3033
3034 * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword.
3035 Patch by Dan Kegel <dank@kegel.com>.
3036
3037 * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
3038 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3039 Add inline keyword.
3040 * sysdeps/alpha/dl-machine.h (elf_machine_rela,
3041 elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
3042 attribute.
3043 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3044 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. Change
3045 static inline into auto inline.
3046 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3047 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
3048 * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
3049 Likewise.
3050 * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
3051 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3052 Likewise.
3053
3054 2005-03-15 Jakub Jelinek <jakub@redhat.com>
3055
3056 [BZ #789]
3057 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints.
3058 Remove memory clobber.
3059
3060 * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition
3061 thread-safe. Subtract GLRO(dl_hp_timing_overhead) from Diff.
3062
3063 2005-03-14 Jakub Jelinek <jakub@redhat.com>
3064
3065 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include
3066 asm/types.h.
3067
3068 2005-03-10 GOTO Masanori <gotom@debian.or.jp>
3069
3070 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
3071 MAP_NONBLOCK.
3072 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3073 Correct MAP_GROWSDOWN value.
3074
3075 2005-03-13 Roland McGrath <roland@redhat.com>
3076
3077 * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
3078 version if there is one. Only #error if macros are then undefined.
3079 * sysdeps/generic/tls-macros.h: New file.
3080
3081 2005-03-10 GOTO Masanori <gotom@debian.or.jp>
3082
3083 * sysdeps/hppa/configure.in: Remove old Makefile leftovers.
3084 * sysdeps/hppa/configure: Regenerated.
3085
3086 2005-03-08 Roland McGrath <roland@redhat.com>
3087
3088 * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so
3089 array types match exactly in C alias decls.
3090
3091 2005-03-07 Ulrich Drepper <drepper@redhat.com>
3092
3093 * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call
3094 mallopt appropriately.
3095 * malloc/malloc.h: Define M_PERTURB.
3096 * malloc/malloc.c (perturb_byte): New variable.
3097 (alloc_perturb, free_perturb): New macros.
3098 (_int_malloc): Before returning, overwrite the memory if this is
3099 requested.
3100 (_int_free): Overwrite freed memory if requested.
3101 (mALLOPt): Handle M_PERTURB.
3102 * test-skeleton.c: Add call to mallopt with M_PERTURB command.
3103
3104 * elf/dl-close.c (_dl_close): Decrement l_opencount before
3105 printing debug message.
3106 * elf/dl-open.c (dl_open_worker): Always print the new opencount
3107 in debug messages.
3108
3109 2005-03-06 Ulrich Drepper <drepper@redhat.com>
3110
3111 * elf/dl-close.c (_dl_close): Unify debug message format.
3112
3113 * elf/dl-close.c (_dl_close): Print debug message just before
3114 destroying a link map.
3115
3116 * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
3117 * elf/dl-version.c (match_symbol): Likewise.
3118
3119 * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
3120
3121 * debug/recv_chk.c (__recv_chk): Always fail if request could
3122 overflow the buffer.
3123 * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
3124 * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
3125 we know the call succeeds.
3126 (recvfrom): Likewise.
3127
3128 2005-03-05 Ulrich Drepper <drepper@redhat.com>
3129
3130 * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
3131 warning.
3132 * posix/regex_internal.c (re_string_reconstruct): Add cast to
3133 avoid warning.
3134 (build_wcs_upper_buffer): Change type of bug to plain char.
3135 * locale/weightwc.h (findidx): Add casts to avoid warnings.
3136 * time/mktime.c (ranged_convert): Initialize tm to make the
3137 compiler happy.
3138 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
3139 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
3140 * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
3141 * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
3142 * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
3143 * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
3144 * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
3145 * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
3146 * libio/iofwide.c: Add casts to avoid warnings.
3147 * stdio-common/printf-prs.c (parse_printf_format): Introduce new
3148 variable f to avoid warnings.
3149 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3150 Fix a few casts to avoid warnings.
3151 * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
3152 to avoid warning.
3153
3154 [BZ #1101]
3155 * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
3156 dynamically sized array.
3157 (build_wcs_upper_buffer): Likewise.
3158
3159 2005-03-05 Jakub Jelinek <jakub@redhat.com>
3160
3161 * include/bits/unistd.h: New file.
3162 * include/bits/socket2.h: New file.
3163
3164 2005-03-05 Ulrich Drepper <drepper@redhat.com>
3165
3166 * sunrpc/key_call.c: Remove doors support.
3167 * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
3168 * configure.in: Remove test for doors support which never existed.
3169 * config.make.in: Remove have_doors entry.
3170
3171 * configure.in: Make sure at least gcc 3.4 is used. Undo last change.
3172 * config.make.in: Undo last change.
3173
3174 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
3175 -mtune.
3176
3177 2005-03-05 Roland McGrath <roland@redhat.com>
3178
3179 * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
3180 (_dl_out_of_memory): Use rtld_hidden_proto.
3181 * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
3182 (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
3183 * elf/dl-open.c (_dl_open): Likewise.
3184 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3185
3186 * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
3187
3188 * elf/dl-addr.c (_dl_addr): Add a cast.
3189
3190 [BZ #821]
3191 * elf/unload3mod4.c: Declare foo.
3192 * elf/testobj2.c: Include <stdio.h>.
3193
3194 * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
3195 value constant, and use it in the defn.
3196 * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
3197 Use actual size for compat array decls.
3198
3199 * config.make.in (cc-mtune): New substituted variable.
3200 * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
3201 done only if libc_mtune_example is defined.
3202 * sysdeps/i386/configure.in (libc_mtune_example): Set it.
3203 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
3204
3205 2005-03-05 Jakub Jelinek <jakub@redhat.com>
3206
3207 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
3208 unconditionally to (defined RTLD_BOOTSTRAP).
3209 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
3210
3211 2005-03-05 Jakub Jelinek <jakub@redhat.com>
3212
3213 * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
3214 $(inst_slibdir) in AS_NEEDED directive.
3215
3216 2005-03-03 Jakub Jelinek <jakub@redhat.com>
3217
3218 * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
3219
3220 2005-03-01 H.J. Lu <hongjiu.lu@intel.com>
3221
3222 [BZ #776]
3223 * iconv/iconvconfig.c: Fix comment for the output file.
3224 (write_output): Clear padding in header.
3225
3226 2005-03-03 Ulrich Drepper <drepper@redhat.com>
3227
3228 [BZ #821]
3229 * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
3230 loader is closed. Fixes unload3.
3231 * elf/tst-global1.c: New file.
3232 * elf/Makefile (tests): Add tst-global1.
3233 * elf/testobj2.c (p): New function.
3234
3235 2005-03-03 Jakub Jelinek <jakub@redhat.com>
3236
3237 [BZ #821]
3238 * elf/Makefile: Add rules to build and run unload3 test.
3239 * elf/unload3.c: New test.
3240 * elf/unload3mod1.c: New file.
3241 * elf/unload3mod2.c: New file.
3242 * elf/unload3mod3.c: New file.
3243 * elf/unload3mod4.c: New file.
3244
3245 2005-02-21 Alan Modra <amodra@bigpond.net.au>
3246
3247 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
3248 use __uint128_t.
3249
3250 2005-03-01 Jakub Jelinek <jakub@redhat.com>
3251
3252 * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
3253 of __bos.
3254 * socket/bits/socket2.h (recv, recvfrom): Likewise.
3255
3256 2005-03-01 Roland McGrath <roland@redhat.com>
3257
3258 [BZ #721]
3259 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
3260 of [RESOLVE_MAP].
3261
3262 2005-03-01 Alfred M. Szmidt <ams@gnu.org>
3263
3264 [BZ #777]
3265 * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
3266 Add missing initializer.
3267
3268 [BZ #777]
3269 * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
3270 USE_TLS && !USE___THREAD].
3271
3272 2005-02-26 GOTO Masanori <gotom@debian.or.jp>
3273
3274 * csu/Makefile: Use printf instead of echo for some shells.
3275
3276 2005-02-28 Roland McGrath <roland@redhat.com>
3277
3278 * debug/warning-nop.c (__nop): Rename to nop, make it static.
3279 (__warndecl): Use alias attribute directly, instead of strong_alias
3280 macro. Add attribute_hidden.
3281
3282 2005-02-28 Ulrich Drepper <drepper@redhat.com>
3283
3284 * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
3285 determine the call will never trigger a failure.
3286 * debug/read_chk.c (__read_chk): Always fail if the buffer is too
3287 small.
3288 * debug/readlink_chk.c (__readlink_chk): Likewise.
3289 * debug/pread64_chk.c (__pread64_chk): Likewise.
3290 * debug/pread_chk.c (__pread_chk): Likewise.
3291
3292 * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
3293 * sysdeps/x86_64/memset_chk.S: Likewise.
3294
3295 2005-02-24 Roland McGrath <roland@redhat.com>
3296
3297 * debug/Versions (libc: GLIBC_2.4): Remove
3298 __memset_zero_constant_len_parameter.
3299 * sysdeps/generic/memset_chk.c: Remove alias and warning.
3300 * misc/sys/cdefs.h (__warndecl): New macro.
3301 * debug/warning-nop.c: New file.
3302 * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
3303 arguments, instead of calling __memset_zero_constant_len_parameter.
3304 Use __warndecl for __warn_memset_zero_len.
3305 * debug/Makefile (routines): Add $(static-only-routines).
3306 (static-only-routines): New variable.
3307
3308 2005-02-27 Ulrich Drepper <drepper@redhat.com>
3309
3310 * po/tr.po: Update from translation team.
3311
3312 2005-02-26 Ulrich Drepper <drepper@redhat.com>
3313
3314 * elf/dl-addr.c: Cleanups. Move declaration next to first use.
3315
3316 * dlfcn/dlerror.c (check_free): New function. Extract common code
3317 from fini and free_key_mem. Check whether this is libdl in the
3318 base namespace.
3319
3320 2005-02-25 Ulrich Drepper <drepper@redhat.com>
3321
3322 * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
3323 to debug output.
3324
3325 2004-11-11 Richard Sandiford <rsandifo@redhat.com>
3326
3327 [BZ #758]
3328 * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
3329 preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
3330 like __NR_N32_open. Just include <asm/unistd.h> otherwise.
3331 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3332 * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
3333 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
3334 standard __NR prefix.
3335 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
3336 * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
3337 the output file is compatible with both pre-2.6 and 2.6 kernel headers.
3338 Extract separate syscall lists for each ABI.
3339
3340 2005-02-23 Ulrich Drepper <drepper@redhat.com>
3341
3342 * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
3343
3344 [BZ #719]
3345 * elf/Makefile: Run tst-tls9-static again.
3346
3347 2005-02-22 Ulrich Drepper <drepper@redhat.com>
3348
3349 [BZ #719]
3350 * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
3351 slotinfo array.
3352 (__libc_setup_tls): Initialize length of DTV based on array length.
3353 * elf/dl-load.c: Revert last change.
3354 * sysdeps/generic/dl-tls.c: Revert last change.
3355
3356 * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
3357 tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
3358 tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
3359 * posix/tst-execl1.c: New file.
3360 * posix/tst-execl2.c: New file.
3361 * posix/tst-execle1.c: New file.
3362 * posix/tst-execle2.c: New file.
3363 * posix/tst-execlp1.c: New file.
3364 * posix/tst-execlp2.c: New file.
3365 * posix/tst-execv1.c: New file.
3366 * posix/tst-execv2.c: New file.
3367 * posix/tst-execve1.c: New file.
3368 * posix/tst-execve2.c: New file.
3369 * posix/tst-execvp1.c: New file.
3370 * posix/tst-execvp2.c: New file.
3371
3372 2005-02-22 Roland McGrath <roland@redhat.com>
3373
3374 * include/signal.h: Revert last change.
3375 (__sigemptyset): Use __builtin_memset instead of memset.
3376
3377 2005-02-22 Ulrich Drepper <drepper@redhat.com>
3378
3379 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
3380 non-cancelable I/O functions.
3381
3382 2005-02-22 Jakub Jelinek <jakub@redhat.com>
3383
3384 [BZ #769]
3385 * nscd/nscd-client.h: Include sys/uio.h.
3386 (__readall, __readvall, writeall): New prototypes.
3387 * nscd/connections.c (writeall): New function.
3388 (handle_request): Use it.
3389 * nscd/aicache.c (addhstaiX): Likewise.
3390 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3391 * nscd/hstcache.c (cache_addhst): Likewise.
3392 * nscd/grpcache.c (cache_addgr): Likewise.
3393 * nscd/pwdcache.c (cache_addpw): Likewise.
3394 * nscd/nscd_helper.c (__readall, __readvall): New functions.
3395 * nscd/nscd_getai.c (__nscd_getai): Use them.
3396 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
3397 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
3398 * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
3399 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3400
3401 2005-02-22 Roland McGrath <roland@redhat.com>
3402
3403 * include/sys/socket.h: Declare __recv.
3404 * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
3405 * sysdeps/mach/hurd/recv.c: Likewise.
3406
3407 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
3408 __backtrace_* decls.
3409
3410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3411 (INTERNAL_SYSCALL_ERROR_P): Evalute VAL. Parenthesize ERR.
3412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3413
3414 * include/signal.h: Include <string.h> for memset decl.
3415
3416 2005-02-22 Andreas Schwab <schwab@suse.de>
3417
3418 * posix/execvp.c (execvp): Fix invalid free.
3419
3420 2005-02-22 Jakub Jelinek <jakub@redhat.com>
3421
3422 [BZ #1095]
3423 * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
3424 * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
3425 librpcsvc.a objects.
3426
3427 2005-02-21 Ulrich Drepper <drepper@redhat.com>
3428
3429 [BZ #1107]
3430 * iconvdata/ibm930.h: Correct Yen mapping.
3431 * iconvdata/ibm939.h: Likewise.
3432 * iconvdata/testdata/IBM930..UTF8: Adjust test data.
3433 * iconvdata/testdata/IBM939..UTF8: Likewise.
3434 Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
3435
3436 * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
3437 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
3438 (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
3439 ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
3440 ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
3441 ibm1158.c, and ibm1158.h.
3442 * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
3443 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
3444 * iconvdata/gconv-modules: Likewise.
3445 * iconvdata/ibm1025.c: New file.
3446 * iconvdata/ibm1025.h: New file.
3447 * iconvdata/ibm1122.c: New file.
3448 * iconvdata/ibm1122.h: New file.
3449 * iconvdata/ibm1137.c: New file.
3450 * iconvdata/ibm1137.h: New file.
3451 * iconvdata/ibm1153.c: New file.
3452 * iconvdata/ibm1153.h: New file.
3453 * iconvdata/ibm1154.c: New file.
3454 * iconvdata/ibm1154.h: New file.
3455 * iconvdata/ibm1155.c: New file.
3456 * iconvdata/ibm1155.h: New file.
3457 * iconvdata/ibm1156.c: New file.
3458 * iconvdata/ibm1156.h: New file.
3459 * iconvdata/ibm1157.c: New file.
3460 * iconvdata/ibm1157.h: New file.
3461 * iconvdata/ibm1158.c: New file.
3462 * iconvdata/ibm1158.h: New file.
3463 * iconvdata/testdata/IBM1025: New file.
3464 * iconvdata/testdata/IBM1025..UTF8: New file.
3465 * iconvdata/testdata/IBM1122: New file.
3466 * iconvdata/testdata/IBM1122..UTF8: New file.
3467 * iconvdata/testdata/IBM1137: New file.
3468 * iconvdata/testdata/IBM1137..UTF8: New file.
3469 * iconvdata/testdata/IBM1153: New file.
3470 * iconvdata/testdata/IBM1153..UTF8: New file.
3471 * iconvdata/testdata/IBM1154: New file.
3472 * iconvdata/testdata/IBM1154..UTF8: New file.
3473 * iconvdata/testdata/IBM1155: New file.
3474 * iconvdata/testdata/IBM1155..UTF8: New file.
3475 * iconvdata/testdata/IBM1156: New file.
3476 * iconvdata/testdata/IBM1156..UTF8: New file.
3477 * iconvdata/testdata/IBM1157: New file.
3478 * iconvdata/testdata/IBM1157..UTF8: New file.
3479 * iconvdata/testdata/IBM1158: New file.
3480 * iconvdata/testdata/IBM1158..UTF8: New file.
3481 Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
3482
3483 2005-02-10 Paolo Bonzini <bonzini@gnu.org>
3484
3485 * posix/regcomp.c (lower_subexp): Do not optimize empty
3486 subexpressions even with REG_NOSUB.
3487 * posix/rxspencer/tests: Add a previously failing testcase.
3488
3489 2005-02-21 Alan Modra <amodra@bigpond.net.au>
3490
3491 [BZ #719]
3492 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
3493 array index is within bounds.
3494
3495 2005-02-21 Ulrich Drepper <drepper@redhat.com>
3496
3497 [BZ #719]
3498 * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
3499 linked code.
3500 * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
3501 * elf/Makefile: Remove rules to build and run tst-tls9-static.
3502
3503 [BZ #719]
3504 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
3505 THREAD_DTV multiple times, this minimally reduces code size on
3506 some archs.
3507
3508 2005-02-21 Jakub Jelinek <jakub@redhat.com>
3509
3510 [BZ #768]
3511 * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
3512 NETDB_INTERNAL if buffer is too small.
3513
3514 [BZ #768]
3515 * nscd/hstcache.c (INCR): Remove.
3516 (addhstbyX): Double buflen in each iteration rather than add INCR.
3517 * nscd/grpcache.c: Likewise.
3518 * nscd/pwdcache.c: Likewise.
3519
3520 2005-02-21 Ulrich Drepper <drepper@redhat.com>
3521
3522 * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
3523 map if requested.
3524 * debug/chk_fail.c: Request backtrace and memory map dump.
3525
3526 * Versions.def: Add GLIBC_2.4 for libc.
3527 * debug/fgets_chk.c: New file.
3528 * debug/fgets_u_chk.c: New file.
3529 * debug/getcwd_chk.c: New file.
3530 * debug/getwd_chk.c: New file.
3531 * debug/readlink_chk.c: New file.
3532 * debug/read_chk.c: New file.
3533 * debug/pread_chk.c: New file.
3534 * debug/pread64_chk.c: New file.
3535 * debug/recv_chk.c: New file.
3536 * debug/recvfrom_chk.c: New file.
3537 * debug/Versions: Add all new functions with version GLIBC_2.4.
3538 * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
3539 pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
3540 getwd_chk, and getcwd_chk. Plus appropriate CFLAGS definitions.
3541 * debug/tst-chk1.c: Add more tests.
3542 * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
3543 * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
3544 * posix/unistd.h: Include <bits/unistd.h> for fortification.
3545 * posix/bits/unistd.h: New file.
3546 * posix/Makefile (headers): Add bits/unistd.h.
3547 * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
3548 * socket/bits/socket2.h: New file.
3549 * socket/Makefile (headers): Add bits/socket2.h.
3550
3551 * string/bits/string3.h: Extend memset macro to check for zero 3rd
3552 parameter and use __memset_zero_constant_len_parameter in that case.
3553 * sysdeps/generic/memset_chk.c: Add
3554 __memset_zero_constant_len_parameter alias and linker warning.
3555 * debug/Versions: Add __memset_zero_constant_len_parameter to libc
3556 with version GLIBC_2.4.
3557
3558 * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
3559 in __STD_TYPE definition.
3560
3561 2005-02-21 Jakub Jelinek <jakub@redhat.com>
3562
3563 * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
3564 the error message rather than program name.
3565
3566 2005-02-21 Ulrich Drepper <drepper@redhat.com>
3567
3568 [BZ #767]
3569 * posix/unistd.h: symlink and readlink are unconditionally
3570 available in the 2001 spec.
3571
3572 2005-02-16 Roland McGrath <roland@redhat.com>
3573
3574 * intl/dcigettext.c (_nl_find_msg): Add a cast.
3575
3576 * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
3577 * nis/nis_clone_obj.c (nis_clone_object): Likewise.
3578 * nis/nis_clone_res.c (nis_clone_result): Likewise.
3579
3580 * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
3581 for END_OF_MESSAGE and CP.
3582
3583 * resolv/res_send.c (send_dg): Add else branch for case impossible
3584 unless `poll' is buggy.
3585
3586 * crypt/crypt_util.c (__setkey_r): Add a cast.
3587
3588 * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
3589 NBYTES, and unsigned char * for BYTES.
3590
3591 * locale/programs/charmap.c (charmap_new_char): Use size_t and
3592 unsighed char * for NBYTES, BYTES parameters.
3593
3594 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
3595 and cast it.
3596 * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
3597
3598 * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
3599
3600 * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
3601
3602 * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
3603 (authdes_marshal): Don't use unsigned int for LEN.
3604 * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
3605 (xdr_u_hyper): Likewise.
3606 (xdr_u_short): Don't use u_long for L.
3607 * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
3608
3609 * inet/rexec.c (rexec_af): Use socklen_t.
3610 * sunrpc/key_call.c (getkeyserv_handle): Likewise.
3611 * sunrpc/rtime.c (rtime): Likewise.
3612 * resolv/res_send.c (send_vc, send_dg): Likewise.
3613 * nis/nis_callback.c (__nis_create_callback): Likewise.
3614
3615 * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
3616
3617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
3618
3619 * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
3620
3621 * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
3622 (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
3623 (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
3624 * intl/bindtextdom.c (INTUSE): Macro removed.
3625 (_nl_default_dirname): Use libc_hidden_proto.
3626 (set_binding_values): Don't use INTUSE.
3627 * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
3628 (_libc_intl_domainname): Use libc_hidden_proto.
3629 * posix/regex_internal.h (gettext): Remove INTUSE on it.
3630 * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
3631 rather than INTDEF.
3632 * include/libintl.h (_): Don't use *_internal name.
3633
3634 * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
3635 not uint32_t.
3636 * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
3637
3638 * iconv/gconv_open.c (__gconv_open): Remove useless cast.
3639
3640 [BZ #721]
3641 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
3642 of [RESOLVE_MAP].
3643 * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
3644 * sysdeps/powerpc/powerpc32/dl-machine.h
3645 (elf_machine_rel, elf_machine_rel_relative): Removed.
3646 * sysdeps/powerpc/powerpc64/dl-machine.h
3647 (elf_machine_rel, elf_machine_rel_relative): Removed.
3648
3649 2005-02-03 Alexandre Oliva <aoliva@redhat.com>
3650
3651 [BZ #721]
3652 * elf/dynamic-link.h: Don't declare nested auto functions that are
3653 not going to be defined.
3654
3655 2004-07-23 Jakub Jelinek <jakub@redhat.com>
3656
3657 [BZ #284]
3658 * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
3659 if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
3660
3661 2005-02-16 Roland McGrath <roland@redhat.com>
3662
3663 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
3664 inside [! SHARED] where it's used.
3665
3666 2005-02-15 Ulrich Drepper <drepper@redhat.com>
3667
3668 * sysdeps/generic/bits/byteswap.h: Make sure result of all the
3669 functions and macros is unsigned.
3670
3671 2005-02-11 Barry deFrese <bddebian@comcast.net>
3672
3673 [BZ #722]
3674 * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
3675 * sysdeps/mach/hurd/setresuid.c: Likewise.
3676
3677 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
3678
3679 * misc/sys/syslog.h: Fix typo in comment.
3680
3681 2005-02-14 Roland McGrath <roland@redhat.com>
3682
3683 [BZ #720]
3684 * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
3685 if it wasn't originally.
3686
3687 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
3688
3689 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
3690 getpeername entry.
3691 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3692 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3693
3694 2005-02-11 Jakub Jelinek <jakub@redhat.com>
3695
3696 * scripts/soversions.awk: Only record first WORDSIZE{32,64}
3697 matching line.
3698
3699 2005-02-14 Alan Modra <amodra@bigpond.net.au>
3700
3701 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
3702 with auto inline, and attribute always_inline.
3703 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
3704 (elf_machine_rel, elf_machine_rel_relative): Likewise.
3705 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3706 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
3707 (elf_machine_rel, elf_machine_rel_relative): Likewise.
3708 (elf_machine_tprel): Likewise.
3709
3710 2005-02-14 Andreas Schwab <schwab@suse.de>
3711
3712 * manual/filesys.texi (Random Access Directory): Fix type of file
3713 position value for telldir and seekdir.
3714 (Attribute Meanings): Fix typo.
3715
3716 2005-02-14 H.J. Lu <hongjiu.lu@intel.com>
3717
3718 * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
3719 isn't defined.
3720 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
3721 if SHARED isn't defined.
3722 * elf/Makefile (tests-static): Add tst-array1-static.
3723 ($(objpfx)tst-array1-static.out): New target.
3724 * elf/tst-array1-static.c: New file.
3725
3726 2005-02-11 Jakub Jelinek <jakub@redhat.com>
3727
3728 [BZ #1100]
3729 * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
3730 __libc_message to kill GCC warning about noreturn function returning.
3731
3732 * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
3733 before relocating ld.so again.
3734
3735 * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
3736 for already prelinked ld.so.
3737
3738 2005-02-11 Roland McGrath <roland@redhat.com>
3739
3740 [BZ #715]
3741 * Makefile (installed-stubs): New variable.
3742 Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
3743 or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
3744 [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
3745 ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
3746 rule's target.
3747 ($(inst_includedir)/gnu/stubs.h): New target, install from ...
3748 * include/stubs-biarch.h: New file.
3749
3750 * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
3751
3752 * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
3753 Emit defn for variable `biarch'.
3754
3755 * include/stub-tag.h: Update comment.
3756
3757 * scripts/soversions.awk: Fix default version set handling.
3758
3759 2005-02-10 Roland McGrath <roland@redhat.com>
3760
3761 [BZ #157]
3762 * include/libc-symbols.h (stub_warning): Emit a marker section called
3763 .gnu.glibc-stub.NAME.
3764 * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
3765 Use objdump to collect those marker section names.
3766 ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
3767
3768 * Rules (subdir_objs, subdir_stubs): New phony targets.
3769 * Makefile (+subdir_targets): Add them.
3770
3771 * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
3772 soversions.i.
3773
3774 * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
3775 Reported by H.J. Lu <hongjiu.lu@intel.com>.
3776
3777 * scripts/lib-names.awk: Always print WORDSIZE32 section first when
3778 doing two.
3779
3780 2005-02-10 Jakub Jelinek <jakub@redhat.com>
3781
3782 * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
3783 * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
3784 * sysdeps/powerpc/bits/link.h: ... here. New file.
3785
3786 2005-02-09 Jakub Jelinek <jakub@redhat.com>
3787
3788 [BZ #710]
3789 * stdlib/random_r.c (__initstate_r): Save old state.
3790 * stdlib/Makefile (tests): Add tst-random2.
3791 * stdlib/tst-random2.c: New test.
3792 Reported by Peter Bergner <bergner@vnet.ibm.com>.
3793
3794 2005-01-25 H.J. Lu <hongjiu.lu@intel.com>
3795
3796 * dlfcn/dlfcn.c (init): Put it in .init_array section.
3797
3798 2005-02-10 Roland McGrath <roland@redhat.com>
3799
3800 [BZ #632]
3801 * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
3802 from command line.
3803 Grok shlib-versions lines with WORDSIZE* in second column.
3804 Add new leading column to output, DEFAULT for existing output lines.
3805 Also emit lines with WORDSIZE* for alternate configurations.
3806 * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
3807 ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
3808 ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
3809 of soversions.mk; replace inline shell script with use of ...
3810 * scripts/lib-names.awk: New file. If input has non-DEFAULT lines,
3811 emit multiple sets of macros under #if.
3812 * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
3813 (s390x-.*-.*): Likewise for s390.
3814 (powerpc64-.*-.*): Likewise for powerpc.
3815 (sparc64-.*-.*): Likewise for sparc.
3816 (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
3817 for these mapping back to the above.
3818
3819 2005-02-08 Jakub Jelinek <jakub@redhat.com>
3820
3821 * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
3822
3823 2005-02-08 Andreas Schwab <schwab@suse.de>
3824
3825 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
3826 RESOLVE.
3827
3828 2005-02-07 Richard Henderson <rth@redhat.com>
3829
3830 * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
3831
3832 2005-02-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3833
3834 * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
3835 RESOLVE.
3836
3837 2005-02-07 Ulrich Drepper <drepper@redhat.com>
3838
3839 * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
3840 set correctly.
3841
3842 2005-01-07 Richard Henderson <rth@redhat.com>
3843
3844 * math/math_private.h (__copysign): Define as builtin for gcc 4.
3845 (__copysignf, __copysignl): Likewise.
3846 * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
3847 for gcc 4.0.
3848 (copysignf, copysignl, fabsf, fabs): Likewise.
3849 (__copysign, __copysignf, __copysignl): Remove.
3850 (__fabs, __fabsf): Remove.
3851
3852 2005-01-07 Jakub Jelinek <jakub@redhat.com>
3853
3854 [BZ #738]
3855 * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
3856 avoid writing to it if none of the standard search directories exist.
3857
3858 2005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
3859
3860 [BZ #700]
3861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3862 (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
3863 Load MSR as a doubleword.
3864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3865 (__novec_swapcontext, __swapcontext): Likewise.
3866
3867 2005-02-07 Ulrich Drepper <drepper@redhat.com>
3868
3869 * iconv/iconv_prog.c (main): Provide more help in case on an error.
3870
3871 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
3872
3873 2005-02-07 Jakub Jelinek <jakub@redhat.com>
3874
3875 [BZ #741]
3876 * nscd/nscd.c (termination_handler): Avoid segfault if some database
3877 is not enabled.
3878
3879 [BZ #741]
3880 * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
3881 __nss_not_use_nscd_hosts and return -1.
3882 * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
3883 initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
3884 Avoid leaking sockets.
3885
3886 2005-01-28 Andreas Schwab <schwab@suse.de>
3887 H.J. Lu <hongjiu.lu@intel.com>
3888
3889 [BZ #677]
3890 * elf/dl-runtime.c (fixup): Change return type to
3891 DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
3892 DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
3893 values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
3894 store and retrieve relocation values.
3895 (profile_fixup): Likewise.
3896 * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
3897 l_reloc_result.
3898 * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
3899 * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
3900 (DL_FIXUP_MAKE_VALUE): Likewise.
3901 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
3902 (DL_FIXUP_VALUE_ADDR): Likewise.
3903 (DL_FIXUP_ADDR_VALUE): Likewise.
3904 * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
3905 (DL_FIXUP_VALUE_TYPE): New.
3906 (DL_FIXUP_MAKE_VALUE): Likewise.
3907 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
3908 (DL_FIXUP_VALUE_ADDR): Likewise.
3909 (DL_FIXUP_ADDR_VALUE): Likewise.
3910 * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
3911 (elf_machine_profile_plt): Removed.
3912 (elf_machine_fixup_plt): Change return type and type of value
3913 parameter to struct fdesc.
3914 (elf_machine_plt_value): Likewise.
3915 (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
3916 argument for elf_machine_fixup_plt.
3917
3918 2005-02-07 Jakub Jelinek <jakub@redhat.com>
3919
3920 [BZ #742]
3921 * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
3922 after the status string printed by killproc.
3923
3924 2004-11-18 Alexandre Oliva <aoliva@redhat.com>
3925
3926 * manual/.cvsignore: Add dir-add.texi.
3927
3928 2005-02-06 Richard Henderson <rth@redhat.com>
3929
3930 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
3931 all the time.
3932
3933 2004-11-03 Marcus Brinkmann <marcus@gnu.org>
3934
3935 * configure.in (sysnames): Append sysdeps/generic for each add-on.
3936 * configure: Regenerated.
3937
3938 2005-02-02 Alfred M. Szmidt <ams@gnu.org>
3939
3940 * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
3941 (dtv_t): Change pointer type to be a struct which also contains
3942 information whether the memory pointed to is static TLS or not.
3943
3944 * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
3945
3946 * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
3947 (FALSEP): ... this. Updated all references.
3948
3949 [BZ #765]
3950 * libio/fmemopen.c: Include <stdint.h>.
3951
3952 2005-01-30 Ulrich Drepper <drepper@redhat.com>
3953
3954 [BZ #1103]
3955 * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
3956 * nscd/connections.c (send_ro_fd): Likewise.
3957
3958 2005-01-28 H.J. Lu <hongjiu.lu@intel.com>
3959
3960 * elf/tst-auditmod1.c: Add ia64 entries.
3961 * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
3962 (La_ia64_retval): New.
3963 (audit_ifaces): Add ia64 entries.
3964 * sysdeps/ia64/bits/link.h: New file.
3965 * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
3966 for dl_profile non-null.
3967 (ARCH_LA_PLTENTER): New.
3968 (ARCH_LA_PLTEXIT): New.
3969 * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
3970 only 2 output registers. Allocate stack to save/restore
3971 8 incoming fp registers. Call _dl_fixup instead of fixup.
3972 (_dl_runtime_profile): Rewrite.
3973
3974 2005-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
3975
3976 * sysdeps/s390/bits/link.h: New file.
3977 * sysdeps/s390/s390-32/dl-trampoline.S: New file.
3978 * sysdeps/s390/s390-64/dl-trampoline.S: New file.
3979 * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
3980 dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
3981 relocation code.
3982 (elf_machine_runtime_setup): Test for dl_profile non-null.
3983 (elf_machine_rela): Remove code using RESOLVE.
3984 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
3985 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3986 * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
3987 La_s390_64_regs, La_s390_64_retval): New.
3988 * elf/tst-auditmod1.c: Add s390 entries.
3989
3990 [BZ #743]
3991 * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
3992 strncat, memchr, strcmp): Add missing memory clobber.
3993
3994 2005-01-27 Ulrich Drepper <drepper@redhat.com>
3995
3996 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
3997 copy gl_offs. Patch by Sergey Tikhonov <tsv@solvo.ru>.
3998
3999 2005-01-27 Paolo Bonzini <bonzini@gnu.org>
4000
4001 [BZ #558]
4002 * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
4003 Initialize the node sets in dfa->inveclosures.
4004 (analyze): Initialize inveclosures only if it is needed.
4005 Check errors from calc_inveclosure.
4006 * posix/regex_internal.c (re_dfa_add_node): Do not initialize
4007 the inveclosure node set.
4008 * posix/regexec.c (re_search_internal): If nmatch includes unused
4009 subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
4010
4011 * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
4012 Do build a SIMPLE_BRACKET token.
4013
4014 * posix/regexec.c (transit_state_mb): Do not examine nodes
4015 where ACCEPT_MB is not set.
4016
4017 2005-01-27 Jakub Jelinek <jakub@redhat.com>
4018
4019 * stdlib/tst-fmtmsg.c: Include stdlib.h.
4020 * stdio-common/tst-fmemopen2.c: Include string.h.
4021 * posix/execvp.c: Include stdbool.h.
4022
4023 2004-12-13 Paolo Bonzini <bonzini@gnu.org>
4024
4025 Separate parsing and creation of the NFA. Avoided recursion on
4026 the (very unbalanced) parse tree.
4027 [BZ #611]
4028 * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
4029 re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
4030 (optimize_subexps, duplicate_tree, calc_first, calc_next,
4031 mark_opt_subexp): Rewritten.
4032 (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
4033 create_token_tree, free_tree, free_token): New.
4034 (analyze): Accept a regex_t *. Invoke the passes via the preorder and
4035 postorder generic visitors. Do not initialize the fields in the
4036 re_dfa_t that represent the transitions.
4037 (free_dfa_content): Use free_token.
4038 (re_compile_internal): Analyze before UTF-8 optimizations. Do not
4039 include optimization of subexpressions.
4040 (create_initial_state): Fetch the DFA node index from the first node's
4041 bin_tree_t *.
4042 (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
4043 Return on COMPLEX_BRACKET.
4044 (duplicate_node_closure): Fix comment.
4045 (duplicate_node): Do not initialize the fields in the
4046 re_dfa_t that represent the transitions.
4047 (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
4048 (create_tree): Remove final argument. All callers adjusted. Rewritten
4049 to use create_token_tree.
4050 (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
4051 build_charclass_op): Use create_tree or create_token_tree instead
4052 of re_dfa_add_tree_node.
4053 (parse_dup_op): Likewise. Also free the tree using free_tree for
4054 "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
4055 to "a|". Adjust invocation of mark_opt_subexp.
4056 (parse_sub_exp): Create a single SUBEXP node.
4057 * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
4058 always perform as if it was 1. Do not initialize OPT_SUBEXP and
4059 DUPLICATED, and initialize the DFA fields representing the transitions.
4060 * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
4061 (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
4062 section. Add a tree-only code SUBEXP. Remove OP_DELETED_SUBEXP.
4063 (bin_tree_t): Include a full re_token_t for TOKEN. Turn FIRST and
4064 NEXT into pointers to trees. Remove ECLOSURE.
4065
4066 2004-12-28 Paolo Bonzini <bonzini@gnu.org >
4067
4068 [BZ #605]
4069 * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
4070 that were already created.
4071 * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
4072 in the token if needed.
4073 (create_ci_newstate, create_cd_newstate): Set accept_mb field
4074 from the tokens' field.
4075 * posix/regex_internal.h (re_token_t): Add accept_mb field.
4076 (ACCEPT_MB_NODE): Removed.
4077 * posix/regexec.c (proceed_next_node, transit_states_mb,
4078 build_sifted_states, check_arrival_add_next_nodes): Use
4079 accept_mb instead of ACCEPT_MB_NODE.
4080
4081 2005-01-26 Ulrich Drepper <drepper@redhat.com>
4082
4083 [BZ #1100]
4084 * debug/chk_fail.c (__chk_fail): Print program name in final message.
4085
4086 * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
4087 MSG_NOSIGNAL being in 2.2 kernels.
4088
4089 2005-01-26 Jakub Jelinek <jakub@redhat.com>
4090
4091 * sysdeps/unix/sysv/linux/i386/sysdep.h
4092 (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
4093
4094 [BZ #693]
4095 * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
4096 (WORD_DELIM_CONSTRAINT): ...this.
4097 (NOT_WORD_DELIM_CONSTRAINT): Define.
4098 (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
4099 change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
4100 * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
4101 anchor instead of INSIDE_WORD.
4102 (parse_expression): Handle NOT_WORD_DELIM constraint.
4103 * posix/bug-regex19.c (tests): Adjust tests that relied on \B
4104 being inside word instead of not word delim.
4105 * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
4106 characters.
4107 * posix/rxspencer/tests: Add some new tests.
4108
4109 2005-01-14 GOTO Masanori <gotom@debian.or.jp>
4110
4111 [BZ #1108]
4112 * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
4113 irrespective of Cflag.
4114
4115 * manual/memory.texi (sbrk): Fix definition.
4116 * manual/string.texi (strcasestr): Fix example typo.
4117
4118 2005-01-25 Roland McGrath <roland@redhat.com>
4119
4120 * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
4121
4122 2005-01-23 Roland McGrath <roland@redhat.com>
4123
4124 [BZ #737]
4125 * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
4126 in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
4127 * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
4128 (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
4129 from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
4130 * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
4131
4132 2005-01-25 Jakub Jelinek <jakub@redhat.com>
4133
4134 [BZ #731]
4135 * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
4136 (free_mem): Don't free string.
4137 * stdlib/tst-fmtmsg.c: Include string.h.
4138 (main): Add some more tests.
4139
4140 2005-01-25 Andreas Schwab <schwab@suse.de>
4141
4142 [BZ #736]
4143 * timezone/asia: Update from tzdata2005c.
4144 * timezone/backward: Likewise.
4145 * timezone/europe: Likewise.
4146 * timezone/leapseconds: Likewise.
4147 * timezone/northamerica: Likewise.
4148 * timezone/southamerica: Likewise.
4149
4150 [BZ #736]
4151 * timezone/private.h: Update from tzcode2005c.
4152 * timezone/tzfile.h: Likewise.
4153 * timezone/zdump.c: Likewise.
4154 * timezone/zic.c: Likewise.
4155
4156 2005-01-25 Ulrich Drepper <drepper@redhat.com>
4157
4158 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
4159 RESOLVE.
4160 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
4161 using RESOLVE.
4162 * elf/rtld.c (_dl_start): Remove RESOLVE definition.
4163
4164 2005-01-25 Alan Modra <amodra@bigpond.net.au>
4165
4166 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
4167 sym_map, not sym, against zero.
4168
4169 2005-01-24 Ulrich Drepper <drepper@redhat.com>
4170
4171 [BZ #671]
4172 * misc/syslog.c: Moved to...
4173 * sysdeps/generic/syslog.c: ...here.
4174 [NO_SIGIPE]: Don't install SIGPIPE handler.
4175 * sysdeps/unix/sysv/linux/syslog.c: New file.
4176 * sysdeps/unix/sysv/linux/kernel-features.h: Define
4177 __ASSUME_MSG_NOSIGNAL.
4178
4179 2005-01-22 Richard Henderson <rth@redhat.com>
4180
4181 * sysdeps/alpha/dl-trampoline.S: New file.
4182 * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
4183 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
4184 (elf_machine_runtime_setup): Test for dl_profile non-null.
4185 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
4186 * sysdeps/alpha/bits/link.h: New file.
4187 * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
4188 (struct audit_ifaces): Add alpha entries.
4189 * elf/tst-auditmod1.c: Add alpha entries.
4190
4191 2005-01-22 Ulrich Drepper <drepper@redhat.com>
4192
4193 * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
4194 * sysdeps/ia64/dl-trampoline.S: New file.
4195
4196 * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
4197 La_x86_64_xmm definition.
4198
4199 * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
4200 pointer option.
4201 * stdlib/Makefile (CFLAGS-system.os): Use this instead of
4202 CFLAGS-system.c for frame pointer option.
4203
4204 2005-01-21 Roland McGrath <roland@redhat.com>
4205
4206 * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
4207 * sysdeps/i386/dl-machine.h: Update decl.
4208
4209 2005-01-21 Jakub Jelinek <jakub@redhat.com>
4210
4211 [BZ #735]
4212 * elf/Makefile: Add rules to build and run tst-align2.
4213 * elf/tst-align2.c: New test.
4214 * elf/tst-alignmod2.c: New file.
4215 * sysdeps/powerpc/tst-stack-align.h: New file.
4216 * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
4217 pointer before calling _dl_init.
4218 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4219
4220 2005-01-20 Ulrich Drepper <drepper@redhat.com>
4221
4222 * posix/execl.c: Do not allocate potentially large buffers on the
4223 stack.
4224 * posix/execle.c: Likewise.
4225 * posix/execlp.c: Likewise.
4226 * posix/execvp.c: Likewise.
4227 (script_execute): Removed.
4228 (allocate_scripts_argv): New function. Called at most once to
4229 allocate memory, not every time a script is run. Adjust caller.
4230
4231 * sysdeps/generic/wordexp.c (exec_comm): Add a few
4232 TEMP_FAILURE_RETRY. Reorganize code to avoid multiple calls to
4233 exec_comm_child.
4234 (exec_comm_child): Can now be inlined.
4235
4236 * posix/Makefile: Add -fomit-frame-pointer for a few more files.
4237 * stdlib/Makefile: Likewise.
4238
4239 2005-01-19 Roland McGrath <roland@redhat.com>
4240
4241 [BZ #681]
4242 * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
4243 argument to execlp.
4244 Reported by Marcus Meissner <meissner@suse.de>.
4245
4246 2005-01-19 Jakub Jelinek <jakub@redhat.com>
4247
4248 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
4249 in assert.
4250 * iconv/strtab.c (strtabfinalize): Likewise.
4251
4252 * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
4253
4254 2005-01-17 Roland McGrath <roland@redhat.com>
4255
4256 [BZ #745]
4257 * nscd/Makefile (LDLIBS-nscd): New variable.
4258 ($(objpfx)nscd): Use that instead of selinux-LIBS.
4259
4260 * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
4261 (link-extra-libs-static): Define to $(link-extra-libs).
4262 (link-extra-libs-bounded): Likewise.
4263
4264 2005-01-17 Ulrich Drepper <drepper@redhat.com>
4265
4266 * include/link.h: Remove stray definition of pltenter.
4267
4268 2005-01-16 GOTO Masanori <gotom@debian.or.jp>
4269
4270 [BZ #734]
4271 * sysdeps/unix/rewinddir.c: Reset filepos.
4272 * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
4273
4274 2005-01-15 Ulrich Drepper <drepper@redhat.com>
4275
4276 * elf/tst-auditmod1.c: Reduce duplication.
4277
4278 2005-01-16 Andreas Schwab <schwab@suse.de>
4279
4280 * sysdeps/m68k/dl-machine.h: Remove trampoline code. Define
4281 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
4282 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
4283 GLRO(dl_profile) != NULL.
4284 * sysdeps/m68k/dl-trampoline.S: New file.
4285 * sysdeps/m68k/bits/link.h: New file.
4286 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
4287 variants.
4288 * elf/tst-auditmod1.c: Add m68k support.
4289
4290 2005-01-14 Ulrich Drepper <drepper@redhat.com>
4291
4292 * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
4293 LC_* variable. Patch by Aharon Robbins <arnold@skeeve.com>.
4294
4295 [BZ #731]
4296 * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
4297 * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
4298
4299 2005-01-12 Ulrich Drepper <drepper@redhat.com>
4300
4301 * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
4302 callers from libc anymore.
4303
4304 * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
4305 to _dl_map_object_deps.
4306 * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
4307 protections when loading auditing modules.
4308
4309 * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
4310
4311 * posix/getconf.c: Update copyright year.
4312 * nss/getent.c: Likewise.
4313 * nscd/nscd_nischeck.c: Likewise.
4314 * iconv/iconvconfig.c: Likewise.
4315 * iconv/iconv_prog.c: Likewise.
4316 * elf/ldconfig.c: Likewise.
4317 * catgets/gencat.c: Likewise.
4318 * csu/version.c: Likewise.
4319 * elf/ldd.bash.in: Likewise.
4320 * elf/sprof.c (print_version): Likewise.
4321 * locale/programs/locale.c: Likewise.
4322 * locale/programs/localedef.c: Likewise.
4323 * nscd/nscd.c (print_version): Likewise.
4324 * debug/xtrace.sh: Likewise.
4325 * malloc/memusage.sh: Likewise.
4326 * malloc/mtrace.pl: Likewise.
4327 * debug/catchsegv.sh: Likewise.
4328
4329 2005-01-11 Thorsten Kukuk <kukuk@suse.de>
4330
4331 [BZ #733]
4332 * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
4333 as backlog.
4334 * sunrpc/svc_unix.c (svcunix_create): Likewise.
4335
4336 [BZ #1099]
4337 * grp/putgrent.c (putgrent): Don't write 0 as group
4338 ID if groupname starts with + or -.
4339 * pwd/putpwent.c (putpwent): Don't write 0 as user or
4340 group ID if user name starts with + or -.
4341
4342 2005-01-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4343
4344 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
4345 * sysdeps/elf/tst-auditmod1.c: Add sh support.
4346 * sysdeps/sh/bits/link.h: New.
4347 * sysdeps/sh/dl-machine.h: Remove trampoline code here. Define
4348 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. Remove obsolete comments.
4349 (RTLD_START): Define __fpscr_values.
4350 * sysdeps/sh/dl-trampoline.S: New file.
4351 * sysdeps/sh/sh4/dl-trampoline.S: New file.
4352 * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
4353 * sysdeps/sh/sh4/dl-machine.h: Remove.
4354
4355 2005-01-10 Jakub Jelinek <jakub@redhat.com>
4356
4357 [BZ #732]
4358 * time/tst-strptime.c (day_tests): Add 2 new tests.
4359 (test_tm, main): Issue an error instead of segfaulting if
4360 strptime returns NULL.
4361
4362 2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
4363
4364 * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
4365 * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
4366
4367 2005-01-11 Ulrich Drepper <drepper@redhat.com>
4368
4369 * malloc/malloc.h: Remove no-glibc support.
4370
4371 2005-01-12 GOTO Masanori <gotom@debian.or.jp>
4372
4373 [BZ #650]
4374 * malloc/malloc.h: Always include features.h.
4375
4376 2005-01-10 Roland McGrath <roland@redhat.com>
4377
4378 * sysdeps/ia64/fpu/e_logl.c: File removed.
4379
4380 * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
4381
4382 2005-01-10 Ulrich Drepper <drepper@redhat.com>
4383
4384 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
4385 recognition of last entry.
4386
4387 2005-01-09 Ulrich Drepper <drepper@redhat.com>
4388
4389 * elf/dl-runtime.c: Include <sys/param.h>.
4390
4391 * elf/Makefile (headers): Add bits/link.h.
4392
4393 2005-01-09 Andreas Schwab <schwab@suse.de>
4394
4395 * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
4396
4397 2005-01-09 Andreas Jaeger <aj@suse.de>
4398
4399 [BZ #732]
4400 * time/strptime_l.c (__strptime_internal): Add braces to avoid
4401 warning.
4402
4403 * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
4404
4405 * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
4406
4407 2005-01-08 Jakub Jelinek <jakub@redhat.com>
4408
4409 * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
4410
4411 2005-01-09 Ulrich Drepper <drepper@redhat.com>
4412
4413 * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
4414 those of all the regular objects.
4415
4416 * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
4417 use it to select the r_debug structure for that namespace.
4418 * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
4419 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4420 * elf/dl-open.c (_dl_open): Likewise.
4421 * elf/rtld.c (dl_main): Likewise.
4422 * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
4423 member.
4424 (_dl_debug_initialize): Add new parameter in declaration.
4425
4426 * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
4427 called for the auditing objects themselves.
4428 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4429
4430 2005-01-07 Ulrich Drepper <drepper@redhat.com>
4431
4432 * sysdeps/powerpc/powerpc64/dl-machine.h
4433 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
4434 GLRO(dl_profile) != NULL.
4435 * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
4436 padding.
4437 * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
4438 Extend _dl_prof_resolve to add pass extra parameters to
4439 _dl_profile_fixup and set up structure with register content.
4440
4441 * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
4442 If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
4443 * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
4444 Extend _dl_prof_resolve to add pass extra parameters to
4445 _dl_profile_fixup and set up structure with register content.
4446 * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
4447 the register and result structures.
4448 * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
4449 in the 32-bit register and result structures.
4450
4451 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
4452
4453 * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
4454 * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
4455 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
4456 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
4457 * elf/tst-auditmod1.c: Add ppc32 support.
4458 * sysdeps/powerpc/powerpc32/bits/link.h: New file.
4459 * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
4460
4461 * malloc/malloc.c (malloc_printerr): Print program name as part of
4462 error message.
4463
4464 * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
4465 * stdlib/stdlib.h: Make realloc with
4466 __attribute_warn_unused_result__ instead of __wur.
4467 * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
4468 markers as in <stdlib.h>.
4469
4470 * libio/stdio.h: Remove __wur from rename and remove.
4471 * posix/unistd.h: Remove __wur from dup2.
4472
4473 2005-01-03 Andreas Jaeger <aj@suse.de>
4474
4475 * elf/Makefile (tests): Revert patch from 2005-01-03.
4476
4477 2005-01-07 Ulrich Drepper <drepper@redhat.com>
4478
4479 * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
4480 make __libc_init_first hidden.
4481
4482 * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
4483 l_relocated of rtld map.
4484 * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
4485 * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
4486 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
4487 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
4488 * elf/tst-auditmod1.c: Add ppc64 support.
4489 * sysdeps/powerpc/powerpc64/bits/link.h: New file.
4490
4491 2005-01-06 Roland McGrath <roland@redhat.com>
4492
4493 [BZ #633]
4494 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
4495 indicating file-name lookup errors, and return ENOSYS or EBADF instead.
4496
4497 2005-01-06 Ulrich Drepper <drepper@redhat.com>
4498
4499 * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
4500 * sysdeps/generic/libc-start.c: Don't register program destructor here.
4501
4502 * dlfcn/Makefile: Add rules to build dlfcn.c.
4503 (LDFLAGS-dl.so): Removed.
4504 * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
4505 table.
4506 * dlfcn/dlmopen.c: Likewise for _dl_open.
4507 * dlfcn/dlopen.c: Likewise.
4508 * dlfcn/dlopenold.c: Likewise.
4509 * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
4510 * elf/Makefile (routines): Remove dl-open and dl-close.
4511 (dl-routines): Add dl-open, dl-close, and dl-trampoline.
4512 Add rules to build and run tst-audit1.
4513 * elf/tst-audit1.c: New file.
4514 * elf/tst-auditmod1.c: New file.
4515 * elf/Versions [libc]: Remove _dl_open and _dl_close.
4516 * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
4517 * elf/dl-open.c: Likewise.
4518 * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
4519 signaled by nonzero parameter.
4520 * elf/dl-init.c: Fix use of r_state.
4521 * elf/dl-load.c: Likewise.
4522
4523 * elf/dl-close.c: Add auditing checkpoints.
4524 * elf/dl-open.c: Likewise.
4525 * elf/dl-fini.c: Likewise.
4526 * elf/dl-load.c: Likewise.
4527 * elf/dl-sym.c: Likewise.
4528 * sysdeps/generic/libc-start.c: Likewise.
4529 * elf/dl-object.c: Allocate memory for auditing information.
4530 * elf/dl-reloc.c: Remove RESOLV. We now always need the map.
4531 Correctly initialize slotinfo.
4532 * elf/dynamic-link.h: Adjust after removal of RESOLV.
4533 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
4534 * sysdeps/ia64/dl-lookupcfg.h: Likewise.
4535 * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
4536 * elf/dl-runtime.c (_dl_fixup): Little cleanup.
4537 (_dl_profile_fixup): New parameters to point to register struct and
4538 variable for frame size.
4539 Add auditing checkpoints.
4540 (_dl_call_pltexit): New function.
4541 Don't define trampoline code here.
4542 * elf/rtld.c: Recognize LD_AUDIT. Load modules on startup.
4543 Remove all the functions from _rtld_global_ro which only _dl_open
4544 and _dl_close needed.
4545 Add auditing checkpoints.
4546 * elf/link.h: Define symbols for auditing interfaces.
4547 * include/link.h: Likewise.
4548 * include/dlfcn.h: Define __RTLD_AUDIT.
4549 Remove prototypes for _dl_open and _dl_close.
4550 Adjust access to argc and argv in libdl.
4551 * dlfcn/dlfcn.c: New file.
4552 * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
4553 is gone.
4554 * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
4555 * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
4556 * sysdeps/i386/dl-machine.h: Remove trampoline code here.
4557 Adjust for removal of RESOLVE.
4558 * sysdeps/x86_64/dl-machine.h: Likewise.
4559 * sysdeps/generic/dl-trampoline.c: New file.
4560 * sysdeps/i386/dl-trampoline.c: New file.
4561 * sysdeps/x86_64/dl-trampoline.c: New file.
4562
4563 * sysdeps/generic/dl-tls.c: Cleanups. Fixup for dtv_t change.
4564 Fix updating of DTV.
4565 * sysdeps/generic/libc-tls.c: Likewise.
4566
4567 * sysdeps/arm/bits/link.h: Renamed to ...
4568 * sysdeps/arm/bits/linkmap.h: ...this.
4569 * sysdeps/generic/bits/link.h: Renamed to...
4570 * sysdeps/generic/bits/linkmap.h: ...this.
4571 * sysdeps/hppa/bits/link.h: Renamed to...
4572 * sysdeps/hppa/bits/linkmap.h: ...this.
4573 * sysdeps/i386/bits/link.h: Renamed to...
4574 * sysdeps/i386/bits/linkmap.h: ...this.
4575 * sysdeps/ia64/bits/link.h: Renamed to...
4576 * sysdeps/ia64/bits/linkmap.h: ...this.
4577 * sysdeps/s390/bits/link.h: Renamed to...
4578 * sysdeps/s390/bits/linkmap.h: ...this.
4579 * sysdeps/sh/bits/link.h: Renamed to...
4580 * sysdeps/sh/bits/linkmap.h: ...this.
4581 * sysdeps/x86_64/bits/link.h: Renamed to...
4582 * sysdeps/x86_64/bits/linkmap.h: ...this.
4583
4584 * posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640]
4585
4586 2004-12-22 Steven Munroe <sjmunroe@us.ibm.com>
4587
4588 [BZ #602]
4589 * math/libm-test.inc (rint_test_tonearest): New test.
4590 (rint_test_towardzero): New test.
4591 (rint_test_downward): New test.
4592 (rint_test_upward): New test.
4593 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
4594 Remove redundant const values.
4595 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
4596 Remove redundant const values. Use float const.
4597 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
4598 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
4599 Use float const.
4600 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
4601 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
4602 Use float const.
4603 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
4604 Remove redundant const values.
4605 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
4606 Remove redundant const values. Use float const.
4607 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
4608 Remove redundant const values.
4609 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
4610 Remove redundant const values. Use float const.
4611 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
4612 alignment. Fix -0.0 case. Remove redundant const values.
4613 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
4614 alignment. Fix -0.0 case. Remove redundant const values.
4615 Use float const.
4616 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
4617 alignment. Fix -0.0 case.
4618 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
4619 alignment. Fix -0.0 case. Use float const.
4620 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
4621 alignment. Fix -0.0 case.
4622 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
4623 alignment. Fix -0.0 case. Use float const.
4624 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
4625 alignment. Fix -0.0 case. Remove redundant const values.
4626 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
4627 alignment. Fix -0.0 case. Remove redundant const values.
4628 Use float const.
4629 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
4630 alignment. Fix -0.0 case.
4631 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
4632 alignment. Fix -0.0 case. Remove redundant const values.
4633 Use float const.
4634
4635 2005-01-06 Ulrich Drepper <drepper@redhat.com>
4636
4637 * misc/sys/cdefs.h: Define __wur.
4638 * libio/stdio.h: Use __wur for a number of interfaces.
4639 * posix/unistd.h: Likewise.
4640 * stdlib/stdlib.h: Likewise.
4641
4642 2004-12-29 Jakub Jelinek <jakub@redhat.com>
4643
4644 [BZ #592]
4645 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
4646 libc_hidden_proto instead of HIDDEN_PROTO.
4647 * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
4648 (__libm_error_support): If ASSEMBLER and in libc, define to
4649 HIDDEN_JUMPTARGET(__libm_error_support).
4650
4651 2004-12-28 David Mosberger <davidm@hpl.hp.com>
4652
4653 [BZ #592]
4654 * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
4655 (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
4656 with $(duplicated-routines).
4657 (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
4658 "m_" prefix.
4659
4660 2004-12-27 David Mosberger <davidm@hpl.hp.com>
4661
4662 [BZ #592]
4663 * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
4664 undefine "ret" macro. Add __libm_error_support hidden definitions.
4665
4666 [BZ #592]
4667 * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment. Add
4668 missing portion of copyright statement.
4669 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
4670 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
4671
4672 [BZ #592]
4673 * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment. Add
4674 missing portion of copyright statement.
4675 (__ieee754_lgamma): Rename from lgamma(). Make lgamma() a weak alias.
4676 (__ieee754_gamma): Likewise.
4677 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
4678 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
4679
4680 2004-12-09 H.J. Lu <hjl@lucon.org>
4681
4682 [BZ #592]
4683 * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
4684 * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
4685 * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
4686 * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
4687 * sysdeps/ia64/fpu/e_expl.S: Likewise.
4688 * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
4689
4690 2004-11-18 David Mosberger <davidm@hpl.hp.com>
4691
4692 [BZ #592]
4693 * sysdeps/ia64/fpu/README: New file.
4694 * sysdeps/ia64/fpu/gen_import_file_list: New file.
4695 * sysdeps/ia64/fpu/import_check: Likewise.
4696 * sysdeps/ia64/fpu/import_diffs: Likewise.
4697 * sysdeps/ia64/fpu/import_file.awk: Likewise.
4698 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
4699 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4700
4701 [BZ #592]
4702 * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
4703 * sysdeps/ia64/fpu/e_acosf.S: Likewise.
4704 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
4705 * sysdeps/ia64/fpu/e_asin.S: Likewise.
4706 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
4707 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
4708 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
4709 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
4710 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
4711 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
4712 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
4713 * sysdeps/ia64/fpu/e_exp.S: Likewise.
4714 * sysdeps/ia64/fpu/e_expf.S: Likewise.
4715 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
4716 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
4717 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
4718 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
4719 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
4720 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
4721 * sysdeps/ia64/fpu/e_log.S: Likewise.
4722 * sysdeps/ia64/fpu/e_log2.S: Likewise.
4723 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
4724 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
4725 * sysdeps/ia64/fpu/e_logf.S: Likewise.
4726 * sysdeps/ia64/fpu/e_pow.S: Likewise.
4727 * sysdeps/ia64/fpu/e_powf.S: Likewise.
4728 * sysdeps/ia64/fpu/e_powl.S: Likewise.
4729 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
4730 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
4731 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
4732 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
4733 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
4734 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
4735 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
4736 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
4737 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
4738 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
4739 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
4740 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
4741 * sysdeps/ia64/fpu/libm_error.c: Likewise.
4742 * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
4743 * sysdeps/ia64/fpu/libm_support.h: Likewise.
4744 * sysdeps/ia64/fpu/s_atan.S: Likewise.
4745 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
4746 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
4747 * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
4748 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
4749 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
4750 * sysdeps/ia64/fpu/s_ceil.S: Likewise.
4751 * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
4752 * sysdeps/ia64/fpu/s_ceill.S: Likewise.
4753 * sysdeps/ia64/fpu/s_cos.S: Likewise.
4754 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
4755 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4756 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
4757 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
4758 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
4759 * sysdeps/ia64/fpu/s_fabs.S: Likewise.
4760 * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
4761 * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
4762 * sysdeps/ia64/fpu/s_floor.S: Likewise.
4763 * sysdeps/ia64/fpu/s_floorf.S: Likewise.
4764 * sysdeps/ia64/fpu/s_floorl.S: Likewise.
4765 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
4766 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
4767 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
4768 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
4769 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
4770 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
4771 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
4772 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
4773 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
4774 * sysdeps/ia64/fpu/s_logb.S: Likewise.
4775 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
4776 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
4777 * sysdeps/ia64/fpu/s_modf.S: Likewise.
4778 * sysdeps/ia64/fpu/s_modff.S: Likewise.
4779 * sysdeps/ia64/fpu/s_modfl.S: Likewise.
4780 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
4781 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
4782 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
4783 * sysdeps/ia64/fpu/s_rint.S: Likewise.
4784 * sysdeps/ia64/fpu/s_rintf.S: Likewise.
4785 * sysdeps/ia64/fpu/s_rintl.S: Likewise.
4786 * sysdeps/ia64/fpu/s_round.S: Likewise.
4787 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
4788 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
4789 * sysdeps/ia64/fpu/s_significand.S: Likewise.
4790 * sysdeps/ia64/fpu/s_significandf.S: Likewise.
4791 * sysdeps/ia64/fpu/s_significandl.S: Likewise.
4792 * sysdeps/ia64/fpu/s_tan.S: Likewise.
4793 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
4794 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
4795 * sysdeps/ia64/fpu/s_trunc.S: Likewise.
4796 * sysdeps/ia64/fpu/s_truncf.S: Likewise.
4797 * sysdeps/ia64/fpu/s_truncl.S: Likewise.
4798
4799 [BZ #592]
4800 * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
4801 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
4802 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
4803 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
4804 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
4805 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
4806 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
4807 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
4808 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
4809 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4810 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
4811 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
4812 * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
4813 * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
4814 * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
4815 * sysdeps/ia64/fpu/e_logl.S: Likewise.
4816 * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
4817 * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
4818 * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
4819 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
4820 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
4821 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
4822 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
4823 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
4824 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
4825 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
4826 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
4827 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
4828 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
4829 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4830 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
4831 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4832 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
4833 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
4834 * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
4835 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
4836 * sysdeps/ia64/fpu/s_erf.S: Likewise.
4837 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
4838 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
4839 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
4840 * sysdeps/ia64/fpu/s_erff.S: Likewise.
4841 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
4842 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
4843 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
4844 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
4845 * sysdeps/ia64/fpu/s_fma.S: Likewise.
4846 * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
4847 * sysdeps/ia64/fpu/s_fmal.S: Likewise.
4848 * sysdeps/ia64/fpu/s_fmax.S: Likewise.
4849 * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
4850 * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
4851 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
4852 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
4853 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
4854 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
4855 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
4856 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
4857 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
4858 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
4859 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
4860 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
4861 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
4862 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
4863 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
4864 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
4865 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
4866 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
4867 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
4868 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
4869 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
4870
4871 [BZ #592]
4872 * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
4873 * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
4874 * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
4875 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4876 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4877 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4878 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4879 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4880 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4881 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4882 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4883 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4884 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4885 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4886 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4887 * sysdeps/ia64/fpu/w_expl.c: Likewise.
4888 * sysdeps/ia64/fpu/e_expl.S: Likewise.
4889 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
4890 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
4891 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
4892 * sysdeps/ia64/fpu/w_log2.c: Likewise.
4893 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4894 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4895 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4896 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4897 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4898
4899 [BZ #592]
4900 * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
4901 * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
4902 * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
4903 * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
4904 * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
4905 * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
4906 * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
4907
4908 [BZ #592]
4909 * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
4910 * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
4911 * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
4912
4913 [BZ #592]
4914 * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
4915
4916 [BZ #592]
4917 * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
4918 alias for use by libm_error.c
4919
4920 [BZ #592]
4921 * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
4922 libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
4923 Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
4924 libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
4925 libm_scalbn{,f,l}, libm_scalblnf.
4926 (sysdep_routines): Remove libm_frexp4{,f,l}.
4927 Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
4928 (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
4929 _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
4930 -DSIZE_LONG_LONG_INT_64.
4931
4932 2005-01-05 Steven Munroe <sjmunroe@us.ibm.com>
4933
4934 [BZ #729]
4935 * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
4936 l_text_end are set for a VDSO with a single PT_LOAD entry.
4937
4938 2005-01-05 Ulrich Drepper <drepper@redhat.com>
4939
4940 [BZ #730]
4941 * libio/iofopncook.c (_IO_cookie_seekoff): Define. Mark offset as
4942 invalid to disable optimizations in fileops which won't work here.
4943 (_IO_cookie_jumps): Use it.
4944 (_IO_old_cookie_jumps): Likewise.
4945 * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
4946 not the return value.
4947 * stdio-common/Makefile (tests): Add tst-fmemopen2.
4948 * stdio-common/tst-fmemopen2.c: New file.
4949
4950 * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
4951
4952 2005-01-05 Roland McGrath <roland@redhat.com>
4953
4954 * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
4955 * sysdeps/i386/configure.in: ... here. New file.
4956
4957 2005-01-03 Ulrich Drepper <drepper@redhat.com>
4958
4959 [BZ #727]
4960 * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
4961 initialize __environ again.
4962 * stdlib/Makefile: Add rules to build and run tst-putenv.
4963 * stdlib/tst-putenv.c: New file.
4964 * stdlib/tst-putenvmod.c: New file.
4965
4966 * sysdeps/unix/sysv/linux/init-first.c: Clean file up. Don't
4967 define unnecessary wrappers or aliases of static functions.
4968
4969 2005-01-03 Andreas Jaeger <aj@suse.de>
4970
4971 * csu/Makefile (generated): Add start.os and start.ob.
4972
4973 * elf/Makefile (tests): Change rule for tst-pie1 so that make
4974 clean works.
4975
4976 2004-12-29 Roland McGrath <roland@redhat.com>
4977
4978 [BZ #626]
4979 * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
4980 than always up; when nearest is zero, round up to one.
4981
4982 2004-12-28 Ulrich Drepper <drepper@redhat.com>
4983
4984 * po/es.po: Update from translation team.
4985
4986 [BZ #726]
4987 * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
4988
4989 2004-12-27 Ulrich Drepper <drepper@redhat.com>
4990
4991 [BZ #744]
4992 * include/signal.h: Define __sigemptyset.
4993
4994 2004-04-27 Paolo Bonzini <bonzini@gnu.org>
4995
4996 * posix/regex_internal.h (struct re_dfastate_t): Make
4997 word_trtable a pointer to the 512-item transition table.
4998 * posix/regexec.c (build_trtable): Fill in either state->trtable
4999 or state->word_trtable. Return a boolean indicating success.
5000 (transit_state): Expect state->trtable to be a 256-item
5001 transition table. Reorganize code to have less tests in
5002 the common case, and to save an indentation level.
5003 * posix/regex_internal.c (free_state): Free word_trtable.
5004
5005 2004-12-21 Jakub Jelinek <jakub@redhat.com>
5006
5007 [BZ #723]
5008 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
5009 calling fn is 16 byte aligned.
5010 * sysdeps/i386/tst-stack-align.h: New file.
5011
5012 [BZ #725]
5013 * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
5014 (ecvt_r): Special case denormals.
5015 * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
5016 * misc/tst-efgcvt.c: Include float.h.
5017 (ecvt_tests): Add 2 new tests.
5018
5019 2004-12-20 Roland McGrath <roland@frob.com>
5020
5021 * version.h (RELEASE, VERSION): development, 2.3.90
5022 * include/features.h (__GLIBC_MINOR__): Now 4.
5023
5024
5025 See ChangeLog.15 for earlier changes.