]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Define RLIMIT_RTTIME
[thirdparty/glibc.git] / ChangeLog
1 2011-05-23 Ulrich Drepper <drepper@gmail.com>
2
3 [BZ #12795]
4 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
5 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6
7 2011-05-20 Andreas Schwab <schwab@redhat.com>
8
9 * stdlib/longlong.h: Update from GCC.
10
11 2011-05-23 Andreas Schwab <schwab@redhat.com>
12
13 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14 parameter name.
15 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16 Add parameter name.
17 (__sysconf): Pass it down.
18
19 2011-05-22 Ulrich Drepper <drepper@gmail.com>
20
21 [BZ #12671]
22 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23 some situations.
24 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26 add in in __libc_use_alloca calls. Adjust callers.
27 (glob): Use malloc in some situations.
28
29 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31 pltexit.
32
33 2011-05-21 Ulrich Drepper <drepper@gmail.com>
34
35 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36 and CLOCK_BOOTTIME_ALARM.
37
38 [BZ #12782]
39 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40 is returned.
41
42 * string/_strerror.c (__strerror_r): Print negative errors as signed
43 numbers.
44
45 [BZ #12777]
46 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49
50 * configure.in: Fix typo in redirection and correct removal of test
51 files in two cases.
52
53 [BZ #12788]
54 * locale/setlocale.c (new_composite_name): Fix test to check for
55 identical name of all categories.
56
57 [BZ #12792]
58 * libio/filedoalloc.c (local_isatty): New function.
59 (_IO_file_doallocate): Use local_isatty.
60 * stdio-common/perror.c (perror): In case a new stream is used
61 forward the stream error.
62 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
63 error flag.
64
65 2011-05-20 Ulrich Drepper <drepper@gmail.com>
66
67 [BZ #11869]
68 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
69 alloca.
70 * include/alloca.h (extend_alloca_account): Define.
71
72 [BZ #11857]
73 * posix/regex.h: Fix comments with documentation of user-accessible
74 fields after compilation and describe correct free'ing of pattern
75 after re_compile_pattern.
76 Patch by Reuben Thomas <rrt@sc3d.org>.
77
78 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
79
80 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
81 and -mno-altivec to prevent the compiler from using Altivec and/or
82 VSX instructions when the corresponding registers are not available.
83
84 2011-05-19 Andreas Schwab <schwab@redhat.com>
85
86 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
87
88 2011-05-19 Ulrich Drepper <drepper@gmail.com>
89
90 * libio/freopen.c (freopen): Use __dup2, not dup2.
91 * libio/freopen64.c (freopen64): Likewise.
92
93 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
94
95 [BZ #12775]
96 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
97 * math/Makefile (tests): Add test-powl.
98 (CFLAGS-test-powl.c): Define.
99 * math/test-powl.c: New file.
100
101 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
102
103 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
104
105 2011-05-17 Ulrich Drepper <drepper@gmail.com>
106
107 [BZ #11837]
108 * iconvdata/gb18030.c: Update to GB18020-2005.
109
110 2011-05-16 Ulrich Drepper <drepper@gmail.com>
111
112 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
113 RE_SYNTAX_POSIX_AWK): Update to match recent development.
114 Patch by Aharon Robbins <arnold@skeeve.com>.
115
116 [BZ #11892]
117 * stdlib/putenv.c (putenv): Don't always create copy of the variable
118 on the stack.
119
120 [BZ #11895]
121 * misc/pselect.c (__pselect): Handle timeout value errors hidden
122 through underflows.
123
124 [BZ #12766]
125 * misc/error.c (error_at_line): Ensure file_name and old_file_name
126 point to strings before performing equality test for error_one_per_line
127 mode.
128
129 [BZ #11697]
130 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
131
132 [BZ #11820]
133 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
134 (struct user_fpregs_struct): Avoid __uint*_t types.
135
136 [BZ #6420]
137 * malloc/mtrace.c (tr_where): Add additional parameter to point to
138 symbol info. Use it instead of calling _dl_addr locally.
139 (lock_and_info): New function.
140 (tr_freehook): Call lock_and_info and pass symbol info as additional
141 parameter to tr_where.
142 (tr_mallochook): Likewise.
143 (tr_reallochook): Likewise.
144 (tr_memalignhook): Likewise.
145
146 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
147 used and couldn't be at all thread-safe.
148
149 2011-05-15 Ulrich Drepper <drepper@gmail.com>
150
151 * libio/freopen.c (freopen): Don't close old file descriptor
152 before the new one is opened. Instead dup the new file descriptor
153 to the old one after the new stream is created.
154 * libio/freopen64.c (freopen64): Likewise.
155 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
156 * libio/fileops.c (_IO_new_file_close_it): Handle new
157 _IO_FLAGS2_NOCLOSE flag.
158 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
159 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
160 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
161 _IO_FLAGS2_NOCLOSE flag.
162 * include/unistd.h: Add hidden_proto for dup3.
163 Define __have_dup3.
164 * io/dup3.c: Define hidden symbol.
165 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
166
167 [BZ #7101]
168 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
169 when an incomplete long option is used.
170 * posix/tst-getopt_long1.c: New file.
171 * posix/Makefile (tests): Add tst-getopt_long1.
172
173 [BZ #10138]
174 * scripts/config.guess: Update from autoconf-2.68.
175 * scripts/config.sub: Likewise.
176
177 [BZ #10157]
178 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
179 tests into ...
180 (has_cpuclock): ...this. New function.
181 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
182 macro here based on has_cpuclock code.
183
184 [BZ #10149]
185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
186 First byte (not low byte) is now always NUL.
187 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
188
189 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
190 Use non-cancelable interfaces.
191
192 [BZ #9809]
193 * locale/iso-639.def: Add entry for Sorani.
194
195 [BZ #11901]
196 * include/stdlib.h: Move include protection to the right place.
197 Define abort_msg_s. Declare __abort_msg with it.
198 * stdlib/abort.c (__abort_msg): Adjust type.
199 * assert/assert.c (__assert_fail_base): New function. Majority
200 of code from __assert_fail. Allocate memory for __abort_msg with
201 mmap.
202 (__assert_fail): Now call __assert_fail_base.
203 * assert/assert-perr.c: Remove bulk of implementation. Use
204 __assert_fail_base.
205 * include/assert.hL Declare __assert_fail_base.
206 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
207 mmap.
208 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
209
210 2011-05-14 Ulrich Drepper <drepper@gmail.com>
211
212 [BZ #11952]
213 [BZ #12453]
214 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
215 until all modules are registered in the DTV.
216 * elf/Makefile: Add rules to build and run tst-tls19.
217 * elf/tst-tls19.c: New file.
218 * elf/tst-tls19mod1.c: New file.
219 * elf/tst-tls19mod2.c: New file.
220 * elf/tst-tls19mod3.c: New file.
221 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
222
223 [BZ #12083]
224 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
225 correctly.
226
227 [BZ #12601]
228 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
229 two-byte sequence errors.
230 * iconvdata/Makefile (tests): Add bug-iconv8.
231 * iconvdata/bug-iconv8.c: New file.
232
233 [BZ #12626]
234 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
235 buf2 definition.
236
237 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
238
239 [BZ #12432]
240 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
241 (dummy_getcfa): New function.
242 (init): Get _Unwind_GetCFA address, use dummy if not found.
243 (backtrace_helper): In recursion check, also check whether CFA changes.
244 (__backtrace): Completely initialize arg.
245
246 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
247 storing incomplete byte sequence in state object. Avoid testing for
248 guaranteed too small input if we know there is enough data available.
249
250 2011-05-11 Andreas Schwab <schwab@redhat.com>
251
252 * Makeconfig (+link-pie): Indent.
253 * Rules (binaries-pie): Define if $(have-fpie) and
254 $(build-shared).
255 (binaries-shared): Also filter out $(binaries-pie).
256 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
257 * nscd/Makefile (others-pie): Add nscd.
258 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
259 ($(objpfx)nscd): Remove command override.
260 * login/Makefile (others-pie): Add pt_chown.
261 ($(objpfx)pt_chown): Remove command override.
262 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
263 remove command overrides.
264
265 2011-05-13 Ulrich Drepper <drepper@gmail.com>
266
267 * libio/tst_putwc.c: Fix error messages.
268
269 [BZ #12724]
270 * libio/fileops.c (_IO_new_file_close_it): Always flush when
271 currently writing and seek to current position when not.
272 * libio/Makefile (tests): Add bug-fclose1.
273 * libio/bug-fclose1.c: New file.
274
275 2011-05-12 Ulrich Drepper <drepper@gmail.com>
276
277 [BZ #12511]
278 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
279 don't set DF_1_NODELETE here.
280 (do_lookup_x): When entering new entry test for copy relocation
281 and if necessary set DF_1_NODELETE flag.
282 * elf/tst-unique4.cc: New file.
283 * elf/tst-unique4.h: New file.
284 * elf/tst-unique4lib.cc: New file.
285 * elf/Makefile: Add rules to build and run tst-unique4.
286 Patch by Piotr Bury <pbury@goahead.com>.
287
288 2011-05-11 Ulrich Drepper <drepper@gmail.com>
289
290 [BZ #12052]
291 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
292
293 [BZ #12625]
294 * misc/mntent_r.c (addmntent): Flush the stream after the output
295
296 [BZ #12393]
297 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
298 (is_trusted_path_normalize): Skip initial colon. Append slash
299 to empty buffer. Duplicate is_trusted_path code but allow
300 constructed patch to be prefix.
301 (is_dst): Allow $ORIGIN followed by /.
302 (_dl_dst_substitute): Correct clearing of check_for_trusted.
303 Correct testing of result of is_trusted_path_normalize
304 (decompose_rpath): Fix warning.
305
306 2011-05-10 Ulrich Drepper <drepper@gmail.com>
307
308 [BZ #11257]
309 * grp/initgroups.c (internal_getgrouplist): When we found the service
310 list through the initgroups entry in nsswitch.conf do not always
311 continue on a successful lookup. Don't always use the
312 __nss_group_database value if it is set.
313 * nss/nsswitch.conf (initgroups): Change action for successful db
314 lookup to continue for compatibility.
315
316 2011-05-09 Ulrich Drepper <drepper@gmail.com>
317
318 [BZ #11532]
319 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
320 and CP774 modules.
321 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
322 and CP774 modules.
323 * iconvdata/tst-tables.sh: Likewise.
324 * iconvdata/cp770.c: New file.
325 * iconvdata/cp771.c: New file.
326 * iconvdata/cp772.c: New file.
327 * iconvdata/cp773.c: New file.
328 * iconvdata/cp774.c: New file.
329 * iconvdata/testdata/CP770: New file.
330 * iconvdata/testdata/CP770..UTF8: New file.
331 * iconvdata/testdata/CP771: New file.
332 * iconvdata/testdata/CP771..UTF8: New file.
333 * iconvdata/testdata/CP772: New file.
334 * iconvdata/testdata/CP772..UTF8: New file.
335 * iconvdata/testdata/CP773: New file.
336 * iconvdata/testdata/CP773..UTF8: New file.
337 * iconvdata/testdata/CP774: New file.
338 * iconvdata/testdata/CP774..UTF8: New file.
339
340 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
341 END CHARMAP line.
342 * iconvdata/gen-8bit-gap.sh: Likewise.
343 * iconvdata/gen-8bit.sh: Likewise.
344
345 * locale/iso-639.def: Add ary entry.
346
347 [BZ #11258]
348 * locale/C-translit.h.in: Add U20A1 transliteration.
349
350 [BZ #12178]
351 * locale/iso-639.def: Add wae entry.
352 Patch by Kevin Bortis <bortis@translate-wae.ch>.
353
354 [BZ #12545]
355 * locale/programs/localedef.c (construct_output_path): Use ssize_t
356 for n.
357
358 [BZ #12711]
359 * locale/C-translit.h.in: Add entry for U20B9.
360 Patch by pravin.d.s@gmail.com.
361
362 2011-05-08 Ulrich Drepper <drepper@gmail.com>
363
364 [BZ #12713]
365 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
366 ENAMETOOLONG use generic getcwd.
367 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
368 in rtld. Use *stat64.
369 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
370 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
371 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
372 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
373 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
374 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
375 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
376 __fstatat64 macros.
377 * include/dirent.h: Add libc_hidden_proto for rewinddir.
378 * dirent/rewinddir.c: Add libc_hidden_def.
379 * sysdeps/mach/hurd/rewinddir.c: Likewise.
380 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
381
382 * include/dirent.h (__alloc_dir): Add flags parameter.
383 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
384 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
385 __alloc_dir.
386 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
387 from fdopendir if O_CLOEXEC is already set.
388
389 2011-03-15 Alan Modra <amodra@gmail.com>
390
391 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
392 l_tls_firstbyte_offset non-zero. Save padding offset in
393 l_tls_firstbyte_offset for later use.
394 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
395 freeing static tls block.
396
397 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
398
399 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
400 where #ifdef was intended. The intent is to prevent ARG_MAX from
401 being defined by the kernel headers.
402
403 2011-05-07 Ulrich Drepper <drepper@gmail.com>
404
405 [BZ #12734]
406 * resolv/resolv.h: Define RES_NOTLDQUERY.
407 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
408 no-tld-query and set RES_NOTLDQUERY.
409 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
410 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
411 modern BIND to search name as TLD unless forbidden.
412
413 2011-05-07 Petr Baudis <pasky@suse.cz>
414 Ulrich Drepper <drepper@gmail.com>
415
416 [BZ #12393]
417 * elf/dl-load.c (fillin_rpath): Move trusted path check...
418 (is_trusted_path): ...to here.
419 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
420 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
421 using is_trusted_path_normalize() in setuid scripts.
422
423 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
424
425 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
426 __BEGIN/__END_DECLS.
427
428 2011-05-06 Ulrich Drepper <drepper@gmail.com>
429
430 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
431 NSS_STATUS_NOTFOUND if no record was found.
432
433 2011-05-05 Andreas Schwab <schwab@redhat.com>
434
435 * sunrpc/Makefile (headers): Add rpc/netdb.h.
436 (headers-not-in-tirpc): Remove rpc/netdb.h
437 * resolv/netdb.h: Revert last change.
438
439 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
440
441 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
442 circular dependency between libgcc.a and libc.a.
443
444 2011-05-05 Andreas Schwab <schwab@redhat.com>
445
446 * resolv/netdb.h: Don't include <rpc/netdb.h>.
447 * nis/Makefile: Don't install rpcsvc/*.
448 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
449 instead of <rpc/types.h>.
450 (MAXHOSTNAMELEN): Define.
451
452 2011-05-03 Andreas Schwab <schwab@redhat.com>
453
454 * elf/ldconfig.c (add_dir): Don't crash on empty path.
455
456 2011-04-28 Maciej Babinski <mbabinski@google.com>
457
458 [BZ #12714]
459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
460 gethostbyname4_r when IPv6 results are possible.
461
462 2011-05-02 Ulrich Drepper <drepper@gmail.com>
463
464 [BZ #12723]
465 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
466 _PC_PIPE_BUF handling.
467
468 2011-04-30 Bruno Haible <bruno@clisp.org>
469
470 [BZ #12717]
471 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
472 * resolv/netdb.h (getnameinfo): Change type of flags parameter
473 to 'int'.
474 * inet/getnameinfo.c (getnameinfo): Likewise.
475
476 2011-04-29 Ulrich Drepper <drepper@gmail.com>
477
478 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
479 to groups setting in database lookup.
480 * nss/nsswitch.conf: Add initgroups entry.
481
482 2011-04-22 Ulrich Drepper <drepper@gmail.com>
483
484 [BZ #12685]
485 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
486 mode string.
487 Patch by Eric Blake <eblake@redhat.com>.
488
489 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
490
491 * sunrpc/Makefile (need-export-routines): Add svc_run.
492 (routines): Remove svc_run.
493 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
494 * sunrpc/clnt_perr.c (clnt_perrno): Export.
495 * sunrpc/svc_run.c (svc_run): Likewise.
496 * sunrpc/svc_udp.c (svcudp_create): Likewise.
497
498 2011-04-21 Ulrich Drepper <drepper@gmail.com>
499
500 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
501 problem in reallocation in last patch.
502
503 2011-04-20 Ulrich Drepper <drepper@gmail.com>
504
505 * sunrpc/Makefile: Move inclusion of Rules.
506
507 2011-04-19 Ulrich Drepper <drepper@gmail.com>
508
509 * nss/nss_files/files-initgroups.c: New file.
510 * nss/Makefile (libnss_files-routines): Add files-initgroups.
511 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
512 _nss_files_initgroups_dyn.
513
514 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
515
516 * elf/elf.h (R_ARM_IRELATIVE): Define.
517
518 2011-04-19 Ulrich Drepper <drepper@gmail.com>
519
520 * po/ru.po: Update from translation team.
521
522 2011-04-17 Ulrich Drepper <drepper@gmail.com>
523
524 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
525 dependencies.
526
527 2011-02-06 Mike Frysinger <vapier@gentoo.org>
528
529 [BZ #12653]
530 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
531 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
532 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
533 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
534 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
535
536 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
537
538 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
539 differing bytes.
540 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
541 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
542 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
543
544 2011-04-17 Ulrich Drepper <drepper@gmail.com>
545
546 [BZ #12420]
547 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
548 storing it.
549 * stdlib/bug-getcontext.c: New file.
550 * stdlib/Makefile: Add rules to build and run bug-getcontext.
551
552 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
553
554 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
555 instructions into .machine "z9-109".
556 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
557 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
558
559 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
560
561 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
562 between environment variables and auxiliary vector.
563
564 2011-04-16 Ulrich Drepper <drepper@gmail.com>
565
566 * Makefile: Add rules to build linkobj/libc.so.
567 * include/libc-symbols.h: Define libc_hidden_nolink.
568 * include/rpc/auth.h: Mark functions which are to be hidden.
569 * include/rpc/auth_des.h: Likewise.
570 * include/rpc/auth_unix.h: Likewise.
571 * include/rpc/clnt.h: Likewise.
572 * include/rpc/des_crypt.h: Likewise.
573 * include/rpc/key_prot.h: Likewise.
574 * include/rpc/pmap_clnt.h: Likewise.
575 * include/rpc/pmap_prot.h: Likewise.
576 * include/rpc/pmap_rmt.h: Likewise.
577 * include/rpc/rpc_msg.h: Likewise.
578 * include/rpc/svc.h: Likewise.
579 * include/rpc/svc_auth.h: Likewise.
580 * include/rpc/xdr.h: Likewise.
581 * nis/Makefile: Link all DSOs against linkobj/libc.so.
582 * nss/Makefile: Likewise.
583 * sunrpc/Makefile: Don't install headers. Build library with normal
584 entry points. Don't build rpcinfo. Link RPC tests appropriately.
585 * sunrpc/auth_des.c: Hide exported symbols by default, export some
586 for the compat linking library. Remove use of INTDEF/INTUSE.
587 * sunrpc/auth_none.c: Likewise.
588 * sunrpc/auth_unix.c: Likewise.
589 * sunrpc/authdes_prot.c: Likewise.
590 * sunrpc/authuxprot.c: Likewise.
591 * sunrpc/clnt_gen.c: Likewise.
592 * sunrpc/clnt_perr.c: Likewise.
593 * sunrpc/clnt_raw.c: Likewise.
594 * sunrpc/clnt_simp.c: Likewise.
595 * sunrpc/clnt_tcp.c: Likewise.
596 * sunrpc/clnt_udp.c: Likewise.
597 * sunrpc/clnt_unix.c: Likewise.
598 * sunrpc/des_crypt.c: Likewise.
599 * sunrpc/des_soft.c: Likewise.
600 * sunrpc/get_myaddr.c: Likewise.
601 * sunrpc/key_call.c: Likewise.
602 * sunrpc/key_prot.c: Likewise.
603 * sunrpc/netname.c: Likewise.
604 * sunrpc/pm_getmaps.c: Likewise.
605 * sunrpc/pm_getport.c: Likewise.
606 * sunrpc/pmap_clnt.c: Likewise.
607 * sunrpc/pmap_prot.c: Likewise.
608 * sunrpc/pmap_prot2.c: Likewise.
609 * sunrpc/pmap_rmt.c: Likewise.
610 * sunrpc/publickey.c: Likewise.
611 * sunrpc/rpc_cmsg.c: Likewise.
612 * sunrpc/rpc_common.c: Likewise.
613 * sunrpc/rpc_dtable.c: Likewise.
614 * sunrpc/rpc_prot.c: Likewise.
615 * sunrpc/rpc_thread.c: Likewise.
616 * sunrpc/rtime.c: Likewise.
617 * sunrpc/svc.c: Likewise.
618 * sunrpc/svc_auth.c: Likewise.
619 * sunrpc/svc_authux.c: Likewise.
620 * sunrpc/svc_raw.c: Likewise.
621 * sunrpc/svc_run.c: Likewise.
622 * sunrpc/svc_simple.c: Likewise.
623 * sunrpc/svc_tcp.c: Likewise.
624 * sunrpc/svc_udp.c: Likewise.
625 * sunrpc/svc_unix.c: Likewise.
626 * sunrpc/svcauth_des.c: Likewise.
627 * sunrpc/xcrypt.c: Likewise.
628 * sunrpc/xdr.c: Likewise.
629 * sunrpc/xdr_array.c: Likewise.
630 * sunrpc/xdr_float.c: Likewise.
631 * sunrpc/xdr_intXX_t.c: Likewise.
632 * sunrpc/xdr_mem.c: Likewise.
633 * sunrpc/xdr_rec.c: Likewise.
634 * sunrpc/xdr_ref.c: Likewise.
635 * sunrpc/xdr_sizeof.c: Likewise.
636 * sunrpc/xdr_stdio.c: Likewise.
637
638 2011-04-10 Ulrich Drepper <drepper@gmail.com>
639
640 [BZ #12650]
641 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
642 * sysdeps/ia64/dl-tls.h: Likewise.
643 * sysdeps/powerpc/dl-tls.h: Likewise.
644 * sysdeps/s390/dl-tls.h: Likewise.
645 * sysdeps/sh/dl-tls.h: Likewise.
646 * sysdeps/sparc/dl-tls.h: Likewise.
647 * sysdeps/x86_64/dl-tls.h: Likewise.
648 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
649
650 2011-03-14 Andreas Schwab <schwab@redhat.com>
651
652 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
653 rpath element also skip the following colon.
654 (expand_dynamic_string_token): Add is_path parameter and pass
655 down to DL_DST_REQUIRED and _dl_dst_substitute.
656 (decompose_rpath): Call expand_dynamic_string_token with
657 non-zero is_path. Ignore empty rpaths.
658 (_dl_map_object_from_fd): Call expand_dynamic_string_token
659 with zero is_path.
660
661 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
662
663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
664 Make cancelable.
665
666 2011-04-09 Ulrich Drepper <drepper@gmail.com>
667
668 [BZ #12655]
669 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
670 Patch by Filipe David Manana <fdmanana@apache.org>.
671
672 2011-04-07 Andreas Schwab <schwab@redhat.com>
673
674 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
675 Maintain aligned stack.
676 (CHECK_RSP): Remove unused macro.
677
678 2011-04-03 Ulrich Drepper <drepper@gmail.com>
679
680 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
681 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
682
683 2011-04-02 Ulrich Drepper <drepper@gmail.com>
684
685 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
686
687 * include/features.h: Mention __USE_XOPEN2K8 in comment.
688
689 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
690
691 [BZ #12518]
692 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
693 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
694 * sysdeps/x86_64/memmove.c: New file.
695 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
696 (memcpy): Renamed to ...
697 (__new_memcpy): This.
698 (memcpy): Provide GLIBC_2_14 memcpy.
699 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
700 (memcpy): Provide GLIBC_2_2_5 memcpy.
701
702 2011-04-01 Ulrich Drepper <drepper@gmail.com>
703
704 [BZ #12631]
705 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
706
707 2011-03-30 Andreas Schwab <schwab@redhat.com>
708
709 * misc/syncfs.c: New file.
710 * misc/Makefile (routines): Add syncfs.
711 * posix/unistd.h: Declare syncfs.
712 * sysdeps/unix/syscalls.list: Add syncfs.
713
714 2011-04-01 Andreas Schwab <schwab@redhat.com>
715
716 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
717 open_by_handle_at.
718 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
719 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
721 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
723 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
724 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
725
726 2011-04-01 Ulrich Drepper <drepper@gmail.com>
727
728 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
729 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
730 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
731 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
732 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
734 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
735
736 * io/Makefile: Compile fallocate.c, fallocate64.c, and
737 sync_file_range.c with -fexceptions.
738 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
739 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
740 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
741 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
742 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
743 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
745 sync_file_range as cancellation point
746 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
747 now a wrapper around __call_sync_file_range with cancellation handling.
748 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
749 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
750 function name to __call_sync_file_range.
751 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
752 Add call_sync_file_range.
753
754 2011-04-01 Andreas Schwab <schwab@redhat.com>
755
756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
757 bits/timex.h.
758
759 2011-04-01 Ulrich Drepper <drepper@gmail.com>
760
761 * iconv/iconv.h: Fix typo in comment.
762 * io/fcntl.h: Likewise.
763 * libio/stdio.h: Likewise.
764 * posix/spawn.h: Likewise.
765 * posix/unistd.h: Likewise.
766 * stdlib/stdlib.h: Likewise.
767 * time/time.h: Likewise.
768 * wcsmbs/wchar.h: Likewise.
769
770 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
771 open_by_handle): Add.
772 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
773 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
774 Augment a few comments.
775 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
777 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
780 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
781 open_by_handle.
782
783 * io/fcntl.h (AT_EMPTY_PATH): Define.
784
785 2011-03-30 Ulrich Drepper <drepper@gmail.com>
786
787 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
788 * sysdeps/unix/sysv/linux/bits/time.h: New file.
789 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
790 to...
791 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
792 * Versions.def: Add GLIBC_2.14.
793 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
794 Export.
795
796 2011-03-22 Ulrich Drepper <drepper@gmail.com>
797
798 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
799 round counter.
800 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
801
802 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
803
804 [BZ #12597]
805 * string/test-strncmp.c (do_page_test): New function.
806 (check2): Likewise.
807 (test_main): Call check2.
808 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
809
810 2011-03-20 Ulrich Drepper <drepper@gmail.com>
811
812 [BZ #12587]
813 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
814 Handle cache information in CPU leaf 4.
815 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
816
817 2011-03-18 Ulrich Drepper <drepper@gmail.com>
818
819 [BZ #12583]
820 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
821 character representation.
822 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
823
824 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
825
826 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
827 END(__isnan) to END(__isnanf) to match function entry point/label
828 EALIGN(__isnanf,...).
829
830 2011-03-10 Jakub Jelinek <jakub@redhat.com>
831
832 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
833
834 2011-03-10 Ulrich Drepper <drepper@gmail.com>
835
836 [BZ #12510]
837 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
838 copy from the symbol referenced in the relocation to initialize the
839 used variable.
840 Patch by Piotr Bury <pbury@goahead.com>.
841 * elf/Makefile: Add rules to build and tst-unique3.
842 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
843 * elf/tst-unique3.cc: New file.
844 * elf/tst-unique3.h: New file.
845 * elf/tst-unique3lib.cc: New file.
846 * elf/tst-unique3lib2.cc: New file.
847
848 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
849
850 2011-03-10 Mike Frysinger <vapier@gentoo.org>
851
852 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
853 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
854 to _start.
855
856 2011-03-06 Ulrich Drepper <drepper@gmail.com>
857
858 * elf/dl-load.c (_dl_map_object): If we are looking for the first
859 to-be-loaded object along a path to loader is ld.so.
860
861 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
862 Ulrich Drepper <drepper@gmail.com>
863
864 * sysdeps/x86_64/memset.S: After aligning destination, code
865 branches to different locations depending on the value of
866 misalignment, when multiarch is enabled. Fix this.
867
868 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
869
870 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
871 Set _x86_64_preferred_memory_instruction for AMD processsors.
872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
873 Set bit_Prefer_SSE_for_memop for AMD processors.
874
875 2011-03-04 Ulrich Drepper <drepper@gmail.com>
876
877 * libio/fmemopen.c (fmemopen): Optimize a bit.
878
879 2011-03-03 Andreas Schwab <schwab@redhat.com>
880
881 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
882
883 2011-03-03 Roland McGrath <roland@redhat.com>
884
885 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
886
887 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
888
889 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
890 __bzero_ultra1 instead of __memset_ultra1.
891
892 2011-02-23 Andreas Schwab <schwab@redhat.com>
893 Ulrich Drepper <drepper@gmail.com>
894
895 [BZ #12509]
896 * include/link.h (struct link_map): Add l_orig_initfini.
897 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
898 returning unsuccessfully.
899 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
900 close of a file loaded at startup, restore the original l_initfini
901 list.
902 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
903 list, store the pointer.
904 * elf/Makefile ($(objpfx)noload-mem): New rule.
905 (noload-ENV): Define.
906 (tests): Add $(objpfx)noload-mem.
907 * elf/noload.c: Include <memcheck.h>.
908 (main): Call mtrace. Close all opened handles.
909
910 2011-02-17 Andreas Schwab <schwab@redhat.com>
911
912 [BZ #12454]
913 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
914 dependencies are missing.
915
916 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
917
918 Fix __if_freereq crash: Unlike the generic version which uses free,
919 Hurd needs munmap.
920 * sysdeps/mach/hurd/ifreq.h: New file.
921
922 2011-01-27 Petr Baudis <pasky@suse.cz>
923 Ulrich Drepper <drepper@gmail.com>
924
925 [BZ 12445]#
926 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
927 to extend_alloca().
928 * stdio-common/bug23.c: New file.
929 * stdio-common/Makefile (tests): Add bug23.
930
931 2010-09-28 Andreas Schwab <schwab@redhat.com>
932 Ulrich Drepper <drepper@gmail.com>
933
934 [BZ #12489]
935 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
936 before performing relro protection. At old place add assertion
937 to make sure nothing changed.
938
939 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
940 Glauber de Oliveira Costa <glommer@gmail.com>
941
942 * elf/elf.h: Add new ARM TLS relocs.
943
944 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
945
946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
947 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
948 cast from r3.
949 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
950 'tests' variable.
951 * sysdeps/wordsize-64/tst-writev.c: New file.
952
953 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
954
955 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
956 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
957 insns in _dl_start to prevent a TOC reference before relocs are
958 resolved.
959
960 2011-02-15 Ulrich Drepper <drepper@gmail.com>
961
962 [BZ #12469]
963 * Makeconfig: Remove RANLIB definition.
964 * Makerules: Don't use RANLIB.
965 * aclocal.m4: Remove ranlib test.
966 * configure.in: No need to check for ranlib.
967 * elf/rtld-Rules: Don't use RANLIB.
968
969 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
970
971 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
972 protection macro.
973 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
974 inclusion protection macro.
975
976 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
977 SIGRTMIN and SIGRTMAX and print information in that case only when
978 SIGRTMIN is defined.
979
980 2011-02-11 Jakub Jelinek <jakub@redhat.com>
981
982 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
983 arginfo fn returning -1.
984
985 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
986 and thousands string is zero terminated.
987
988 2011-02-03 Andreas Schwab <schwab@redhat.com>
989
990 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
991 sysdeps/unix/sysv/linux/bits/socket.h.
992
993 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
994
995 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
996 (__CPU_COUNT): Remove old macros.
997 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
998 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
999 (__CPU_ALLOC, __CPU_FREE): Add macros.
1000 (__sched_cpualloc, __sched_cpufree): Add declarations.
1001
1002 2011-02-05 Ulrich Drepper <drepper@gmail.com>
1003
1004 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
1005 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
1006 * nscd/aicache.c (addhstaiX): Return timeout of added value.
1007 (readdhstai): Return value of addhstaiX call.
1008 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
1009 (addgrbyX): Return value returned by cache_addgr.
1010 (readdgrbyname): Return value returned by addgrbyX.
1011 (readdgrbygid): Likewise.
1012 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
1013 (addpwbyX): Return value returned by cache_addpw.
1014 (readdpwbyname): Return value returned by addhstbyX.
1015 (readdpwbyuid): Likewise.
1016 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
1017 (addservbyX): Return value returned by cache_addserv.
1018 (readdservbyname): Return value returned by addservbyX:
1019 (readdservbyport): Likewise.
1020 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
1021 (addhstbyX): Return value returned by cache_addhst.
1022 (readdhstbyname): Return value returned by addhstbyX.
1023 (readdhstbyaddr): Likewise.
1024 (readdhstbynamev6): Likewise.
1025 (readdhstbyaddrv6): Likewise.
1026 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
1027 (readdinitgroups): Return value returned by addinitgroupsX.
1028 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
1029 (prune_cache): Keep track of timeout value of re-added entries.
1030 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
1031 * nscd/nscd.h: Adjust prototypes of readd* functions.
1032
1033 2011-02-04 Roland McGrath <roland@redhat.com>
1034
1035 * nis/nis_server.c (nis_servstate): Use the right name for 0.
1036 (nis_stats): Likewise.
1037 * nis/nis_modify.c (nis_modify): Likewise.
1038 * nis/nis_remove.c (nis_remove): Likewise.
1039 * nis/nis_add.c (nis_add): Likewise.
1040
1041 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
1042
1043 * posix/fnmatch_loop.c: Add some consts.
1044
1045 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
1046
1047 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
1048
1049 [BZ #12460]
1050 * config.make.in (config-cflags-novzeroupper): Define.
1051 * configure.in: Substitute libc_cv_cc_novzeroupper.
1052 * elf/Makefile (AVX-CFLAGS): Define.
1053 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
1054 (CFLAGS-tst-auditmod4a.c): Likewise.
1055 (CFLAGS-tst-auditmod4b.c): Likewise.
1056 (CFLAGS-tst-auditmod6b.c): Likewise.
1057 (CFLAGS-tst-auditmod6c.c): Likewise.
1058 (CFLAGS-tst-auditmod7b.c): Likewise.
1059 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
1060
1061 2011-02-02 Ulrich Drepper <drepper@gmail.com>
1062
1063 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
1064 function to the callback.
1065 Patch partly by Jiri Olsa <jolsa@redhat.com>.
1066
1067 2011-02-02 Andreas Schwab <schwab@redhat.com>
1068
1069 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
1070 of errno.
1071
1072 2011-01-19 Ulrich Drepper <drepper@gmail.com>
1073
1074 [BZ #11724]
1075 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
1076 of constructors.
1077 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
1078 of destructors.
1079 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
1080
1081 [BZ #11724]
1082 * elf/Makefile: Add rules to build and run new test.
1083 * elf/tst-initorder.c: New file.
1084 * elf/tst-initorder.exp: New file.
1085 * elf/tst-initordera1.c: New file.
1086 * elf/tst-initordera2.c: New file.
1087 * elf/tst-initordera3.c: New file.
1088 * elf/tst-initordera4.c: New file.
1089 * elf/tst-initorderb1.c: New file.
1090 * elf/tst-initorderb2.c: New file.
1091 * elf/tst-order-a1.c: New file.
1092 * elf/tst-order-a2.c: New file.
1093 * elf/tst-order-a3.c: New file.
1094 * elf/tst-order-a4.c: New file.
1095 * elf/tst-order-b1.c: New file.
1096 * elf/tst-order-b2.c: New file.
1097 * elf/tst-order-main.c: New file.
1098 New test case by George Gensure <werkt0@gmail.com>.
1099
1100 2010-10-01 Andreas Schwab <schwab@redhat.com>
1101
1102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
1103 decoding ACE if AI_CANONIDN.
1104
1105 2011-01-18 Ulrich Drepper <drepper@gmail.com>
1106
1107 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
1108
1109 2011-01-17 Ulrich Drepper <drepper@gmail.com>
1110
1111 * version.h (RELEASE): Bump for 2.13 release.
1112 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
1113
1114 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
1115
1116 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
1117 MADV_NOHUGEPAGE.
1118 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
1119 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1120 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1121 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1122 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1123 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
1124
1125 * posix/getconf.c: Update copyright year.
1126 * catgets/gencat.c: Likewise.
1127 * csu/version.c: Likewise.
1128 * debug/catchsegv.sh: Likewise.
1129 * debug/xtrace.sh: Likewise.
1130 * elf/ldconfig.c: Likewise.
1131 * elf/ldd.bash.in: Likewise.
1132 * elf/sprof.c (print_version): Likewise.
1133 * iconv/iconv_prog.c: Likewise.
1134 * iconv/iconvconfig.c: Likewise.
1135 * locale/programs/locale.c: Likewise.
1136 * locale/programs/localedef.c: Likewise.
1137 * malloc/memusage.sh: Likewise.
1138 * malloc/mtrace.pl: Likewise.
1139 * nscd/nscd.c (print_version): Likewise.
1140 * nss/getent.c: Likewise.
1141
1142 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
1143 PF_CAIF, and PF_ALG.
1144 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1145
1146 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
1147
1148 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
1149 (modules-names): Use them.
1150 (ifunc-test-modules, ifunc-pie-tests): Define.
1151 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
1152 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
1153 (test-extras): Likewise.
1154 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
1155 $(compile-command.c).
1156 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
1157 (all-built-dso): Define.
1158 (check-textrel.out, check-execstack.out): Depend on it.
1159
1160 * configure.in: Don't override --enable-multi-arch.
1161
1162 2011-01-15 Ulrich Drepper <drepper@gmail.com>
1163
1164 [BZ #6812]
1165 * nscd/hstcache.c (tryagain): Define.
1166 (cache_addhst): Return tryagain not notfound for temporary errors.
1167 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
1168 failed.
1169
1170 2011-01-14 Ulrich Drepper <drepper@gmail.com>
1171
1172 [BZ #10563]
1173 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
1174 to make the syscall.
1175 * sysdeps/unix/sysv/linux/setgroups.c: New file.
1176
1177 [BZ #12378]
1178 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
1179 and fall back to matching as normal character if the string ends before
1180 the matching ']' is found. This is what POSIX requires.
1181 * posix/testfnm.c: Adjust test result.
1182 * posix/globtest.sh: Adjust test result. Add new test.
1183 * posix/tst-fnmatch.input: Likewise.
1184 * posix/tst-fnmatch2.c: Add new test.
1185
1186 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
1187
1188 * elf/Makefile (check-execstack): Revert last change. Depend on
1189 check-execstack.h.
1190 (check-execstack.h): New target.
1191 (generated): Add check-execstack.h.
1192 * elf/check-execstack.c: Include "check-execstack.h".
1193 (main): Revert last change.
1194 (handle_file): Return zero if GNU_STACK is absent and
1195 DEFAULT_STACK_PERMS doesn't include PF_X.
1196
1197 2011-01-13 Ulrich Drepper <drepper@gmail.com>
1198
1199 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
1200 in child fails because the descriptor is already closed.
1201 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
1202 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
1203 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1204
1205 [BZ #12397]
1206 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
1207 syscall.
1208
1209 [BZ #10484]
1210 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
1211 temporary buffer used to handle multi lookups locally.
1212 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
1213
1214 2011-01-12 Ulrich Drepper <drepper@gmail.com>
1215
1216 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
1217 loader is ld.so.
1218
1219 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
1220
1221 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
1222 alignment for SSE2.
1223
1224 2011-01-12 Ulrich Drepper <drepper@gmail.com>
1225
1226 [BZ #12394]
1227 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
1228 characters. When rounding increased number of integer digits recompute
1229 number of groups.
1230 * stdio-common/tst-grouping.c: New file.
1231 * stdio-common/Makefile: Add rules to build and run tst-grouping.
1232
1233 2011-01-09 Ulrich Drepper <drepper@gmail.com>
1234
1235 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
1236 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
1237
1238 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
1239 void.
1240 * bits/select.h: Likewise.
1241
1242 2011-01-08 Ulrich Drepper <drepper@gmail.com>
1243
1244 * po/ja.po: Update from translation team.
1245
1246 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
1247
1248 [BZ #11155]
1249 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
1250 implementation just like for lxstat, fxstatat, et al.
1251
1252 2010-12-27 Jim Meyering <meyering@redhat.com>
1253
1254 [BZ #12348]
1255 * posix/regexec.c (build_trtable): Return failure indication upon
1256 calloc failure. Otherwise, re_search_internal could infloop on OOM.
1257
1258 2010-12-25 Ulrich Drepper <drepper@gmail.com>
1259
1260 [BZ #12201]
1261 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
1262 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
1263 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
1264 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
1265
1266 [BZ #12207]
1267 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
1268
1269 [BZ #12204]
1270 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
1271 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
1272
1273 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
1274
1275 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
1276 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
1277 script has SORT_BY_INIT_PRIORITY.
1278 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
1279 NO_CTORS_DTORS_SECTIONS is defined.
1280 * elf/soinit.c: Likewise.
1281 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
1282 NO_CTORS_DTORS_SECTIONS is defined.
1283 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1284 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
1285 * sysdeps/sh/init-first.c: Likewise.
1286 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1287
1288 2010-12-24 Ulrich Drepper <drepper@gmail.com>
1289
1290 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
1291 always use the slow path.
1292
1293 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
1294
1295 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
1296 similar rule which adds the sysdep directories to the header search in
1297 order to pick up the correct platform stackinfo.h.
1298 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
1299 perform test if it is, otherwise return successfully without testing.
1300 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
1301 DEFAULT_STACK_PERMS define in stackinfo.h.
1302 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
1303 defined in stackinfo.h.
1304 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
1305 DEFAULT_STACK_PERMS defined in stackinfo.h.
1306 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
1307 * sysdeps/ia64/stackinfo.h: Likewise.
1308 * sysdeps/s390/stackinfo.h: Likewise.
1309 * sysdeps/sh/stackinfo.h: Likewise.
1310 * sysdeps/sparc/stackinfo.h: Likewise.
1311 * sysdeps/x86_64/stackinfo.h: Likewise.
1312 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
1313 PF_X for powerpc64. Retain PF_X for powerpc32.
1314
1315 2010-12-19 Ulrich Drepper <drepper@gmail.com>
1316
1317 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
1318 accurately.
1319 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
1320 GETDENTS_64BIT_ALIGNED.
1321
1322 2010-12-14 Ulrich Drepper <dreper@gmail.com>
1323
1324 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
1325
1326 2010-12-10 Andreas Schwab <schwab@redhat.com>
1327
1328 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
1329 _GNU_SOURCE.
1330
1331 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
1332 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
1333 Remove __restrict.
1334 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
1335 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
1336
1337 2010-12-09 Ulrich Drepper <drepper@gmail.com>
1338
1339 [BZ #11655]
1340 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
1341 are initialized.
1342
1343 2010-12-09 Jakub Jelinek <jakub@redhat.com>
1344
1345 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
1346
1347 2010-12-03 Ulrich Drepper <drepper@gmail.com>
1348
1349 * po/it.po: Update from translation team.
1350
1351 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
1352
1353 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
1354 unused codes.
1355
1356 2010-11-30 Ulrich Drepper <drepper@gmail.com>
1357
1358 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
1359
1360 2010-11-24 Andreas Schwab <schwab@redhat.com>
1361
1362 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
1363 specially.
1364 (gaih_getanswer_slice): Likewise.
1365
1366 2010-10-20 Jakub Jelinek <jakub@redhat.com>
1367
1368 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
1369
1370 2010-05-31 Petr Baudis <pasky@suse.cz>
1371
1372 [BZ #11149]
1373 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
1374 silently even in the chroot mode.
1375
1376 2010-11-22 Ulrich Drepper <drepper@gmail.com>
1377
1378 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
1379 last patch a bit. Pretty printing
1380
1381 2010-05-31 Petr Baudis <pasky@suse.cz>
1382
1383 [BZ #10085]
1384 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
1385 initialization of skip_initgroups_dyn.
1386
1387 2010-11-19 Ulrich Drepper <drepper@gmail.com>
1388
1389 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
1390 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
1391
1392 2010-11-16 Ulrich Drepper <drepper@gmail.com>
1393
1394 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
1395
1396 2010-11-11 Andreas Schwab <schwab@redhat.com>
1397
1398 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
1399 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
1400 (tst-fnmatch-ENV): Set MALLOC_TRACE.
1401 ($(objpfx)tst-fnmatch-mem): New rule.
1402 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
1403 * posix/tst-fnmatch.c (main): Call mtrace.
1404
1405 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
1406
1407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1408 Support Intel processor model 6 and model 0x2c.
1409
1410 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
1411
1412 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
1413 signed comparison.
1414
1415 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
1416
1417 [BZ #12205]
1418 * string/test-strncasecmp.c (check_result): New function.
1419 (do_one_test): Use it.
1420 (check1): New function.
1421 (test_main): Use it.
1422 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
1423 Support strcasecmp and strncasecmp.
1424
1425 2010-11-08 Ulrich Drepper <drepper@gmail.com>
1426
1427 [BZ #12194]
1428 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
1429 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1430
1431 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
1432
1433 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
1434 IFUNC support.
1435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1436 memset-x86-64.
1437 * sysdeps/x86_64/multiarch/bzero.S: New file.
1438 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
1439 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
1440 * sysdeps/x86_64/multiarch/memset.S: New file.
1441 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
1442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1443 Set bit_Prefer_SSE_for_memop for Intel processors.
1444 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
1445 Define.
1446 (index_Prefer_SSE_for_memop): Define.
1447 (HAS_PREFER_SSE_FOR_MEMOP): Define.
1448
1449 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
1450
1451 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
1452 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
1453
1454 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
1455
1456 [BZ #12191]
1457 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
1458 (__x86_64_raw_data_cache_size_half): Likewise.
1459 (__x86_64_raw_shared_cache_size): Likewise.
1460 (__x86_64_raw_shared_cache_size_half): Likewise.
1461
1462 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
1463 (__x86_64_raw_data_cache_size_half): Likewise.
1464 (__x86_64_raw_shared_cache_size): Likewise.
1465 (__x86_64_raw_shared_cache_size_half): Likewise.
1466 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
1467 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
1468 and __x86_64_raw_shared_cache_size_half. Round
1469 __x86_64_data_cache_size_half, __x86_64_data_cache_size
1470 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
1471 to multiple of 256 bytes.
1472
1473 2010-11-03 Ulrich Drepper <drepper@gmail.com>
1474
1475 [BZ #12167]
1476 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
1477 of inacessible symlinks. Verify result of symlink before returning it.
1478 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1479 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
1480
1481 2010-10-28 Erich Ritz <erichritz@gmail.com>
1482
1483 * math/math.h (isinf): Fix typo in comment.
1484
1485 2010-11-01 Ulrich Drepper <drepper@gmail.com>
1486
1487 * po/da.po: Update from translation team.
1488
1489 2010-10-26 Ulrich Drepper <drepper@gmail.com>
1490
1491 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
1492 is added to the list.
1493
1494 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1495 Ulrich Drepper <drepper@gmail.com>
1496
1497 * elf/dl-object.c (_dl_new_object): Don't append the new object to
1498 the global list here. Move code to...
1499 (_dl_add_to_namespace_list): ...here. New function.
1500 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
1501 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
1502 * elf/dl-load.c (lose): Don't remove the element from the list.
1503 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
1504 (_dl_map_object): Likewise.
1505
1506 2010-10-25 Ulrich Drepper <drepper@gmail.com>
1507
1508 [BZ #12159]
1509 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
1510 into all bytes of SSE register.
1511 Patch by Richard Li <richardpku@gmail.com>.
1512
1513 2010-10-24 Ulrich Drepper <drepper@gmail.com>
1514
1515 [BZ #12140]
1516 * malloc/malloc.c (_int_free): Fill correct number of bytes when
1517 perturbing.
1518
1519 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
1520
1521 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
1522 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
1523 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
1524 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
1526 submachine.
1527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
1528
1529 2010-10-22 Andreas Schwab <schwab@redhat.com>
1530
1531 * include/dlfcn.h (__RTLD_SECURE): Define.
1532 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
1533 mode & __RTLD_SECURE instead.
1534 (open_path): Rename preloaded parameter to secure.
1535 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
1536 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
1537 * elf/dl-deps.c (openaux): Likewise.
1538 * elf/rtld.c (struct map_args): Remove is_preloaded.
1539 (map_doit): Don't use it.
1540 (dl_main): Likewise.
1541 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
1542 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
1543
1544 2010-09-09 Andreas Schwab <schwab@redhat.com>
1545
1546 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
1547 (sysd-rules-targets): Remove duplicates.
1548 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
1549 rtld-%.$o dependency.
1550
1551 2010-10-18 Andreas Schwab <schwab@redhat.com>
1552
1553 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
1554 _dl_map_object do it.
1555
1556 2010-10-19 Ulrich Drepper <drepper@gmail.com>
1557
1558 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
1559 fast fma builtins, define the macros in the C99 standard.
1560 (FP_FAST_FMAF): Likewise.
1561 (FP_FAST_FMAL): Likewise.
1562 * sysdeps/x86_64/bits/mathdef.h: Likewise.
1563
1564 * bits/mathdef.h: Update copyright year.
1565 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1566
1567 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
1568
1569 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
1570 builtins, define the macros in the C99 standard.
1571 (FP_FAST_FMAF): Likewise.
1572 (FP_FAST_FMAL): Likewise.
1573 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
1574 multiply/add.
1575 (FP_FAST_FMAF): Likewise.
1576
1577 2010-10-15 Jakub Jelinek <jakub@redhat.com>
1578
1579 [BZ #3268]
1580 * math/libm-test.inc (fma_test): Some new testcases.
1581 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
1582 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
1583 y and infinite z. Do multiplication by C already in long double.
1584 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
1585 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
1586 y and infinite z. Do bitwise or of inexact bit into u.d.
1587 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
1588 * sysdeps/i386/fpu/s_fmaf.S: Removed.
1589 * sysdeps/i386/fpu/s_fma.S: Removed.
1590 * sysdeps/i386/fpu/s_fmal.S: Removed.
1591
1592 2010-10-16 Jakub Jelinek <jakub@redhat.com>
1593
1594 [BZ #3268]
1595 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
1596 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
1597 computation is not scheduled after fetestexcept. Fix value
1598 of minimum denormal long double.
1599
1600 2010-10-14 Jakub Jelinek <jakub@redhat.com>
1601
1602 [BZ #3268]
1603 * math/libm-test.inc (fma_test): Add some more tests.
1604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
1605 correctly.
1606
1607 2010-10-15 Andreas Schwab <schwab@redhat.com>
1608
1609 * scripts/data/localplt-s390-linux-gnu.data: New file.
1610 * scripts/data/localplt-s390x-linux-gnu.data: New file.
1611
1612 2010-10-13 Jakub Jelinek <jakub@redhat.com>
1613
1614 [BZ #3268]
1615 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
1616 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
1617 instead of dbl-64.
1618 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
1619 inlines.
1620 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
1621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
1622 if one of x and y is very large and the other is subnormal.
1623 * sysdeps/s390/fpu/s_fmaf.c: New file.
1624 * sysdeps/s390/fpu/s_fma.c: New file.
1625 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
1626 * sysdeps/powerpc/fpu/s_fma.S: New file.
1627 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
1628 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
1629 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
1630
1631 2010-10-12 Jakub Jelinek <jakub@redhat.com>
1632
1633 [BZ #3268]
1634 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
1635 fma tests.
1636 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
1637 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
1638 * sysdeps/i386/i686/multiarch/s_fma.c: Include
1639 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
1640 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
1641 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
1642 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
1643
1644 2010-10-12 Ulrich Drepper <drepper@redhat.com>
1645
1646 [BZ #12078]
1647 * posix/regcomp.c (parse_branch): One more memory leak plugged.
1648 * posix/bug-regex31.input: Add test case.
1649
1650 2010-10-11 Ulrich Drepper <drepper@gmail.com>
1651
1652 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
1653 * posix/bug-regex31.input: New file.
1654
1655 [BZ #12078]
1656 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
1657 (parse_sub_exp): Fix last change, use postorder.
1658
1659 * posix/bug-regex31.c: New file.
1660 * posix/Makefile: Add rules to build and run bug-regex31.
1661
1662 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
1663
1664 [BZ #12078]
1665 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
1666
1667 [BZ #12108]
1668 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
1669 to have entries in sys_siglist.
1670
1671 [BZ #12093]
1672 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
1673 be NULL.
1674
1675 2010-10-07 Jakub Jelinek <jakub@redhat.com>
1676
1677 [BZ #3268]
1678 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
1679 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
1680 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
1681 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
1682 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
1683 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
1684 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
1685 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
1686 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
1687 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
1688 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
1689 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
1690 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1691 * math/ftestexcept.c (fetestexcept): Likewise.
1692 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
1693 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
1694 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1695 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
1696 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
1697 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
1698 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1699
1700 2010-10-11 Ulrich Drepper <drepper@gmail.com>
1701
1702 [BZ #12107]
1703 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
1704 newline.
1705
1706 2010-10-06 Ulrich Drepper <drepper@gmail.com>
1707
1708 * string/bug-strstr1.c: New file.
1709 * string/Makefile: Add rules to build and run bug-strstr1.
1710
1711 2010-10-05 Eric Blake <eblake@redhat.com>
1712
1713 [BZ #12092]
1714 * string/str-two-way.h (two_way_long_needle): Always clear memory
1715 when skipping input due to the shift table.
1716
1717 2010-10-03 Ulrich Drepper <drepper@gmail.com>
1718
1719 [BZ #12005]
1720 * malloc/mcheck.c: Handle large requests.
1721
1722 [BZ #12077]
1723 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
1724 for strncmp and strncasecmp.
1725 * string/stratcliff.c: Add tests for strcmp and strncmp.
1726 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
1727
1728 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1729
1730 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
1731 __set_fpscr.
1732
1733 2010-09-30 Andreas Jaeger <aj@suse.de>
1734
1735 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
1736 (CGROUP_SUPER_MAGIC): Define.
1737 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1738 Handle btrfs and cgroup file systems.
1739 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1740 Likewise.
1741
1742 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
1743
1744 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
1745 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
1746
1747 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1748
1749 [BZ #12067]
1750 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
1751 trying to locate the ELF header.
1752
1753 2010-09-27 Andreas Schwab <schwab@redhat.com>
1754
1755 [BZ #11611]
1756 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
1757 Mask out sign-bit copies when constructing f_fsid.
1758
1759 2010-09-24 Petr Baudis <pasky@suse.cz>
1760
1761 * debug/stack_chk_fail_local.c: Add missing licence exception.
1762 * debug/warning-nop.c: Likewise.
1763
1764 2010-09-15 Joseph Myers <joseph@codesourcery.com>
1765
1766 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
1767 implementing getdents64 using getdents syscall, set d_type if
1768 __ASSUME_GETDENTS32_D_TYPE.
1769
1770 2010-09-16 Andreas Schwab <schwab@redhat.com>
1771
1772 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
1773 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
1774
1775 2010-09-21 Ulrich Drepper <drepper@redhat.com>
1776
1777 [BZ #12037]
1778 * posix/unistd.h: Undo change of feature selection for ftruncate from
1779 2010-01-11.
1780
1781 2010-09-20 Ulrich Drepper <drepper@redhat.com>
1782
1783 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
1784 detection.
1785
1786 2010-09-20 Andreas Schwab <schwab@redhat.com>
1787
1788 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
1789 fanotify_mark.
1790 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1791
1792 2010-09-14 Andreas Schwab <schwab@redhat.com>
1793
1794 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
1795 variables after CHECK_SP call.
1796 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
1797
1798 2010-09-13 Andreas Schwab <schwab@redhat.com>
1799 Ulrich Drepper <drepper@redhat.com>
1800
1801 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
1802 re-relocationg ld.so.
1803 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
1804 _dl_init_paths call.
1805 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
1806 here anymore.
1807
1808 2010-09-14 Ulrich Drepper <drepper@redhat.com>
1809
1810 * resolv/res_init.c (__res_vinit): Count the default server we added.
1811
1812 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
1813 Ulrich Drepper <drepper@redhat.com>
1814
1815 [BZ #11968]
1816 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
1817 (____longjmp_chk): Use %ebx for saving value across system call.
1818 Add unwind info.
1819
1820 2010-09-06 Andreas Schwab <schwab@redhat.com>
1821
1822 * manual/Makefile: Don't mix pattern rules with normal rules.
1823
1824 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
1825
1826 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
1827 operation.
1828 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
1829 * libio/iofopncook.c (_IO_cookie_init): Likewise.
1830 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1831 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1832 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1833 Likewise.
1834
1835 2010-09-04 Ulrich Drepper <drepper@redhat.com>
1836
1837 [BZ #11979]
1838 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
1839 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
1840
1841 2010-09-02 Ulrich Drepper <drepper@redhat.com>
1842
1843 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
1844 * sysdeps/x86_64/addmul_1.S: Likewise.
1845 * sysdeps/x86_64/lshift.S: Likewise.
1846 * sysdeps/x86_64/mul_1.S: Likewise.
1847 * sysdeps/x86_64/rshift.S: Likewise.
1848 * sysdeps/x86_64/sub_n.S: Likewise.
1849 * sysdeps/x86_64/submul_1.S: Likewise.
1850
1851 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
1852
1853 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
1854 Define __sched_param instead of SCHED_* and sched_param when
1855 <bits/sched.h> is included with __need_schedparam defined.
1856 * bits/sched.h [__need_schedparam]
1857 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
1858 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
1859 (__defined_schedparam): Define to 1.
1860 (__sched_param): New structure, identical to sched_param.
1861 (__need_schedparam): Undefine.
1862
1863 2010-08-31 Mike Frysinger <vapier@gentoo.org>
1864
1865 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
1866 (epoll_create1): Declare.
1867
1868 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
1869
1870 2010-08-31 Andreas Schwab <schwab@redhat.com>
1871
1872 [BZ #7066]
1873 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
1874 shifting retval into place.
1875
1876 2010-09-01 Ulrich Drepper <drepper@redhat.com>
1877
1878 * nis/rpcsvc/nis.h: Update copyright notice.
1879 * nis/rpcsvc/nis.x: Likewise.
1880 * nis/rpcsvc/nis_callback.h: Likewise.
1881 * nis/rpcsvc/nis_callback.x: Likewise.
1882 * nis/rpcsvc/nis_object.x: Likewise.
1883 * nis/rpcsvc/nis_tags.h: Likewise.
1884 * nis/rpcsvc/yp.h: Likewise.
1885 * nis/rpcsvc/yp.x: Likewise.
1886 * nis/rpcsvc/ypupd.h: Likewise.
1887 * nis/yp_xdr.c: Likewise.
1888 * nis/ypupdate_xdr.c: Likewise.
1889
1890 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
1891 mainly the body of pmap_getport. Add parameters to specify timeouts.
1892 (pmap_getport): Use __libc_rpc_getport.
1893 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
1894 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
1895 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
1896
1897 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
1898
1899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
1900 fanotify_mark.
1901
1902 2010-08-27 Roland McGrath <roland@redhat.com>
1903
1904 * sysdeps/i386/i686/multiarch/Makefile
1905 (CFLAGS-varshift.c): New variable.
1906
1907 2010-08-27 Ulrich Drepper <drepper@redhat.com>
1908
1909 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
1910 * sysdeps/i386/i686/multiarch/varshift.c: New file.
1911
1912 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
1913
1914 * sysdeps/x86_64/strlen.S: Minimal code improvement.
1915
1916 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
1917
1918 * sysdeps/x86_64/strlen.S: Unroll the loop.
1919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1920 strlen-sse2 strlen-sse2-bsf.
1921 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
1922 __strlen_no_bsf if bit_Slow_BSF is set.
1923 (__strlen_sse42): Removed.
1924 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
1925 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
1926
1927 2010-08-25 Roland McGrath <roland@redhat.com>
1928
1929 * sysdeps/x86_64/multiarch/varshift.S: File removed.
1930 * sysdeps/x86_64/multiarch/varshift.c: New file.
1931 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
1932 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
1933 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
1934 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1935
1936 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
1937
1938 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1939 strlen-sse2 strlen-sse2-bsf.
1940 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
1941 __strlen_sse2_bsf if bit_Slow_BSF is unset.
1942 (__strlen_sse2): Removed.
1943 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
1944 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
1945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1946 bit_Slow_BSF for Atom.
1947 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
1948 (index_Slow_BSF): Define.
1949 (HAS_SLOW_BSF): Define.
1950
1951 2010-08-25 Ulrich Drepper <drepper@redhat.com>
1952
1953 [BZ #10851]
1954 * resolv/res_init.c (__res_vinit): When no server address at all
1955 is given default to loopback.
1956
1957 2010-08-24 Roland McGrath <roland@redhat.com>
1958
1959 * configure.in: Remove config-name.h generation.
1960 * configure: Regenerated.
1961 * config-name.in: File removed.
1962 * scripts/config-uname.sh: New file.
1963 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
1964 ($(objdir)config-name.h): New target.
1965
1966 * sunrpc/rpc_parse.h: Avoid nested comment.
1967
1968 2010-08-24 Richard Henderson <rth@redhat.com>
1969 Ulrich Drepper <drepper@redhat.com>
1970 H.J. Lu <hongjiu.lu@intel.com>
1971
1972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
1973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
1974 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
1975 Replace _mm_srli_si128 with __m128i_shift_right. Replace
1976 _mm_alignr_epi8 with _mm_loadu_si128.
1977 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
1978 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
1979 (__m128i_shift_right): Removed.
1980 * sysdeps/i386/i686/multiarch/varshift.h: New file.
1981 * sysdeps/i386/i686/multiarch/varshift.S: New file.
1982 * sysdeps/x86_64/multiarch/varshift.h: New file.
1983 * sysdeps/x86_64/multiarch/varshift.S: New file.
1984
1985 2010-08-21 Mike Frysinger <vapier@gentoo.org>
1986
1987 * configure.in: Move assembler checks to before sysdep dir checking.
1988
1989 2010-08-20 Petr Baudis <pasky@suse.cz>
1990
1991 * LICENSES: Sync the sunrpc license.
1992
1993 2010-08-19 Ulrich Drepper <drepper@redhat.com>
1994
1995 * sunrpc/auth_des.c: Update copyright notice once again.
1996 * sunrpc/auth_none.c: Likewise.
1997 * sunrpc/auth_unix.c: Likewise.
1998 * sunrpc/authdes_prot.c: Likewise.
1999 * sunrpc/authuxprot.c: Likewise.
2000 * sunrpc/bindrsvprt.c: Likewise.
2001 * sunrpc/clnt_gen.c: Likewise.
2002 * sunrpc/clnt_perr.c: Likewise.
2003 * sunrpc/clnt_raw.c: Likewise.
2004 * sunrpc/clnt_simp.c: Likewise.
2005 * sunrpc/clnt_tcp.c: Likewise.
2006 * sunrpc/clnt_udp.c: Likewise.
2007 * sunrpc/clnt_unix.c: Likewise.
2008 * sunrpc/des_crypt.c: Likewise.
2009 * sunrpc/des_soft.c: Likewise.
2010 * sunrpc/get_myaddr.c: Likewise.
2011 * sunrpc/getrpcport.c: Likewise.
2012 * sunrpc/key_call.c: Likewise.
2013 * sunrpc/key_prot.c: Likewise.
2014 * sunrpc/openchild.c: Likewise.
2015 * sunrpc/pm_getmaps.c: Likewise.
2016 * sunrpc/pm_getport.c: Likewise.
2017 * sunrpc/pmap_clnt.c: Likewise.
2018 * sunrpc/pmap_prot.c: Likewise.
2019 * sunrpc/pmap_prot2.c: Likewise.
2020 * sunrpc/pmap_rmt.c: Likewise.
2021 * sunrpc/rpc/auth.h: Likewise.
2022 * sunrpc/rpc/auth_unix.h: Likewise.
2023 * sunrpc/rpc/clnt.h: Likewise.
2024 * sunrpc/rpc/des_crypt.h: Likewise.
2025 * sunrpc/rpc/key_prot.h: Likewise.
2026 * sunrpc/rpc/netdb.h: Likewise.
2027 * sunrpc/rpc/pmap_clnt.h: Likewise.
2028 * sunrpc/rpc/pmap_prot.h: Likewise.
2029 * sunrpc/rpc/pmap_rmt.h: Likewise.
2030 * sunrpc/rpc/rpc.h: Likewise.
2031 * sunrpc/rpc/rpc_des.h: Likewise.
2032 * sunrpc/rpc/rpc_msg.h: Likewise.
2033 * sunrpc/rpc/svc.h: Likewise.
2034 * sunrpc/rpc/svc_auth.h: Likewise.
2035 * sunrpc/rpc/types.h: Likewise.
2036 * sunrpc/rpc/xdr.h: Likewise.
2037 * sunrpc/rpc_clntout.c: Likewise.
2038 * sunrpc/rpc_cmsg.c: Likewise.
2039 * sunrpc/rpc_common.c: Likewise.
2040 * sunrpc/rpc_cout.c: Likewise.
2041 * sunrpc/rpc_dtable.c: Likewise.
2042 * sunrpc/rpc_hout.c: Likewise.
2043 * sunrpc/rpc_main.c: Likewise.
2044 * sunrpc/rpc_parse.c: Likewise.
2045 * sunrpc/rpc_parse.h: Likewise.
2046 * sunrpc/rpc_prot.c: Likewise.
2047 * sunrpc/rpc_sample.c: Likewise.
2048 * sunrpc/rpc_scan.c: Likewise.
2049 * sunrpc/rpc_scan.h: Likewise.
2050 * sunrpc/rpc_svcout.c: Likewise.
2051 * sunrpc/rpc_tblout.c: Likewise.
2052 * sunrpc/rpc_util.c: Likewise.
2053 * sunrpc/rpc_util.h: Likewise.
2054 * sunrpc/rpcinfo.c: Likewise.
2055 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
2056 * sunrpc/rpcsvc/key_prot.x: Likewise.
2057 * sunrpc/rpcsvc/klm_prot.x: Likewise.
2058 * sunrpc/rpcsvc/mount.x: Likewise.
2059 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
2060 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
2061 * sunrpc/rpcsvc/rex.x: Likewise.
2062 * sunrpc/rpcsvc/rstat.x: Likewise.
2063 * sunrpc/rpcsvc/rusers.x: Likewise.
2064 * sunrpc/rpcsvc/sm_inter.x: Likewise.
2065 * sunrpc/rpcsvc/spray.x: Likewise.
2066 * sunrpc/rpcsvc/yppasswd.x: Likewise.
2067 * sunrpc/rtime.c: Likewise.
2068 * sunrpc/svc.c: Likewise.
2069 * sunrpc/svc_auth.c: Likewise.
2070 * sunrpc/svc_authux.c: Likewise.
2071 * sunrpc/svc_raw.c: Likewise.
2072 * sunrpc/svc_run.c: Likewise.
2073 * sunrpc/svc_simple.c: Likewise.
2074 * sunrpc/svc_tcp.c: Likewise.
2075 * sunrpc/svc_udp.c: Likewise.
2076 * sunrpc/svc_unix.c: Likewise.
2077 * sunrpc/svcauth_des.c: Likewise.
2078 * sunrpc/xcrypt.c: Likewise.
2079 * sunrpc/xdr.c: Likewise.
2080 * sunrpc/xdr_array.c: Likewise.
2081 * sunrpc/xdr_float.c: Likewise.
2082 * sunrpc/xdr_mem.c: Likewise.
2083 * sunrpc/xdr_rec.c: Likewise.
2084 * sunrpc/xdr_ref.c: Likewise.
2085 * sunrpc/xdr_sizeof.c: Likewise.
2086 * sunrpc/xdr_stdio.c: Likewise.
2087
2088 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
2089 handling.
2090
2091 2010-08-19 Andreas Schwab <schwab@redhat.com>
2092
2093 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
2094
2095 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
2096
2097 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
2098 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
2099 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
2100 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
2101 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
2102 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
2103 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
2104 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
2105 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
2106 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
2107 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
2108 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
2109 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
2110 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
2111
2112 2010-07-26 Anton Blanchard <anton@samba.org>
2113
2114 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
2115 * malloc/arena.c (heap_trim): Likewise.
2116
2117 2010-08-16 Ulrich Drepper <drepper@redhat.com>
2118
2119 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
2120 here. Not...
2121 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
2122 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
2123
2124 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
2125
2126 * sysdeps/i386/elf/Makefile: New file.
2127
2128 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
2129
2130 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
2131 from fanotify_init.
2132 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2133 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2134
2135 2010-08-15 Ulrich Drepper <drepper@redhat.com>
2136
2137 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
2138 of strncasecmp_l.
2139 * sysdeps/multiarch/strcmp.S: Likewise.
2140
2141 2010-08-14 Ulrich Drepper <drepper@redhat.com>
2142
2143 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
2144 strncase_l-nonascii.
2145 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
2146 Add strncase_l-ssse3.
2147 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
2148 * sysdeps/x86_64/strcmp.S: Likewise.
2149 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
2150 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
2151 * sysdeps/x86_64/strncase.S: New file.
2152 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
2153 * sysdeps/x86_64/strncase_l.S: New file.
2154 * string/Makefile (strop-tests): Add strncasecmp.
2155 * string/test-strncasecmp.c: New file.
2156
2157 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
2158 warning.
2159
2160 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
2161 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
2162
2163 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
2164
2165 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
2166
2167 2010-08-12 Ulrich Drepper <drepper@redhat.com>
2168
2169 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
2170 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2171 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2172
2173 2010-05-01 Alan Modra <amodra@gmail.com>
2174
2175 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
2176 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
2177 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
2178 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
2179 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
2180 tidying. Don't tail-call __sigjmp_save for static lib.
2181 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
2182 save location.
2183 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
2184 (CALL_MCOUNT): Add eh info, and nop after bl.
2185 (TAIL_CALL_SYSCALL_ERROR): New macro.
2186 (PSEUDO_RET): Use it.
2187 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2188 Correct save location of integer regs and cr.
2189 (_dl_profile_resolve): Correct cr save location. Delete nops
2190 after bl when SHARED. Reduce cfi size a little by better
2191 placement of cfi directives.
2192 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
2193 make a stack frame. Instead use parm save area as a temp.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
2195 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2197 Don't make a stack frame for parent, use parm save area.
2198 Increase child stack frame to 112 bytes. Don't save unused reg,
2199 and adjust reg usage. Set up cfi on error recovery and
2200 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
2201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2202 (__makecontext): Add dummy nop after jump to exit.
2203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
2204 Use correct parm save area and cr save, reduce stack frame.
2205 Correct cfi for possible PSEUDO_RET frame setup.
2206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
2207 Branch to local label emitted by PSEUDO_RET rather than
2208 __syscall_error.
2209
2210 2010-08-12 Andreas Schwab <schwab@redhat.com>
2211
2212 [BZ #11904]
2213 * locale/programs/locale.c (print_assignment): New function.
2214 (show_locale_vars): Use it.
2215
2216 2010-08-11 Ulrich Drepper <drepper@redhat.com>
2217
2218 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
2219 field.
2220 (struct statfs64): Likewise.
2221 (_STATFS_F_FLAGS): Define.
2222 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
2223 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2224 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
2225 (ST_VALID): Define locally.
2226 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
2227 __statvfs_getflags, use the provided value.
2228 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2229 __ASSUME_STATFS_F_FLAGS.
2230
2231 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
2232
2233 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
2234 Add sys/fanotify.h.
2235 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
2236 fanotify_mask for GLIBC_2.13.
2237 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
2238 fanotify_init and fanotify_mark.
2239 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2240 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
2241
2242 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
2243 Add prlimit.
2244 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
2245 prlimit64 for GLIBC_2.13.
2246 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
2247 prlimit64.
2248 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
2249 syscall.
2250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
2251 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
2252 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
2253 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
2254 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
2255 add prlimit alias.
2256 * sysdeps/unix/sysv/linux/prlimit.c: New file.
2257
2258 [BZ #11903]
2259 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
2260 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
2261
2262 * nss/Makefile: Add rules to build and run tst-nss-test1.
2263 * shlib-versions: Add entry for libnss_test1.
2264 * nss/nss_test1.c: New file.
2265 * nss/tst-nss-test1.c: New file.
2266
2267 * nss/nsswitch.c (__nss_database_custom): Define new variable.
2268 (__nss_configure_lookup): Set appropriate entry in
2269 __nss_configure_lookup to true.
2270 * nss/nsswitch.h: Define enum with indeces of databases in
2271 databases and __nss_database_custom arrays. Declare
2272 __nss_database_custom.
2273 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
2274 to avoid using nscd when custom rules are installed.
2275 * nss/getXXbyYY_r.c: Likewise.
2276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2277
2278 * nss/nss_files/files-parse.c: Whitespace fixes.
2279
2280 2010-08-09 Ulrich Drepper <drepper@redhat.com>
2281
2282 [BZ #11883]
2283 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
2284 * posix/fnmatch_loop.c: Likewise.
2285
2286 2010-07-17 Andi Kleen <ak@linux.intel.com>
2287
2288 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
2289 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
2290 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
2291 * Versions.def [GLIBC_2.13]: Add.
2292
2293 2010-08-06 Ulrich Drepper <drepper@redhat.com>
2294
2295 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2296 Also fail if tpwd after pwuid call is NULL.
2297
2298 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
2299
2300 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
2301 when converting to ms.
2302
2303 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
2304
2305 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
2306 EOPNOTSUPP errors with ENOTTY.
2307 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
2308 EOPNOTSUPP errors with ENOTTY.
2309
2310 2010-07-31 Ulrich Drepper <drepper@redhat.com>
2311
2312 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
2313 Add strcasecmp_l-ssse3.
2314 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
2315 strcasecmp.
2316 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
2317 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
2318 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
2319
2320 2010-07-30 Ulrich Drepper <drepper@redhat.com>
2321
2322 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
2323
2324 * string/Makefile (strop-tests): Add strcasecmp.
2325 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
2326 strcasecmp_l-nonascii.
2327 (gen-as-const-headers): Add locale-defines.sym.
2328 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
2329 * sysdeps/x86_64/strcasecmp.S: New file.
2330 * sysdeps/x86_64/strcasecmp_l.S: New file.
2331 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
2332 * sysdeps/x86_64/locale-defines.sym: New file.
2333 * string/test-strcasecmp.c: New file.
2334
2335 * string/test-strcasestr.c: Test both ends of the range of characters.
2336 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
2337
2338 2010-07-29 Roland McGrath <roland@redhat.com>
2339
2340 [BZ #11856]
2341 * manual/locale.texi (Yes-or-No Questions): Fix example code.
2342
2343 2010-07-27 Ulrich Drepper <drepper@redhat.com>
2344
2345 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
2346 for ld.so.
2347
2348 2010-07-27 Andreas Schwab <schwab@redhat.com>
2349
2350 * manual/memory.texi (Malloc Tunable Parameters): Document
2351 M_PERTURB.
2352
2353 2010-07-26 Roland McGrath <roland@redhat.com>
2354
2355 [BZ #11840]
2356 * configure.in (-fgnu89-inline check): Set and substitute
2357 gnu89_inline, not libc_cv_gnu89_inline.
2358 * configure: Regenerated.
2359 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
2360
2361 2010-07-26 Ulrich Drepper <drepper@redhat.com>
2362
2363 * string/test-strnlen.c: New file.
2364 * string/Makefile (strop-tests): Add strnlen.
2365 * string/tester.c (test_strnlen): Add a few more test cases.
2366 * string/tst-strlen.c: Better error reporting.
2367
2368 * sysdeps/x86_64/strnlen.S: New file.
2369
2370 2010-07-24 Ulrich Drepper <drepper@redhat.com>
2371
2372 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
2373 lower-latency instructions.
2374
2375 2010-07-23 Ulrich Drepper <drepper@redhat.com>
2376
2377 * string/test-strcasestr.c: New file.
2378 * string/test-strstr.c: New file.
2379 * string/Makefile (strop-tests): Add strstr and strcasestr.
2380 * string/str-two-way.h: Don't undefine MAX.
2381 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
2382
2383 2010-07-21 Andreas Schwab <schwab@redhat.com>
2384
2385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2386 strcasestr-nonascii.
2387 (CFLAGS-strcasestr-nonascii.c): Define.
2388 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
2389 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
2390 Remove unused attribute.
2391
2392 2010-07-20 Roland McGrath <roland@redhat.com>
2393
2394 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
2395 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
2396 ld.so.cache was broken. With it, there is no way to disable dsocaps
2397 like LD_HWCAP_MASK can disable hwcaps.
2398
2399 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
2400
2401 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
2402
2403 2010-07-16 Ulrich Drepper <drepper@redhat.com>
2404
2405 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
2406 call in strcasestr.
2407 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
2408 __strcasestr_sse42_nonascii.
2409 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
2410 strcasestr-nonascii.c.
2411 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
2412
2413 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
2414
2415 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
2416 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
2417 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
2418 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
2419
2420 2010-07-09 Ulrich Drepper <drepper@redhat.com>
2421
2422 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
2423 fcntl.
2424
2425 2010-07-06 Andreas Schwab <schwab@redhat.com>
2426
2427 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
2428 dl_signal_cerror.
2429
2430 2010-07-06 Ulrich Drepper <drepper@redhat.com>
2431
2432 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
2433 _PC_PIPE_BUF using F_GETPIPE_SZ.
2434
2435 2010-07-05 Roland McGrath <roland@redhat.com>
2436
2437 * manual/arith.texi (Rounding Functions): Fix rint description
2438 implicit in round description.
2439
2440 2010-07-02 Ulrich Drepper <drepper@redhat.com>
2441
2442 * elf/Makefile: Fix linking for a few tests to make recent linker
2443 happy.
2444
2445 2010-06-30 Andreas Schwab <schwab@redhat.com>
2446
2447 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
2448 $(common-objpfx)libc_nonshared.a.
2449
2450 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
2451
2452 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
2453 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
2454 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
2455 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
2456 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
2457 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
2458 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
2459 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
2460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
2461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
2462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
2463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
2464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
2465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
2466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
2467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
2468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
2469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
2470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
2471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
2472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
2473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
2474 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
2475 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
2476 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
2477 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
2478 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
2479 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
2480 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
2481 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
2482 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
2483 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
2484 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
2485 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
2486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
2487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
2488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
2489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
2490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
2491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
2492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
2495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
2496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
2497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
2498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
2499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
2500
2501 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
2502
2503 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
2504 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
2505 * string/memmove.c (memmove): Renamed to ...
2506 (MEMMOVE): ...this. Default to memmove.
2507 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
2508 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
2509 (END_CHK): Define.
2510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2511 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
2512 mempcpy-ssse3-back memmove-ssse3-back.
2513 * sysdeps/x86_64/multiarch/bcopy.S: New file .
2514 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
2515 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
2516 * sysdeps/x86_64/multiarch/memcpy.S: New file.
2517 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
2518 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
2519 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
2520 * sysdeps/x86_64/multiarch/memmove.c: New file.
2521 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
2522 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
2523 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
2524 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
2525 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
2526 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
2527 Define.
2528 (index_Fast_Copy_Backward): Define.
2529 (HAS_ARCH_FEATURE): Define.
2530 (HAS_FAST_REP_STRING): Define.
2531 (HAS_FAST_COPY_BACKWARD): Define.
2532
2533 2010-06-21 Andreas Schwab <schwab@redhat.com>
2534
2535 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2536 Restore proper fallback handling.
2537
2538 2010-06-19 Ulrich Drepper <drepper@redhat.com>
2539
2540 [BZ #11701]
2541 * posix/group_member.c (__group_member): Correct checking loop.
2542
2543 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
2544 OOM in getpwuid_r correctly. Return error number when the caller
2545 should return, otherwise -1.
2546 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
2547 call returning > 0 value.
2548 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
2549
2550 2010-06-07 Andreas Schwab <schwab@redhat.com>
2551
2552 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
2553 libc_nonshared.a from targets in modules-names.
2554
2555 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
2556
2557 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
2558 requires it.
2559
2560 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
2561
2562 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
2563 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
2564 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
2565 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
2566
2567 2010-06-02 Andreas Schwab <schwab@redhat.com>
2568
2569 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
2570
2571 2010-06-14 Ulrich Drepper <drepper@redhat.com>
2572
2573 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
2574 and F_GETPIPE_SZ.
2575 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2576 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2579 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2580 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
2581
2582 2010-06-14 Roland McGrath <roland@redhat.com>
2583
2584 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
2585
2586 2010-06-07 Jakub Jelinek <jakub@redhat.com>
2587
2588 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
2589 __REDIRECT followed by __THROW.
2590 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
2591 * posix/getopt.h (getopt): Likewise.
2592
2593 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
2594
2595 * hurd/lookup-at.c (__file_name_lookup_at): Accept
2596 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
2597 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
2598 in AT_FLAGS.
2599 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
2600 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
2601
2602 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
2603
2604 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
2605
2606 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
2607
2608 [BZ #11640]
2609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2610 Properly check family and model.
2611
2612 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
2613
2614 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
2615
2616 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
2617
2618 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
2619
2620 2010-05-21 Ulrich Drepper <drepper@redhat.com>
2621
2622 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
2623 symbol reference.
2624
2625 2010-05-19 Andreas Schwab <schwab@redhat.com>
2626
2627 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
2628 symbol reference.
2629
2630 2010-05-21 Andreas Schwab <schwab@redhat.com>
2631
2632 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
2633 and internal_recvmmsg.
2634 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
2635 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
2636 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
2637 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
2638
2639 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
2640 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2641 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2642
2643 2010-05-20 Andreas Schwab <schwab@redhat.com>
2644
2645 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
2646
2647 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
2648
2649 POWER7 optimizations.
2650 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
2651 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
2652
2653 2010-05-19 Ulrich Drepper <drepper@redhat.com>
2654
2655 * version.h: Update for 2.13 development version.
2656
2657 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
2658
2659 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
2660 exceptions. Return 0.
2661
2662 2010-05-07 Roland McGrath <roland@redhat.com>
2663
2664 * elf/ldconfig.c (main): Add a const.
2665
2666 2010-05-06 Ulrich Drepper <drepper@redhat.com>
2667
2668 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
2669 (args_options): Add no-idn option.
2670 (ahosts_keys_int): Add idn_flags to ai_flags.
2671 (parse_option): Handle 'i' option to clear idn_flags.
2672
2673 * malloc/malloc.c (_int_free): Possible race in the most recently
2674 added check. Only act on the data if no current modification
2675 happened.
2676
2677 See ChangeLog.17 for earlier changes.