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