]> sourceware.org Git - glibc.git/blob - ChangeLog
Fix division by denominator with more than two limbs in strtold
[glibc.git] / ChangeLog
1 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2
3 [BZ #13524]
4 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5 numerator after shifting it by one limb.
6
7 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8
9 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10 under [__USE_EXTERN_INLINES].
11
12 2011-12-17 Ulrich Drepper <drepper@gmail.com>
13
14 [BZ #13446]
15 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16
17 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18
19 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21 optimized code.
22 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
23 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26 for strncasecmp/strncasecmp_l compilation.
27 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29
30 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31
32 [BZ #13484]
33 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
34 of __asm__.
35
36 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37
38 [BZ #13506]
39 * time/tzfile.c (__tzfile_read): Check values from file header.
40
41 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42
43 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45 * powerpc/powerpc32/dl-start.S: Likewise.
46 * powerpc/powerpc32/elf/start.S: Likewise.
47 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
54 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55 * powerpc/powerpc32/fpu/s_round.S: Likewise.
56 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
60 * powerpc/powerpc32/memset.S: Likewise.
61 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
67 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
68 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
69 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
70 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
71 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
72 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74
75 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76
77 * math/libm-test.inc: Added more nearbyint tests.
78 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
79 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
80 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
81 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
82
83 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
84
85 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
86 FD_CLOEXEC.
87
88 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89
90 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
91 Add wcscpy-ssse3 wcscpy-c.
92 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
93 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
94 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
95 * sysdeps/x86_64/wcschr.S: New file.
96 * sysdeps/x86_64/wcsrchr.S: New file.
97 * string/test-strcmp.c: Remove checking of wcscmp function for
98 wrong alignments.
99 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
100 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
101 wcsrchr-sse2 wcsrchr-c.
102 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
103 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
104 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
105 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
106 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
107 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
108 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
109 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
110 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
111 * wcsmbc/wcschr.c (WCSCHR): New macro.
112
113 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
114
115 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
116 * wcsmbs/test-wcsrchr.c: New file.
117 * string/test-strrchr.c: Add wcsrchr support.
118 (WIDE): New macro.
119 * wcsmbs/test-wcscpy.c: New file.
120 * string/test-strcpy.c: Add wcscpy support.
121 (WIDE): New macro.
122
123 2011-12-10 Ulrich Drepper <drepper@gmail.com>
124
125 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
126 the inner loop.
127
128 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
129
130 [BZ #13472]
131 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
132
133 2011-12-04 Ulrich Drepper <drepper@gmail.com>
134
135 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
136 Minor optimizations.
137
138 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
139 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
140 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
141
142 2011-12-03 Ulrich Drepper <drepper@gmail.com>
143
144 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
145 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
146 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
147 for gcc to avoid warnings.
148 * inet/Makefile (tests): Add tst-checks.
149 * inet/tst-checks.c: New file.
150
151 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
152 warning.
153
154 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
155 __wmemcmp_sse2.
156
157 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
158 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
159
160 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
161
162 2011-12-02 Ulrich Drepper <drepper@gmail.com>
163
164 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
165 problem.
166
167 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
168
169 2011-11-29 Joseph Myers <joseph@codesourcery.com>
170
171 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
172 conditional on GCC version.
173 (__arch_compare_and_exchange_val_8_acq)
174 (__arch_compare_and_exchange_val_16_acq)
175 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
176 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
177 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
178
179 2011-12-02 Joseph Myers <joseph@codesourcery.com>
180
181 * sysdeps/sh/backtrace.c: New file.
182
183 2011-12-02 Andreas Schwab <schwab@redhat.com>
184
185 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
186 parenthesis.
187
188 2011-12-01 Andreas Schwab <schwab@redhat.com>
189
190 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
191 falling back to utime.
192
193 2011-11-30 Andreas Schwab <schwab@redhat.com>
194
195 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
196 expectations for float.
197
198 2011-11-29 Andreas Schwab <schwab@redhat.com>
199
200 * locale/weight.h (findidx): Add parameter len.
201 * locale/weightwc.h (findidx): Likewise.
202 * posix/fnmatch_loop.c (FCT): Adjust caller.
203 * posix/regcomp.c (build_equiv_class): Likewise.
204 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
205 * posix/regexec.c (check_node_accept_bytes): Likewise.
206 * string/strcoll_l.c (STRCOLL): Likewise.
207 * string/strxfrm_l.c (STRXFRM): Likewise.
208
209 2011-11-17 Ulrich Drepper <drepper@gmail.com>
210
211 * Makefile.in: Remove CVSOPT handling.
212 * configure.in: Remove use of AC_REVISION.
213 * iconvdata/Makefile (distribute): No need to filter out CVS.
214 * scripts/list-sources.sh: Remove CVS, subversion and monotone
215 handling.
216
217 2011-11-16 Andreas Schwab <schwab@redhat.com>
218
219 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
220 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
221 [USE_AS_STRNCASECMP_L]: Likewise.
222 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
223 NO_TLS_DIRECT_SEG_REFS.
224 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
225 Fix argument offsets for non-PIC.
226 [USE_AS_STRNCASECMP_L]: Likewise.
227 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
228 NO_TLS_DIRECT_SEG_REFS.
229
230 2011-11-15 Ulrich Drepper <drepper@gmail.com>
231
232 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
233 O_CLOEXEC.
234 * locale/loadlocale.c (_nl_load_locale): Likewise.
235
236 2011-11-15 Andreas Schwab <schwab@redhat.com>
237
238 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
239 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
240 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
241 (SYSCALL_GETTIME): Set errno on error.
242
243 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
244 count references to noai6ai_cached.
245
246 2011-11-15 Ulrich Drepper <drepper@gmail.com>
247
248 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
249
250 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
251 FD_CLOEXEC for /proc/self/maps.
252
253 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
254 FD_CLOEXEC for /proc/meminfo.
255
256 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
257 gai.conf.
258
259 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
260 FD_CLOEXEC for given file.
261
262 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
263
264 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
265 FD_CLOEXEC for /etc/hosts.
266 (_gethtent): Likewise.
267
268 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
269
270 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
271 cancellation and set FD_CLOEXEC for /etc/netgroup.
272
273 * nss/nss_files/files-key.c (search): Don't allow cancellation when
274 reading /etc/publickey.
275
276 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
277 allow cancellation when reading /etc/group.
278
279 * nss/nss_files/files-alias.c (internal_setent): Don't allow
280 cancellation.
281 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
282
283 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
284 when using data file.
285
286 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
287
288 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
289 (write_nis_obj): Use "c" and "e" in fopen.
290
291 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
292
293 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
294
295 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
296
297 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
298
299 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
300 locale.alias.
301
302 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
303
304 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
305
306 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
307
308 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
309 file parsing and set FD_CLOEXEC.
310
311 2011-11-14 Ulrich Drepper <drepper@gmail.com>
312
313 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
314
315 2011-11-14 Andreas Schwab <schwab@redhat.com>
316
317 * malloc/arena.c (arena_get2): Don't call reused_arena when
318 _int_new_arena failed.
319
320 2011-11-14 Ulrich Drepper <drepper@gmail.com>
321
322 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
323 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
324 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
325 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
326 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
327 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
328 to compile strcasecmp and strncasecmp.
329 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
330 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
331
332 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
333
334 2011-11-13 Ulrich Drepper <drepper@gmail.com>
335
336 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
337 locale-defines.sym to gen-as-const-headers.
338 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
339 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
340 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
341 to compile strcasecmp and strncasecmp.
342 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
343 strcasecmp_l and strncasecmp_l.
344 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
345 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
346 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
347 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
348 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
349 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
350 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
351 * sysdeps/i386/i686/multiarch/strncase.S: New file.
352 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
353 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
354 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
355
356 2011-11-12 Ulrich Drepper <drepper@gmail.com>
357
358 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
359 result of SYSDEP_GETTIME_CPU to retval.
360 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
361 parameter list to macro. Remove trailing semicolon. Adjust users.
362
363 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
364 variable.
365
366 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
367 mantissa words.
368 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
369
370 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
371 from unused variable.
372
373 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
374 DWARF definitions.
375 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
376 for assembling.
377
378 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
379 over namespaces.
380
381 * sunrpc/rpc_prot.c (rejected): Fix case value.
382
383 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
384 unsigned long long int to avoid warnings in shift.
385
386 * posix/regex_internal.c (re_string_reconstruct): Actually use result
387 of use of trans.
388 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
389 variable tmp.
390
391 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
392 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
393 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
394
395 * nis/nis_table.c (nis_list): Use variable of correct type for
396 result of __follow_path call.
397
398 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
399
400 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
401 of math functions ceil, trunc, floor, round, and sqrt, when
402 avaliable on the platform.
403 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
404 name clash.
405 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
406 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
407 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
408
409 2011-10-30 Marek Polacek <mpolacek@redhat.com>
410
411 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
412 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
413
414 2011-11-11 Roland McGrath <roland@hack.frob.com>
415
416 * include/unistd.h: Fix __readlink return type.
417 Reported by Chris Metcalf <cmetcalf@tilera.com>.
418
419 2011-11-11 Ulrich Drepper <drepper@gmail.com>
420
421 * stdlib/ucontext.h: Undo last change for makecontext.
422
423 2011-11-11 Andreas Schwab <schwab@redhat.com>
424
425 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
426
427 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
428 * setjmp/setjmp.h: Mark functions as non-leaf.
429 * setjmp/bits/setjmp2.h: Likewise.
430 * stdlib/ucontext.h: Likewise.
431
432 2011-11-10 Andreas Schwab <schwab@redhat.com>
433
434 * malloc/arena.c (_int_new_arena): Don't increment narenas.
435 (reused_arena): Don't check arena limit.
436 (arena_get2): Atomically check arena limit.
437
438 2011-11-08 Ulrich Drepper <drepper@gmail.com>
439
440 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
441 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
442
443 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
444 instructions.
445
446 2011-11-07 Andreas Schwab <schwab@redhat.com>
447
448 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
449 handler when locking.
450
451 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
452 Fix size of allocated buffer.
453
454 2011-11-04 Andreas Schwab <schwab@redhat.com>
455
456 [BZ #10103]
457 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
458 declarations for long double functions.
459 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
460
461 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
462
463 2011-11-03 Andreas Schwab <schwab@redhat.com>
464
465 * nscd/nscd.c (main): Don't start AVC thread until credentials are
466 installed.
467
468 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
469 is disabled.
470
471 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
472
473 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
474
475 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
476
477 * include/alloca.h (stackinfo_alloca_round): Define.
478 (extend_alloca): Use it.
479 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
480 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
481 here.
482
483 * scripts/check-local-headers.sh: Ignore libaudit.h.
484
485 * nscd/Makefile (extra-objs): Make recursively expanded.
486
487 2011-11-01 Ulrich Drepper <drepper@gmail.com>
488
489 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
490 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
491
492 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
493 * posix/tst-rfc3484-2.c: Likewise.
494 * posix/tst-rfc3484-3.c: Likewise.
495
496 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
497 process_vm_writev.
498 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
499 process_vm_writev.
500 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
501 process_vm_writev from libc using GLIBC_2.15 version.
502
503 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
504
505 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
506
507 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
508 stack usage.
509
510 2011-10-31 Ulrich Drepper <drepper@gmail.com>
511
512 [BZ #13367]
513 * nss/getent.c (initgroups_keys): Show error message in case no group
514 names are given.
515
516 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
517 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
518 __bump_nl_timestamp.
519 * nscd/connections (nscd_init): When host database is served open
520 netlink socket and request notification about configuration changes.
521 (main_loop_poll): Track netlink file descriptor and bump timestamp
522 in case data becomes available.
523 (main_loop_epoll): Likewise.
524 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
525 (database_pers_head): Add extra_data fileds.
526 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
527 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
528 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
529 Adjust caller.
530 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
531 in6ai data, call __free_in6ai.
532 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
533 Add -DHAVE_NETLINK.
534 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
535 interface information. Reuse previous data if netlink timestamp
536 is not changed.
537 (__bump_nl_timestamp): New function.
538 (__free_in6ai): New function.
539
540 2011-10-30 Ulrich Drepper <drepper@gmail.com>
541
542 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
543 close_not_cancel_no_status here.
544 (__check_pf): Reorganize code a bit to not call close twice if OOM.
545
546 2011-10-29 Ulrich Drepper <drepper@gmail.com>
547
548 [BZ #13276]
549 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
550 return value.
551
552 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
553 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
554 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
555
556 2011-07-03 Andreas Jaeger <aj@suse.de>
557
558 [BZ #10709]
559 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
560 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
561 * math/libm-test.inc (sin_test): Add test case.
562
563 2011-10-29 Ulrich Drepper <drepper@gmail.com>
564
565 [BZ #13337]
566 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
567 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
568
569 * elf/chroot_canon.c (chroot_canon): Cleanups.
570
571 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
572
573 [BZ #13335]
574 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
575 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
576
577 * string/test-strchr.c: Make usable for strchrnul testing.
578 * string/test-strchrnul.c: New file.
579 * string/Makefile (strop-tests): Add strchrnul.
580
581 * po/it.po: Update from translation team.
582 * po/es.po: Likewise.
583
584 2011-10-28 Ulrich Drepper <drepper@gmail.com>
585
586 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
587 the three constants needed as parameters. Drop the others.
588 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
589 __m128i_strloadu_tolower.
590 Create and initialize variable zero and use it in all the places
591 where _mm_setzero_si128 was used.
592
593 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
594 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
595 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
596 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
597 anymore.
598 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
599 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
600 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
601 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
602 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
603 __mpranred, __mptan.
604 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
605 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
606 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
607 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
608 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
609 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
610 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
611 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
612 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
613
614 2011-10-28 Andreas Schwab <schwab@redhat.com>
615
616 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
617 redefine if SHARED.
618 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
619
620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
621 wide char related routines to wcsmbs subdir.
622
623 2011-10-27 Andreas Schwab <schwab@redhat.com>
624
625 [BZ #13344]
626 * misc/sys/cdefs.h (__THROWNL): Define.
627 * posix/unistd.h: Use __THREADNL instead of __THREAD
628 for memory synchronization functions.
629
630 2011-10-26 Roland McGrath <roland@hack.frob.com>
631
632 [BZ #13349]
633 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
634 doesn't exist.
635 * manual/stdio.texi (Obstack Streams): Node removed.
636
637 2011-10-26 Andreas Schwab <schwab@redhat.com>
638
639 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
640 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
641 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
642
643 * math/math_private.h (math_force_eval): Allow non-addressable
644 arguments.
645 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
646
647 2011-10-25 Ulrich Drepper <drepper@gmail.com>
648
649 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
650 file is not needed.
651
652 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
653 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
654 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
655 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
656 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
657 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
658 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
659 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
660 Add AVX variants.
661 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
662 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
663 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
664 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
665 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
666 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
667 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
668 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
669 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
670 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
671 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
672 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
673 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
674 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
675 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
676 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
677 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
678 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
679 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
680
681 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
682 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
683
684 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
685 place. Use VEX encoding when compiling for AVX.
686
687 2011-10-25 Andreas Schwab <schwab@redhat.com>
688
689 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
690 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
691
692 * string/test-strchr.c (do_test): Don't generate NUL bytes.
693
694 2011-10-25 Ulrich Drepper <drepper@gmail.com>
695
696 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
697 useless if() expression.
698 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
699 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
700 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
701 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
702 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
703 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
704 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
705 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
706 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
707 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
708 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
709 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
710 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
711 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
712 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
713 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
714 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
715 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
716 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
717
718 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
719
720 2011-10-25 Andreas Schwab <schwab@redhat.com>
721
722 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
723 condition.
724 * elf/dl-fini.c (_dl_sort_fini): Likewise.
725
726 2011-10-25 Ulrich Drepper <drepper@gmail.com>
727
728 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
729 .text section. Avoid duplicate constants.
730 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
732 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
733 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
734 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
735 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
736 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
737 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
738 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
739 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
740 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
741 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
742 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
743 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
744 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
745 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
746 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
747 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
748 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
749 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
750 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
751 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
752 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
753 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
754 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
755 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
756 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
757 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
758 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
759 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
760 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
761 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
762 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
763 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
764 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
765 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
766 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
767 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
768 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
769 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
770 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
771 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
772 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
773 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
774 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
775
776 2011-10-24 Ulrich Drepper <drepper@gmail.com>
777
778 * sysdeps/x86_64/dla.h: Move to ...
779 * sysdeps/x86_64/fpu/dla.h: ...here.
780 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
781 situations. Use __builtin_fma only for gcc 4.6 and up.
782
783 * config.make.in: Add have-mfma4 entry.
784 * configure.in: Substitute libc_cv_cc_fma4.
785 * math/Makefile (dbl-only-routines): Add sincostab.
786 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
787 Use __sincostab not sincos.
788 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
789 name is a macro.
790 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
791 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
792 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
793 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
794 using __copysign.
795 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
796 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
797 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
798 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
799 and __inv.
800 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
801 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
802 __copysign.
803 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
804 define aliases when function name is a macro.
805 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
806 sysdeps/ieee754/dbl-64/sincos.tbl.
807 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
808 fma4-enabled routines.
809 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
810 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
811 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
812 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
813 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
814 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
815 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
816 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
817 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
818 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
819 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
820 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
821 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
822 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
823 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
824 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
825 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
826 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
827 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
828 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
829 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
830 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
831 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
832 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
833 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
834 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
835 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
836 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
837 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
838 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
839
840 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
841 rename.
842 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
843 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
844 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
845 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
846 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
847 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
848 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
849 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
850
851 2011-10-24 Andreas Schwab <schwab@redhat.com>
852
853 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
854
855 2011-10-23 Ulrich Drepper <drepper@gmail.com>
856
857 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
858
859 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
860 prediction.
861 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
862
863 * string/strnlen.c: Don't define STRNLEN, reverse logic.
864 Remove unused variable magic_bits.
865 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
866
867 * string/strnlen.c: Define and use STRNLEN macro.
868 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
869 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
870 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
871 * wcsmbs/wcslen.c: Define and use WCSLEN.
872 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
873 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
874 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
875 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
876 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
877 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
878 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
879
880 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
881
882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
883 strnlen-sse2-no-bsf.
884 Rename strlen-no-bsf to strlen-sse2-no-bsf.
885 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
886 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
887 Add strnlen support.
888 (USE_AS_STRNLEN): New macro.
889 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
890 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
891 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
892 * sysdeps/x86_64/wcslen.S: New file.
893
894 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
895
896 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
897 XMM-moves are used for copying on small sizes.
898
899 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
900
901 * wcsmbs/Makefile (strop-tests): Add wcschr.
902 * wcsmbs/test-wcschr.c: New file.
903 * string/test-strchr.c: Update.
904 Add wcschr support.
905 (WIDE): New macro.
906
907 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
908
909 * wcsmbs/Makefile (strop-tests): Add wcslen.
910 * wcsmbs/test-wcslen.c: New file.
911 * string/test-strlen.c: Update.
912 Add wcslen support.
913 (WIDE): New macro.
914
915 2011-10-23 Ulrich Drepper <drepper@gmail.com>
916
917 * po/it.po: Update from translation team.
918
919 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
920
921 * sysdeps/x86_64/wcscmp.S: Update.
922 Fix wrong comparison semantics.
923 wcscmp shall use signed comparison not unsigned.
924 Don't use substraction to avoid overflow bug.
925 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
926 * wcsmbc/wcscmp.c: Likewise.
927 * string/test-strcmp.c: Likewise.
928 Add new tests to check cases with negative values.
929
930 2011-10-23 Ulrich Drepper <drepper@gmail.com>
931
932 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
933 * sysdeps/x86_64/dla.h: ...here. New file.
934 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
935 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
936 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
937 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
938 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
939 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
940 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
941 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
942 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
943
944 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
945
946 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
947 __ynl_finite aliases.
948
949 2011-10-22 Ulrich Drepper <drepper@gmail.com>
950
951 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
952
953 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
954 define DLA_FMA.
955 [DLA_FMA] (EMULV): Use DLA_FMA.
956 [DLA_FMA] (MUL12): Use EMULV.
957 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
958 that are not needed.
959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
960 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
961 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
962 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
963 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
964 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
965 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
966
967 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
968
969 * math/s_nan.c: Undef __nan.
970 * math/s_nanf.c: Undef __nanf.
971 * math/s_nanl.c: Undef __nanl.
972 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
973 "math_private.h".
974
975 2011-10-22 Ulrich Drepper <drepper@gmail.com>
976
977 * math/s_catan.c: Add branch predictions.
978 * math/s_catanf.c: Likewise.
979 * math/s_catanh.c: Likewise.
980 * math/s_catanhf.c: Likewise.
981 * math/s_catanhl.c: Likewise.
982 * math/s_catanl.c: Likewise.
983 * math/s_cexp.c: Likewise.
984 * math/s_cexpf.c: Likewise.
985 * math/s_cexpl.c: Likewise.
986 * math/s_clog.c: Likewise.
987 * math/s_clog10.c: Likewise.
988 * math/s_clog10f.c: Likewise.
989 * math/s_clog10l.c: Likewise.
990 * math/s_clogf.c: Likewise.
991 * math/s_clogl.c: Likewise.
992 * math/s_csqrt.c: Likewise.
993 * math/s_csqrtf.c: Likewise.
994 * math/s_csqrtl.c: Likewise.
995 * math/s_ctanf.c: Likewise.
996 * math/s_ctanh.c: Likewise.
997 * math/s_ctanhf.c: Likewise.
998 * math/s_ctanhl.c: Likewise.
999 * math/s_ctanl.c: Likewise.
1000
1001 * math/math_private.h: Define __nan, __nanf, __nanl.
1002 * math/s_cacosh.c: Include <math_private.h>.
1003 * math/s_cacoshl.c: Likewise.
1004 * math/s_casinh.c: Likewise.
1005 * math/s_casinhf.c: Likewise.
1006 * math/s_casinhl.c: Likewise.
1007 * math/s_ccos.c: Rely entire on ccosh.
1008 * math/s_ccosf.c: Rely entire on ccoshf.
1009 * math/s_ccosl.c: Rely entirely on ccoshl.
1010 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
1011 Remove tests for FE_INVALID.
1012 * math/s_ccoshf.c: Likewise.
1013 * math/s_ccoshl.c: Likewise.
1014 * math/s_csin.c: Likewise.
1015 * math/s_csinf.c: Likewise.
1016 * math/s_csinh.c Likewise.
1017 * math/s_csinhf.c: Likewise.
1018 * math/s_csinhl.c: Likewise.
1019 * math/s_csinl.c: Likewise.
1020 * math/s_ctan.c: Likewise.
1021 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
1022 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
1023 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
1024
1025 2011-10-21 Ulrich Drepper <drepper@gmail.com>
1026
1027 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
1028 compilation problems.
1029
1030 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
1031 __builtin_expect.
1032
1033 2011-10-20 Ulrich Drepper <drepper@gmail.com>
1034
1035 * sysdeps/i386/configure.in: Test for -mfma4 option.
1036 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
1037 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
1038 COMMON_CPUID_INDEX_80000001.
1039 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
1040 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
1041 use it if FMA3 is not supported.
1042 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1043
1044 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
1045 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
1046
1047 2011-10-20 Andreas Schwab <schwab@redhat.com>
1048
1049 [BZ #12892]
1050 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
1051 it would create a cycle with a link time dependency.
1052
1053 2011-10-19 Ulrich Drepper <drepper@gmail.com>
1054
1055 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
1056 instruction.
1057 * string/Makefile (strop-tests): Add rawmemchr.
1058 * string/test-rawmemchr.c: New file.
1059
1060 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
1061 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
1062 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
1063 when compiling str{,n}casecmp and when AVX is available. Hook up
1064 new optimized code in initializers.
1065
1066 2011-10-19 Andreas Schwab <schwab@redhat.com>
1067
1068 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
1069 __feraiseexcept instead of feraiseexcept.
1070
1071 2011-10-18 Ulrich Drepper <drepper@gmail.com>
1072
1073 * math/math_private.h: Define defaults for libc_fetestexcept and
1074 libc_feupdateenv.
1075 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
1076 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
1077 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
1078 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1079 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1080 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
1081 libc_fetestexcept and libc_feupdateenv.
1082
1083 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
1084 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
1085 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
1086 * sysdeps/x86_64/fpu/math_private.h: Define special version of
1087 libc_feholdexcept_setround.
1088
1089 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
1090 Add s_nearbyint-c and s_nearbyintf-c.
1091 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
1092 nearbyintf inlines.
1093 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
1094 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
1095 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
1096 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
1097
1098 * math/math_private.h: Define defaults for libc_fegetround,
1099 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
1100 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
1101 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
1102 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
1103 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
1104 standard functions.
1105 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1106 Remove comments and hacks for old compiler versions.
1107 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
1108 libc_fegetround, libc_fesetround, libc_feholdexcept, and
1109 libc_feholdexceptl.
1110
1111 2011-10-18 Andreas Schwab <schwab@redhat.com>
1112
1113 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
1114 (__feraiseexcept_renamed): Add __NTH.
1115 (feraiseexcept): Add __NTH. Rename local variables to fix
1116 namespace violations.
1117
1118 2011-10-17 Ulrich Drepper <drepper@gmail.com>
1119
1120 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
1121
1122 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
1123
1124 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
1125 recently added interfaces.
1126 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
1127
1128 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
1129 about macro parameter expansion.
1130
1131 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
1132 __NO_MATH_INLINES is defined. Cleanups.
1133
1134 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
1135 and __floorf is target has SSE4.1.
1136 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
1137 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
1138 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
1139 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
1140
1141 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
1142 name.
1143 (floorf): Likewise.
1144
1145 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
1146
1147 2011-10-17 Andreas Schwab <schwab@redhat.com>
1148
1149 * misc/sys/cdefs.h: Fix last change.
1150
1151 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
1152 database lookup.
1153
1154 2011-10-16 Ulrich Drepper <drepper@gmail.com>
1155
1156 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
1157
1158 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
1159 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1160 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1161 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1162 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1163 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1164 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1165 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1166 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1167 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
1168 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
1169 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
1170 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
1171 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
1172 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
1173 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
1174 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
1175 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
1176 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
1177 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
1178 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
1179 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
1180
1181 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
1182 ceil, ceilf, floor, floorf.
1183
1184 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
1185 Perform IRELATIVE relocations last.
1186
1187 * elf/do-rel.h: Add another parameter nrelative, replacing the
1188 local variable with the same name. Change name of the function
1189 to end in Rel or Rela (uppercase).
1190 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
1191 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
1192 elf_dynamic_do_##reloc function.
1193
1194 2011-10-15 Ulrich Drepper <drepper@gmail.com>
1195
1196 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
1197 is sufficient, at least on modern CPUs.
1198
1199 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
1200
1201 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
1202 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
1203
1204 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
1205 __expl_finite.
1206 * math/bits/math-finite.h: Add entries for exp.
1207 * math/e_expl.c: Add __*_finite alias.
1208 * sysdeps/i386/fpu/e_exp.S: Likewise.
1209 * sysdeps/i386/fpu/e_expf.S: Likewise.
1210 * sysdeps/i386/fpu/e_expl.c: Likewise.
1211 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1212 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1213 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1214 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1215 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
1216 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1217 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1218
1219 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
1220 is sufficient, at least on modern CPUs.
1221
1222 * ctype/ctype-info.c (__ctype_init): Define.
1223 * include/ctype.h (__ctype_init): Declare.
1224 (__ctype_b_loc): The variable is always initialized.
1225 (__ctype_toupper_loc): Likewise.
1226 (__ctype_tolower_loc): Likewise.
1227 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
1228 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
1229
1230 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
1231
1232 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
1233
1234 * configure.in: Also look in $cxxmachine/include for C++ system
1235 headers.
1236
1237 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1238
1239 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
1240 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
1241 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
1242 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
1243 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
1244 (USE_AS_WMEMCMP): New macro.
1245 Fixing indents.
1246 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
1247 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
1248 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
1249 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
1250 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1251 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
1252 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
1253 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
1254 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
1255 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
1256 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
1257 (USE_AS_WMEMCMP): New macro.
1258 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
1259 * sysdeps/string/test-memcmp.c: Update.
1260 Fix simple_wmemcmp.
1261 Add new tests.
1262 * wcsmbs/wmemcmp.c: Update.
1263 (WMEMCMP): New macro.
1264 Fix overflow bug.
1265
1266 2011-10-12 Andreas Jaeger <aj@suse.de>
1267
1268 [BZ #13268]
1269 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
1270
1271 2011-10-15 Ulrich Drepper <drepper@gmail.com>
1272
1273 * libio/iofwide.c (do_length): Avoid warning.
1274
1275 * ctype/ctype.h (__isctype_f): Add missing __THROW.
1276
1277 2011-10-14 Ulrich Drepper <drepper@gmail.com>
1278
1279 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
1280
1281 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
1282 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
1283 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
1284 * sysdeps/i386/i686/fpu/e_log.S: New file.
1285 * sysdeps/i386/i686/fpu/e_logf.S: New file.
1286 * sysdeps/i386/i686/fpu/e_logl.S: New file.
1287
1288 * ctype/ctype.h: Add support for inlined isXXX functions when
1289 compiling C++ code.
1290
1291 2011-10-14 Andreas Schwab <schwab@redhat.com>
1292
1293 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1294
1295 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
1296
1297 2011-10-13 Roland McGrath <roland@hack.frob.com>
1298
1299 [BZ #13291]
1300 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
1301
1302 2011-10-13 Andreas Schwab <schwab@redhat.com>
1303
1304 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
1305 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
1306 feraiseexcept.
1307
1308 * sysdeps/x86_64/memrchr.S: Check for zero size.
1309
1310 * string/stratcliff.c: Add memrchr tests.
1311
1312 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1313
1314 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1315 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
1316 rawmemchr-sse2 rawmemchr-sse2-bsf.
1317 * sysdeps/i386/i686/multiarch/memchr.S: New file.
1318 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
1319 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
1320 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
1321 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
1322 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
1323 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
1324 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
1325 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
1326 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
1327 * string/memrchr.c (MEMRCHR): New macro.
1328
1329 2011-10-12 Ulrich Drepper <drepper@gmail.com>
1330
1331 Add integration with gcc's -ffinite-math-only and optimize wrapper
1332 functions in libm.
1333 * Versions.def: Define GLIBC_2.15 version for libm.
1334 * math/Makefile (headers): Add bits/math-finite.h.
1335 * math/bits/math-finite.h: New file.
1336 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
1337 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
1338 * math/e_acoshl.c: Add __*_finite alias.
1339 * math/e_acosl.c: Likewise.
1340 * math/e_asinl.c: Likewise.
1341 * math/e_atan2l.c: Likewise.
1342 * math/e_atanhl.c: Likewise.
1343 * math/e_coshl.c: Likewise.
1344 * math/e_exp10.c: Likewise.
1345 * math/e_exp10f.c: Likewise.
1346 * math/e_exp10l.c: Likewise.
1347 * math/e_exp2l.c: Likewise.
1348 * math/e_fmodl.c: Likewise.
1349 * math/e_gammal_r.c: Likewise.
1350 * math/e_hypotl.c: Likewise.
1351 * math/e_j0l.c: Likewise.
1352 * math/e_j1l.c: Likewise.
1353 * math/e_jnl.c: Likewise.
1354 * math/e_lgammal_r.c: Likewise.
1355 * math/e_log10l.c: Likewise.
1356 * math/e_log2l.c: Likewise.
1357 * math/e_logl.c: Likewise.
1358 * math/e_powl.c: Likewise.
1359 * math/e_sinhl.c: Likewise.
1360 * math/e_sqrtl.c: Likewise.
1361 * math/e_scalb.c: Completely rewritten and optimized.
1362 * math/e_scalbf.c: Likewise.
1363 * math/e_scalbl.c: Likewise.
1364 * math/w_acos.c: Likewise.
1365 * math/w_acosf.c: Likewise.
1366 * math/w_acosl.c: Likewise.
1367 * math/w_acosh.c: Likewise.
1368 * math/w_acoshf.c: Likewise.
1369 * math/w_acoshl.c: Likewise.
1370 * math/w_asin.c: Likewise.
1371 * math/w_asinf.c: Likewise.
1372 * math/w_asinl.c: Likewise.
1373 * math/w_atan2.c: Likewise.
1374 * math/w_atan2f.c: Likewise.
1375 * math/w_atan2l.c: Likewise.
1376 * math/w_atanh.c: Likewise.
1377 * math/w_atanhf.c: Likewise.
1378 * math/w_atanhl.c: Likewise.
1379 * math/w_exp10.c: Likewise.
1380 * math/w_exp10f.c: Likewise.
1381 * math/w_exp10l.c: Likewise.
1382 * math/w_fmod.c: Likewise.
1383 * math/w_fmodf.c: Likewise.
1384 * math/w_fmodl.c: Likewise.
1385 * math/w_j0.c: Likewise.
1386 * math/w_j0f.c: Likewise.
1387 * math/w_j0l.c: Likewise.
1388 * math/w_j1.c: Likewise.
1389 * math/w_j1f.c: Likewise.
1390 * math/w_j1l.c: Likewise.
1391 * math/w_jn.c: Likewise.
1392 * math/w_jnf.c: Likewise.
1393 * math/w_log.c: Likewise.
1394 * math/w_logf.c: Likewise.
1395 * math/w_logl.c: Likewise.
1396 * math/w_log10.c: Likewise.
1397 * math/w_log10f.c: Likewise.
1398 * math/w_log10l.c: Likewise.
1399 * math/w_log2.c: Likewise.
1400 * math/w_log2f.c: Likewise.
1401 * math/w_log2l.c: Likewise.
1402 * math/w_pow.c: Likewise.
1403 * math/w_powf.c: Likewise.
1404 * math/w_powl.c: Likewise.
1405 * math/w_remainder.c: Likewise.
1406 * math/w_remainderf.c: Likewise.
1407 * math/w_remainderl.c: Likewise.
1408 * math/w_scalb.c: Likewise.
1409 * math/w_scalbf.c: Likewise.
1410 * math/w_scalbl.c: Likewise.
1411 * math/w_sqrt.c: Likewise.
1412 * math/w_sqrtf.c: Likewise.
1413 * math/w_sqrtl.c: Likewise.
1414 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
1415 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
1416 used.
1417 * math/math_private.h: Declare __kernel_standard_f.
1418 * math/w_cosh.c: Remove cruft and optimize a bit.
1419 * math/w_coshf.c: Likewise.
1420 * math/w_coshl.c: Likewise.
1421 * math/w_exp2.c: Likewise.
1422 * math/w_exp2f.c: Likewise.
1423 * math/w_exp2l.c: Likewise.
1424 * math/w_hypot.c: Likewise.
1425 * math/w_hypotf.c: Likewise.
1426 * math/w_hypotl.c: Likewise.
1427 * math/w_lgamma.c: Likewise.
1428 * math/w_lgamma_r.c: Likewise.
1429 * math/w_lgammaf.c: Likewise.
1430 * math/w_lgammaf_r.c: Likewise.
1431 * math/w_lgammal.c: Likewise.
1432 * math/w_lgammal_r.c: Likewise.
1433 * math/w_sinh.c: Likewise.
1434 * math/w_sinhf.c: Likewise.
1435 * math/w_sinhl.c: Likewise.
1436 * math/w_tgamma.c: Likewise.
1437 * math/w_tgammaf.c: Likewise.
1438 * math/w_tgammal.c: Likewise.
1439 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1440 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1441 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
1442 Minor optimizations. Pretty printing. Remove cruft.
1443 * sysdeps/i386/fpu/e_acosf.S: Likewise.
1444 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1445 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1446 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1447 * sysdeps/i386/fpu/e_acosl.c: Likewise.
1448 * sysdeps/i386/fpu/e_asin.S: Likewise.
1449 * sysdeps/i386/fpu/e_asinf.S: Likewise.
1450 * sysdeps/i386/fpu/e_atan2.S: Likewise.
1451 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
1452 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
1453 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1454 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1455 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1456 * sysdeps/i386/fpu/e_exp10.S: Likewise.
1457 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
1458 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
1459 * sysdeps/i386/fpu/e_exp2.S: Likewise.
1460 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
1461 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
1462 * sysdeps/i386/fpu/e_fmod.S: Likewise.
1463 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
1464 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
1465 * sysdeps/i386/fpu/e_hypot.S: Likewise.
1466 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
1467 * sysdeps/i386/fpu/e_log.S: Likewise.
1468 * sysdeps/i386/fpu/e_log10.S: Likewise.
1469 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1470 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1471 * sysdeps/i386/fpu/e_log2.S: Likewise.
1472 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1473 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1474 * sysdeps/i386/fpu/e_logf.S: Likewise.
1475 * sysdeps/i386/fpu/e_logl.S: Likewise.
1476 * sysdeps/i386/fpu/e_pow.S: Likewise.
1477 * sysdeps/i386/fpu/e_powf.S: Likewise.
1478 * sysdeps/i386/fpu/e_powl.S: Likewise.
1479 * sysdeps/i386/fpu/e_remainder.S: Likewise.
1480 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
1481 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
1482 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1483 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1484 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1485 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
1486 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
1487 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
1488 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1489 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1490 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1491 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1492 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1493 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1494 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1495 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1496 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1497 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1498 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1499 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1500 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1501 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1502 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1503 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1504 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1505 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1506 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1507 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1508 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1509 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1510 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1511 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1512 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1513 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1514 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
1515 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1516 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
1517 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1518 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1519 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1520 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1521 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1522 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1523 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1524 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1525 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1526 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1527 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1528 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1529 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1530 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1531 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1532 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1533 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1534 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1535 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1536 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1537 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1538 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1539 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1540 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1541 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1542 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1543 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1544 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1545 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1546 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1547 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1548 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1549 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1550 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1551 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1552 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1553 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1554 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1555 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1556 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
1557 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1558 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1559 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1560 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1561 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1562 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1563 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1564 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1565 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1566 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1567 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1568 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1569 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1570 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
1571 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1572 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1573 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1574 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1575 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1576 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1577 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1578 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1579 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1580 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1581 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1582 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1583 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
1584 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
1585 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
1586 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
1587 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
1588 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
1589 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
1590 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
1591 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
1592 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1593 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1594 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1595 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1596 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
1597 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1598 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
1599 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
1600 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
1601 (__isnanf): Likewise.
1602 (__isinf_ns): Likewise.
1603 (__isinf_nsf): Likewise.
1604 (__finite): Likewise.
1605 (__finitef): Likewise.
1606 (__ieee754_sqrt): Define as macro.
1607 (__ieee754_sqrtf): Define as macro.
1608 (__ieee754_sqrtl): Define as macro.
1609 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
1610 inlined copy.
1611 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
1612 __FINITE_MATH_ONLY__ consistent.
1613 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
1614
1615 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
1616
1617 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
1618 of rawmemchr.
1619
1620 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
1621
1622 2011-10-09 Ulrich Drepper <drepper@gmail.com>
1623
1624 * po/ja.po: Update from translation team.
1625
1626 2011-10-08 Roland McGrath <roland@hack.frob.com>
1627
1628 * locale/programs/locarchive.c (prepare_address_space): New function.
1629 (create_archive, enlarge_archive, open_archive): Use it.
1630
1631 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
1632 inside [SHARED], where it is used.
1633
1634 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
1635
1636 * nss/getent.c (netgroup_keys): Remove unused variable.
1637 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1638
1639 2011-10-08 Ulrich Drepper <drepper@gmail.com>
1640
1641 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
1642 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
1643 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
1644 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
1645 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
1646 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
1647 * math/Makefile (libm-calls): Add s_isinf_ns.
1648 * math/divtc3.c: Use __isinf_nsl instead of isinf.
1649 * math/multc3.c: Likewise.
1650 * math/s_casin.c: Likewise.
1651 * math/s_casinf.c: Likewise.
1652 * math/s_casinl.c: Likewise.
1653 * math/s_ccos.c: Likewise.
1654 * math/s_ccosf.c: Likewise.
1655 * math/s_ccosl.c: Likewise.
1656 * math/s_ctan.c: Likewise.
1657 * math/s_ctanf.c: Likewise.
1658 * math/s_ctanh.c: Likewise.
1659 * math/s_ctanhf.c: Likewise.
1660 * math/s_ctanhl.c: Likewise.
1661 * math/s_ctanl.c: Likewise.
1662 * math/w_fmod.c: Likewise.
1663 * math/w_fmodf.c: Likewise.
1664 * math/w_fmodl.c: Likewise.
1665 * math/w_remainder.c: Likewise.
1666 * math/w_remainderf.c: Likewise.
1667 * math/w_remainderl.c: Likewise.
1668 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
1669 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
1670 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
1671 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
1672 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
1673 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
1674 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
1675 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
1676
1677 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
1678 of the number.
1679 * stdio-common/printf_fphex.c: Likewise.
1680 * stdio-common/printf_size.c: Likewise.
1681
1682 * math/e_exp10.c: Include math_private.h using <...> not "...".
1683 * math/e_exp10f.c: Likewise.
1684 * math/e_exp10l.c: Likewise.
1685 * math/e_exp2l.c: Likewise.
1686 * math/e_j0l.c: Likewise.
1687 * math/e_j1l.c: Likewise.
1688 * math/e_jnl.c: Likewise.
1689 * math/e_lgammal_r.c: Likewise.
1690 * math/e_rem_pio2l.c: Likewise.
1691 * math/e_scalb.c: Likewise.
1692 * math/e_scalbf.c: Likewise.
1693 * math/e_scalbl.c: Likewise.
1694 * math/k_cosl.c: Likewise.
1695 * math/k_sinl.c: Likewise.
1696 * math/k_tanl.c: Likewise.
1697 * math/s_cacoshf.c: Likewise.
1698 * math/s_catan.c: Likewise.
1699 * math/s_catanf.c: Likewise.
1700 * math/s_catanh.c: Likewise.
1701 * math/s_catanhf.c: Likewise.
1702 * math/s_catanhl.c: Likewise.
1703 * math/s_catanl.c: Likewise.
1704 * math/s_ccosh.c: Likewise.
1705 * math/s_ccoshf.c: Likewise.
1706 * math/s_ccoshl.c: Likewise.
1707 * math/s_cexp.c: Likewise.
1708 * math/s_cexpf.c: Likewise.
1709 * math/s_cexpl.c: Likewise.
1710 * math/s_clog.c: Likewise.
1711 * math/s_clog10.c: Likewise.
1712 * math/s_clog10f.c: Likewise.
1713 * math/s_clog10l.c: Likewise.
1714 * math/s_clogf.c: Likewise.
1715 * math/s_clogl.c: Likewise.
1716 * math/s_csin.c: Likewise.
1717 * math/s_csinf.c: Likewise.
1718 * math/s_csinh.c: Likewise.
1719 * math/s_csinhf.c: Likewise.
1720 * math/s_csinhl.c: Likewise.
1721 * math/s_csinl.c: Likewise.
1722 * math/s_csqrt.c: Likewise.
1723 * math/s_csqrtf.c: Likewise.
1724 * math/s_csqrtl.c: Likewise.
1725 * math/s_ctan.c: Likewise.
1726 * math/s_ctanf.c: Likewise.
1727 * math/s_ctanh.c: Likewise.
1728 * math/s_ctanhf.c: Likewise.
1729 * math/s_ctanhl.c: Likewise.
1730 * math/s_ctanl.c: Likewise.
1731 * math/s_ldexp.c: Likewise.
1732 * math/s_ldexpf.c: Likewise.
1733 * math/s_ldexpl.c: Likewise.
1734 * math/s_significand.c: Likewise.
1735 * math/s_significandf.c: Likewise.
1736 * math/s_significandl.c: Likewise.
1737 * math/w_acos.c: Likewise.
1738 * math/w_acosf.c: Likewise.
1739 * math/w_acosh.c: Likewise.
1740 * math/w_acoshf.c: Likewise.
1741 * math/w_acoshl.c: Likewise.
1742 * math/w_acosl.c: Likewise.
1743 * math/w_asin.c: Likewise.
1744 * math/w_asinf.c: Likewise.
1745 * math/w_asinl.c: Likewise.
1746 * math/w_atan2.c: Likewise.
1747 * math/w_atan2f.c: Likewise.
1748 * math/w_atan2l.c: Likewise.
1749 * math/w_atanh.c: Likewise.
1750 * math/w_atanhf.c: Likewise.
1751 * math/w_atanhl.c: Likewise.
1752 * math/w_cosh.c: Likewise.
1753 * math/w_coshf.c: Likewise.
1754 * math/w_coshl.c: Likewise.
1755 * math/w_dremf.c: Likewise.
1756 * math/w_exp10.c: Likewise.
1757 * math/w_exp10f.c: Likewise.
1758 * math/w_exp10l.c: Likewise.
1759 * math/w_exp2.c: Likewise.
1760 * math/w_exp2f.c: Likewise.
1761 * math/w_fmod.c: Likewise.
1762 * math/w_fmodf.c: Likewise.
1763 * math/w_fmodl.c: Likewise.
1764 * math/w_hypot.c: Likewise.
1765 * math/w_hypotf.c: Likewise.
1766 * math/w_hypotl.c: Likewise.
1767 * math/w_j0.c: Likewise.
1768 * math/w_j0f.c: Likewise.
1769 * math/w_j0l.c: Likewise.
1770 * math/w_j1.c: Likewise.
1771 * math/w_j1f.c: Likewise.
1772 * math/w_j1l.c: Likewise.
1773 * math/w_jn.c: Likewise.
1774 * math/w_jnf.c: Likewise.
1775 * math/w_jnl.c: Likewise.
1776 * math/w_lgamma.c: Likewise.
1777 * math/w_lgamma_r.c: Likewise.
1778 * math/w_lgammaf.c: Likewise.
1779 * math/w_lgammaf_r.c: Likewise.
1780 * math/w_lgammal.c: Likewise.
1781 * math/w_lgammal_r.c: Likewise.
1782 * math/w_log.c: Likewise.
1783 * math/w_log10.c: Likewise.
1784 * math/w_log10f.c: Likewise.
1785 * math/w_log10l.c: Likewise.
1786 * math/w_log2.c: Likewise.
1787 * math/w_log2f.c: Likewise.
1788 * math/w_log2l.c: Likewise.
1789 * math/w_logf.c: Likewise.
1790 * math/w_logl.c: Likewise.
1791 * math/w_pow.c: Likewise.
1792 * math/w_powf.c: Likewise.
1793 * math/w_powl.c: Likewise.
1794 * math/w_remainder.c: Likewise.
1795 * math/w_remainderf.c: Likewise.
1796 * math/w_remainderl.c: Likewise.
1797 * math/w_scalb.c: Likewise.
1798 * math/w_scalbf.c: Likewise.
1799 * math/w_scalbl.c: Likewise.
1800 * math/w_sinh.c: Likewise.
1801 * math/w_sinhf.c: Likewise.
1802 * math/w_sinhl.c: Likewise.
1803 * math/w_sqrt.c: Likewise.
1804 * math/w_sqrtf.c: Likewise.
1805 * math/w_sqrtl.c: Likewise.
1806 * math/w_tgamma.c: Likewise.
1807 * math/w_tgammaf.c: Likewise.
1808 * math/w_tgammal.c: Likewise.
1809
1810 * po/ja.po: Update from translation team.
1811
1812 2011-09-29 Andreas Jaeger <aj@suse.de>
1813
1814 [BZ #13179]
1815 * sunrpc/netname.c (netname2host): Fix logic.
1816
1817 [BZ #6779]
1818 [BZ #6783]
1819 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
1820 correctly.
1821 * math/w_remainder.c (__remainder): Likewise.
1822 * math/w_remainderf.c (__remainderf): Likewise.
1823 * math/libm-test.inc (remainder_test): Add test cases.
1824
1825 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1826
1827 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
1828 sdiv_qrnnd.
1829
1830 2011-10-07 Ulrich Drepper <drepper@gmail.com>
1831
1832 * string/test-memcmp.c: Avoid unncessary #defines.
1833 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
1834
1835 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1836
1837 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
1838 Use new sse2 version for core i3 - i7 as it's faster
1839 than sse42 version.
1840 (bit_Prefer_PMINUB_for_stringop): New.
1841 * sysdeps/x86_64/rawmemchr.S: Update.
1842 Replace with faster SSE2 version.
1843 * sysdeps/x86_64/memrchr.S: New file.
1844 * sysdeps/x86_64/memchr.S: Update.
1845 Replace with faster SSE2 version.
1846
1847 2011-09-12 Marek Polacek <mpolacek@redhat.com>
1848
1849 * elf/dl-load.c (lose): Add cast to avoid warning.
1850
1851 2011-10-07 Ulrich Drepper <drepper@gmail.com>
1852
1853 * po/ca.po: Update from translation team.
1854
1855 * inet/getnetgrent_r.c: Hook up nscd.
1856 * nscd/Makefile (routines): Add nscd_netgroup.
1857 (nscd-modules): Add netgroupcache.
1858 (CFLAGS-netgroupcache.c): Define.
1859 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
1860 (cache_search): Add const to second parameter.
1861 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
1862 INNETGR.
1863 (dbs): Add netgrdb entry.
1864 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
1865 (verify_persistent_db): Handle netgrdb.
1866 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
1867 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
1868 GETFDNETGR.
1869 (netgroup_response_header): Define.
1870 (innetgroup_response_header): Define.
1871 (datahead): Add netgroup_response_header and innetgroup_response_header
1872 elements.
1873 * nscd/nscd.conf: Add entries for netgroup cache.
1874 * nscd/nscd.h (dbtype): Add netgrdb.
1875 (_PATH_NSCD_NETGROUP_DB): Define.
1876 (netgroup_iov_disabled): Declare.
1877 (xmalloc, xcalloc, xrealloc): Move declarations here.
1878 (cache_search): Adjust prototype.
1879 Add netgroup-related prototypes.
1880 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
1881 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
1882 (__nscd_innetgr): Declare.
1883 * nscd/selinux.c (perms): Use access_vector_t as element type and
1884 add netgroup-related initializers.
1885 * nscd/netgroupcache.c: New file.
1886 * nscd/nscd_netgroup.c: New file.
1887 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
1888 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
1889 For four parameters use innetgr.
1890 * nss/nss_files/files-init.c: Add definition and callback for netgr.
1891 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
1892 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
1893 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
1894
1895 * nscd/connections.c (register_traced_file): Don't register file
1896 for disabled databases.
1897
1898 2011-10-06 Ulrich Drepper <drepper@gmail.com>
1899
1900 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
1901
1902 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
1903 from tree and freeing node.
1904
1905 2011-09-25 Jiri Olsa <jolsa@redhat.com>
1906
1907 * nss/nsswitch.c (__nss_database_lookup): Handle
1908 nss_parse_service_list out of memory case.
1909
1910 2011-09-15 Jiri Olsa <jolsa@redhat.com>
1911
1912 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
1913 out of memory case.
1914
1915 2011-10-04 Andreas Schwab <schwab@redhat.com>
1916
1917 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
1918 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
1919 pass it down.
1920 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
1921 elf_machine_rela, elf_machine_lazy_rel.
1922 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
1923 (ELF_DYNAMIC_DO_REL): Likewise.
1924 (ELF_DYNAMIC_DO_RELA): Likewise.
1925 (ELF_DYNAMIC_RELOCATE): Likewise.
1926 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
1927 to ELF_DYNAMIC_DO_REL.
1928 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
1929 (dl_main): In trace mode always set __RTLD_NOIFUNC.
1930 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
1931 elf_machine_rela.
1932 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
1933 skip_ifunc, don't call ifunc function if non-zero.
1934 (elf_machine_rela): Likewise.
1935 (elf_machine_lazy_rel): Likewise.
1936 (elf_machine_lazy_rela): Likewise.
1937 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
1938 (elf_machine_lazy_rel): Likewise.
1939 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
1940 Likewise.
1941 (elf_machine_lazy_rel): Likewise.
1942 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1943 Likewise.
1944 (elf_machine_lazy_rel): Likewise.
1945 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
1946 (elf_machine_lazy_rel): Likewise.
1947 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
1948 (elf_machine_lazy_rel): Likewise.
1949 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1950 (elf_machine_lazy_rel): Likewise.
1951 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1952 (elf_machine_lazy_rel): Likewise.
1953 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1954 (elf_machine_lazy_rel): Likewise.
1955 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1956 (elf_machine_lazy_rel): Likewise.
1957
1958 2011-09-28 Ulrich Drepper <drepper@gmail.com>
1959
1960 * nss/nss_files/files-init.c (_nss_files_init): Use static
1961 initialization for all the *_traced_file variables.
1962
1963 2011-09-28 Andreas Schwab <schwab@redhat.com>
1964
1965 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1966
1967 2011-09-27 Roland McGrath <roland@hack.frob.com>
1968
1969 [BZ #13226]
1970 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
1971
1972 2011-09-27 Andreas Schwab <schwab@redhat.com>
1973
1974 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
1975 Reread the line before reparsing it.
1976
1977 2011-09-26 Andreas Schwab <schwab@redhat.com>
1978
1979 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
1980
1981 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
1982 Maxim Kuvyrkov <maxim@codesourcery.com>
1983 Joseph Myers <joseph@codesourcery.com>
1984
1985 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
1986 if needed for __stack_chk_guard.
1987
1988 2011-09-19 Roland McGrath <roland@hack.frob.com>
1989
1990 * sysdeps/posix/spawni.c (script_execute): Always define it.
1991 It will be optimized away if unused.
1992 (maybe_script_execute): New function.
1993 (__spawni): Call it.
1994
1995 * Makerules: Don't include tls.make.
1996 (config-tls): Always set to thread.
1997 * tls.make.c: File removed.
1998
1999 2011-09-19 Mike Frysinger <vapier@gentoo.org>
2000
2001 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
2002 * config.make.in (CPPFLAGS-config): New substituted variable.
2003
2004 2011-09-15 Ulrich Drepper <drepper@gmail.com>
2005
2006 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
2007
2008 [BZ #13192]
2009 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
2010 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
2011
2012 2011-09-15 Roland McGrath <roland@hack.frob.com>
2013
2014 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
2015 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
2016 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
2017 (CALL_FAIL): Likewise.
2018 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
2019 (CALL_FAIL): Macro removed.
2020 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
2021
2022 2011-09-15 Ulrich Drepper <drepper@gmail.com>
2023
2024 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
2025 for __FINITE_MATH_ONLY__ == 1.
2026
2027 2011-09-15 Andreas Schwab <schwab@redhat.com>
2028
2029 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
2030 __ieee754_sqrt instead of sqrt.
2031 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
2032 __ieee754_sqrtf instead of sqrtf.
2033 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
2034 __floorf instead of floorf.
2035 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
2036 __floorf, __truncf instead of floorf, truncf.
2037
2038 2011-09-14 Ulrich Drepper <drepper@gmail.com>
2039
2040 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
2041
2042 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
2043 __extern_always_inline.
2044 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
2045 32-bit.
2046
2047 2011-09-14 Andreas Schwab <schwab@redhat.com>
2048
2049 * elf/rtld.c (dl_main): Also relocate in dependency order when
2050 doing symbol dependency testing.
2051
2052 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
2053
2054 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2055 Always define `refsym'.
2056
2057 2011-09-13 Andreas Schwab <schwab@redhat.com>
2058
2059 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
2060 (__FD_ELT): Renamed from __FDELT.
2061 * misc/bits/select2.h (__FD_ELT): Likewise.
2062 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
2063 __FD_MASK instead of __FDELT, __FDMASK.
2064 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
2065 Likewise.
2066 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
2067 Likewise.
2068
2069 * elf/Makefile (gen-ldd): Fix pattern.
2070
2071 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
2072 (init_tls): Likewise.
2073
2074 2011-09-12 Ulrich Drepper <drepper@gmail.com>
2075
2076 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
2077
2078 2011-09-12 Andreas Schwab <schwab@redhat.com>
2079
2080 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
2081 `struct cmsghdr *' instead of `void *'.
2082 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
2083 Likewise.
2084
2085 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2086
2087 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
2088 if non-absolute.
2089 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
2090 ldd_rewrite_script.
2091
2092 2011-09-11 Ulrich Drepper <drepper@gmail.com>
2093
2094 * configure.in: Remove --with-tls option.
2095 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
2096 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
2097 out in case it is missing.
2098 * sysdeps/ia64/elf/configure.in: Likewise.
2099 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
2100 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
2101 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
2102 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
2103 * sysdeps/sh/elf/configure.in: Likewise.
2104 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
2105 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2106 * sysdeps/x86_64/elf/configure.in: Likewise.
2107 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
2108 * sysdeps/mach/hurd/tls.h: Likewise.
2109
2110 [BZ #13067]
2111 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
2112
2113 [BZ #13090]
2114 * configure.in: Fix use of AC_INIT.
2115
2116 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
2117
2118 2011-09-10 Ulrich Drepper <drepper@gmail.com>
2119
2120 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
2121 __set_errno.
2122 * malloc/hooks.c: Likewise.
2123
2124 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
2125 variables statically.
2126 (narenas): Initialize.
2127 (list_lock): Initialize.
2128 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
2129 initializtion of main_arena and list_lock. Small cleanups.
2130 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
2131 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
2132 Add initializers to main_arena and mp_.
2133 (malloc_state): Remove pagesize member. Change all users to use
2134 GLRO(dl_pagesize).
2135
2136 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
2137 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
2138 is always initialized.
2139
2140 * malloc/malloc.c: Removed unused configurations and dead code.
2141 * malloc/arena.c: Likewise.
2142 * malloc/hooks.c: Likewise.
2143 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
2144
2145 * include/tls.h: Removed. USE___THREAD must always be defined.
2146 * bits/libc-tsd.h: Don't handle !USE___THREAD.
2147 * elf/dl-libc.c: Likewise.
2148 * elf/dl-tsd.c: Likewise.
2149 * include/errno.h: Likewise.
2150 * include/netdb.h: Likewise.
2151 * include/resolv.h: Likewise.
2152 * inet/herrno-loc.c: Likewise.
2153 * inet/herrno.c: Likewise.
2154 * malloc/arena.c: Likewise.
2155 * malloc/hooks.c: Likewise.
2156 * malloc/malloc.c: Likewise.
2157 * resolv/res-state.c: Likewise.
2158 * resolv/res_libc.c: Likewise.
2159 * sysdeps/i386/dl-machine.h: Likewise.
2160 * sysdeps/ia64/dl-machine.h: Likewise.
2161 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2162 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2163 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2164 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2165 * sysdeps/sh/dl-machine.h: Likewise.
2166 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2167 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2168 * sysdeps/unix/i386/sysdep.S: Likewise.
2169 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2170 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2171 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2172 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2173 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2174 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2175 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2176 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2177 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2178 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2179 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2180 * sysdeps/x86_64/dl-machine.h: Likewise.
2181 * tls.make.c: Likewise.
2182
2183 * configure.in: Remove --with-__thread option. Make tests for
2184 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
2185 tls_model attribute fail if no support is available. Remove
2186 USE_IN_LIBIO.
2187 * Makeconfig: Adjust for dropped configure option. All features are
2188 now mandatory.
2189 * Makerules: Likewise.
2190 * Versions.def: Likewise.
2191 * argp/argp-fmtstream.c: Likewise.
2192 * argp/argp-fmtstream.h: Likewise.
2193 * argp/argp-help.c: Likewise.
2194 * assert/assert.c: Likewise.
2195 * config.h.in: Likewise.
2196 * config.make.in: Likewise.
2197 * configure: Likewise.
2198 * configure.in: Likewise.
2199 * csu/Versions: Likewise.
2200 * csu/init.c: Likewise.
2201 * elf/tst-audit2.c: Likewise.
2202 * elf/tst-tls10.c: Likewise.
2203 * elf/tst-tls10.h: Likewise.
2204 * elf/tst-tls11.c: Likewise.
2205 * elf/tst-tls12.c: Likewise.
2206 * elf/tst-tls14.c: Likewise.
2207 * elf/tst-tlsmod11.c: Likewise.
2208 * elf/tst-tlsmod12.c: Likewise.
2209 * elf/tst-tlsmod13.c: Likewise.
2210 * elf/tst-tlsmod13a.c: Likewise.
2211 * elf/tst-tlsmod14a.c: Likewise.
2212 * elf/tst-tlsmod15b.c: Likewise.
2213 * elf/tst-tlsmod16a.c: Likewise.
2214 * elf/tst-tlsmod16b.c: Likewise.
2215 * elf/tst-tlsmod7.c: Likewise.
2216 * elf/tst-tlsmod8.c: Likewise.
2217 * elf/tst-tlsmod9.c: Likewise.
2218 * gmon/gmon.c: Likewise.
2219 * grp/fgetgrent_r.c: Likewise.
2220 * grp/putgrent.c: Likewise.
2221 * hurd/fopenport.c: Likewise.
2222 * include/libc-symbols.h: Likewise.
2223 * include/tls.h: Likewise.
2224 * intl/gettextP.h: Likewise.
2225 * intl/loadinfo.h: Likewise.
2226 * locale/global-locale.c: Likewise.
2227 * locale/localeinfo.h: Likewise.
2228 * mach/devstream.c: Likewise.
2229 * malloc/arena.c: Likewise.
2230 * malloc/set-freeres.c: Likewise.
2231 * misc/err.c: Likewise.
2232 * misc/getttyent.c: Likewise.
2233 * misc/mntent_r.c: Likewise.
2234 * posix/getopt.c: Likewise.
2235 * posix/wordexp.c: Likewise.
2236 * pwd/fgetpwent_r.c: Likewise.
2237 * resolv/Versions: Likewise.
2238 * resolv/res_hconf.c: Likewise.
2239 * shadow/fgetspent_r.c: Likewise.
2240 * shadow/putspent.c: Likewise.
2241 * stdio-common/printf_fphex.c: Likewise.
2242 * stdio-common/tmpfile.c: Likewise.
2243 * stdlib/abort.c: Likewise.
2244 * stdlib/fmtmsg.c: Likewise.
2245 * sunrpc/auth_unix.c: Likewise.
2246 * sunrpc/clnt_perr.c: Likewise.
2247 * sunrpc/clnt_tcp.c: Likewise.
2248 * sunrpc/clnt_udp.c: Likewise.
2249 * sunrpc/clnt_unix.c: Likewise.
2250 * sunrpc/openchild.c: Likewise.
2251 * sunrpc/svc_simple.c: Likewise.
2252 * sunrpc/svc_tcp.c: Likewise.
2253 * sunrpc/svc_udp.c: Likewise.
2254 * sunrpc/svc_unix.c: Likewise.
2255 * sunrpc/xdr.c: Likewise.
2256 * sunrpc/xdr_array.c: Likewise.
2257 * sunrpc/xdr_rec.c: Likewise.
2258 * sunrpc/xdr_ref.c: Likewise.
2259 * sunrpc/xdr_stdio.c: Likewise.
2260
2261 2011-09-09 Ulrich Drepper <drepper@gmail.com>
2262
2263 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2264
2265 2011-07-03 Andreas Jaeger <aj@suse.de>
2266
2267 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
2268 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
2269 regenerate with gen-libm-tests.pl.
2270
2271 2010-05-12 Petr Baudis <pasky@suse.cz>
2272
2273 [BZ #11589]
2274 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
2275 around j0() zero points by switching to j1().
2276 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2277 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2278 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2279 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2280
2281 2011-09-09 Ulrich Drepper <drepper@gmail.com>
2282
2283 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
2284 instead of 0.
2285 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
2286 instead of 0. .
2287 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2288 Patch in part by Pavel Roskin <proski@gnu.org>.
2289
2290 [BZ #13138]
2291 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
2292 realloc.
2293 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
2294 Free memory block if necessary.
2295
2296 [BZ #12847]
2297 * libio/genops.c (INTDEF): For string streams the _lock pointer can
2298 be NULL. Don't lock in this case.
2299
2300 2011-09-09 Roland McGrath <roland@hack.frob.com>
2301
2302 * elf/elf.h (ELFOSABI_GNU): New macro.
2303 (ELFOSABI_LINUX): Define to that.
2304
2305 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
2306
2307 * string/strncat.c (strncat): Undef the symbol in case it has been
2308 defined in bits/string.h.
2309
2310 2011-09-09 Ulrich Drepper <drepper@gmail.com>
2311
2312 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
2313
2314 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
2315 link map.
2316
2317 2011-08-17 Andreas Jaeger <aj@suse.de>
2318
2319 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
2320
2321 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2322 Ian Lance Taylor <iant@google.com>
2323
2324 * math/libm-test.inc (lround_test): New testcase.
2325 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
2326
2327 2011-09-08 Ulrich Drepper <drepper@gmail.com>
2328
2329 * Makefile: Remove support for automatic cvs check-ins.
2330 * Makerules: Likewise.
2331 * config.make.in: Likewise.
2332 * configure.in: Likewise.
2333 * intl/Makefile: Likewise.
2334 * locale/Makefile: Likewise.
2335 * po/Makefile: Likewise.
2336 * posix/Makefile: Likewise.
2337 * sysdeps/gnu/Makefile: Likewise.
2338 * sysdeps/mach/hurd/Makefile: Likewise.
2339 * sysdeps/sparc/sparc32/Makefile: Likewise.
2340
2341 [BZ #13118]
2342 * posix/Makefile (bug-regex32-ENV): Define.
2343 Patch by John Stanley <jpsinthemix@verizon.net>.
2344
2345 * misc/Makefile (headers): Add bits/select2.h.
2346 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
2347 * misc/bits/select2.h: New file.
2348 * include/bits/select2.h: New file.
2349 * debug/Makefile (routines): Add fdelt_chk.
2350 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
2351 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
2352 FD_ISSET.
2353 * debug/fdelt_chk.c: New file.
2354
2355 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
2356 * wcsmbs/test-wmemcmp.c: Likewise.
2357 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
2358 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
2359
2360 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2361
2362 * string/Makefile (strop-tests): Add memcmp.
2363 * string/test-wmemcmp.c: New file.
2364 * string/test-memcmp.c: Add wmemcmp support.
2365
2366 2011-09-08 Roland McGrath <roland@hack.frob.com>
2367
2368 [BZ #13153]
2369 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
2370 2011-07-19 change.
2371
2372 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
2373 garbage value in a __mach_port_mod_refs call in the cases of the
2374 task-self and thread-self ports.
2375
2376 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
2377
2378 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
2379
2380 2011-09-08 Andreas Schwab <schwab@redhat.com>
2381
2382 * elf/dl-load.c (lose): Check for non-null L.
2383
2384 2011-09-07 Ulrich Drepper <drepper@gmail.com>
2385
2386 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
2387
2388 * elf/dl-libc.c (dlerror_run): Pass back error code from
2389 dl_catch_error.
2390
2391 [BZ #13123]
2392 * elf/dl-load.c (lose): Free l_origin if it is valid.
2393
2394 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
2395 names.
2396 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2397 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2398 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2399 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2400 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2401 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
2402
2403 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2404
2405 * sysdeps/powerpc/fpu/e_hypot.c: New file.
2406 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
2407 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
2408 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
2409 * sysdeps/powerpc/fpu/k_cosf.c: New file.
2410 * sysdeps/powerpc/fpu/k_sinf.c: New file.
2411 * sysdeps/powerpc/fpu/s_cosf.c: New file.
2412 * sysdeps/powerpc/fpu/s_sinf.c: New file.
2413 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
2414 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
2415
2416 2011-08-15 Alan Modra <amodra@gmail.com>
2417
2418 [BZ #13092]
2419 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
2420 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
2421 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
2422 ppc_mcount to static-only-routines.
2423 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
2424 __mcount_internal.
2425 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
2426 __mcount_internal with usual JUMPTARGET. Remove useless nop.
2427
2428 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
2429
2430 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
2431 for finite and infinity parameters.
2432
2433 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
2434
2435 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
2436 and add nop instructions for throughput optimization.
2437 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2438
2439 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
2440
2441 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
2442 aligned copy for power7 with vector-scalar instructions.
2443 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2444
2445 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
2446
2447 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
2448 AVX check.
2449
2450 2011-09-07 Andreas Schwab <schwab@redhat.com>
2451
2452 [BZ #13144]
2453 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
2454 last change.
2455
2456 2011-09-07 Ulrich Drepper <drepper@gmail.com>
2457
2458 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2459 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
2460 syscall wrapper around clock_gettime in __vdso_clock_gettime.
2461 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
2462 clock_gettime.
2463
2464 2011-09-06 Ulrich Drepper <drepper@gmail.com>
2465
2466 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
2467 Forgot to demangle the pointer.
2468
2469 * sysdeps/i386/sysdep.h: Define atom_text_section.
2470 * sysdeps/x86_64/sysdep.h: Likewise.
2471 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
2472 section with atom_text_section.
2473 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2474 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2475 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2476 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
2477 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
2478
2479 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
2480 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
2481 already be defined. Change to take two parameters and don't assign
2482 result to variable. Adjust all users.
2483 Define INTERNAL_GETTIME if not already defined.
2484 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
2485 call.
2486 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
2487 HAVE_CLOCK_GETTIME_VSYSCALL.
2488 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
2489
2490 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
2491 gettimeofday vsyscall, just use time.
2492
2493 2011-09-06 Andreas Schwab <schwab@redhat.com>
2494
2495 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
2496 <errno.h>.
2497
2498 2011-09-06 Ulrich Drepper <drepper@gmail.com>
2499
2500 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
2501 syscall on x86-64.
2502 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
2503 syscall.
2504 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2505 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
2506 syscall if possible.
2507
2508 2011-09-05 Ulrich Drepper <drepper@gmail.com>
2509
2510 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
2511 e_ident. Don't pass to find_mapsXX.
2512 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
2513
2514 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2515
2516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2517 strchr-sse2-no-bsf strrchr-sse2-no-bsf
2518 * sysdeps/x86_64/multiarch/strchr.S: Update.
2519 Check bit_slow_BSF bit.
2520 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2521 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
2522 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
2523
2524 2011-09-05 Ulrich Drepper <drepper@gmail.com>
2525
2526 [BZ #13134]
2527 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
2528 before glibc 2.15.
2529 (tryshell): Define.
2530 (__spawni): Change last parameter to be flag. Test
2531 SPAWN_XFLAGS_USE_PATH flag to use path or not.
2532 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
2533 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
2534 * posix/spawni.c: Likewise.
2535 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
2536 * posix/spawnp.c: Likewise. Change normal version to use
2537 SPAWN_XFLAGS_USE_PATH.
2538 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
2539 SPAWN_XFLAGS_TRY_SHELL.
2540
2541 [BZ #13150]
2542 * posix/glob.h: Remove gcc 1.x support.
2543
2544 [BZ #13068]
2545 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
2546
2547 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2548
2549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2550 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
2551 strrchr-sse2-bsf
2552 * sysdeps/i386/i686/multiarch/strchr.S: New file.
2553 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
2554 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
2555 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
2556 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
2557 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
2558
2559 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2560
2561 * sysdeps/x86_64/wcscmp.S: New file.
2562
2563 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
2564 wcscmp-c wcscmp-sse2
2565 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
2566 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
2567 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
2568 * wcsmbs/wcscmp.c: Allow renaming.
2569
2570 2011-09-05 David S. Miller <davem@davemloft.net>
2571
2572 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
2573 stack slot, rather than the struct return pointer slot.
2574 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
2575 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
2576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
2577 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
2578
2579 2011-09-05 Ulrich Drepper <drepper@gmail.com>
2580
2581 * po/ja.po: Update from translation team.
2582
2583 [BZ #13144]
2584 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
2585 kernel in 64-bit binaries.
2586
2587 2011-09-01 David S. Miller <davem@davemloft.net>
2588
2589 * elf/elf.h (HWCAP_SPARC_*): Move to..
2590 * sysdeps/sparc/sysdep.h: this new file and add new values.
2591 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
2592 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
2593 _DL_HWCAP_COUNT to 24.
2594 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
2595 entries.
2596 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
2597 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
2598 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
2599 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
2600 instead of magic constants.
2601 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2602
2603 2011-08-31 David S. Miller <davem@davemloft.net>
2604
2605 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
2606 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
2607 Reimplement to do errno handling inline.
2608 (SYSCALL_ERROR_HANDLER): New macro.
2609 (__SYSCALL_STRING): Do not do errno handling in asm.
2610 (__CLONE_SYSCALL_STRING): Delete.
2611 (__INTERNAL_SYSCALL_STRING): Delete.
2612 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
2613 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
2614 (PSEUDO): Reimplement to do errno handling inline.
2615 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
2616 (SYSCALL_ERROR_HANDLER): New macro.
2617 (__SYSCALL_STRING): Do not do errno handling in asm.
2618 (__CLONE_SYSCALL_STRING): Delete.
2619 (__INTERNAL_SYSCALL_STRING): Delete.
2620 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
2621 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
2622 i386.
2623 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
2624 (inline_syscall*): Add 'err' argument.
2625 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
2626 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
2627 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
2628 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
2629
2630 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
2631 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2632
2633 2011-08-30 Andreas Schwab <schwab@redhat.com>
2634
2635 * elf/rtld.c (dl_main): Relocate objects in dependency order.
2636
2637 2011-08-29 Jiri Olsa <jolsa@redhat.com>
2638
2639 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
2640 directive.
2641
2642 2011-08-24 David S. Miller <davem@davemloft.net>
2643
2644 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
2645
2646 2011-08-24 Andreas Schwab <schwab@redhat.com>
2647
2648 * elf/Makefile: Add rules to build and run unload8 test.
2649 * elf/unload8.c: New file.
2650 * elf/unload8mod1.c: New file.
2651 * elf/unload8mod1x.c: New file.
2652 * elf/unload8mod2.c: New file.
2653 * elf/unload8mod3.c: New file.
2654
2655 * elf/dl-close.c (_dl_close_worker): Reset private search list if
2656 it wasn't used.
2657
2658 2011-08-23 David S. Miller <davem@davemloft.net>
2659
2660 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
2661 subtract stack bias.
2662 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
2663 %sp not %fp in calculations.
2664 (_JMPBUF_UNWINDS_ADJ): Likewise.
2665
2666 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
2667 (aio_suspend): Call it to force an exception region around the
2668 AIO_MISC_WAIT() invocation.
2669
2670 2011-08-23 Andreas Schwab <schwab@redhat.com>
2671
2672 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
2673 backslash.
2674
2675 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
2676
2677 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
2678 protection macro.
2679 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
2680 and <dl-machine.h>.
2681 (Elf64_FuncDesc): Remove.
2682
2683 2011-08-22 David S. Miller <davem@davemloft.net>
2684
2685 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
2686 sigaltstack check, add missing cfi directives.
2687 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
2688 missing cfi directives, and sigaltstack handling.
2689
2690 2011-08-16 Andreas Schwab <schwab@redhat.com>
2691
2692 [BZ #11724]
2693 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
2694 object is seen twice.
2695 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2696
2697 * elf/Makefile (distribute): Add tst-initorder2.c.
2698 (tests): Add tst-initorder2.
2699 (modules-names): Add tst-initorder2a tst-initorder2b
2700 tst-initorder2c tst-initorder2d. Add rules to build them.
2701 ($(objpfx)tst-initorder2.out): New rule.
2702 * elf/tst-initorder2.c: New file.
2703 * elf/tst-initorder2.exp: New file.
2704
2705 2011-08-22 Andreas Schwab <schwab@redhat.com>
2706
2707 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
2708
2709 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
2710 dependencies back to end of function.
2711
2712 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
2713 $(elfobjdir)/ld.so.
2714
2715 2011-08-21 Ulrich Drepper <drepper@gmail.com>
2716
2717 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
2718 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
2719 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
2720 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
2721 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
2722 of __vdso_gettimeofday.
2723 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
2724 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
2725 attribute_hidden.
2726 (_libc_vdso_platform_setup): Remove initialization of
2727 __vdso_gettimeofday and __vdso_time.
2728
2729 2011-08-20 Ulrich Drepper <drepper@gmail.com>
2730
2731 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
2732 and fgetc_unlocked.
2733 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
2734 getc_unlocked.
2735
2736 * elf/dl-open.c (add_to_global): Report additions to the global scope
2737 for LD_DEBUG=scopes.
2738 (dl_open_worker): Also print scope of newly loaded dependencies.
2739 (_dl_show_scope): Indicate if there is no scope.
2740
2741 [BZ #13114]
2742 * stdio-common/Makefile (tests): Add bug24.
2743 * stdio-common/bug24.c: New file.
2744
2745 2011-08-19 Andreas Jaeger <aj@suse.de>
2746
2747 [BZ #13114]
2748 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
2749 non-existant file when using close-on-exec mode.
2750
2751 2011-08-20 Ulrich Drepper <drepper@gmail.com>
2752
2753 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
2754 the very first instruction.
2755
2756 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
2757 the CFI state in the end.
2758 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
2759 inclusion of dl-trampoline.h.
2760 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
2761
2762 2011-08-19 Andreas Schwab <schwab@redhat.com>
2763
2764 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
2765 expectations for long double.
2766
2767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
2768 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
2769
2770 2011-08-14 David S. Miller <davem@davemloft.net>
2771
2772 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
2773 artificual limit depends upon the system page size.
2774
2775 2011-08-17 Ulrich Drepper <drepper@gmail.com>
2776
2777 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
2778 * resolv/Makefile: Define CFLAGS-libresolv.
2779
2780 2011-08-17 Andreas Schwab <schwab@redhat.com>
2781
2782 * nss/makedb.c (compute_tables): Make variables used in nested
2783 function static.
2784
2785 2011-08-17 Ulrich Drepper <drepper@gmail.com>
2786
2787 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
2788 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
2789 if buffer was too small.
2790
2791 * elf/pldd.c (main): Attach to all threads in the process.
2792 Rewrite /proc handling to use *at functions.
2793
2794 2011-08-16 Ulrich Drepper <drepper@gmail.com>
2795
2796 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
2797 specifies first scope to show.
2798 (dl_open_worker): Update callers. Move printing scope of new
2799 object to before the relocation.
2800 * elf/rtld.c (dl_main): Update _dl_show_scope call.
2801 * sysdeps/generic/ldsodefs.h: Update declaration.
2802
2803 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
2804 string for the scope number.
2805
2806 2011-08-14 Ulrich Drepper <drepper@gmail.com>
2807
2808 * nscd/servicescache.c (cache_addserv): Make sure written is always
2809 initialized.
2810
2811 2011-08-14 Roland McGrath <roland@hack.frob.com>
2812
2813 * sysdeps/i386/i486/bits/atomic.h
2814 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
2815 statement expression, so as to suppress "set but not used" warning.
2816 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
2817
2818 * string/strncat.c (STRNCAT): Use prototype definition.
2819
2820 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
2821 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
2822 -Iprograms here.
2823 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
2824 (localedef-modules): Add localedef.
2825 (locale-modules): Add locale.
2826
2827 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
2828 * elf/rtld.c (dl_main): Invert order of assignment in last change,
2829 to avoid a warning.
2830
2831 2011-08-14 David S. Miller <davem@davemloft.net>
2832
2833 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
2834 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
2835
2836 2011-08-13 Ulrich Drepper <drepper@gmail.com>
2837
2838 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
2839 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
2840 * elf/rtld.c (dl_main): Set l_name of vDSO.
2841 Call _dl_show_scope when DL_DEBUG_SCOPES.
2842 (process_dl_debug): Recognize scopes flag and also set it for all.
2843 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
2844 Declare _dl_show_scope.
2845
2846 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
2847 (do_dlopen): Pass caller_dlopen to dl_open.
2848 (__libc_dlopen_mode): Initialize caller_dlopen.
2849
2850 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
2851 of libc. Make tolower call locale-independent. Optimize a bit by
2852 using isdigit instead of isalnum.
2853 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
2854
2855 2011-08-12 Ulrich Drepper <drepper@gmail.com>
2856
2857 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
2858 was a dependency or dynamically loaded.
2859
2860 2011-08-11 Ulrich Drepper <drepper@gmail.com>
2861
2862 * intl/l10nflist.c: Allow architecture-specific pop function.
2863 * sysdeps/x86_64/l10nflist.c: New file.
2864
2865 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
2866 classification.
2867
2868 2011-08-10 Andreas Schwab <schwab@redhat.com>
2869
2870 * include/dirent.h: Add libc_hidden_proto for scandirat and
2871 scandirat64. Don't declare __scandirat64.
2872 * dirent/scandirat.c: Add libc_hidden_def.
2873 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
2874 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
2875
2876 2011-08-10 David S. Miller <davem@davemloft.net>
2877
2878 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
2879 enum.
2880 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2881 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2882 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2883
2884 2011-08-09 Ulrich Drepper <drepper@gmail.com>
2885
2886 * Versions.def [libc]: Add GLIBC_2.15.
2887 * dirent/Makefile (routines): Add scandirat and scandirat64.
2888 * dirent/Versions [libc]: Export scandirat and scandirat64 for
2889 GLIBC_2.15.
2890 * dirent/dirent.h: Declare scandirat and scandirat64.
2891 * dirent/scandirat.c: New file.
2892 * dirent/scandirat64.c: New file.
2893 * sysdeps/wordsize-64/scandirat.c: New file.
2894 * sysdeps/wordsize-64/scandirat64.c: New file.
2895 * dirent/opendir.c: Define opendirat.
2896 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
2897 using scandirat.
2898 * dirent/scandir64.c: Adjust for scandir.c change.
2899 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
2900 __scandirat64, and __scandir_cancel_handler.
2901 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
2902 additional parameter and use openat instead of open (outside of ld.so).
2903 Add new __opendir as wrapper around __opendirat.
2904 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
2905 here without requiring old scandirat implementation.
2906
2907 2011-08-08 Ulrich Drepper <drepper@gmail.com>
2908
2909 * dirent/scandir.c (cancel_handler): Renamed to
2910 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
2911 defined. Adjust users.
2912 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
2913 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
2914
2915 2011-08-04 Ulrich Drepper <drepper@gmail.com>
2916
2917 * string/test-string.h (IMPL): Use __STRING to expand name and then
2918 stringify it.
2919
2920 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
2921 of cleanups.
2922
2923 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2924
2925 * string/Makefile: Update.
2926 (strop-tests): Append strncat.
2927 * string/test-wcscmp.c: New file.
2928 New comprehensive test for wcscmp.
2929 * string/test-strcmp.c: Update.
2930 (WIDE): New define.
2931
2932 2011-07-22 Andreas Schwab <schwab@redhat.com>
2933
2934 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
2935 line.
2936
2937 2011-07-26 Andreas Schwab <schwab@redhat.com>
2938
2939 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
2940 encoding to ACE if AI_IDN.
2941
2942 2011-08-01 Jakub Jelinek <jakub@redhat.com>
2943
2944 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
2945 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
2946
2947 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2948
2949 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
2950 Fix overflow bug in strncat.
2951 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2952
2953 * string/test-strncat.c: Update.
2954 Add new tests for checking overflow bugs.
2955
2956 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2957
2958 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2959 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
2960 * sysdeps/i386/i686/multiarch/strcat.S: New file.
2961 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
2962 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
2963 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
2964 * sysdeps/i386/i686/multiarch/strncat.S: New file.
2965 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
2966 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
2967
2968 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
2969 (USE_AS_STRCAT): Define.
2970 Add strcat and strncat support.
2971 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2972
2973 2011-07-25 Andreas Schwab <schwab@redhat.com>
2974
2975 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
2976 __n bigger than INT_MAX+1.
2977 (__strncmp_g): Likewise.
2978
2979 2011-07-23 Ulrich Drepper <drepper@gmail.com>
2980
2981 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
2982 * libio/stido.h: Likewise.
2983
2984 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
2985 (AF_NFC): Define.
2986 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
2987 (AF_NFC): Define.
2988
2989 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
2990 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2991 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2992 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2993 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2994
2995 [BZ #13021]
2996 * scripts/test-installation.pl: Don't expect libnss_test1 to be
2997 installed.
2998
2999 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
3000 typo.
3001 (_dl_x86_64_save_sse): Likewise.
3002
3003 2011-07-22 Ulrich Drepper <drepper@gmail.com>
3004
3005 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
3006 OSXSAVE.
3007 (_dl_x86_64_save_sse): Likewise.
3008
3009 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
3010
3011 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
3012
3013 2011-07-21 Andreas Schwab <schwab@redhat.com>
3014
3015 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
3016 change.
3017 (_dl_x86_64_save_sse): Use correct AVX check.
3018
3019 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3020
3021 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
3022 bug in strncpy/strncat.
3023 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3024
3025 2011-07-21 Ulrich Drepper <drepper@gmail.com>
3026
3027 * string/tester.c (test_strcat): Add tests for different alignments
3028 of source and destination.
3029 (test_strncat): Likewise.
3030
3031 2011-07-20 Ulrich Drepper <drepper@gmail.com>
3032
3033 [BZ #12852]
3034 * posix/glob.c (glob): Check passed in values before using them in
3035 expressions to avoid some overflows.
3036 (glob_in_dir): Likewise.
3037
3038 [BZ #13007]
3039 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
3040 check for AVX enablement so that we don't crash with old kernels and
3041 new hardware.
3042 * elf/tst-audit4.c: Add same checks here.
3043 * elf/tst-audit6.c: Likewise.
3044
3045 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
3046
3047 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
3048
3049 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
3050
3051 2011-07-20 Ulrich Drepper <drepper@gmail.com>
3052
3053 * po/cs.po: Update from translation team.
3054 * po/bg.po: Likewise.
3055
3056 2011-07-12 Marek Polacek <mpolacek@redhat.com>
3057
3058 * misc/sys/cdefs.h: Add support for const attribute.
3059 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
3060 to gnu_dev_{major,minor,makedev} functions.
3061
3062 2011-07-20 Marek Polacek <mpolacek@redhat.com>
3063
3064 * intl/dcigettext.c (get_output_charset): Add missing bracket.
3065
3066 2011-07-20 Andreas Schwab <schwab@redhat.com>
3067
3068 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
3069 strlen results.
3070
3071 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3072
3073 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3074 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
3075 register in order to avoid conflicts with the soft frame pointer
3076 being held in r11 when necessary.
3077 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3078 (INTERNAL_VSYSCALL_NCS): Likewise.
3079
3080 2011-07-14 Marek Polacek <mpolacek@redhat.com>
3081
3082 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
3083 * elf/dl-fini.c (_dl_fini): Adjust caller.
3084 * elf/dl-close.c (_dl_close_worker): Likewise.
3085 * sysdeps/generic/ldsodefs.h: Adjust declaration.
3086
3087 2011-07-15 Marek Polacek <mpolacek@redhat.com>
3088
3089 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
3090 "aux_cache->nlibs < 0".
3091
3092 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
3093 in the reload-count case.
3094
3095 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3096
3097 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3098 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
3099 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
3100 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
3101 * sysdeps/x86_64/multiarch/strcat.S: New file.
3102 * sysdeps/x86_64/multiarch/strncat.S: New file.
3103 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
3104 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
3105 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
3106 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
3107 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
3108 (USE_AS_STRCAT): Define.
3109 Add strcat and strncat support.
3110 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
3111 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3112 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
3113 * string/strncat.c: Update.
3114 (USE_AS_STRNCAT): Define.
3115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3116 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
3117 and i7.
3118 * sysdeps/x86_64/multiarch/init-arch.h
3119 (bit_Prefer_PMINUB_for_stringop): New.
3120 (index_Prefer_PMINUB_for_stringop): Likewise.
3121 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
3122 bit_Prefer_PMINUB_for_stringop.
3123
3124 2011-07-19 Ulrich Drepper <drepper@gmail.com>
3125
3126 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
3127 buffer64.
3128 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
3129 of casting of buffer.
3130 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
3131 buffer32 and buffer64.
3132 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
3133 writes instead of casting of buffer.
3134 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
3135 buffer32.
3136 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
3137 casting of buffer.
3138
3139 2011-07-19 Andreas Schwab <schwab@redhat.com>
3140
3141 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
3142
3143 2011-07-19 Ulrich Drepper <drepper@gmail.com>
3144
3145 * nscd/nscd.c (termination_handler): Don't do anything for a database
3146 if it has not yet been initialized.
3147
3148 2011-07-18 Ulrich Drepper <drepper@gmail.com>
3149
3150 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
3151
3152 2011-07-15 Marek Polacek <mpolacek@redhat.com>
3153
3154 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
3155
3156 2011-07-18 Ulrich Drepper <drepper@gmail.com>
3157
3158 * po/nl.po: Update from translation team.
3159 * po/sv.po: Likewise.
3160
3161 2011-07-16 Roland McGrath <roland@hack.frob.com>
3162
3163 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
3164 now disallowed by GCC.
3165
3166 * configure.in (use-default-link): Default to yes if a test -shared
3167 link meets our qualifications.
3168 * configure: Regenerated.
3169
3170 * config.make.in (output-format): New variable.
3171 * configure.in: Check for ld --print-output-format support.
3172 * configure: Regenerated.
3173 * Makerules ($(common-objpfx)format.lds)
3174 [$(output-format) != unknown]: Just use $(output-format),
3175 instead of the linker-script munging.
3176
3177 2011-07-14 Roland McGrath <roland@hack.frob.com>
3178
3179 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
3180 of $(common-objpfx)shlib.lds.
3181 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
3182
3183 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
3184 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
3185
3186 * configure.in (-z relro check): Adjust test code to add a large
3187 writable data section after it.
3188 * configure: Regenerated.
3189
3190 2011-07-11 Roland McGrath <roland@hack.frob.com>
3191
3192 * configure.in (-z relro check): Fix test code to make the variable
3193 truly const.
3194 * configure: Regenerated.
3195
3196 2011-07-11 Ulrich Drepper <drepper@gmail.com>
3197
3198 * nscd/nscd.h (struct traced_file): Define.
3199 (struct database_dyn): Remove inotify_descr, reset_res, and filename
3200 elements. Add traced_files.
3201 (inotify_fd): Declare.
3202 (register_traced_file): Declare.
3203 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
3204 (inotify_fd): Export.
3205 (resolv_conf_descr): Remove.
3206 (nscd_init): Move inotify descriptor creation to main.
3207 Don't register files for notification here.
3208 (register_traced_file): New function.
3209 (invalidate_cache): Don't use reset_res to determine whether to call
3210 res_init, go through the list of registered files.
3211 (main_loop_poll): The inotify descriptors are now stored in the
3212 structures for the traced files.
3213 (main_loop_epoll): Likewise
3214 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
3215 to __nss_disable_nscd.
3216 * nscd/cache.c (prune_cache): There is no single inotify descriptor
3217 for a database anymore. Check the records for all the registered
3218 files instead.
3219 * nss/Makefile (libnss_files-routines): Add files-init.
3220 (libnss_db-routines): Add db-init.
3221 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
3222 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
3223 * nss/nss_db/db-init.c: New file.
3224 * nss/nss_files/files-init.c: New file.
3225 * nss/nsswitch.c (nss_load_library): New function. Broken out of
3226 __nss_lookup_function.
3227 (__nss_lookup_function): Call nss_load_library.
3228 (nss_load_all_libraries): New function.
3229 (__nss_disable_nscd): Take parameter with callback function for files
3230 to register. Set is_nscd. Load all the DSOs for the NSS modules
3231 used for the cached services.
3232 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
3233 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
3234 options for features to all the files in nscd.
3235
3236 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
3237
3238 2011-07-10 Roland McGrath <roland@hack.frob.com>
3239
3240 * csu/elf-init.c (__libc_csu_init): Comment typo.
3241
3242 2011-07-09 Ulrich Drepper <drepper@gmail.com>
3243
3244 * po/pl.po: Update from translation team.
3245 * po/ja.po: Likewise.
3246 * po/ru.po: Likewise.
3247 * po/ko.po: Likewise.
3248 * po/fr.po: Likewise.
3249
3250 2011-07-09 Roland McGrath <roland@hack.frob.com>
3251
3252 * configure.in (.ctors/.dtors header and trailer check):
3253 Use an empirical test on a built program.
3254 * configure: Regenerated.
3255
3256 * configure.in (-z relro check): Use an empirical test on a built DSO.
3257 Detect, but do not require, on ia64.
3258 * configure: Regenerated.
3259
3260 * configure.in (READELF): Find it with AC_CHECK_TOOL.
3261 Update tests that use readelf to use $READELF instead.
3262 * configure: Regenerated.
3263
3264 2011-07-08 Ulrich Drepper <drepper@gmail.com>
3265
3266 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
3267 if the result is not used.
3268
3269 2011-07-05 Andreas Jaeger <aj@suse.de>
3270
3271 [BZ#9696]
3272 * stdlib/tst-strtod.c: Add testcase.
3273
3274 2011-07-07 Ulrich Drepper <drepper@gmail.com>
3275
3276 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
3277 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
3278 The latter has a higher limit. Take additional parameter to pass to
3279 the new function.
3280 (__pathconf): Pass file to __statfs_link_max.
3281 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
3282 __statfs_link_max.
3283 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
3284 __statfs_link_max.
3285
3286 [BZ #12868]
3287 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
3288 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3289 Handle Lustre.
3290 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
3291 (__statfs_filesize_max): Likewise.
3292 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
3293
3294 2011-07-05 Andreas Jaeger <aj@suse.de>
3295
3296 * resolv/res_comp.c (dn_skipname): Remove unused variable.
3297
3298 2011-07-06 Marek Polacek <mpolacek@redhat.com>
3299
3300 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
3301 `status' variable.
3302 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
3303 Likewise.
3304
3305 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
3306
3307 * Makefile (strop-tests): Add strncat.
3308 * string/test-strncat.c: New file.
3309
3310 2011-06-30 Marek Polacek <mpolacek@redhat.com>
3311
3312 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
3313
3314 2011-06-21 Andreas Jaeger <aj@suse.de>
3315
3316 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
3317 Copy rule from iconvdata/Makefile.
3318
3319 2011-07-06 Ulrich Drepper <drepper@gmail.com>
3320
3321 [BZ #12922]
3322 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
3323 but no long options are defined, just return 'W'.
3324
3325 2011-06-22 Marek Polacek <mpolacek@redhat.com>
3326
3327 [BZ #9696]
3328 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
3329
3330 2011-07-06 Ulrich Drepper <drepper@gmail.com>
3331
3332 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
3333 netgroups to read.
3334 (innetgr): Likewise.
3335
3336 2011-07-05 Roland McGrath <roland@hack.frob.com>
3337
3338 * config.make.in (install_root): Default to $(DESTDIR).
3339
3340 2011-07-05 Ulrich Drepper <drepper@gmail.com>
3341
3342 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
3343
3344 2011-07-02 Roland McGrath <roland@hack.frob.com>
3345
3346 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
3347
3348 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
3349 containing directory rather than embedding absolute directory names.
3350
3351 * scripts/check-local-headers.sh: Rewritten using awk.
3352 Match by word, not by line. Print error messages for matches.
3353 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
3354
3355 * Makerules [shlib-lds-flags empty]:
3356 ($(common-objpfx)libc_pic.opts): New target.
3357 ($(common-objpfx)libc_pic.os.clean): New target.
3358 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
3359
3360 * config.make.in (OBJCOPY): New variable.
3361 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
3362 * configure: Regenerated.
3363
3364 * config.make.in (use-default-link): New variable.
3365 * configure.in (use_default_link): Grok --with-default-link to set it.
3366 * configure: Regenerated.
3367 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
3368 (shlib-lds, shlib-lds-flags): Define to empty.
3369
3370 * Makerules (shlib-lds): New variable.
3371 (shlib-lds-flags): New variable.
3372 (build-shlib, build-moduile, build-module-asneeded): Use it.
3373 ($(common-objpfx)libc.so): Use $(shlib-lds).
3374 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
3375 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
3376
3377 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
3378 DT_FLAGS/DT_FLAGS_1 with zero flags.
3379
3380 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
3381 linker script munging.
3382
3383 2011-07-02 Ulrich Drepper <drepper@gmail.com>
3384
3385 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
3386 as 128-bit value.
3387 * crypt/sha512.c (sha512_process_block): Perform total addition using
3388 128-bit if possible.
3389 (__sha512_finish_ctx): Likewise.
3390 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
3391 as 64-bit value.
3392 * crypt/sha256.c (SWAP64): Define.
3393 (sha256_process_block): Perform total addition using 64-bit if
3394 possible.
3395 (__sha256_finish_ctx): Likewise.
3396
3397 2011-07-01 Ulrich Drepper <drepper@gmail.com>
3398
3399 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
3400 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3401 * nscd/hstcache.c (cache_addhst): Likewise.
3402 * nscd/grpcache.c (cache_addgr): Likewise.
3403 * nscd/aicache.c (addhstaiX): Likewise
3404 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
3405
3406 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
3407
3408 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
3409 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3410 * nscd/hstcache.c (cache_addhst): Likewise.
3411 * nscd/grpcache.c (cache_addgr): Likewise.
3412 * nscd/aicache.c (addhstaiX): Likewise
3413
3414 2011-07-01 Andreas Schwab <schwab@redhat.com>
3415
3416 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
3417 domain only when needed.
3418
3419 2011-06-30 Andreas Schwab <schwab@redhat.com>
3420
3421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
3422 is always restored.
3423
3424 2011-06-29 Ulrich Drepper <drepper@gmail.com>
3425
3426 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
3427 are re-adding the entry.
3428 * nscd/servicescache.c (cache_addserv): Likewise.
3429
3430 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
3431
3432 * sysdeps/generic/dl-irel.h: fix protection against multiple
3433 inclusions.
3434 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
3435
3436 2011-06-28 Ulrich Drepper <drepper@gmail.com>
3437
3438 [BZ #12935]
3439 * malloc/memusage.sh: Fix quoting in message.
3440 * debug/xtrace.sh: Likewise.
3441
3442 * configure.in: Remove support for --experimental-malloc option, make
3443 it the default.
3444 * config.make.in: Likewise.
3445 * malloc/Makefile: Likewise.
3446
3447 2011-06-27 Andreas Schwab <schwab@redhat.com>
3448
3449 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
3450 two-byte characters.
3451
3452 2011-06-27 Roland McGrath <roland@hack.frob.com>
3453
3454 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
3455 AC_CACHE_CHECK invocation.
3456 * configure: Regenerated.
3457
3458 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
3459
3460 2011-06-27 Ulrich Drepper <drepper@gmail.com>
3461
3462 [BZ #12350]
3463 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
3464 bit from old_res_options.
3465
3466 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
3467
3468 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
3469 value type for setfct.
3470
3471 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
3472
3473 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
3474 __gettimeofday instead of gettimeofday.
3475
3476 2011-06-26 Ulrich Drepper <drepper@gmail.com>
3477
3478 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
3479
3480 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
3481
3482 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
3483
3484 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
3485 info.
3486
3487 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
3488
3489 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3490 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
3491 strcpy-sse2-unaligned strncpy-sse2-unaligned
3492 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
3493 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
3494 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
3495 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
3496 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
3497 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
3498 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
3499 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
3500 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
3501 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
3502 (STRCPY): Support SSE2 and SSSE3 versions.
3503
3504 2011-06-24 Ulrich Drepper <drepper@gmail.com>
3505
3506 [BZ #12874]
3507 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
3508 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
3509 kernels which artificially limit size of requests.
3510
3511 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
3512
3513 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3514 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
3515 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
3516 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
3517 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
3518 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
3519 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
3520 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
3521 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
3522 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
3523 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
3524 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
3525 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
3526 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
3527 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
3528 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3529 Enable unaligned load optimization for Intel Core i3, i5 and i7
3530 processors.
3531 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
3532 Define.
3533 (index_Fast_Unaligned_Load): Define.
3534 (HAS_FAST_UNALIGNED_LOAD): Define.
3535
3536 2011-06-23 Marek Polacek <mpolacek@redhat.com>
3537
3538 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
3539
3540 2011-06-22 Ulrich Drepper <drepper@gmail.com>
3541
3542 [BZ #12907]
3543 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
3544 until it is clear that the information is realy needed.
3545 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
3546
3547 2011-06-22 Andreas Schwab <schwab@redhat.com>
3548
3549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
3550
3551 2011-06-22 Ulrich Drepper <drepper@gmail.com>
3552
3553 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
3554 /sys/devices/system/cpu/online if it is usable.
3555
3556 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
3557 reading the information from the /proc filesystem to once a second.
3558
3559 2011-06-21 Andreas Jaeger <aj@suse.de>
3560
3561 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
3562 NULL after inclusion of kernel headers.
3563
3564 2011-06-21 Ulrich Drepper <drepper@gmail.com>
3565
3566 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
3567 calls to internal_setent.
3568
3569 [BZ #12885]
3570 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
3571 addresses using gethostbyname4_r ignore IPv4 addresses.
3572
3573 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
3574 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
3575
3576 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
3577
3578 2011-06-20 David S. Miller <davem@davemloft.net>
3579
3580 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
3581 inclusions.
3582 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
3583
3584 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
3585 (elf_irel): Use it.
3586 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
3587 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
3588 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
3589 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
3590 * sysdeps/x86_64/dl-irel.h: Likewise.
3591
3592 * elf/dl-runtime.c: Use elf_ifunc_invoke.
3593 * elf/dl-sym.c: Likewise.
3594
3595 2011-06-15 Ulrich Drepper <drepper@gmail.com>
3596
3597 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
3598 need to dereference resplen2.
3599
3600 2011-06-14 Andreas Schwab <schwab@redhat.com>
3601
3602 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
3603
3604 2011-06-15 Ulrich Drepper <drepper@gmail.com>
3605
3606 * Makeconfig: Define vardbdir and inst_vardbdir.
3607 * nss/Makefile: Add rules to install db-Makefile.
3608
3609 * nss/nss_db/db-XXX.c: Cleanup.
3610
3611 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
3612 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
3613 GLIBC_PRIVATE.
3614 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
3615 * nss/makedb.c: Implement -g option to specify that value strings
3616 are generated and should not be added to table iterated over for
3617 get*ent calls.
3618 * nss/nss_db/db-initgroups.c: New file.
3619
3620 * nss/getent.c: Add support for initgroups lookups through getgrouplist
3621 interface.
3622
3623 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
3624 (internal_getgrouplist): Adjust to name change.
3625 Update use_initgroups_entry if this is not the first call.
3626 * nss/databases.def: Add initgroups entry.
3627
3628 * nss/makedb.c (compute_tables): Check result of multiple hash table
3629 sizes to minimize maximum chain length.
3630
3631 2011-06-14 Ulrich Drepper <drepper@gmail.com>
3632
3633 * Versions.def: Add entry for libnss_db.
3634 * shlib-versions: Likewise.
3635 * nss/Makefile: Add rules to build libnss_db.
3636 * nss/Versions: Add libnss_db information. Organize libnss_files
3637 entries better.
3638 * nss/db-Makefile: Add gshadow support. Change rules for the new
3639 makedb progra. Some minor improvements to generate smaller files.
3640 * nss/nss_db/nss_db.h: Move NSS database header data structures to
3641 here from...
3642 * nss/makedb.c: ...here.
3643 Improve database format to be smaller and require less memory at
3644 runtime.
3645 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
3646 db anymore.
3647 * nss/nss_db/db-netgrp.c: Likewise.
3648 * nss/nss_db/db-open.c: Likewise.
3649 * nss/nss_files/flies-XXX.x: Adjust comments.
3650 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
3651 * nss/nss_files/files-grp.c: Likewise.
3652 * nss/nss_files/files-hosts.c: Likewise.
3653 * nss/nss_files/files-network.c: Likewise.
3654 * nss/nss_files/files-proto.c: Likewise.
3655 * nss/nss_files/files-pwd.c: Likewise.
3656 * nss/nss_files/files-rpc.c: Likewise.
3657 * nss/nss_files/files-service.c: Likewise.
3658 * nss/nss_files/files-sgrp.c: Likewise.
3659 * nss/nss_files/files-spwd.c: Likewise.
3660 * nss/nss_db/db-alias.c: Removed.
3661 * nss/nss_db/dummy-db.h: Removed.
3662
3663 2011-06-02 Ulrich Drepper <drepper@gmail.com>
3664
3665 * nss/makedb.c: Rewritten to not use database library.
3666 * nss/Makefile: Update to build new makedb program.
3667
3668 2011-06-14 Andreas Jaeger <aj@suse.de>
3669
3670 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
3671 memset declaration.
3672
3673 2011-06-10 Andreas Schwab <schwab@redhat.com>
3674
3675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
3676 tmpbuf.
3677
3678 2011-06-10 Roland McGrath <roland@hack.frob.com>
3679
3680 * Makerules (shlib.lds): Fail if the linker script comes out empty.
3681 * elf/Makefile ($(objpfx)ld.so): Likewise.
3682
3683 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
3684 Don't list ld.so twice in dependencies.
3685
3686 * posix/bug-regex31.c: Include <stdlib.h>.
3687
3688 * nscd/hstcache.c (cache_addhst): Remove unused variable.
3689
3690 * nis/nss_compat/compat-spwd.c
3691 (getspent_next_nss_netgr): Remove unused variable.
3692 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
3693
3694 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
3695 nonmembers" output to use the right array.
3696
3697 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
3698
3699 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
3700
3701 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
3702 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
3703 * catgets/gencat.c (read_input_file): Likewise.
3704 * locale/programs/locarchive.c (enlarge_archive): Likewise.
3705
3706 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
3707 variable definition inside #if's controlling its use.
3708
3709 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
3710
3711 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
3712
3713 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
3714
3715 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
3716 unreachable code.
3717
3718 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
3719
3720 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
3721 * configure: Regenerated.
3722
3723 * Makerules: Revert last change.
3724 * elf/Makefile: Likewise.
3725
3726 2011-06-09 Roland McGrath <roland@hack.frob.com>
3727
3728 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
3729 * elf/Makefile ($(objpfx)librtld.os): Likewise.
3730 (reloc-link): Likewise.
3731
3732 2011-06-09 Ulrich Drepper <drepper@gmail.com>
3733
3734 * elf/Makefile: Add rules to build pldd.
3735 * elf/pldd.c: New file.
3736 * elf/pldd-xx.c: New file.
3737
3738 2011-06-07 Ulrich Drepper <drepper@gmail.com>
3739
3740 * version.h: Update for 2.15 development version.
3741
3742 2011-06-07 David S. Miller <davem@davemloft.net>
3743
3744 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
3745 ifuncs.
3746 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3747 elf_machine_lazy_rel): Likewise.
3748 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3749 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3750 elf_machine_lazy_rel): Likewise.
3751 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
3752 dl_hwcap via passed in argument.
3753 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
3754 Likewise.
3755
3756 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3757
3758 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
3759
3760 2011-06-06 Roland McGrath <roland@hack.frob.com>
3761
3762 [BZ #12849]
3763 * manual/fdl-1.1.texi: New file, verbatim from:
3764 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
3765 * manual/lgpl-2.1.texi: New file, verbatim from:
3766 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
3767 * manual/Makefile (licenses): New variable, list those new file names.
3768 (texis): Use it.
3769 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
3770
3771 * manual/fdl.texi: File removed.
3772 * manual/lesser.texi: File removed.
3773 * manual/libc.texinfo (Copying, Documentation License):
3774 Use new @include file names, put @appendix directive before @include.
3775
3776 2011-06-04 Jakub Jelinek <jakub@redhat.com>
3777
3778 [BZ #12841]
3779 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
3780 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
3781 (mq_open): Add __NTH.
3782
3783 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
3784
3785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3786 Assume Intel Core i3/i5/i7 processor if AVX is available.
3787
3788 2011-05-31 Ulrich Drepper <drepper@gmail.com>
3789
3790 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3791 typo.
3792
3793 2011-05-31 Andreas Schwab <schwab@redhat.com>
3794
3795 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
3796 memory. Use alloca_account. Fix memory leak when retrying.
3797
3798 2011-05-31 Ulrich Drepper <drepper@gmail.com>
3799
3800 * version.h (RELEASE): Bump for 2.14 release.
3801 * include/features.h (__GLIBC_MINOR__): Bump to 14.
3802
3803 * config.make.in (RANLIB): Remove entry.
3804
3805 2011-05-30 Ulrich Drepper <drepper@gmail.com>
3806
3807 * po/Makefile (po-sed-cmd): Add ksh to extensions.
3808 (libc.pot): Work around missing support for .ksh extension in xgettext.
3809
3810 [BZ #12684]
3811 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
3812 if both request failed.
3813 (send_dg): In case of server errors clear resplen or *resplen2.
3814
3815 [BZ #12454]
3816 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
3817 when there are multiple maps.
3818 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
3819 (_dl_fini): Remove test here.
3820
3821 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
3822
3823 2011-05-29 Ulrich Drepper <drepper@gmail.com>
3824
3825 [BZ #12350]
3826 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
3827 bit from old_res_options.
3828 (gaih_inet): Likewise.
3829
3830 [BZ #11099]
3831 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
3832 as signed.
3833
3834 * resolv/res_init.c (res_setoptions): Make the code more compact.
3835
3836 [BZ #11558]
3837 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
3838 set RES_USEVC.
3839
3840 [BZ #11634]
3841 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
3842
3843 * malloc/malloc.h: Mark malloc hook variables as deprecated.
3844
3845 [BZ #11781]
3846 * malloc/malloc.h: Declare malloc hook variables as volatile.
3847
3848 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
3849 in last patch.
3850
3851 [BZ #11799]
3852 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
3853 raise in the comment.
3854 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3855 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3856 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3857
3858 2011-05-28 Ulrich Drepper <drepper@gmail.com>
3859
3860 [BZ #12811]
3861 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
3862 grow the buffers more if it already has to be sufficient.
3863 (build_wcs_upper_buffer): Likewise.
3864 * posix/regexec.c (check_matching): Likewise.
3865 (clean_state_log_if_needed): Likewise.
3866 (extend_buffers): Don't enlarge buffers beyond size of the input
3867 buffer.
3868 Patches mostly by Emil Wojak <emil@wojak.eu>.
3869 * posix/bug-regex32.c: New file.
3870 * posix/Makefile (tests): Add bug-regex32.
3871
3872 * locale/findlocale.c (_nl_find_locale): Return right away if
3873 _nl_explode_name failed.
3874 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3875
3876 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
3877
3878 * debug/xtrace.sh: Unify messages.
3879 * malloc/memusage.sh: Likewise.
3880
3881 [BZ #12813]
3882 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
3883 time symbol from vDSO. Substitute with vsyscall if not available.
3884 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
3885 __vdso_time.
3886
3887 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
3888 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
3889 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
3890 Add sendmmsg and internal_sendmmsg.
3891 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
3892 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
3893 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
3894
3895 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
3896 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
3897 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
3898
3899 2011-05-27 Ulrich Drepper <drepper@gmail.com>
3900
3901 [BZ #12813]
3902 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
3903 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
3904 available.
3905 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
3906 __vdso_getcpu.
3907
3908 [BZ #12814]
3909 * iconvdata/Makefile (tests): Add bug-iconv9.
3910 * iconvdata/bug-iconv9.c: New file.
3911
3912 2011-05-27 Andreas Schwab <schwab@redhat.com>
3913
3914 [BZ #12814]
3915 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
3916
3917 2011-05-25 Jakub Jelinek <jakub@redhat.com>
3918
3919 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
3920 (struct user_regs_struct): Change intcs field back to cs.
3921
3922 2011-05-25 Ulrich Drepper <drepper@gmail.com>
3923
3924 * po/ja.po: Update from translation team.
3925
3926 2011-05-23 Ulrich Drepper <drepper@gmail.com>
3927
3928 [BZ #12795]
3929 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
3930 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
3931
3932 2011-05-20 Andreas Schwab <schwab@redhat.com>
3933
3934 * stdlib/longlong.h: Update from GCC.
3935
3936 2011-05-23 Andreas Schwab <schwab@redhat.com>
3937
3938 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
3939 parameter name.
3940 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
3941 Add parameter name.
3942 (__sysconf): Pass it down.
3943
3944 2011-05-22 Ulrich Drepper <drepper@gmail.com>
3945
3946 [BZ #12671]
3947 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
3948 some situations.
3949 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3950 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
3951 add in in __libc_use_alloca calls. Adjust callers.
3952 (glob): Use malloc in some situations.
3953
3954 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
3955 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
3956 pltexit.
3957
3958 2011-05-21 Ulrich Drepper <drepper@gmail.com>
3959
3960 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
3961 and CLOCK_BOOTTIME_ALARM.
3962
3963 [BZ #12782]
3964 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
3965 is returned.
3966
3967 * string/_strerror.c (__strerror_r): Print negative errors as signed
3968 numbers.
3969
3970 [BZ #12777]
3971 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
3972 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
3973 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
3974
3975 * configure.in: Fix typo in redirection and correct removal of test
3976 files in two cases.
3977
3978 [BZ #12788]
3979 * locale/setlocale.c (new_composite_name): Fix test to check for
3980 identical name of all categories.
3981
3982 [BZ #12792]
3983 * libio/filedoalloc.c (local_isatty): New function.
3984 (_IO_file_doallocate): Use local_isatty.
3985 * stdio-common/perror.c (perror): In case a new stream is used
3986 forward the stream error.
3987 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
3988 error flag.
3989
3990 2011-05-20 Ulrich Drepper <drepper@gmail.com>
3991
3992 [BZ #11869]
3993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
3994 alloca.
3995 * include/alloca.h (extend_alloca_account): Define.
3996
3997 [BZ #11857]
3998 * posix/regex.h: Fix comments with documentation of user-accessible
3999 fields after compilation and describe correct free'ing of pattern
4000 after re_compile_pattern.
4001 Patch by Reuben Thomas <rrt@sc3d.org>.
4002
4003 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
4004
4005 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
4006 and -mno-altivec to prevent the compiler from using Altivec and/or
4007 VSX instructions when the corresponding registers are not available.
4008
4009 2011-05-19 Andreas Schwab <schwab@redhat.com>
4010
4011 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
4012
4013 2011-05-19 Ulrich Drepper <drepper@gmail.com>
4014
4015 * libio/freopen.c (freopen): Use __dup2, not dup2.
4016 * libio/freopen64.c (freopen64): Likewise.
4017
4018 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
4019
4020 [BZ #12775]
4021 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
4022 * math/Makefile (tests): Add test-powl.
4023 (CFLAGS-test-powl.c): Define.
4024 * math/test-powl.c: New file.
4025
4026 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
4027
4028 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
4029
4030 2011-05-17 Ulrich Drepper <drepper@gmail.com>
4031
4032 [BZ #11837]
4033 * iconvdata/gb18030.c: Update to GB18020-2005.
4034
4035 2011-05-16 Ulrich Drepper <drepper@gmail.com>
4036
4037 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
4038 RE_SYNTAX_POSIX_AWK): Update to match recent development.
4039 Patch by Aharon Robbins <arnold@skeeve.com>.
4040
4041 [BZ #11892]
4042 * stdlib/putenv.c (putenv): Don't always create copy of the variable
4043 on the stack.
4044
4045 [BZ #11895]
4046 * misc/pselect.c (__pselect): Handle timeout value errors hidden
4047 through underflows.
4048
4049 [BZ #12766]
4050 * misc/error.c (error_at_line): Ensure file_name and old_file_name
4051 point to strings before performing equality test for error_one_per_line
4052 mode.
4053
4054 [BZ #11697]
4055 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
4056
4057 [BZ #11820]
4058 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
4059 (struct user_fpregs_struct): Avoid __uint*_t types.
4060
4061 [BZ #6420]
4062 * malloc/mtrace.c (tr_where): Add additional parameter to point to
4063 symbol info. Use it instead of calling _dl_addr locally.
4064 (lock_and_info): New function.
4065 (tr_freehook): Call lock_and_info and pass symbol info as additional
4066 parameter to tr_where.
4067 (tr_mallochook): Likewise.
4068 (tr_reallochook): Likewise.
4069 (tr_memalignhook): Likewise.
4070
4071 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
4072 used and couldn't be at all thread-safe.
4073
4074 2011-05-15 Ulrich Drepper <drepper@gmail.com>
4075
4076 * libio/freopen.c (freopen): Don't close old file descriptor
4077 before the new one is opened. Instead dup the new file descriptor
4078 to the old one after the new stream is created.
4079 * libio/freopen64.c (freopen64): Likewise.
4080 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
4081 * libio/fileops.c (_IO_new_file_close_it): Handle new
4082 _IO_FLAGS2_NOCLOSE flag.
4083 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
4084 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
4085 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
4086 _IO_FLAGS2_NOCLOSE flag.
4087 * include/unistd.h: Add hidden_proto for dup3.
4088 Define __have_dup3.
4089 * io/dup3.c: Define hidden symbol.
4090 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
4091
4092 [BZ #7101]
4093 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
4094 when an incomplete long option is used.
4095 * posix/tst-getopt_long1.c: New file.
4096 * posix/Makefile (tests): Add tst-getopt_long1.
4097
4098 [BZ #10138]
4099 * scripts/config.guess: Update from autoconf-2.68.
4100 * scripts/config.sub: Likewise.
4101
4102 [BZ #10157]
4103 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
4104 tests into ...
4105 (has_cpuclock): ...this. New function.
4106 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
4107 macro here based on has_cpuclock code.
4108
4109 [BZ #10149]
4110 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4111 First byte (not low byte) is now always NUL.
4112 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
4113
4114 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4115 Use non-cancelable interfaces.
4116
4117 [BZ #9809]
4118 * locale/iso-639.def: Add entry for Sorani.
4119
4120 [BZ #11901]
4121 * include/stdlib.h: Move include protection to the right place.
4122 Define abort_msg_s. Declare __abort_msg with it.
4123 * stdlib/abort.c (__abort_msg): Adjust type.
4124 * assert/assert.c (__assert_fail_base): New function. Majority
4125 of code from __assert_fail. Allocate memory for __abort_msg with
4126 mmap.
4127 (__assert_fail): Now call __assert_fail_base.
4128 * assert/assert-perr.c: Remove bulk of implementation. Use
4129 __assert_fail_base.
4130 * include/assert.hL Declare __assert_fail_base.
4131 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
4132 mmap.
4133 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
4134
4135 2011-05-14 Ulrich Drepper <drepper@gmail.com>
4136
4137 [BZ #11952]
4138 [BZ #12453]
4139 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
4140 until all modules are registered in the DTV.
4141 * elf/Makefile: Add rules to build and run tst-tls19.
4142 * elf/tst-tls19.c: New file.
4143 * elf/tst-tls19mod1.c: New file.
4144 * elf/tst-tls19mod2.c: New file.
4145 * elf/tst-tls19mod3.c: New file.
4146 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
4147
4148 [BZ #12083]
4149 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
4150 correctly.
4151
4152 [BZ #12601]
4153 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
4154 two-byte sequence errors.
4155 * iconvdata/Makefile (tests): Add bug-iconv8.
4156 * iconvdata/bug-iconv8.c: New file.
4157
4158 [BZ #12626]
4159 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
4160 buf2 definition.
4161
4162 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
4163
4164 [BZ #12432]
4165 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
4166 (dummy_getcfa): New function.
4167 (init): Get _Unwind_GetCFA address, use dummy if not found.
4168 (backtrace_helper): In recursion check, also check whether CFA changes.
4169 (__backtrace): Completely initialize arg.
4170
4171 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
4172 storing incomplete byte sequence in state object. Avoid testing for
4173 guaranteed too small input if we know there is enough data available.
4174
4175 2011-05-11 Andreas Schwab <schwab@redhat.com>
4176
4177 * Makeconfig (+link-pie): Indent.
4178 * Rules (binaries-pie): Define if $(have-fpie) and
4179 $(build-shared).
4180 (binaries-shared): Also filter out $(binaries-pie).
4181 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
4182 * nscd/Makefile (others-pie): Add nscd.
4183 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
4184 ($(objpfx)nscd): Remove command override.
4185 * login/Makefile (others-pie): Add pt_chown.
4186 ($(objpfx)pt_chown): Remove command override.
4187 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
4188 remove command overrides.
4189
4190 2011-05-13 Ulrich Drepper <drepper@gmail.com>
4191
4192 * libio/tst_putwc.c: Fix error messages.
4193
4194 [BZ #12724]
4195 * libio/fileops.c (_IO_new_file_close_it): Always flush when
4196 currently writing and seek to current position when not.
4197 * libio/Makefile (tests): Add bug-fclose1.
4198 * libio/bug-fclose1.c: New file.
4199
4200 2011-05-12 Ulrich Drepper <drepper@gmail.com>
4201
4202 [BZ #12511]
4203 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
4204 don't set DF_1_NODELETE here.
4205 (do_lookup_x): When entering new entry test for copy relocation
4206 and if necessary set DF_1_NODELETE flag.
4207 * elf/tst-unique4.cc: New file.
4208 * elf/tst-unique4.h: New file.
4209 * elf/tst-unique4lib.cc: New file.
4210 * elf/Makefile: Add rules to build and run tst-unique4.
4211 Patch by Piotr Bury <pbury@goahead.com>.
4212
4213 2011-05-11 Ulrich Drepper <drepper@gmail.com>
4214
4215 [BZ #12052]
4216 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
4217
4218 [BZ #12625]
4219 * misc/mntent_r.c (addmntent): Flush the stream after the output
4220
4221 [BZ #12393]
4222 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
4223 (is_trusted_path_normalize): Skip initial colon. Append slash
4224 to empty buffer. Duplicate is_trusted_path code but allow
4225 constructed patch to be prefix.
4226 (is_dst): Allow $ORIGIN followed by /.
4227 (_dl_dst_substitute): Correct clearing of check_for_trusted.
4228 Correct testing of result of is_trusted_path_normalize
4229 (decompose_rpath): Fix warning.
4230
4231 2011-05-10 Ulrich Drepper <drepper@gmail.com>
4232
4233 [BZ #11257]
4234 * grp/initgroups.c (internal_getgrouplist): When we found the service
4235 list through the initgroups entry in nsswitch.conf do not always
4236 continue on a successful lookup. Don't always use the
4237 __nss_group_database value if it is set.
4238 * nss/nsswitch.conf (initgroups): Change action for successful db
4239 lookup to continue for compatibility.
4240
4241 2011-05-09 Ulrich Drepper <drepper@gmail.com>
4242
4243 [BZ #11532]
4244 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
4245 and CP774 modules.
4246 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
4247 and CP774 modules.
4248 * iconvdata/tst-tables.sh: Likewise.
4249 * iconvdata/cp770.c: New file.
4250 * iconvdata/cp771.c: New file.
4251 * iconvdata/cp772.c: New file.
4252 * iconvdata/cp773.c: New file.
4253 * iconvdata/cp774.c: New file.
4254 * iconvdata/testdata/CP770: New file.
4255 * iconvdata/testdata/CP770..UTF8: New file.
4256 * iconvdata/testdata/CP771: New file.
4257 * iconvdata/testdata/CP771..UTF8: New file.
4258 * iconvdata/testdata/CP772: New file.
4259 * iconvdata/testdata/CP772..UTF8: New file.
4260 * iconvdata/testdata/CP773: New file.
4261 * iconvdata/testdata/CP773..UTF8: New file.
4262 * iconvdata/testdata/CP774: New file.
4263 * iconvdata/testdata/CP774..UTF8: New file.
4264
4265 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
4266 END CHARMAP line.
4267 * iconvdata/gen-8bit-gap.sh: Likewise.
4268 * iconvdata/gen-8bit.sh: Likewise.
4269
4270 * locale/iso-639.def: Add ary entry.
4271
4272 [BZ #11258]
4273 * locale/C-translit.h.in: Add U20A1 transliteration.
4274
4275 [BZ #12178]
4276 * locale/iso-639.def: Add wae entry.
4277 Patch by Kevin Bortis <bortis@translate-wae.ch>.
4278
4279 [BZ #12545]
4280 * locale/programs/localedef.c (construct_output_path): Use ssize_t
4281 for n.
4282
4283 [BZ #12711]
4284 * locale/C-translit.h.in: Add entry for U20B9.
4285 Patch by pravin.d.s@gmail.com.
4286
4287 2011-05-08 Ulrich Drepper <drepper@gmail.com>
4288
4289 [BZ #12713]
4290 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
4291 ENAMETOOLONG use generic getcwd.
4292 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
4293 in rtld. Use *stat64.
4294 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
4295 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
4296 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
4297 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
4298 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
4299 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
4300 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
4301 __fstatat64 macros.
4302 * include/dirent.h: Add libc_hidden_proto for rewinddir.
4303 * dirent/rewinddir.c: Add libc_hidden_def.
4304 * sysdeps/mach/hurd/rewinddir.c: Likewise.
4305 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
4306
4307 * include/dirent.h (__alloc_dir): Add flags parameter.
4308 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
4309 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
4310 __alloc_dir.
4311 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
4312 from fdopendir if O_CLOEXEC is already set.
4313
4314 2011-03-15 Alan Modra <amodra@gmail.com>
4315
4316 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
4317 l_tls_firstbyte_offset non-zero. Save padding offset in
4318 l_tls_firstbyte_offset for later use.
4319 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
4320 freeing static tls block.
4321
4322 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
4323
4324 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
4325 where #ifdef was intended. The intent is to prevent ARG_MAX from
4326 being defined by the kernel headers.
4327
4328 2011-05-07 Ulrich Drepper <drepper@gmail.com>
4329
4330 [BZ #12734]
4331 * resolv/resolv.h: Define RES_NOTLDQUERY.
4332 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
4333 no-tld-query and set RES_NOTLDQUERY.
4334 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
4335 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
4336 modern BIND to search name as TLD unless forbidden.
4337
4338 2011-05-07 Petr Baudis <pasky@suse.cz>
4339 Ulrich Drepper <drepper@gmail.com>
4340
4341 [BZ #12393]
4342 * elf/dl-load.c (fillin_rpath): Move trusted path check...
4343 (is_trusted_path): ...to here.
4344 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
4345 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
4346 using is_trusted_path_normalize() in setuid scripts.
4347
4348 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4349
4350 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
4351 __BEGIN/__END_DECLS.
4352
4353 2011-05-06 Ulrich Drepper <drepper@gmail.com>
4354
4355 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
4356 NSS_STATUS_NOTFOUND if no record was found.
4357
4358 2011-05-05 Andreas Schwab <schwab@redhat.com>
4359
4360 * sunrpc/Makefile (headers): Add rpc/netdb.h.
4361 (headers-not-in-tirpc): Remove rpc/netdb.h
4362 * resolv/netdb.h: Revert last change.
4363
4364 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4365
4366 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
4367 circular dependency between libgcc.a and libc.a.
4368
4369 2011-05-05 Andreas Schwab <schwab@redhat.com>
4370
4371 * resolv/netdb.h: Don't include <rpc/netdb.h>.
4372 * nis/Makefile: Don't install rpcsvc/*.
4373 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
4374 instead of <rpc/types.h>.
4375 (MAXHOSTNAMELEN): Define.
4376
4377 2011-05-03 Andreas Schwab <schwab@redhat.com>
4378
4379 * elf/ldconfig.c (add_dir): Don't crash on empty path.
4380
4381 2011-04-28 Maciej Babinski <mbabinski@google.com>
4382
4383 [BZ #12714]
4384 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
4385 gethostbyname4_r when IPv6 results are possible.
4386
4387 2011-05-02 Ulrich Drepper <drepper@gmail.com>
4388
4389 [BZ #12723]
4390 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
4391 _PC_PIPE_BUF handling.
4392
4393 2011-04-30 Bruno Haible <bruno@clisp.org>
4394
4395 [BZ #12717]
4396 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
4397 * resolv/netdb.h (getnameinfo): Change type of flags parameter
4398 to 'int'.
4399 * inet/getnameinfo.c (getnameinfo): Likewise.
4400
4401 2011-04-29 Ulrich Drepper <drepper@gmail.com>
4402
4403 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
4404 to groups setting in database lookup.
4405 * nss/nsswitch.conf: Add initgroups entry.
4406
4407 2011-04-22 Ulrich Drepper <drepper@gmail.com>
4408
4409 [BZ #12685]
4410 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
4411 mode string.
4412 Patch by Eric Blake <eblake@redhat.com>.
4413
4414 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
4415
4416 * sunrpc/Makefile (need-export-routines): Add svc_run.
4417 (routines): Remove svc_run.
4418 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
4419 * sunrpc/clnt_perr.c (clnt_perrno): Export.
4420 * sunrpc/svc_run.c (svc_run): Likewise.
4421 * sunrpc/svc_udp.c (svcudp_create): Likewise.
4422
4423 2011-04-21 Ulrich Drepper <drepper@gmail.com>
4424
4425 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
4426 problem in reallocation in last patch.
4427
4428 2011-04-20 Ulrich Drepper <drepper@gmail.com>
4429
4430 * sunrpc/Makefile: Move inclusion of Rules.
4431
4432 2011-04-19 Ulrich Drepper <drepper@gmail.com>
4433
4434 * nss/nss_files/files-initgroups.c: New file.
4435 * nss/Makefile (libnss_files-routines): Add files-initgroups.
4436 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
4437 _nss_files_initgroups_dyn.
4438
4439 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
4440
4441 * elf/elf.h (R_ARM_IRELATIVE): Define.
4442
4443 2011-04-19 Ulrich Drepper <drepper@gmail.com>
4444
4445 * po/ru.po: Update from translation team.
4446
4447 2011-04-17 Ulrich Drepper <drepper@gmail.com>
4448
4449 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
4450 dependencies.
4451
4452 2011-02-06 Mike Frysinger <vapier@gentoo.org>
4453
4454 [BZ #12653]
4455 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
4456 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
4457 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4458 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4459 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4460
4461 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
4462
4463 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
4464 differing bytes.
4465 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4466 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4467 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4468
4469 2011-04-17 Ulrich Drepper <drepper@gmail.com>
4470
4471 [BZ #12420]
4472 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
4473 storing it.
4474 * stdlib/bug-getcontext.c: New file.
4475 * stdlib/Makefile: Add rules to build and run bug-getcontext.
4476
4477 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4478
4479 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
4480 instructions into .machine "z9-109".
4481 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
4482 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
4483
4484 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4485
4486 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
4487 between environment variables and auxiliary vector.
4488
4489 2011-04-16 Ulrich Drepper <drepper@gmail.com>
4490
4491 * Makefile: Add rules to build linkobj/libc.so.
4492 * include/libc-symbols.h: Define libc_hidden_nolink.
4493 * include/rpc/auth.h: Mark functions which are to be hidden.
4494 * include/rpc/auth_des.h: Likewise.
4495 * include/rpc/auth_unix.h: Likewise.
4496 * include/rpc/clnt.h: Likewise.
4497 * include/rpc/des_crypt.h: Likewise.
4498 * include/rpc/key_prot.h: Likewise.
4499 * include/rpc/pmap_clnt.h: Likewise.
4500 * include/rpc/pmap_prot.h: Likewise.
4501 * include/rpc/pmap_rmt.h: Likewise.
4502 * include/rpc/rpc_msg.h: Likewise.
4503 * include/rpc/svc.h: Likewise.
4504 * include/rpc/svc_auth.h: Likewise.
4505 * include/rpc/xdr.h: Likewise.
4506 * nis/Makefile: Link all DSOs against linkobj/libc.so.
4507 * nss/Makefile: Likewise.
4508 * sunrpc/Makefile: Don't install headers. Build library with normal
4509 entry points. Don't build rpcinfo. Link RPC tests appropriately.
4510 * sunrpc/auth_des.c: Hide exported symbols by default, export some
4511 for the compat linking library. Remove use of INTDEF/INTUSE.
4512 * sunrpc/auth_none.c: Likewise.
4513 * sunrpc/auth_unix.c: Likewise.
4514 * sunrpc/authdes_prot.c: Likewise.
4515 * sunrpc/authuxprot.c: Likewise.
4516 * sunrpc/clnt_gen.c: Likewise.
4517 * sunrpc/clnt_perr.c: Likewise.
4518 * sunrpc/clnt_raw.c: Likewise.
4519 * sunrpc/clnt_simp.c: Likewise.
4520 * sunrpc/clnt_tcp.c: Likewise.
4521 * sunrpc/clnt_udp.c: Likewise.
4522 * sunrpc/clnt_unix.c: Likewise.
4523 * sunrpc/des_crypt.c: Likewise.
4524 * sunrpc/des_soft.c: Likewise.
4525 * sunrpc/get_myaddr.c: Likewise.
4526 * sunrpc/key_call.c: Likewise.
4527 * sunrpc/key_prot.c: Likewise.
4528 * sunrpc/netname.c: Likewise.
4529 * sunrpc/pm_getmaps.c: Likewise.
4530 * sunrpc/pm_getport.c: Likewise.
4531 * sunrpc/pmap_clnt.c: Likewise.
4532 * sunrpc/pmap_prot.c: Likewise.
4533 * sunrpc/pmap_prot2.c: Likewise.
4534 * sunrpc/pmap_rmt.c: Likewise.
4535 * sunrpc/publickey.c: Likewise.
4536 * sunrpc/rpc_cmsg.c: Likewise.
4537 * sunrpc/rpc_common.c: Likewise.
4538 * sunrpc/rpc_dtable.c: Likewise.
4539 * sunrpc/rpc_prot.c: Likewise.
4540 * sunrpc/rpc_thread.c: Likewise.
4541 * sunrpc/rtime.c: Likewise.
4542 * sunrpc/svc.c: Likewise.
4543 * sunrpc/svc_auth.c: Likewise.
4544 * sunrpc/svc_authux.c: Likewise.
4545 * sunrpc/svc_raw.c: Likewise.
4546 * sunrpc/svc_run.c: Likewise.
4547 * sunrpc/svc_simple.c: Likewise.
4548 * sunrpc/svc_tcp.c: Likewise.
4549 * sunrpc/svc_udp.c: Likewise.
4550 * sunrpc/svc_unix.c: Likewise.
4551 * sunrpc/svcauth_des.c: Likewise.
4552 * sunrpc/xcrypt.c: Likewise.
4553 * sunrpc/xdr.c: Likewise.
4554 * sunrpc/xdr_array.c: Likewise.
4555 * sunrpc/xdr_float.c: Likewise.
4556 * sunrpc/xdr_intXX_t.c: Likewise.
4557 * sunrpc/xdr_mem.c: Likewise.
4558 * sunrpc/xdr_rec.c: Likewise.
4559 * sunrpc/xdr_ref.c: Likewise.
4560 * sunrpc/xdr_sizeof.c: Likewise.
4561 * sunrpc/xdr_stdio.c: Likewise.
4562
4563 2011-04-10 Ulrich Drepper <drepper@gmail.com>
4564
4565 [BZ #12650]
4566 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
4567 * sysdeps/ia64/dl-tls.h: Likewise.
4568 * sysdeps/powerpc/dl-tls.h: Likewise.
4569 * sysdeps/s390/dl-tls.h: Likewise.
4570 * sysdeps/sh/dl-tls.h: Likewise.
4571 * sysdeps/sparc/dl-tls.h: Likewise.
4572 * sysdeps/x86_64/dl-tls.h: Likewise.
4573 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
4574
4575 2011-03-14 Andreas Schwab <schwab@redhat.com>
4576
4577 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
4578 rpath element also skip the following colon.
4579 (expand_dynamic_string_token): Add is_path parameter and pass
4580 down to DL_DST_REQUIRED and _dl_dst_substitute.
4581 (decompose_rpath): Call expand_dynamic_string_token with
4582 non-zero is_path. Ignore empty rpaths.
4583 (_dl_map_object_from_fd): Call expand_dynamic_string_token
4584 with zero is_path.
4585
4586 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
4587
4588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4589 Make cancelable.
4590
4591 2011-04-09 Ulrich Drepper <drepper@gmail.com>
4592
4593 [BZ #12655]
4594 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
4595 Patch by Filipe David Manana <fdmanana@apache.org>.
4596
4597 2011-04-07 Andreas Schwab <schwab@redhat.com>
4598
4599 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
4600 Maintain aligned stack.
4601 (CHECK_RSP): Remove unused macro.
4602
4603 2011-04-03 Ulrich Drepper <drepper@gmail.com>
4604
4605 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
4606 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
4607
4608 2011-04-02 Ulrich Drepper <drepper@gmail.com>
4609
4610 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
4611
4612 * include/features.h: Mention __USE_XOPEN2K8 in comment.
4613
4614 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
4615
4616 [BZ #12518]
4617 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
4618 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
4619 * sysdeps/x86_64/memmove.c: New file.
4620 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
4621 (memcpy): Renamed to ...
4622 (__new_memcpy): This.
4623 (memcpy): Provide GLIBC_2_14 memcpy.
4624 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
4625 (memcpy): Provide GLIBC_2_2_5 memcpy.
4626
4627 2011-04-01 Ulrich Drepper <drepper@gmail.com>
4628
4629 [BZ #12631]
4630 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
4631
4632 2011-03-30 Andreas Schwab <schwab@redhat.com>
4633
4634 * misc/syncfs.c: New file.
4635 * misc/Makefile (routines): Add syncfs.
4636 * posix/unistd.h: Declare syncfs.
4637 * sysdeps/unix/syscalls.list: Add syncfs.
4638
4639 2011-04-01 Andreas Schwab <schwab@redhat.com>
4640
4641 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
4642 open_by_handle_at.
4643 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4644 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
4645 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4646 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4647 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4648 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4649 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4650
4651 2011-04-01 Ulrich Drepper <drepper@gmail.com>
4652
4653 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
4654 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
4655 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
4656 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4657 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4658 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4659 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4660
4661 * io/Makefile: Compile fallocate.c, fallocate64.c, and
4662 sync_file_range.c with -fexceptions.
4663 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
4664 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
4665 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4666 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4667 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4668 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4669 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
4670 sync_file_range as cancellation point
4671 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
4672 now a wrapper around __call_sync_file_range with cancellation handling.
4673 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
4674 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
4675 function name to __call_sync_file_range.
4676 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
4677 Add call_sync_file_range.
4678
4679 2011-04-01 Andreas Schwab <schwab@redhat.com>
4680
4681 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4682 bits/timex.h.
4683
4684 2011-04-01 Ulrich Drepper <drepper@gmail.com>
4685
4686 * iconv/iconv.h: Fix typo in comment.
4687 * io/fcntl.h: Likewise.
4688 * libio/stdio.h: Likewise.
4689 * posix/spawn.h: Likewise.
4690 * posix/unistd.h: Likewise.
4691 * stdlib/stdlib.h: Likewise.
4692 * time/time.h: Likewise.
4693 * wcsmbs/wchar.h: Likewise.
4694
4695 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
4696 open_by_handle): Add.
4697 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
4698 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
4699 Augment a few comments.
4700 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
4701 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4702 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4703 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4704 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4705 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
4706 open_by_handle.
4707
4708 * io/fcntl.h (AT_EMPTY_PATH): Define.
4709
4710 2011-03-30 Ulrich Drepper <drepper@gmail.com>
4711
4712 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
4713 * sysdeps/unix/sysv/linux/bits/time.h: New file.
4714 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
4715 to...
4716 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
4717 * Versions.def: Add GLIBC_2.14.
4718 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
4719 Export.
4720
4721 2011-03-22 Ulrich Drepper <drepper@gmail.com>
4722
4723 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
4724 round counter.
4725 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
4726
4727 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
4728
4729 [BZ #12597]
4730 * string/test-strncmp.c (do_page_test): New function.
4731 (check2): Likewise.
4732 (test_main): Call check2.
4733 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
4734
4735 2011-03-20 Ulrich Drepper <drepper@gmail.com>
4736
4737 [BZ #12587]
4738 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
4739 Handle cache information in CPU leaf 4.
4740 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
4741
4742 2011-03-18 Ulrich Drepper <drepper@gmail.com>
4743
4744 [BZ #12583]
4745 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
4746 character representation.
4747 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
4748
4749 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
4750
4751 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
4752 END(__isnan) to END(__isnanf) to match function entry point/label
4753 EALIGN(__isnanf,...).
4754
4755 2011-03-10 Jakub Jelinek <jakub@redhat.com>
4756
4757 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
4758
4759 2011-03-10 Ulrich Drepper <drepper@gmail.com>
4760
4761 [BZ #12510]
4762 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
4763 copy from the symbol referenced in the relocation to initialize the
4764 used variable.
4765 Patch by Piotr Bury <pbury@goahead.com>.
4766 * elf/Makefile: Add rules to build and tst-unique3.
4767 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
4768 * elf/tst-unique3.cc: New file.
4769 * elf/tst-unique3.h: New file.
4770 * elf/tst-unique3lib.cc: New file.
4771 * elf/tst-unique3lib2.cc: New file.
4772
4773 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
4774
4775 2011-03-10 Mike Frysinger <vapier@gentoo.org>
4776
4777 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
4778 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
4779 to _start.
4780
4781 2011-03-06 Ulrich Drepper <drepper@gmail.com>
4782
4783 * elf/dl-load.c (_dl_map_object): If we are looking for the first
4784 to-be-loaded object along a path to loader is ld.so.
4785
4786 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
4787 Ulrich Drepper <drepper@gmail.com>
4788
4789 * sysdeps/x86_64/memset.S: After aligning destination, code
4790 branches to different locations depending on the value of
4791 misalignment, when multiarch is enabled. Fix this.
4792
4793 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
4794
4795 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
4796 Set _x86_64_preferred_memory_instruction for AMD processsors.
4797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4798 Set bit_Prefer_SSE_for_memop for AMD processors.
4799
4800 2011-03-04 Ulrich Drepper <drepper@gmail.com>
4801
4802 * libio/fmemopen.c (fmemopen): Optimize a bit.
4803
4804 2011-03-03 Andreas Schwab <schwab@redhat.com>
4805
4806 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
4807
4808 2011-03-03 Roland McGrath <roland@redhat.com>
4809
4810 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
4811
4812 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
4813
4814 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
4815 __bzero_ultra1 instead of __memset_ultra1.
4816
4817 2011-02-23 Andreas Schwab <schwab@redhat.com>
4818 Ulrich Drepper <drepper@gmail.com>
4819
4820 [BZ #12509]
4821 * include/link.h (struct link_map): Add l_orig_initfini.
4822 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
4823 returning unsuccessfully.
4824 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
4825 close of a file loaded at startup, restore the original l_initfini
4826 list.
4827 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
4828 list, store the pointer.
4829 * elf/Makefile ($(objpfx)noload-mem): New rule.
4830 (noload-ENV): Define.
4831 (tests): Add $(objpfx)noload-mem.
4832 * elf/noload.c: Include <memcheck.h>.
4833 (main): Call mtrace. Close all opened handles.
4834
4835 2011-02-17 Andreas Schwab <schwab@redhat.com>
4836
4837 [BZ #12454]
4838 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
4839 dependencies are missing.
4840
4841 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4842
4843 Fix __if_freereq crash: Unlike the generic version which uses free,
4844 Hurd needs munmap.
4845 * sysdeps/mach/hurd/ifreq.h: New file.
4846
4847 2011-01-27 Petr Baudis <pasky@suse.cz>
4848 Ulrich Drepper <drepper@gmail.com>
4849
4850 [BZ 12445]#
4851 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
4852 to extend_alloca().
4853 * stdio-common/bug23.c: New file.
4854 * stdio-common/Makefile (tests): Add bug23.
4855
4856 2010-09-28 Andreas Schwab <schwab@redhat.com>
4857 Ulrich Drepper <drepper@gmail.com>
4858
4859 [BZ #12489]
4860 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
4861 before performing relro protection. At old place add assertion
4862 to make sure nothing changed.
4863
4864 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
4865 Glauber de Oliveira Costa <glommer@gmail.com>
4866
4867 * elf/elf.h: Add new ARM TLS relocs.
4868
4869 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
4870
4871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4872 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
4873 cast from r3.
4874 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
4875 'tests' variable.
4876 * sysdeps/wordsize-64/tst-writev.c: New file.
4877
4878 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
4879
4880 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
4881 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
4882 insns in _dl_start to prevent a TOC reference before relocs are
4883 resolved.
4884
4885 2011-02-15 Ulrich Drepper <drepper@gmail.com>
4886
4887 [BZ #12469]
4888 * Makeconfig: Remove RANLIB definition.
4889 * Makerules: Don't use RANLIB.
4890 * aclocal.m4: Remove ranlib test.
4891 * configure.in: No need to check for ranlib.
4892 * elf/rtld-Rules: Don't use RANLIB.
4893
4894 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4895
4896 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
4897 protection macro.
4898 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
4899 inclusion protection macro.
4900
4901 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
4902 SIGRTMIN and SIGRTMAX and print information in that case only when
4903 SIGRTMIN is defined.
4904
4905 2011-02-11 Jakub Jelinek <jakub@redhat.com>
4906
4907 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
4908 arginfo fn returning -1.
4909
4910 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
4911 and thousands string is zero terminated.
4912
4913 2011-02-03 Andreas Schwab <schwab@redhat.com>
4914
4915 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
4916 sysdeps/unix/sysv/linux/bits/socket.h.
4917
4918 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4919
4920 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
4921 (__CPU_COUNT): Remove old macros.
4922 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
4923 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
4924 (__CPU_ALLOC, __CPU_FREE): Add macros.
4925 (__sched_cpualloc, __sched_cpufree): Add declarations.
4926
4927 2011-02-05 Ulrich Drepper <drepper@gmail.com>
4928
4929 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
4930 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
4931 * nscd/aicache.c (addhstaiX): Return timeout of added value.
4932 (readdhstai): Return value of addhstaiX call.
4933 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
4934 (addgrbyX): Return value returned by cache_addgr.
4935 (readdgrbyname): Return value returned by addgrbyX.
4936 (readdgrbygid): Likewise.
4937 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
4938 (addpwbyX): Return value returned by cache_addpw.
4939 (readdpwbyname): Return value returned by addhstbyX.
4940 (readdpwbyuid): Likewise.
4941 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
4942 (addservbyX): Return value returned by cache_addserv.
4943 (readdservbyname): Return value returned by addservbyX:
4944 (readdservbyport): Likewise.
4945 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
4946 (addhstbyX): Return value returned by cache_addhst.
4947 (readdhstbyname): Return value returned by addhstbyX.
4948 (readdhstbyaddr): Likewise.
4949 (readdhstbynamev6): Likewise.
4950 (readdhstbyaddrv6): Likewise.
4951 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
4952 (readdinitgroups): Return value returned by addinitgroupsX.
4953 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
4954 (prune_cache): Keep track of timeout value of re-added entries.
4955 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
4956 * nscd/nscd.h: Adjust prototypes of readd* functions.
4957
4958 2011-02-04 Roland McGrath <roland@redhat.com>
4959
4960 * nis/nis_server.c (nis_servstate): Use the right name for 0.
4961 (nis_stats): Likewise.
4962 * nis/nis_modify.c (nis_modify): Likewise.
4963 * nis/nis_remove.c (nis_remove): Likewise.
4964 * nis/nis_add.c (nis_add): Likewise.
4965
4966 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
4967
4968 * posix/fnmatch_loop.c: Add some consts.
4969
4970 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
4971
4972 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
4973
4974 [BZ #12460]
4975 * config.make.in (config-cflags-novzeroupper): Define.
4976 * configure.in: Substitute libc_cv_cc_novzeroupper.
4977 * elf/Makefile (AVX-CFLAGS): Define.
4978 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
4979 (CFLAGS-tst-auditmod4a.c): Likewise.
4980 (CFLAGS-tst-auditmod4b.c): Likewise.
4981 (CFLAGS-tst-auditmod6b.c): Likewise.
4982 (CFLAGS-tst-auditmod6c.c): Likewise.
4983 (CFLAGS-tst-auditmod7b.c): Likewise.
4984 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
4985
4986 2011-02-02 Ulrich Drepper <drepper@gmail.com>
4987
4988 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
4989 function to the callback.
4990 Patch partly by Jiri Olsa <jolsa@redhat.com>.
4991
4992 2011-02-02 Andreas Schwab <schwab@redhat.com>
4993
4994 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
4995 of errno.
4996
4997 2011-01-19 Ulrich Drepper <drepper@gmail.com>
4998
4999 [BZ #11724]
5000 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
5001 of constructors.
5002 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
5003 of destructors.
5004 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
5005
5006 [BZ #11724]
5007 * elf/Makefile: Add rules to build and run new test.
5008 * elf/tst-initorder.c: New file.
5009 * elf/tst-initorder.exp: New file.
5010 * elf/tst-initordera1.c: New file.
5011 * elf/tst-initordera2.c: New file.
5012 * elf/tst-initordera3.c: New file.
5013 * elf/tst-initordera4.c: New file.
5014 * elf/tst-initorderb1.c: New file.
5015 * elf/tst-initorderb2.c: New file.
5016 * elf/tst-order-a1.c: New file.
5017 * elf/tst-order-a2.c: New file.
5018 * elf/tst-order-a3.c: New file.
5019 * elf/tst-order-a4.c: New file.
5020 * elf/tst-order-b1.c: New file.
5021 * elf/tst-order-b2.c: New file.
5022 * elf/tst-order-main.c: New file.
5023 New test case by George Gensure <werkt0@gmail.com>.
5024
5025 2010-10-01 Andreas Schwab <schwab@redhat.com>
5026
5027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5028 decoding ACE if AI_CANONIDN.
5029
5030 2011-01-18 Ulrich Drepper <drepper@gmail.com>
5031
5032 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
5033
5034 2011-01-17 Ulrich Drepper <drepper@gmail.com>
5035
5036 * version.h (RELEASE): Bump for 2.13 release.
5037 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
5038
5039 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
5040
5041 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
5042 MADV_NOHUGEPAGE.
5043 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
5044 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5045 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5046 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5047 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5048 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
5049
5050 * posix/getconf.c: Update copyright year.
5051 * catgets/gencat.c: Likewise.
5052 * csu/version.c: Likewise.
5053 * debug/catchsegv.sh: Likewise.
5054 * debug/xtrace.sh: Likewise.
5055 * elf/ldconfig.c: Likewise.
5056 * elf/ldd.bash.in: Likewise.
5057 * elf/sprof.c (print_version): Likewise.
5058 * iconv/iconv_prog.c: Likewise.
5059 * iconv/iconvconfig.c: Likewise.
5060 * locale/programs/locale.c: Likewise.
5061 * locale/programs/localedef.c: Likewise.
5062 * malloc/memusage.sh: Likewise.
5063 * malloc/mtrace.pl: Likewise.
5064 * nscd/nscd.c (print_version): Likewise.
5065 * nss/getent.c: Likewise.
5066
5067 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
5068 PF_CAIF, and PF_ALG.
5069 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5070
5071 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
5072
5073 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
5074 (modules-names): Use them.
5075 (ifunc-test-modules, ifunc-pie-tests): Define.
5076 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
5077 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
5078 (test-extras): Likewise.
5079 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
5080 $(compile-command.c).
5081 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
5082 (all-built-dso): Define.
5083 (check-textrel.out, check-execstack.out): Depend on it.
5084
5085 * configure.in: Don't override --enable-multi-arch.
5086
5087 2011-01-15 Ulrich Drepper <drepper@gmail.com>
5088
5089 [BZ #6812]
5090 * nscd/hstcache.c (tryagain): Define.
5091 (cache_addhst): Return tryagain not notfound for temporary errors.
5092 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
5093 failed.
5094
5095 2011-01-14 Ulrich Drepper <drepper@gmail.com>
5096
5097 [BZ #10563]
5098 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
5099 to make the syscall.
5100 * sysdeps/unix/sysv/linux/setgroups.c: New file.
5101
5102 [BZ #12378]
5103 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
5104 and fall back to matching as normal character if the string ends before
5105 the matching ']' is found. This is what POSIX requires.
5106 * posix/testfnm.c: Adjust test result.
5107 * posix/globtest.sh: Adjust test result. Add new test.
5108 * posix/tst-fnmatch.input: Likewise.
5109 * posix/tst-fnmatch2.c: Add new test.
5110
5111 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
5112
5113 * elf/Makefile (check-execstack): Revert last change. Depend on
5114 check-execstack.h.
5115 (check-execstack.h): New target.
5116 (generated): Add check-execstack.h.
5117 * elf/check-execstack.c: Include "check-execstack.h".
5118 (main): Revert last change.
5119 (handle_file): Return zero if GNU_STACK is absent and
5120 DEFAULT_STACK_PERMS doesn't include PF_X.
5121
5122 2011-01-13 Ulrich Drepper <drepper@gmail.com>
5123
5124 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
5125 in child fails because the descriptor is already closed.
5126 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
5127 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
5128 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
5129
5130 [BZ #12397]
5131 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
5132 syscall.
5133
5134 [BZ #10484]
5135 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
5136 temporary buffer used to handle multi lookups locally.
5137 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
5138
5139 2011-01-12 Ulrich Drepper <drepper@gmail.com>
5140
5141 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
5142 loader is ld.so.
5143
5144 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
5145
5146 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
5147 alignment for SSE2.
5148
5149 2011-01-12 Ulrich Drepper <drepper@gmail.com>
5150
5151 [BZ #12394]
5152 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
5153 characters. When rounding increased number of integer digits recompute
5154 number of groups.
5155 * stdio-common/tst-grouping.c: New file.
5156 * stdio-common/Makefile: Add rules to build and run tst-grouping.
5157
5158 2011-01-09 Ulrich Drepper <drepper@gmail.com>
5159
5160 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
5161 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
5162
5163 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
5164 void.
5165 * bits/select.h: Likewise.
5166
5167 2011-01-08 Ulrich Drepper <drepper@gmail.com>
5168
5169 * po/ja.po: Update from translation team.
5170
5171 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
5172
5173 [BZ #11155]
5174 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
5175 implementation just like for lxstat, fxstatat, et al.
5176
5177 2010-12-27 Jim Meyering <meyering@redhat.com>
5178
5179 [BZ #12348]
5180 * posix/regexec.c (build_trtable): Return failure indication upon
5181 calloc failure. Otherwise, re_search_internal could infloop on OOM.
5182
5183 2010-12-25 Ulrich Drepper <drepper@gmail.com>
5184
5185 [BZ #12201]
5186 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
5187 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
5188 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
5189 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
5190
5191 [BZ #12207]
5192 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
5193
5194 [BZ #12204]
5195 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
5196 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
5197
5198 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
5199
5200 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
5201 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
5202 script has SORT_BY_INIT_PRIORITY.
5203 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
5204 NO_CTORS_DTORS_SECTIONS is defined.
5205 * elf/soinit.c: Likewise.
5206 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
5207 NO_CTORS_DTORS_SECTIONS is defined.
5208 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
5209 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
5210 * sysdeps/sh/init-first.c: Likewise.
5211 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5212
5213 2010-12-24 Ulrich Drepper <drepper@gmail.com>
5214
5215 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
5216 always use the slow path.
5217
5218 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
5219
5220 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
5221 similar rule which adds the sysdep directories to the header search in
5222 order to pick up the correct platform stackinfo.h.
5223 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
5224 perform test if it is, otherwise return successfully without testing.
5225 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
5226 DEFAULT_STACK_PERMS define in stackinfo.h.
5227 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
5228 defined in stackinfo.h.
5229 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
5230 DEFAULT_STACK_PERMS defined in stackinfo.h.
5231 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
5232 * sysdeps/ia64/stackinfo.h: Likewise.
5233 * sysdeps/s390/stackinfo.h: Likewise.
5234 * sysdeps/sh/stackinfo.h: Likewise.
5235 * sysdeps/sparc/stackinfo.h: Likewise.
5236 * sysdeps/x86_64/stackinfo.h: Likewise.
5237 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
5238 PF_X for powerpc64. Retain PF_X for powerpc32.
5239
5240 2010-12-19 Ulrich Drepper <drepper@gmail.com>
5241
5242 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
5243 accurately.
5244 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
5245 GETDENTS_64BIT_ALIGNED.
5246
5247 2010-12-14 Ulrich Drepper <dreper@gmail.com>
5248
5249 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
5250
5251 2010-12-10 Andreas Schwab <schwab@redhat.com>
5252
5253 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
5254 _GNU_SOURCE.
5255
5256 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
5257 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
5258 Remove __restrict.
5259 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
5260 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
5261
5262 2010-12-09 Ulrich Drepper <drepper@gmail.com>
5263
5264 [BZ #11655]
5265 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
5266 are initialized.
5267
5268 2010-12-09 Jakub Jelinek <jakub@redhat.com>
5269
5270 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
5271
5272 2010-12-03 Ulrich Drepper <drepper@gmail.com>
5273
5274 * po/it.po: Update from translation team.
5275
5276 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
5277
5278 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
5279 unused codes.
5280
5281 2010-11-30 Ulrich Drepper <drepper@gmail.com>
5282
5283 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
5284
5285 2010-11-24 Andreas Schwab <schwab@redhat.com>
5286
5287 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
5288 specially.
5289 (gaih_getanswer_slice): Likewise.
5290
5291 2010-10-20 Jakub Jelinek <jakub@redhat.com>
5292
5293 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
5294
5295 2010-05-31 Petr Baudis <pasky@suse.cz>
5296
5297 [BZ #11149]
5298 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
5299 silently even in the chroot mode.
5300
5301 2010-11-22 Ulrich Drepper <drepper@gmail.com>
5302
5303 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
5304 last patch a bit. Pretty printing
5305
5306 2010-05-31 Petr Baudis <pasky@suse.cz>
5307
5308 [BZ #10085]
5309 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
5310 initialization of skip_initgroups_dyn.
5311
5312 2010-11-19 Ulrich Drepper <drepper@gmail.com>
5313
5314 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
5315 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
5316
5317 2010-11-16 Ulrich Drepper <drepper@gmail.com>
5318
5319 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
5320
5321 2010-11-11 Andreas Schwab <schwab@redhat.com>
5322
5323 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
5324 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
5325 (tst-fnmatch-ENV): Set MALLOC_TRACE.
5326 ($(objpfx)tst-fnmatch-mem): New rule.
5327 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
5328 * posix/tst-fnmatch.c (main): Call mtrace.
5329
5330 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
5331
5332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5333 Support Intel processor model 6 and model 0x2c.
5334
5335 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
5336
5337 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
5338 signed comparison.
5339
5340 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
5341
5342 [BZ #12205]
5343 * string/test-strncasecmp.c (check_result): New function.
5344 (do_one_test): Use it.
5345 (check1): New function.
5346 (test_main): Use it.
5347 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
5348 Support strcasecmp and strncasecmp.
5349
5350 2010-11-08 Ulrich Drepper <drepper@gmail.com>
5351
5352 [BZ #12194]
5353 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
5354 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5355
5356 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
5357
5358 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
5359 IFUNC support.
5360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5361 memset-x86-64.
5362 * sysdeps/x86_64/multiarch/bzero.S: New file.
5363 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
5364 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
5365 * sysdeps/x86_64/multiarch/memset.S: New file.
5366 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
5367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5368 Set bit_Prefer_SSE_for_memop for Intel processors.
5369 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
5370 Define.
5371 (index_Prefer_SSE_for_memop): Define.
5372 (HAS_PREFER_SSE_FOR_MEMOP): Define.
5373
5374 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
5375
5376 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
5377 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
5378
5379 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
5380
5381 [BZ #12191]
5382 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
5383 (__x86_64_raw_data_cache_size_half): Likewise.
5384 (__x86_64_raw_shared_cache_size): Likewise.
5385 (__x86_64_raw_shared_cache_size_half): Likewise.
5386
5387 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
5388 (__x86_64_raw_data_cache_size_half): Likewise.
5389 (__x86_64_raw_shared_cache_size): Likewise.
5390 (__x86_64_raw_shared_cache_size_half): Likewise.
5391 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
5392 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
5393 and __x86_64_raw_shared_cache_size_half. Round
5394 __x86_64_data_cache_size_half, __x86_64_data_cache_size
5395 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
5396 to multiple of 256 bytes.
5397
5398 2010-11-03 Ulrich Drepper <drepper@gmail.com>
5399
5400 [BZ #12167]
5401 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
5402 of inacessible symlinks. Verify result of symlink before returning it.
5403 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5404 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
5405
5406 2010-10-28 Erich Ritz <erichritz@gmail.com>
5407
5408 * math/math.h (isinf): Fix typo in comment.
5409
5410 2010-11-01 Ulrich Drepper <drepper@gmail.com>
5411
5412 * po/da.po: Update from translation team.
5413
5414 2010-10-26 Ulrich Drepper <drepper@gmail.com>
5415
5416 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
5417 is added to the list.
5418
5419 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5420 Ulrich Drepper <drepper@gmail.com>
5421
5422 * elf/dl-object.c (_dl_new_object): Don't append the new object to
5423 the global list here. Move code to...
5424 (_dl_add_to_namespace_list): ...here. New function.
5425 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
5426 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
5427 * elf/dl-load.c (lose): Don't remove the element from the list.
5428 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
5429 (_dl_map_object): Likewise.
5430
5431 2010-10-25 Ulrich Drepper <drepper@gmail.com>
5432
5433 [BZ #12159]
5434 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
5435 into all bytes of SSE register.
5436 Patch by Richard Li <richardpku@gmail.com>.
5437
5438 2010-10-24 Ulrich Drepper <drepper@gmail.com>
5439
5440 [BZ #12140]
5441 * malloc/malloc.c (_int_free): Fill correct number of bytes when
5442 perturbing.
5443
5444 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
5445
5446 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
5447 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
5448 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
5449 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
5451 submachine.
5452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
5453
5454 2010-10-22 Andreas Schwab <schwab@redhat.com>
5455
5456 * include/dlfcn.h (__RTLD_SECURE): Define.
5457 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
5458 mode & __RTLD_SECURE instead.
5459 (open_path): Rename preloaded parameter to secure.
5460 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
5461 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
5462 * elf/dl-deps.c (openaux): Likewise.
5463 * elf/rtld.c (struct map_args): Remove is_preloaded.
5464 (map_doit): Don't use it.
5465 (dl_main): Likewise.
5466 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
5467 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
5468
5469 2010-09-09 Andreas Schwab <schwab@redhat.com>
5470
5471 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
5472 (sysd-rules-targets): Remove duplicates.
5473 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
5474 rtld-%.$o dependency.
5475
5476 2010-10-18 Andreas Schwab <schwab@redhat.com>
5477
5478 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
5479 _dl_map_object do it.
5480
5481 2010-10-19 Ulrich Drepper <drepper@gmail.com>
5482
5483 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
5484 fast fma builtins, define the macros in the C99 standard.
5485 (FP_FAST_FMAF): Likewise.
5486 (FP_FAST_FMAL): Likewise.
5487 * sysdeps/x86_64/bits/mathdef.h: Likewise.
5488
5489 * bits/mathdef.h: Update copyright year.
5490 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5491
5492 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
5493
5494 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
5495 builtins, define the macros in the C99 standard.
5496 (FP_FAST_FMAF): Likewise.
5497 (FP_FAST_FMAL): Likewise.
5498 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
5499 multiply/add.
5500 (FP_FAST_FMAF): Likewise.
5501
5502 2010-10-15 Jakub Jelinek <jakub@redhat.com>
5503
5504 [BZ #3268]
5505 * math/libm-test.inc (fma_test): Some new testcases.
5506 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
5507 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
5508 y and infinite z. Do multiplication by C already in long double.
5509 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
5510 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
5511 y and infinite z. Do bitwise or of inexact bit into u.d.
5512 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
5513 * sysdeps/i386/fpu/s_fmaf.S: Removed.
5514 * sysdeps/i386/fpu/s_fma.S: Removed.
5515 * sysdeps/i386/fpu/s_fmal.S: Removed.
5516
5517 2010-10-16 Jakub Jelinek <jakub@redhat.com>
5518
5519 [BZ #3268]
5520 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
5521 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
5522 computation is not scheduled after fetestexcept. Fix value
5523 of minimum denormal long double.
5524
5525 2010-10-14 Jakub Jelinek <jakub@redhat.com>
5526
5527 [BZ #3268]
5528 * math/libm-test.inc (fma_test): Add some more tests.
5529 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
5530 correctly.
5531
5532 2010-10-15 Andreas Schwab <schwab@redhat.com>
5533
5534 * scripts/data/localplt-s390-linux-gnu.data: New file.
5535 * scripts/data/localplt-s390x-linux-gnu.data: New file.
5536
5537 2010-10-13 Jakub Jelinek <jakub@redhat.com>
5538
5539 [BZ #3268]
5540 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
5541 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
5542 instead of dbl-64.
5543 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
5544 inlines.
5545 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
5546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
5547 if one of x and y is very large and the other is subnormal.
5548 * sysdeps/s390/fpu/s_fmaf.c: New file.
5549 * sysdeps/s390/fpu/s_fma.c: New file.
5550 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
5551 * sysdeps/powerpc/fpu/s_fma.S: New file.
5552 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
5553 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
5554 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
5555
5556 2010-10-12 Jakub Jelinek <jakub@redhat.com>
5557
5558 [BZ #3268]
5559 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
5560 fma tests.
5561 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
5562 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
5563 * sysdeps/i386/i686/multiarch/s_fma.c: Include
5564 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
5565 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
5566 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
5567 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
5568
5569 2010-10-12 Ulrich Drepper <drepper@redhat.com>
5570
5571 [BZ #12078]
5572 * posix/regcomp.c (parse_branch): One more memory leak plugged.
5573 * posix/bug-regex31.input: Add test case.
5574
5575 2010-10-11 Ulrich Drepper <drepper@gmail.com>
5576
5577 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
5578 * posix/bug-regex31.input: New file.
5579
5580 [BZ #12078]
5581 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
5582 (parse_sub_exp): Fix last change, use postorder.
5583
5584 * posix/bug-regex31.c: New file.
5585 * posix/Makefile: Add rules to build and run bug-regex31.
5586
5587 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
5588
5589 [BZ #12078]
5590 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
5591
5592 [BZ #12108]
5593 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
5594 to have entries in sys_siglist.
5595
5596 [BZ #12093]
5597 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
5598 be NULL.
5599
5600 2010-10-07 Jakub Jelinek <jakub@redhat.com>
5601
5602 [BZ #3268]
5603 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
5604 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
5605 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
5606 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
5607 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5608 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
5609 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
5610 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
5611 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
5612 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
5613 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
5614 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
5615 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5616 * math/ftestexcept.c (fetestexcept): Likewise.
5617 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
5618 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
5619 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
5620 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
5621 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
5622 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
5623 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5624
5625 2010-10-11 Ulrich Drepper <drepper@gmail.com>
5626
5627 [BZ #12107]
5628 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
5629 newline.
5630
5631 2010-10-06 Ulrich Drepper <drepper@gmail.com>
5632
5633 * string/bug-strstr1.c: New file.
5634 * string/Makefile: Add rules to build and run bug-strstr1.
5635
5636 2010-10-05 Eric Blake <eblake@redhat.com>
5637
5638 [BZ #12092]
5639 * string/str-two-way.h (two_way_long_needle): Always clear memory
5640 when skipping input due to the shift table.
5641
5642 2010-10-03 Ulrich Drepper <drepper@gmail.com>
5643
5644 [BZ #12005]
5645 * malloc/mcheck.c: Handle large requests.
5646
5647 [BZ #12077]
5648 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
5649 for strncmp and strncasecmp.
5650 * string/stratcliff.c: Add tests for strcmp and strncmp.
5651 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
5652
5653 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5654
5655 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
5656 __set_fpscr.
5657
5658 2010-09-30 Andreas Jaeger <aj@suse.de>
5659
5660 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
5661 (CGROUP_SUPER_MAGIC): Define.
5662 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5663 Handle btrfs and cgroup file systems.
5664 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5665 Likewise.
5666
5667 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
5668
5669 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
5670 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
5671
5672 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5673
5674 [BZ #12067]
5675 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
5676 trying to locate the ELF header.
5677
5678 2010-09-27 Andreas Schwab <schwab@redhat.com>
5679
5680 [BZ #11611]
5681 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
5682 Mask out sign-bit copies when constructing f_fsid.
5683
5684 2010-09-24 Petr Baudis <pasky@suse.cz>
5685
5686 * debug/stack_chk_fail_local.c: Add missing licence exception.
5687 * debug/warning-nop.c: Likewise.
5688
5689 2010-09-15 Joseph Myers <joseph@codesourcery.com>
5690
5691 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
5692 implementing getdents64 using getdents syscall, set d_type if
5693 __ASSUME_GETDENTS32_D_TYPE.
5694
5695 2010-09-16 Andreas Schwab <schwab@redhat.com>
5696
5697 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
5698 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
5699
5700 2010-09-21 Ulrich Drepper <drepper@redhat.com>
5701
5702 [BZ #12037]
5703 * posix/unistd.h: Undo change of feature selection for ftruncate from
5704 2010-01-11.
5705
5706 2010-09-20 Ulrich Drepper <drepper@redhat.com>
5707
5708 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
5709 detection.
5710
5711 2010-09-20 Andreas Schwab <schwab@redhat.com>
5712
5713 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
5714 fanotify_mark.
5715 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
5716
5717 2010-09-14 Andreas Schwab <schwab@redhat.com>
5718
5719 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
5720 variables after CHECK_SP call.
5721 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
5722
5723 2010-09-13 Andreas Schwab <schwab@redhat.com>
5724 Ulrich Drepper <drepper@redhat.com>
5725
5726 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
5727 re-relocationg ld.so.
5728 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
5729 _dl_init_paths call.
5730 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
5731 here anymore.
5732
5733 2010-09-14 Ulrich Drepper <drepper@redhat.com>
5734
5735 * resolv/res_init.c (__res_vinit): Count the default server we added.
5736
5737 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
5738 Ulrich Drepper <drepper@redhat.com>
5739
5740 [BZ #11968]
5741 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5742 (____longjmp_chk): Use %ebx for saving value across system call.
5743 Add unwind info.
5744
5745 2010-09-06 Andreas Schwab <schwab@redhat.com>
5746
5747 * manual/Makefile: Don't mix pattern rules with normal rules.
5748
5749 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
5750
5751 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
5752 operation.
5753 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
5754 * libio/iofopncook.c (_IO_cookie_init): Likewise.
5755 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5756 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5757 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5758 Likewise.
5759
5760 2010-09-04 Ulrich Drepper <drepper@redhat.com>
5761
5762 [BZ #11979]
5763 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
5764 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
5765
5766 2010-09-02 Ulrich Drepper <drepper@redhat.com>
5767
5768 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
5769 * sysdeps/x86_64/addmul_1.S: Likewise.
5770 * sysdeps/x86_64/lshift.S: Likewise.
5771 * sysdeps/x86_64/mul_1.S: Likewise.
5772 * sysdeps/x86_64/rshift.S: Likewise.
5773 * sysdeps/x86_64/sub_n.S: Likewise.
5774 * sysdeps/x86_64/submul_1.S: Likewise.
5775
5776 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5777
5778 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
5779 Define __sched_param instead of SCHED_* and sched_param when
5780 <bits/sched.h> is included with __need_schedparam defined.
5781 * bits/sched.h [__need_schedparam]
5782 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
5783 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
5784 (__defined_schedparam): Define to 1.
5785 (__sched_param): New structure, identical to sched_param.
5786 (__need_schedparam): Undefine.
5787
5788 2010-08-31 Mike Frysinger <vapier@gentoo.org>
5789
5790 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
5791 (epoll_create1): Declare.
5792
5793 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
5794
5795 2010-08-31 Andreas Schwab <schwab@redhat.com>
5796
5797 [BZ #7066]
5798 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
5799 shifting retval into place.
5800
5801 2010-09-01 Ulrich Drepper <drepper@redhat.com>
5802
5803 * nis/rpcsvc/nis.h: Update copyright notice.
5804 * nis/rpcsvc/nis.x: Likewise.
5805 * nis/rpcsvc/nis_callback.h: Likewise.
5806 * nis/rpcsvc/nis_callback.x: Likewise.
5807 * nis/rpcsvc/nis_object.x: Likewise.
5808 * nis/rpcsvc/nis_tags.h: Likewise.
5809 * nis/rpcsvc/yp.h: Likewise.
5810 * nis/rpcsvc/yp.x: Likewise.
5811 * nis/rpcsvc/ypupd.h: Likewise.
5812 * nis/yp_xdr.c: Likewise.
5813 * nis/ypupdate_xdr.c: Likewise.
5814
5815 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
5816 mainly the body of pmap_getport. Add parameters to specify timeouts.
5817 (pmap_getport): Use __libc_rpc_getport.
5818 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
5819 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
5820 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
5821
5822 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
5823
5824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
5825 fanotify_mark.
5826
5827 2010-08-27 Roland McGrath <roland@redhat.com>
5828
5829 * sysdeps/i386/i686/multiarch/Makefile
5830 (CFLAGS-varshift.c): New variable.
5831
5832 2010-08-27 Ulrich Drepper <drepper@redhat.com>
5833
5834 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
5835 * sysdeps/i386/i686/multiarch/varshift.c: New file.
5836
5837 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
5838
5839 * sysdeps/x86_64/strlen.S: Minimal code improvement.
5840
5841 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
5842
5843 * sysdeps/x86_64/strlen.S: Unroll the loop.
5844 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5845 strlen-sse2 strlen-sse2-bsf.
5846 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
5847 __strlen_no_bsf if bit_Slow_BSF is set.
5848 (__strlen_sse42): Removed.
5849 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
5850 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
5851
5852 2010-08-25 Roland McGrath <roland@redhat.com>
5853
5854 * sysdeps/x86_64/multiarch/varshift.S: File removed.
5855 * sysdeps/x86_64/multiarch/varshift.c: New file.
5856 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
5857 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
5858 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
5859 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5860
5861 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
5862
5863 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5864 strlen-sse2 strlen-sse2-bsf.
5865 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
5866 __strlen_sse2_bsf if bit_Slow_BSF is unset.
5867 (__strlen_sse2): Removed.
5868 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
5869 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
5870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5871 bit_Slow_BSF for Atom.
5872 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
5873 (index_Slow_BSF): Define.
5874 (HAS_SLOW_BSF): Define.
5875
5876 2010-08-25 Ulrich Drepper <drepper@redhat.com>
5877
5878 [BZ #10851]
5879 * resolv/res_init.c (__res_vinit): When no server address at all
5880 is given default to loopback.
5881
5882 2010-08-24 Roland McGrath <roland@redhat.com>
5883
5884 * configure.in: Remove config-name.h generation.
5885 * configure: Regenerated.
5886 * config-name.in: File removed.
5887 * scripts/config-uname.sh: New file.
5888 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
5889 ($(objdir)config-name.h): New target.
5890
5891 * sunrpc/rpc_parse.h: Avoid nested comment.
5892
5893 2010-08-24 Richard Henderson <rth@redhat.com>
5894 Ulrich Drepper <drepper@redhat.com>
5895 H.J. Lu <hongjiu.lu@intel.com>
5896
5897 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
5898 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
5899 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
5900 Replace _mm_srli_si128 with __m128i_shift_right. Replace
5901 _mm_alignr_epi8 with _mm_loadu_si128.
5902 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
5903 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
5904 (__m128i_shift_right): Removed.
5905 * sysdeps/i386/i686/multiarch/varshift.h: New file.
5906 * sysdeps/i386/i686/multiarch/varshift.S: New file.
5907 * sysdeps/x86_64/multiarch/varshift.h: New file.
5908 * sysdeps/x86_64/multiarch/varshift.S: New file.
5909
5910 2010-08-21 Mike Frysinger <vapier@gentoo.org>
5911
5912 * configure.in: Move assembler checks to before sysdep dir checking.
5913
5914 2010-08-20 Petr Baudis <pasky@suse.cz>
5915
5916 * LICENSES: Sync the sunrpc license.
5917
5918 2010-08-19 Ulrich Drepper <drepper@redhat.com>
5919
5920 * sunrpc/auth_des.c: Update copyright notice once again.
5921 * sunrpc/auth_none.c: Likewise.
5922 * sunrpc/auth_unix.c: Likewise.
5923 * sunrpc/authdes_prot.c: Likewise.
5924 * sunrpc/authuxprot.c: Likewise.
5925 * sunrpc/bindrsvprt.c: Likewise.
5926 * sunrpc/clnt_gen.c: Likewise.
5927 * sunrpc/clnt_perr.c: Likewise.
5928 * sunrpc/clnt_raw.c: Likewise.
5929 * sunrpc/clnt_simp.c: Likewise.
5930 * sunrpc/clnt_tcp.c: Likewise.
5931 * sunrpc/clnt_udp.c: Likewise.
5932 * sunrpc/clnt_unix.c: Likewise.
5933 * sunrpc/des_crypt.c: Likewise.
5934 * sunrpc/des_soft.c: Likewise.
5935 * sunrpc/get_myaddr.c: Likewise.
5936 * sunrpc/getrpcport.c: Likewise.
5937 * sunrpc/key_call.c: Likewise.
5938 * sunrpc/key_prot.c: Likewise.
5939 * sunrpc/openchild.c: Likewise.
5940 * sunrpc/pm_getmaps.c: Likewise.
5941 * sunrpc/pm_getport.c: Likewise.
5942 * sunrpc/pmap_clnt.c: Likewise.
5943 * sunrpc/pmap_prot.c: Likewise.
5944 * sunrpc/pmap_prot2.c: Likewise.
5945 * sunrpc/pmap_rmt.c: Likewise.
5946 * sunrpc/rpc/auth.h: Likewise.
5947 * sunrpc/rpc/auth_unix.h: Likewise.
5948 * sunrpc/rpc/clnt.h: Likewise.
5949 * sunrpc/rpc/des_crypt.h: Likewise.
5950 * sunrpc/rpc/key_prot.h: Likewise.
5951 * sunrpc/rpc/netdb.h: Likewise.
5952 * sunrpc/rpc/pmap_clnt.h: Likewise.
5953 * sunrpc/rpc/pmap_prot.h: Likewise.
5954 * sunrpc/rpc/pmap_rmt.h: Likewise.
5955 * sunrpc/rpc/rpc.h: Likewise.
5956 * sunrpc/rpc/rpc_des.h: Likewise.
5957 * sunrpc/rpc/rpc_msg.h: Likewise.
5958 * sunrpc/rpc/svc.h: Likewise.
5959 * sunrpc/rpc/svc_auth.h: Likewise.
5960 * sunrpc/rpc/types.h: Likewise.
5961 * sunrpc/rpc/xdr.h: Likewise.
5962 * sunrpc/rpc_clntout.c: Likewise.
5963 * sunrpc/rpc_cmsg.c: Likewise.
5964 * sunrpc/rpc_common.c: Likewise.
5965 * sunrpc/rpc_cout.c: Likewise.
5966 * sunrpc/rpc_dtable.c: Likewise.
5967 * sunrpc/rpc_hout.c: Likewise.
5968 * sunrpc/rpc_main.c: Likewise.
5969 * sunrpc/rpc_parse.c: Likewise.
5970 * sunrpc/rpc_parse.h: Likewise.
5971 * sunrpc/rpc_prot.c: Likewise.
5972 * sunrpc/rpc_sample.c: Likewise.
5973 * sunrpc/rpc_scan.c: Likewise.
5974 * sunrpc/rpc_scan.h: Likewise.
5975 * sunrpc/rpc_svcout.c: Likewise.
5976 * sunrpc/rpc_tblout.c: Likewise.
5977 * sunrpc/rpc_util.c: Likewise.
5978 * sunrpc/rpc_util.h: Likewise.
5979 * sunrpc/rpcinfo.c: Likewise.
5980 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
5981 * sunrpc/rpcsvc/key_prot.x: Likewise.
5982 * sunrpc/rpcsvc/klm_prot.x: Likewise.
5983 * sunrpc/rpcsvc/mount.x: Likewise.
5984 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
5985 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
5986 * sunrpc/rpcsvc/rex.x: Likewise.
5987 * sunrpc/rpcsvc/rstat.x: Likewise.
5988 * sunrpc/rpcsvc/rusers.x: Likewise.
5989 * sunrpc/rpcsvc/sm_inter.x: Likewise.
5990 * sunrpc/rpcsvc/spray.x: Likewise.
5991 * sunrpc/rpcsvc/yppasswd.x: Likewise.
5992 * sunrpc/rtime.c: Likewise.
5993 * sunrpc/svc.c: Likewise.
5994 * sunrpc/svc_auth.c: Likewise.
5995 * sunrpc/svc_authux.c: Likewise.
5996 * sunrpc/svc_raw.c: Likewise.
5997 * sunrpc/svc_run.c: Likewise.
5998 * sunrpc/svc_simple.c: Likewise.
5999 * sunrpc/svc_tcp.c: Likewise.
6000 * sunrpc/svc_udp.c: Likewise.
6001 * sunrpc/svc_unix.c: Likewise.
6002 * sunrpc/svcauth_des.c: Likewise.
6003 * sunrpc/xcrypt.c: Likewise.
6004 * sunrpc/xdr.c: Likewise.
6005 * sunrpc/xdr_array.c: Likewise.
6006 * sunrpc/xdr_float.c: Likewise.
6007 * sunrpc/xdr_mem.c: Likewise.
6008 * sunrpc/xdr_rec.c: Likewise.
6009 * sunrpc/xdr_ref.c: Likewise.
6010 * sunrpc/xdr_sizeof.c: Likewise.
6011 * sunrpc/xdr_stdio.c: Likewise.
6012
6013 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
6014 handling.
6015
6016 2010-08-19 Andreas Schwab <schwab@redhat.com>
6017
6018 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
6019
6020 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
6021
6022 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
6023 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
6024 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
6025 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
6026 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
6027 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
6028 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
6029 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
6030 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
6031 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
6032 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
6033 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
6034 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
6035 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
6036
6037 2010-07-26 Anton Blanchard <anton@samba.org>
6038
6039 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
6040 * malloc/arena.c (heap_trim): Likewise.
6041
6042 2010-08-16 Ulrich Drepper <drepper@redhat.com>
6043
6044 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
6045 here. Not...
6046 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
6047 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
6048
6049 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
6050
6051 * sysdeps/i386/elf/Makefile: New file.
6052
6053 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
6054
6055 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
6056 from fanotify_init.
6057 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6058 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6059
6060 2010-08-15 Ulrich Drepper <drepper@redhat.com>
6061
6062 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
6063 of strncasecmp_l.
6064 * sysdeps/multiarch/strcmp.S: Likewise.
6065
6066 2010-08-14 Ulrich Drepper <drepper@redhat.com>
6067
6068 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
6069 strncase_l-nonascii.
6070 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
6071 Add strncase_l-ssse3.
6072 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
6073 * sysdeps/x86_64/strcmp.S: Likewise.
6074 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
6075 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
6076 * sysdeps/x86_64/strncase.S: New file.
6077 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
6078 * sysdeps/x86_64/strncase_l.S: New file.
6079 * string/Makefile (strop-tests): Add strncasecmp.
6080 * string/test-strncasecmp.c: New file.
6081
6082 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
6083 warning.
6084
6085 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
6086 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
6087
6088 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
6089
6090 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
6091
6092 2010-08-12 Ulrich Drepper <drepper@redhat.com>
6093
6094 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
6095 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6096 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6097
6098 2010-05-01 Alan Modra <amodra@gmail.com>
6099
6100 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
6101 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
6102 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
6103 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
6104 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
6105 tidying. Don't tail-call __sigjmp_save for static lib.
6106 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
6107 save location.
6108 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
6109 (CALL_MCOUNT): Add eh info, and nop after bl.
6110 (TAIL_CALL_SYSCALL_ERROR): New macro.
6111 (PSEUDO_RET): Use it.
6112 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6113 Correct save location of integer regs and cr.
6114 (_dl_profile_resolve): Correct cr save location. Delete nops
6115 after bl when SHARED. Reduce cfi size a little by better
6116 placement of cfi directives.
6117 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
6118 make a stack frame. Instead use parm save area as a temp.
6119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
6120 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
6121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6122 Don't make a stack frame for parent, use parm save area.
6123 Increase child stack frame to 112 bytes. Don't save unused reg,
6124 and adjust reg usage. Set up cfi on error recovery and
6125 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
6126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6127 (__makecontext): Add dummy nop after jump to exit.
6128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
6129 Use correct parm save area and cr save, reduce stack frame.
6130 Correct cfi for possible PSEUDO_RET frame setup.
6131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
6132 Branch to local label emitted by PSEUDO_RET rather than
6133 __syscall_error.
6134
6135 2010-08-12 Andreas Schwab <schwab@redhat.com>
6136
6137 [BZ #11904]
6138 * locale/programs/locale.c (print_assignment): New function.
6139 (show_locale_vars): Use it.
6140
6141 2010-08-11 Ulrich Drepper <drepper@redhat.com>
6142
6143 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
6144 field.
6145 (struct statfs64): Likewise.
6146 (_STATFS_F_FLAGS): Define.
6147 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
6148 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6149 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
6150 (ST_VALID): Define locally.
6151 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
6152 __statvfs_getflags, use the provided value.
6153 * sysdeps/unix/sysv/linux/kernel-features.h: Define
6154 __ASSUME_STATFS_F_FLAGS.
6155
6156 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
6157
6158 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
6159 Add sys/fanotify.h.
6160 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
6161 fanotify_mask for GLIBC_2.13.
6162 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
6163 fanotify_init and fanotify_mark.
6164 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6165 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
6166
6167 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
6168 Add prlimit.
6169 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
6170 prlimit64 for GLIBC_2.13.
6171 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
6172 prlimit64.
6173 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
6174 syscall.
6175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
6176 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6177 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
6178 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
6179 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
6180 add prlimit alias.
6181 * sysdeps/unix/sysv/linux/prlimit.c: New file.
6182
6183 [BZ #11903]
6184 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
6185 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
6186
6187 * nss/Makefile: Add rules to build and run tst-nss-test1.
6188 * shlib-versions: Add entry for libnss_test1.
6189 * nss/nss_test1.c: New file.
6190 * nss/tst-nss-test1.c: New file.
6191
6192 * nss/nsswitch.c (__nss_database_custom): Define new variable.
6193 (__nss_configure_lookup): Set appropriate entry in
6194 __nss_configure_lookup to true.
6195 * nss/nsswitch.h: Define enum with indeces of databases in
6196 databases and __nss_database_custom arrays. Declare
6197 __nss_database_custom.
6198 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
6199 to avoid using nscd when custom rules are installed.
6200 * nss/getXXbyYY_r.c: Likewise.
6201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6202
6203 * nss/nss_files/files-parse.c: Whitespace fixes.
6204
6205 2010-08-09 Ulrich Drepper <drepper@redhat.com>
6206
6207 [BZ #11883]
6208 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
6209 * posix/fnmatch_loop.c: Likewise.
6210
6211 2010-07-17 Andi Kleen <ak@linux.intel.com>
6212
6213 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
6214 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
6215 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
6216 * Versions.def [GLIBC_2.13]: Add.
6217
6218 2010-08-06 Ulrich Drepper <drepper@redhat.com>
6219
6220 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6221 Also fail if tpwd after pwuid call is NULL.
6222
6223 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6224
6225 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
6226 when converting to ms.
6227
6228 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6229
6230 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
6231 EOPNOTSUPP errors with ENOTTY.
6232 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
6233 EOPNOTSUPP errors with ENOTTY.
6234
6235 2010-07-31 Ulrich Drepper <drepper@redhat.com>
6236
6237 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
6238 Add strcasecmp_l-ssse3.
6239 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
6240 strcasecmp.
6241 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
6242 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
6243 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
6244
6245 2010-07-30 Ulrich Drepper <drepper@redhat.com>
6246
6247 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
6248
6249 * string/Makefile (strop-tests): Add strcasecmp.
6250 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
6251 strcasecmp_l-nonascii.
6252 (gen-as-const-headers): Add locale-defines.sym.
6253 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
6254 * sysdeps/x86_64/strcasecmp.S: New file.
6255 * sysdeps/x86_64/strcasecmp_l.S: New file.
6256 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
6257 * sysdeps/x86_64/locale-defines.sym: New file.
6258 * string/test-strcasecmp.c: New file.
6259
6260 * string/test-strcasestr.c: Test both ends of the range of characters.
6261 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
6262
6263 2010-07-29 Roland McGrath <roland@redhat.com>
6264
6265 [BZ #11856]
6266 * manual/locale.texi (Yes-or-No Questions): Fix example code.
6267
6268 2010-07-27 Ulrich Drepper <drepper@redhat.com>
6269
6270 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
6271 for ld.so.
6272
6273 2010-07-27 Andreas Schwab <schwab@redhat.com>
6274
6275 * manual/memory.texi (Malloc Tunable Parameters): Document
6276 M_PERTURB.
6277
6278 2010-07-26 Roland McGrath <roland@redhat.com>
6279
6280 [BZ #11840]
6281 * configure.in (-fgnu89-inline check): Set and substitute
6282 gnu89_inline, not libc_cv_gnu89_inline.
6283 * configure: Regenerated.
6284 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
6285
6286 2010-07-26 Ulrich Drepper <drepper@redhat.com>
6287
6288 * string/test-strnlen.c: New file.
6289 * string/Makefile (strop-tests): Add strnlen.
6290 * string/tester.c (test_strnlen): Add a few more test cases.
6291 * string/tst-strlen.c: Better error reporting.
6292
6293 * sysdeps/x86_64/strnlen.S: New file.
6294
6295 2010-07-24 Ulrich Drepper <drepper@redhat.com>
6296
6297 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
6298 lower-latency instructions.
6299
6300 2010-07-23 Ulrich Drepper <drepper@redhat.com>
6301
6302 * string/test-strcasestr.c: New file.
6303 * string/test-strstr.c: New file.
6304 * string/Makefile (strop-tests): Add strstr and strcasestr.
6305 * string/str-two-way.h: Don't undefine MAX.
6306 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
6307
6308 2010-07-21 Andreas Schwab <schwab@redhat.com>
6309
6310 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6311 strcasestr-nonascii.
6312 (CFLAGS-strcasestr-nonascii.c): Define.
6313 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
6314 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
6315 Remove unused attribute.
6316
6317 2010-07-20 Roland McGrath <roland@redhat.com>
6318
6319 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
6320 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
6321 ld.so.cache was broken. With it, there is no way to disable dsocaps
6322 like LD_HWCAP_MASK can disable hwcaps.
6323
6324 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
6325
6326 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
6327
6328 2010-07-16 Ulrich Drepper <drepper@redhat.com>
6329
6330 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
6331 call in strcasestr.
6332 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
6333 __strcasestr_sse42_nonascii.
6334 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
6335 strcasestr-nonascii.c.
6336 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
6337
6338 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
6339
6340 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
6341 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
6342 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
6343 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
6344
6345 2010-07-09 Ulrich Drepper <drepper@redhat.com>
6346
6347 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
6348 fcntl.
6349
6350 2010-07-06 Andreas Schwab <schwab@redhat.com>
6351
6352 [BZ #11577]
6353 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
6354 dl_signal_cerror.
6355
6356 2010-07-06 Ulrich Drepper <drepper@redhat.com>
6357
6358 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
6359 _PC_PIPE_BUF using F_GETPIPE_SZ.
6360
6361 2010-07-05 Roland McGrath <roland@redhat.com>
6362
6363 * manual/arith.texi (Rounding Functions): Fix rint description
6364 implicit in round description.
6365
6366 2010-07-02 Ulrich Drepper <drepper@redhat.com>
6367
6368 * elf/Makefile: Fix linking for a few tests to make recent linker
6369 happy.
6370
6371 2010-06-30 Andreas Schwab <schwab@redhat.com>
6372
6373 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6374 $(common-objpfx)libc_nonshared.a.
6375
6376 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
6377
6378 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
6379 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
6380 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
6381 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
6382 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
6383 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
6384 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
6385 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
6386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
6387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
6388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
6389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
6390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
6391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
6392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
6393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
6394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
6395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
6396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
6397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
6398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
6399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
6400 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
6401 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
6402 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
6403 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
6404 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
6405 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
6406 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
6407 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
6408 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
6409 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
6410 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
6411 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
6412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
6413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
6414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
6416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
6417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
6418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
6419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
6420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
6421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
6422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
6423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
6424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
6425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
6426
6427 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
6428
6429 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
6430 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
6431 * string/memmove.c (memmove): Renamed to ...
6432 (MEMMOVE): ...this. Default to memmove.
6433 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
6434 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
6435 (END_CHK): Define.
6436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6437 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
6438 mempcpy-ssse3-back memmove-ssse3-back.
6439 * sysdeps/x86_64/multiarch/bcopy.S: New file .
6440 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
6441 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
6442 * sysdeps/x86_64/multiarch/memcpy.S: New file.
6443 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
6444 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
6445 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
6446 * sysdeps/x86_64/multiarch/memmove.c: New file.
6447 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
6448 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
6449 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
6450 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
6451 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
6452 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
6453 Define.
6454 (index_Fast_Copy_Backward): Define.
6455 (HAS_ARCH_FEATURE): Define.
6456 (HAS_FAST_REP_STRING): Define.
6457 (HAS_FAST_COPY_BACKWARD): Define.
6458
6459 2010-06-21 Andreas Schwab <schwab@redhat.com>
6460
6461 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6462 Restore proper fallback handling.
6463
6464 2010-06-19 Ulrich Drepper <drepper@redhat.com>
6465
6466 [BZ #11701]
6467 * posix/group_member.c (__group_member): Correct checking loop.
6468
6469 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
6470 OOM in getpwuid_r correctly. Return error number when the caller
6471 should return, otherwise -1.
6472 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
6473 call returning > 0 value.
6474 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
6475
6476 2010-06-07 Andreas Schwab <schwab@redhat.com>
6477
6478 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
6479 libc_nonshared.a from targets in modules-names.
6480
6481 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
6482
6483 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
6484 requires it.
6485
6486 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
6487
6488 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
6489 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
6490 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
6491 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
6492
6493 2010-06-02 Andreas Schwab <schwab@redhat.com>
6494
6495 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
6496
6497 2010-06-14 Ulrich Drepper <drepper@redhat.com>
6498
6499 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
6500 and F_GETPIPE_SZ.
6501 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6502 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6503 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6504 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6505 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6506 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
6507
6508 2010-06-14 Roland McGrath <roland@redhat.com>
6509
6510 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
6511
6512 2010-06-07 Jakub Jelinek <jakub@redhat.com>
6513
6514 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
6515 __REDIRECT followed by __THROW.
6516 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
6517 * posix/getopt.h (getopt): Likewise.
6518
6519 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
6520
6521 * hurd/lookup-at.c (__file_name_lookup_at): Accept
6522 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
6523 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
6524 in AT_FLAGS.
6525 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
6526 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
6527
6528 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
6529
6530 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
6531
6532 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
6533
6534 [BZ #11640]
6535 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6536 Properly check family and model.
6537
6538 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
6539
6540 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
6541
6542 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
6543
6544 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
6545
6546 2010-05-21 Ulrich Drepper <drepper@redhat.com>
6547
6548 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
6549 symbol reference.
6550
6551 2010-05-19 Andreas Schwab <schwab@redhat.com>
6552
6553 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
6554 symbol reference.
6555
6556 2010-05-21 Andreas Schwab <schwab@redhat.com>
6557
6558 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
6559 and internal_recvmmsg.
6560 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
6561 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
6562 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
6563 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
6564
6565 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
6566 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6567 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6568
6569 2010-05-20 Andreas Schwab <schwab@redhat.com>
6570
6571 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
6572
6573 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
6574
6575 POWER7 optimizations.
6576 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
6577 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
6578
6579 2010-05-19 Ulrich Drepper <drepper@redhat.com>
6580
6581 * version.h: Update for 2.13 development version.
6582
6583 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
6584
6585 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
6586 exceptions. Return 0.
6587
6588 2010-05-07 Roland McGrath <roland@redhat.com>
6589
6590 * elf/ldconfig.c (main): Add a const.
6591
6592 2010-05-06 Ulrich Drepper <drepper@redhat.com>
6593
6594 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
6595 (args_options): Add no-idn option.
6596 (ahosts_keys_int): Add idn_flags to ai_flags.
6597 (parse_option): Handle 'i' option to clear idn_flags.
6598
6599 * malloc/malloc.c (_int_free): Possible race in the most recently
6600 added check. Only act on the data if no current modification
6601 happened.
6602
6603 See ChangeLog.17 for earlier changes.
This page took 0.327748 seconds and 6 git commands to generate.