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